Home
last modified time | relevance | path

Searched refs:readUrlSegments (Results 1 – 8 of 8) sorted by relevance

/openbmc/bmcweb/test/http/
H A Dutility_test.cpp101 TEST(Utility, readUrlSegments) in TEST() argument
106 EXPECT_TRUE(readUrlSegments(*parsed, "redfish", "v1", "Chassis")); in TEST()
108 EXPECT_FALSE(readUrlSegments(*parsed, "FOOBAR", "v1", "Chassis")); in TEST()
110 EXPECT_FALSE(readUrlSegments(*parsed, "redfish", "v1")); in TEST()
113 readUrlSegments(*parsed, "redfish", "v1", "Chassis", "FOOBAR")); in TEST()
137 EXPECT_FALSE(readUrlSegments(*parsed, "too", "short")); in TEST()
144 EXPECT_FALSE(readUrlSegments(*parsed, "redfish", std::ref(out1), in TEST()
148 EXPECT_TRUE(readUrlSegments(*parsed, "absolute", "url")); in TEST()
151 EXPECT_FALSE(readUrlSegments(*parsed, "not", "absolute", "url")); in TEST()
156 EXPECT_TRUE(readUrlSegments(*parsed, "excellent", OrMorePaths())); in TEST()
[all …]
/openbmc/bmcweb/redfish-core/include/utils/
H A Dtelemetry_utils.hpp83 if (crow::utility::readUrlSegments(*parsed, "redfish", "v1", "Chassis", in getChassisSensorNode()
95 if (crow::utility::readUrlSegments(*parsed, "redfish", "v1", "Chassis", in getChassisSensorNode()
/openbmc/bmcweb/http/
H A Dutility.hpp386 inline bool readUrlSegments(const boost::urls::url_view_base& url, in readUrlSegments() function
430 inline bool readUrlSegments(const boost::urls::url_view_base& url, in readUrlSegments() function
433 return details::readUrlSegments(url, {std::forward<Args>(args)...}); in readUrlSegments()
/openbmc/bmcweb/redfish-core/include/
H A Dredfish_aggregator.hpp186 if (crow::utility::readUrlSegments(thisUrl, "redfish", "v1", "JsonSchemas", in addPrefixToStringItem()
195 if (!crow::utility::readUrlSegments(thisUrl, "redfish", "v1", in addPrefixToStringItem()
1192 using crow::utility::readUrlSegments; in beginAggregation()
1199 if (crow::utility::readUrlSegments(url, "redfish", "v1", "JsonSchemas", in beginAggregation()
1207 if (!crow::utility::readUrlSegments(url, "redfish", "v1", in beginAggregation()
/openbmc/bmcweb/redfish-core/lib/
H A Dcertificate_service.hpp540 if (crow::utility::readUrlSegments(*parsedUrl, "redfish", "v1", "Managers", in handleReplaceCertificateAction()
549 else if (crow::utility::readUrlSegments(*parsedUrl, "redfish", "v1", in handleReplaceCertificateAction()
558 else if (crow::utility::readUrlSegments(*parsedUrl, "redfish", "v1", in handleReplaceCertificateAction()
H A Dtrigger.hpp235 if (!crow::utility::readUrlSegments( in getReportPathFromReportDefinitionUri()
567 if (!crow::utility::readUrlSegments(*uri, "redfish", "v1", "Chassis", in parseMetricProperties()
H A Dupdate_service.hpp702 if (crow::utility::readUrlSegments(*url, "redfish", "v1", "Managers", in processUrl()
712 if (!crow::utility::readUrlSegments(*url, "redfish", "v1", "UpdateService", in processUrl()
H A Dethernet.hpp2180 if (!crow::utility::readUrlSegments( in requestEthernetInterfacesRoutes()