xref: /openbmc/bmcweb/redfish-core/include/aggregation_utils.hpp (revision 40e9b92ec19acffb46f83a6e55b18974da5d708e)
1*40e9b92eSEd Tanous // SPDX-License-Identifier: Apache-2.0
2*40e9b92eSEd Tanous // SPDX-FileCopyrightText: Copyright OpenBMC Authors
39e031406SCarson Labrado #pragma once
4*40e9b92eSEd Tanous 
59e031406SCarson Labrado /****************************************************************
69e031406SCarson Labrado  *                 READ THIS WARNING FIRST
79e031406SCarson Labrado  * This is an auto-generated header which contains definitions
89e031406SCarson Labrado  * for Redfish DMTF defined schemas.
99e031406SCarson Labrado  * DO NOT modify this registry outside of running the
109e031406SCarson Labrado  * update_schemas.py script.  The definitions contained within
119e031406SCarson Labrado  * this file are owned by DMTF.  Any modifications to these files
129e031406SCarson Labrado  * should be first pushed to the relevant registry in the DMTF
139e031406SCarson Labrado  * github organization.
149e031406SCarson Labrado  ***************************************************************/
159e031406SCarson Labrado // clang-format off
169e031406SCarson Labrado #include <array>
179e031406SCarson Labrado #include <string_view>
189e031406SCarson Labrado 
199e031406SCarson Labrado namespace redfish
209e031406SCarson Labrado {
2111987af6SCarson Labrado // Note that each URI actually begins with "/redfish/v1"
229e031406SCarson Labrado // They've been omitted to save space and reduce search time
23fdbce79bSEd Tanous constexpr std::array<std::string_view, 50> topCollections{
2411987af6SCarson Labrado     "/AggregationService/Aggregates",
2511987af6SCarson Labrado     "/AggregationService/AggregationSources",
2611987af6SCarson Labrado     "/AggregationService/ConnectionMethods",
2711987af6SCarson Labrado     "/Cables",
2811987af6SCarson Labrado     "/Chassis",
2911987af6SCarson Labrado     "/ComponentIntegrity",
3011987af6SCarson Labrado     "/CompositionService/ActivePool",
3111987af6SCarson Labrado     "/CompositionService/CompositionReservations",
3211987af6SCarson Labrado     "/CompositionService/FreePool",
3311987af6SCarson Labrado     "/CompositionService/ResourceBlocks",
3411987af6SCarson Labrado     "/CompositionService/ResourceZones",
3511987af6SCarson Labrado     "/EventService/Subscriptions",
3611987af6SCarson Labrado     "/Fabrics",
3711987af6SCarson Labrado     "/Facilities",
3811987af6SCarson Labrado     "/JobService/Jobs",
3911987af6SCarson Labrado     "/JobService/Log/Entries",
4011987af6SCarson Labrado     "/KeyService/NVMeoFKeyPolicies",
4111987af6SCarson Labrado     "/KeyService/NVMeoFSecrets",
4211987af6SCarson Labrado     "/LicenseService/Licenses",
4311987af6SCarson Labrado     "/Managers",
4411987af6SCarson Labrado     "/NVMeDomains",
4511987af6SCarson Labrado     "/PowerEquipment/ElectricalBuses",
4611987af6SCarson Labrado     "/PowerEquipment/FloorPDUs",
4711987af6SCarson Labrado     "/PowerEquipment/PowerShelves",
4811987af6SCarson Labrado     "/PowerEquipment/RackPDUs",
4911987af6SCarson Labrado     "/PowerEquipment/Switchgear",
5011987af6SCarson Labrado     "/PowerEquipment/TransferSwitches",
5111987af6SCarson Labrado     "/RegisteredClients",
5211987af6SCarson Labrado     "/Registries",
5311987af6SCarson Labrado     "/ResourceBlocks",
5411987af6SCarson Labrado     "/Storage",
5511987af6SCarson Labrado     "/StorageServices",
5611987af6SCarson Labrado     "/StorageSystems",
5711987af6SCarson Labrado     "/Systems",
58fdbce79bSEd Tanous     "/TaskService/TaskMonitors",
5911987af6SCarson Labrado     "/TaskService/Tasks",
6011987af6SCarson Labrado     "/TelemetryService/LogService/Entries",
6111987af6SCarson Labrado     "/TelemetryService/MetricDefinitions",
6211987af6SCarson Labrado     "/TelemetryService/MetricReportDefinitions",
6311987af6SCarson Labrado     "/TelemetryService/MetricReports",
6411987af6SCarson Labrado     "/TelemetryService/Triggers",
65f263e09cSEd Tanous     "/ThermalEquipment/CDUs",
66f263e09cSEd Tanous     "/ThermalEquipment/CoolingLoops",
67f263e09cSEd Tanous     "/ThermalEquipment/HeatExchangers",
68f263e09cSEd Tanous     "/ThermalEquipment/ImmersionUnits",
6911987af6SCarson Labrado     "/UpdateService/ClientCertificates",
7011987af6SCarson Labrado     "/UpdateService/FirmwareInventory",
7111987af6SCarson Labrado     "/UpdateService/RemoteServerCertificates",
72e9cc1bc9SEd Tanous     "/UpdateService/RemoteServerSSHKeys",
7311987af6SCarson Labrado     "/UpdateService/SoftwareInventory",
749e031406SCarson Labrado };
759e031406SCarson Labrado } // namespace redfish
76