xref: /openbmc/bmcweb/redfish-core/include/aggregation_utils.hpp (revision 5ecf7b4e1bb6988dd3403fa80b723afbe2be30ae)
1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
3 #pragma once
4 
5 /****************************************************************
6  *                 READ THIS WARNING FIRST
7  * This is an auto-generated header which contains definitions
8  * for Redfish DMTF defined schemas.
9  * DO NOT modify this registry outside of running the
10  * update_schemas.py script.  The definitions contained within
11  * this file are owned by DMTF.  Any modifications to these files
12  * should be first pushed to the relevant registry in the DMTF
13  * github organization.
14  ***************************************************************/
15 // clang-format off
16 #include <array>
17 #include <string_view>
18 
19 namespace redfish
20 {
21 // Note that each URI actually begins with "/redfish/v1"
22 // They've been omitted to save space and reduce search time
23 constexpr std::array<std::string_view, 58> topCollections{
24     "/AggregationService/Aggregates",
25     "/AggregationService/AggregationSources",
26     "/AggregationService/ConnectionMethods",
27     "/AutomationNodes",
28     "/Cables",
29     "/CertificateService/CertificateEnrollments",
30     "/CertificateService/EnrollmentCACertificates",
31     "/Chassis",
32     "/ComponentIntegrity",
33     "/CompositionService/ActivePool",
34     "/CompositionService/CompositionReservations",
35     "/CompositionService/FreePool",
36     "/CompositionService/ResourceBlocks",
37     "/CompositionService/ResourceZones",
38     "/EventService/Subscriptions",
39     "/Fabrics",
40     "/Facilities",
41     "/JobService/JobDocuments",
42     "/JobService/JobExecutors",
43     "/JobService/Jobs",
44     "/JobService/Log/Entries",
45     "/KeyService/NVMeoFKeyPolicies",
46     "/KeyService/NVMeoFSecrets",
47     "/LicenseService/Licenses",
48     "/Managers",
49     "/NVMeDomains",
50     "/PowerEquipment/ElectricalBuses",
51     "/PowerEquipment/FloorPDUs",
52     "/PowerEquipment/PowerShelves",
53     "/PowerEquipment/RackPDUs",
54     "/PowerEquipment/Switchgear",
55     "/PowerEquipment/TransferSwitches",
56     "/RegisteredClients",
57     "/Registries",
58     "/ResourceBlocks",
59     "/Storage",
60     "/StorageServices",
61     "/StorageSystems",
62     "/Systems",
63     "/TaskService/TaskMonitors",
64     "/TaskService/Tasks",
65     "/TelemetryService/LogService/Entries",
66     "/TelemetryService/MetricDefinitions",
67     "/TelemetryService/MetricReportDefinitions",
68     "/TelemetryService/MetricReports",
69     "/TelemetryService/TelemetryData",
70     "/TelemetryService/Triggers",
71     "/ThermalEquipment/CDUs",
72     "/ThermalEquipment/CoolingLoops",
73     "/ThermalEquipment/HeatExchangers",
74     "/ThermalEquipment/ImmersionUnits",
75     "/ThermalEquipment/RPUs",
76     "/UpdateService/ClientCertificates",
77     "/UpdateService/FirmwareInventory",
78     "/UpdateService/LocalImageStore",
79     "/UpdateService/RemoteServerCertificates",
80     "/UpdateService/RemoteServerSSHKeys",
81     "/UpdateService/SoftwareInventory",
82 };
83 } // namespace redfish
84