/openbmc/bmcweb/redfish-core/include/ |
H A D | redfish_aggregator.hpp | 94 boost::system::result<boost::urls::url> parsedUrl = in searchCollectionsArray() 95 boost::urls::parse_relative_ref(uri); in searchCollectionsArray() 103 boost::urls::segments_ref segments = parsedUrl->segments(); in searchCollectionsArray() 148 boost::urls::url collectionUrl(*it); in searchCollectionsArray() 149 boost::urls::segments_view collectionSegments = collectionUrl.segments(); in searchCollectionsArray() 150 boost::urls::segments_view::iterator itCollection = in searchCollectionsArray() 152 const boost::urls::segments_view::const_iterator endCollection = in searchCollectionsArray() 204 auto parsed = boost::urls::parse_relative_ref(strValue); in addPrefixToStringItem() 214 const boost::urls::url_view& thisUrl = *parsed; in addPrefixToStringItem() 237 const boost::urls::segments_view urlSegments = thisUrl.segments(); in addPrefixToStringItem() [all …]
|
H A D | error_messages.hpp | 763 nlohmann::json invalidObject(const boost::urls::url_view_base& arg1); 765 void invalidObject(crow::Response& res, const boost::urls::url_view_base& arg1); 797 nlohmann::json resourceMissingAtURI(const boost::urls::url_view_base& arg1); 800 const boost::urls::url_view_base& arg1); 811 const boost::urls::url_view_base& arg1); 814 const boost::urls::url_view_base& arg1); 825 nlohmann::json resourceAtUriUnauthorized(const boost::urls::url_view_base& arg1, 829 const boost::urls::url_view_base& arg1, 841 const boost::urls::url_view_base& arg1); 844 const boost::urls::url_view_base& arg1); [all …]
|
H A D | snmp_trap_event_clients.hpp | 60 boost::urls::format("snmp://{}:{}", address, port); in afterGetSnmpTrapClientdata() 72 boost::urls::format("/redfish/v1/EventService/Subscriptions/{}", id); in getSnmpTrapClientdata() 172 boost::urls::url uri = boost::urls::format( in afterSnmpClientCreate() 201 member["@odata.id"] = boost::urls::format( in getSnmpSubscriptionList()
|
/openbmc/bmcweb/test/redfish-core/lib/ |
H A D | update_service_test.cpp | 23 std::optional<boost::urls::url> ret = in TEST() 36 std::optional<boost::urls::url> ret = in TEST() 49 std::optional<boost::urls::url> ret = in TEST() 67 std::optional<boost::urls::url> ret = in TEST() 80 std::optional<boost::urls::url> ret = in TEST() 93 std::optional<boost::urls::url> ret = in TEST() 106 std::optional<boost::urls::url> ret = in TEST() 119 std::optional<boost::urls::url> ret = in TEST()
|
/openbmc/bmcweb/http/ |
H A D | utility.hpp | 326 inline void appendUrlPieces(boost::urls::url& url, AV&&... args) in appendUrlPieces() 382 inline bool readUrlSegments(const boost::urls::url_view_base& url, in readUrlSegments() 385 const boost::urls::segments_view& urlSegments = url.segments(); in readUrlSegments() 392 boost::urls::segments_view::const_iterator it = urlSegments.begin(); in readUrlSegments() 393 boost::urls::segments_view::const_iterator end = urlSegments.end(); in readUrlSegments() 426 inline bool readUrlSegments(const boost::urls::url_view_base& url, in readUrlSegments() 432 inline boost::urls::url replaceUrlSegment( in replaceUrlSegment() 433 const boost::urls::url_view_base& urlView, const uint replaceLoc, in replaceUrlSegment() 436 const boost::urls::segments_view& urlSegments = urlView.segments(); in replaceUrlSegment() 437 boost::urls::url url("/"); in replaceUrlSegment() [all …]
|
H A D | http_request.hpp | 33 boost::urls::url urlBase; 120 boost::urls::url& url() in url() 125 boost::urls::url_view url() const in url() 165 auto result = boost::urls::parse_relative_ref(target()); in setUrlInfo()
|
/openbmc/bmcweb/test/http/ |
H A D | utility_test.cpp | 112 boost::system::result<boost::urls::url_view> parsed = in TEST() 113 boost::urls::parse_relative_ref("/redfish/v1/Chassis#/Fans/0/Reading"); in TEST() 156 parsed = boost::urls::parse_relative_ref("/absolute/url"); in TEST() 159 parsed = boost::urls::parse_relative_ref("not/absolute/url"); in TEST() 162 parsed = boost::urls::parse_relative_ref("/excellent/path"); in TEST() 182 EXPECT_EQ(nlohmann::json(boost::urls::url(urlString)), urlString); in TEST() 183 EXPECT_EQ(nlohmann::json(boost::urls::url_view(urlString)), urlString); in TEST() 188 boost::urls::url url("/redfish/v1/foo"); in TEST()
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | odata.hpp | 38 boost::urls::url url = boost::urls::format("/redfish/v1/{}", service); in redfishOdataGet() 41 url = boost::urls::url("/redfish/v1"); in redfishOdataGet()
|
H A D | certificate_service.hpp | 287 boost::urls::url certURL; in getCertificateList() 290 certURL = boost::urls::format( in getCertificateList() 296 certURL = boost::urls::format( in getCertificateList() 302 certURL = boost::urls::format( in getCertificateList() 334 const std::string& certId, const boost::urls::url& certURL, in getCertificateProperties() 564 boost::system::result<boost::urls::url> parsedUrl = in handleReplaceCertificateAction() 565 boost::urls::parse_relative_ref(certURI); in handleReplaceCertificateAction() 963 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in handleHTTPSCertificateCollectionGet() 1022 const boost::urls::url certURL = boost::urls::format( in handleHTTPSCertificateCollectionPost() 1052 const boost::urls::url certURL = boost::urls::format( in handleHTTPSCertificateGet() [all …]
|
H A D | chassis.hpp | 137 boost::urls::format("/redfish/v1/Systems/{}/Storage/{}", in getStorageLink() 261 asyncResp, boost::urls::url("/redfish/v1/Chassis"), chassisInterfaces, in handleChassisCollectionGet() 301 boost::urls::format("/redfish/v1/Chassis/{}", upstreamChassis); in getChassisContainedBy() 340 boost::urls::format("/redfish/v1/Chassis/{}", downstreamChassis); in getChassisContains() 472 boost::urls::format("/redfish/v1/Chassis/{}/Thermal", chassisId); in handleDecoratorAssetProperties() 475 boost::urls::format("/redfish/v1/Chassis/{}/Power", chassisId); in handleDecoratorAssetProperties() 481 boost::urls::format("/redfish/v1/Chassis/{}/ThermalSubsystem", in handleDecoratorAssetProperties() 484 boost::urls::format("/redfish/v1/Chassis/{}/PowerSubsystem", in handleDecoratorAssetProperties() 487 boost::urls::format("/redfish/v1/Chassis/{}/EnvironmentMetrics", in handleDecoratorAssetProperties() 492 boost::urls in handleDecoratorAssetProperties() [all...] |
H A D | managers.hpp | 317 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in requestRoutesManagerResetActionInfo() 610 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in requestRoutesManager() 627 boost::urls::format("/redfish/v1/Managers/{}/LogServices", in requestRoutesManager() 630 boost::urls::format("/redfish/v1/Managers/{}/NetworkProtocol", in requestRoutesManager() 633 boost::urls::format( in requestRoutesManager() 640 boost::urls::format("/redfish/v1/Managers/{}/VirtualMedia", in requestRoutesManager() 650 managerReset["target"] = boost::urls::format( in requestRoutesManager() 654 boost::urls::format("/redfish/v1/Managers/{}/ResetActionInfo", in requestRoutesManager() 662 resetToDefaults["target"] = boost::urls::format( in requestRoutesManager() 709 managerDiagnosticData["@odata.id"] = boost::urls::format( in requestRoutesManager() [all …]
|
H A D | task.hpp | 177 boost::urls::url uri = in populateResp() 178 boost::urls::format("/redfish/v1/TaskService/Tasks/{}", strIdx); in populateResp() 186 boost::urls::url taskMonitor = boost::urls::format( in populateResp() 287 boost::urls::url origin = in sendTaskEvent() 288 boost::urls::format("/redfish/v1/TaskService/Tasks/{}", index); in sendTaskEvent() 439 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in requestRoutesTask() 444 boost::urls::format( in requestRoutesTask() 499 boost::urls::format("/redfish/v1/TaskService/Tasks/{}", in requestRoutesTaskCollection()
|
H A D | virtual_media.hpp | 134 boost::system::result<boost::urls::url_view> url = in getTransferProtocolTypeFromUri() 135 boost::urls::parse_uri(imageUri); in getTransferProtocolTypeFromUri() 254 item["@odata.id"] = boost::urls::format( in vmItemTemplate() 266 item["Oem"]["OpenBMC"]["@odata.id"] = boost::urls::format( in vmItemTemplate() 304 item["@odata.id"] = boost::urls::format( in getVmResourceList() 331 ["target"] = boost::urls::format( in afterGetVmData() 339 ["target"] = boost::urls::format( in afterGetVmData() 373 const boost::urls::url_view_base& imageUri) in getTransferProtocolFromUri() 566 boost::system::result<boost::urls::url_view> url = in validateParams() 567 boost::urls::parse_uri(*actionParams.imageUrl); in validateParams() [all …]
|
H A D | thermal_subsystem.hpp | 47 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in doThermalSubsystemCollection() 50 asyncResp->res.jsonValue["Fans"]["@odata.id"] = boost::urls::format( in doThermalSubsystemCollection() 54 boost::urls::format( in doThermalSubsystemCollection()
|
H A D | storage.hpp | 74 boost::urls::format("/redfish/v1/Systems/{}/Storage", in handleSystemsStorageCollectionGet() 94 asyncResp, boost::urls::format("/redfish/v1/Storage"), interface, in handleStorageCollectionGet() 137 driveJson["@odata.id"] = boost::urls::format( in afterChassisDriveCollectionSubtree() 182 boost::urls::format("/redfish/v1/Systems/{}/Storage/{}", in afterSystemsStorageGetSubtree() 190 boost::urls::format("/redfish/v1/Systems/{}/Storage/{}/Controllers", in afterSystemsStorageGetSubtree() 246 boost::urls::format("/redfish/v1/Storage/{}", storageId); in afterSubtree() 255 boost::urls::format("/redfish/v1/Systems/{}/Storage/{}", in afterSubtree() 665 boost::urls::format("/redfish/v1/Systems/{}/Storage/1/Drives/{}", in afterGetSubtreeSystemsStorageDrive() 682 boost::urls::format("/redfish/v1/Chassis/{}", chassisId); in afterGetSubtreeSystemsStorageDrive() 766 boost::urls in afterChassisDriveCollectionSubtreeGet() [all...] |
H A D | aggregation_service.hpp | 79 const std::unordered_map<std::string, boost::urls::url>& satelliteInfo) in populateAggregationSourceCollection() 91 member["@odata.id"] = boost::urls::format( in populateAggregationSourceCollection() 151 const std::unordered_map<std::string, boost::urls::url>& satelliteInfo) in populateAggregationSource() 172 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in populateAggregationSource()
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | __init__.py | 1268 for u in fetch.urls: 1421 def __init__(self, urls=None): argument 1422 self.urls = [] 1484 def setUrls(self, urls): argument 1485 self.__urls = urls 1490 urls = property(getUrls, setUrls, None, "Urls property") variable in FetchMethod 1764 def __init__(self, urls, d, cache = True, localonly = False, connection_cache = None): argument 1768 if not urls: 1769 urls = d.getVar("SRC_URI").split() 1770 self.urls = urls [all …]
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | collection.hpp | 33 const boost::urls::url& collectionPath, in handleCollectionMembers() 80 boost::urls::url url = collectionPath; in handleCollectionMembers() 105 const boost::urls::url& collectionPath, in getCollectionToKey() 117 const boost::urls::url& collectionPath, in getCollectionMembers()
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | fetch.py | 2494 ud = fetcher.ud[fetcher.urls[0]] 2515 ud = fetcher.ud[fetcher.urls[0]] 2541 ud = fetcher.ud[fetcher.urls[0]] 2564 ud = fetcher.ud[fetcher.urls[0]] 2588 ud = fetcher.ud[fetcher.urls[0]] 2595 ud = fetcher.ud[fetcher.urls[1]] 2632 … urls = ['npm://registry.npmjs.org;package=@savoirfairelinux/node-server-example;version=1.0.0'] 2633 fetcher = bb.fetch.Fetch(urls, self.d) 2634 ud = fetcher.ud[fetcher.urls[0]] 2646 … urls = ['npm://registry.npmjs.org;package=@savoirfairelinux/node-server-example;version=1.0.0'] [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastermain/ |
H A D | urls.py | 9 from django.urls import re_path as url, include 51 urlpatterns.insert(1, url(r'', include(debug_toolbar.urls))) 56 url(r'^admin/', admin.site.urls),
|
/openbmc/bmcweb/redfish-core/lib/openbmc/ |
H A D | openbmc_managers.hpp | 76 fans["@odata.id"] = boost::urls::format( in asyncPopulatePid() 83 pids["@odata.id"] = boost::urls::format( in asyncPopulatePid() 90 stepwise["@odata.id"] = boost::urls::format( in asyncPopulatePid() 95 zones["@odata.id"] = boost::urls::format( in asyncPopulatePid() 100 boost::urls::format("/redfish/v1/Managers/{}#/Oem/OpenBmc/Fan", in asyncPopulatePid() 176 boost::urls::url url( in asyncPopulatePid() 177 boost::urls::format("/redfish/v1/Managers/{}", in asyncPopulatePid() 188 zone["Chassis"]["@odata.id"] = boost::urls::format( in asyncPopulatePid() 373 boost::urls::url managerUrl = in asyncPopulatePid() 374 boost::urls::format( in asyncPopulatePid() [all …]
|
/openbmc/openbmc/poky/bitbake/doc/sphinx-static/ |
H A D | switchers.js | 102 function navigate_to_first_existing(urls) { argument 104 var url = urls.shift(); 113 if (urls.length == 0) { 123 navigate_to_first_existing(urls);
|
/openbmc/openbmc/poky/documentation/sphinx-static/ |
H A D | switchers.js.in | 108 function navigate_to_first_existing(urls) { argument 109 // Navigate to the first existing URL in urls. 110 var url = urls.shift(); 112 // Web browsers won't redirect file:// urls to file urls using ajax but 119 if (urls.length == 0) { 129 navigate_to_first_existing(urls);
|
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | query_param_test.cpp | 357 auto ret = boost::urls::parse_relative_ref( in TEST() 373 auto ret = boost::urls::parse_relative_ref("/redfish/v1?only"); in TEST() 392 auto ret = boost::urls::parse_relative_ref("/redfish/v1?$expand=*"); in TEST() 420 auto ret = boost::urls::parse_relative_ref("/redfish/v1?$top=1"); in TEST() 440 auto ret = boost::urls::parse_relative_ref("/redfish/v1?$top=-1"); in TEST() 451 auto ret = boost::urls::parse_relative_ref("/redfish/v1?$top=1001"); in TEST() 465 auto ret = boost::urls::parse_relative_ref("/redfish/v1?$skip=1"); in TEST() 480 auto ret = boost::urls::parse_relative_ref( in TEST() 492 auto ret = boost::urls::parse_relative_ref("/redfish/v1?unexpected_param"); in TEST() 503 auto ret = boost::urls::parse_relative_ref("/redfish/v1?$unexpected_param"); in TEST()
|
/openbmc/bmcweb/include/ |
H A D | forward_unauthorized.hpp | 33 boost::urls::url forward = in sendUnauthorized() 34 boost::urls::format("/?next={}#/login", url); in sendUnauthorized()
|