Fix #5625 - Update BCL to point to the new address - #5639
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the Building Component Library (BCL) endpoints used by OpenStudio to the new *.nlr.gov hosts, and refreshes a number of hard-coded URL/email references across tests, documentation, examples, and packaging metadata.
Changes:
- Point
RemoteBCLproduction/development servers tohttps://bcl.nlr.govandhttps://bcl-test.nlr.gov. - Update unit tests and SDK docs that reference BCL URLs.
- Replace multiple non-BCL
*.nrel.govlinks/emails in assorted resources/docs/build metadata with*.nlr.gov.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
src/utilities/idf/Test/IdfObject_GTest.cpp |
Updates a URL-parsing test string that includes a BCL host. |
src/utilities/bcl/test/BCL_GTest.cpp |
Updates comments referencing BCL hosts in BCL unit tests. |
src/utilities/bcl/RemoteBCL.cpp |
Changes the hard-coded production/development BCL base URLs. |
src/model/mainpage.hpp |
Updates the SDK mainpage documentation link to the BCL site. |
resources/utilities/xml/schema/HPXMLBaseElements.xsd |
Updates external documentation links from nrel.gov to nlr.gov. |
resources/utilities/BCL/Measures/v3/SetEplusInfiltration/measure.rb |
Updates header comment links from openstudio.nrel.gov to openstudio.nlr.gov. |
resources/Examples/compact_osw/measures/SetEplusInfiltration/measure.rb |
Updates example measure header comment links to openstudio.nlr.gov. |
resources/energyplus/HospitalBaseline/in.idf |
Updates a reference URL in the example IDF header comments. |
python/module/setup.py |
Updates published package metadata email address. |
doc/index.html |
Updates an external “Buildings Research Home” link domain. |
developer/ruby/PackageOpenStudioGem.rb |
Updates gem metadata email/homepage domains. |
developer/doc/wiki/(v1.4.0 and older) Configuring OpenStudio Build Environments.md |
Updates legacy wiki URLs to *.nlr.gov. |
CMakeLists.txt |
Updates the CPACK package contact email domain. |
Suppressed comments (1)
resources/utilities/xml/schema/HPXMLBaseElements.xsd:2248
- PR scope: this second
www.nrel.gov→www.nlr.govchange is also outside the BCL endpoint update described in the PR title/issue. Please confirm intent or split into a separate PR.
<xs:annotation>
<xs:documentation>[$] The LCOE is the total cost of installing and operating a project expressed in dollars per kilowatt-hour of electricity generated by
the system over its life. Can be calculated with System Advisor Model, a similar software, or through a simplified calculation at
http://www.nlr.gov/analysis/tech_lcoe.html.</xs:documentation>
</xs:annotation>
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| // Don't bother testing this since bcl7.development.nlr.gov is internal only | ||
| //EXPECT_TRUE(LocalBCL::instance().setDevAuthKey(defaultDevAuthKey)); |
| /// returns true if a download is started | ||
| // TJC 2020-11-19 GetComponentByUID is already testing and dowloading component. | ||
| // https://bcl.nrel.gov/ has issues download some components. Until this behavior is fixed | ||
| // https://bcl.nlr.gov/ has issues download some components. Until this behavior is fixed |
| * added to a local BCL, and/or uploaded to the online %Building %Component Library. (These | ||
| * features are currently under development. Please see the documentation for utilities/bcl and | ||
| * http://bcl.nrel.gov/.) | ||
| * http://bcl.nlr.gov/.) |
| std::string text = "Schedule:File, \n\ | ||
| Web Schedule, !- Name \n\ | ||
| , !- Schedule Type Limits Name \n\ | ||
| http://bcl.development.nrel.gov/api?search='terms'@xxx.yyy, !- File Name \n\ | ||
| http://bcl.development.nlr.gov/api?search='terms'@xxx.yyy, !- File Name \n\ | ||
| 1, !- Column Number \n\ |
| <xs:documentation>[$] The LCOE is the total cost of installing and operating a project expressed in dollars per kilowatt-hour of electricity generated by | ||
| the system over its life. Can be calculated with System Advisor Model, a similar software, or through a simplified calculation at | ||
| http://www.nrel.gov/analysis/tech_lcoe.html.</xs:documentation> | ||
| http://www.nlr.gov/analysis/tech_lcoe.html.</xs:documentation> | ||
| </xs:annotation> |
| url="https://github.com/NREL/OpenStudio", | ||
| author="Alliance for Energy Innovation, LLC, and other contributors", | ||
| author_email="openstudio@nrel.gov", | ||
| author_email="openstudio@nlr.gov", | ||
| maintainer="Julien Marrec", | ||
| maintainer_email="contact@effibem.com", |
| <ul class="list-unstyled"> | ||
| <li><a href="http://www.nrel.gov/buildings/">Buildings Research Home</a></li> | ||
| <li><a href="http://www.nlr.gov/buildings/">Buildings Research Home</a></li> | ||
| <li><a href="http://apps1.eere.energy.gov/buildings/energyplus/">DOE EnergyPlus Site</a></li> | ||
| <li><a href="http://apps1.eere.energy.gov/buildings/energyplus/openstudio_suite.cfm">DOE OpenStudio Site</a></li> |
| s.version = "#{$ZeroKit_MajorVersion}.#{$ZeroKit_MinorVersion}.#{patch}" | ||
| s.author = "NREL Commercial Buildings Research" | ||
| s.email = "zerokit@nrel.gov" | ||
| s.homepage = "http://cbr.nrel.gov/zerokit/" | ||
| s.email = "zerokit@nlr.gov" | ||
| s.homepage = "http://cbr.nlr.gov/zerokit/" | ||
| s.rubyforge_project = 'zerokit' |
| @@ -71,7 +71,7 @@ Install [CMake](http://www.cmake.org/files/v3.0/cmake-3.0.0-win32-x86.exe) | |||
|
|
|||
| Install [EnergyPlus 8.1](http://apps1.eere.energy.gov/buildings/energyplus/register.cfm?goto=eplus) | |||
|
|
|||
| Optionally extract [Ruby](http://developer.nrel.gov/downloads/buildings/openstudio/src/ruby-1.8.6-msvc-ssl.zip) to `C:\Ruby` if you want a convenient location to access the OpenStudio Ruby bindings | |||
| Optionally extract [Ruby](http://developer.nlr.gov/downloads/buildings/openstudio/src/ruby-1.8.6-msvc-ssl.zip) to `C:\Ruby` if you want a convenient location to access the OpenStudio Ruby bindings | |||
| > _v1.8.6 MSVC tested and working_ | |||
| # The actual .deb file name on disk | ||
| set(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${OPENSTUDIO_LONG_VERSION}-${CMAKE_SYSTEM_NAME}") | ||
| set(CPACK_PACKAGE_CONTACT "openstudio@nrel.gov") | ||
| set(CPACK_PACKAGE_CONTACT "openstudio@nlr.gov") | ||
|
|
🧪 Test Results DashboardSummary
|
| Run | XML File | Status |
|---|---|---|
| run1 | results.xml |
✅ Found |
| run3 | results.xml |
✅ Found |
| run2 | results.xml |
✅ Found |
|
the Build and Test is complety broken. It reports EPMOdelFixture and we don't have epmodel in either the feature branch or the target branch (=develop) |
|
Ok that's good enough for me. I'm merging @kbenne |
Pull request overview
Pull Request Author
src/model/test)src/energyplus/Test)src/osversion/VersionTranslator.cpp)Labels:
IDDChangeAPIChangePull Request - Ready for CIso that CI builds your PRReview Checklist
This will not be exhaustively relevant to every PR.