Home
last modified time | relevance | path

Searched refs:jsonValue (Results 1 – 25 of 72) sorted by relevance

123

/openbmc/bmcweb/redfish-core/lib/
H A Dservice_root.hpp43 asyncResp->res.jsonValue["@odata.type"] = in handleServiceRootGetImpl()
45 asyncResp->res.jsonValue["@odata.id"] = "/redfish/v1"; in handleServiceRootGetImpl()
46 asyncResp->res.jsonValue["Id"] = "RootService"; in handleServiceRootGetImpl()
47 asyncResp->res.jsonValue["Name"] = "Root Service"; in handleServiceRootGetImpl()
48 asyncResp->res.jsonValue["RedfishVersion"] = "1.17.0"; in handleServiceRootGetImpl()
49 asyncResp->res.jsonValue["Links"]["Sessions"]["@odata.id"] = in handleServiceRootGetImpl()
51 asyncResp->res.jsonValue["AccountService"]["@odata.id"] = in handleServiceRootGetImpl()
55 asyncResp->res.jsonValue["AggregationService"]["@odata.id"] = in handleServiceRootGetImpl()
58 asyncResp->res.jsonValue["Chassis"]["@odata.id"] = "/redfish/v1/Chassis"; in handleServiceRootGetImpl()
59 asyncResp->res.jsonValue["JsonSchemas"]["@odata.id"] = in handleServiceRootGetImpl()
[all …]
H A Dmemory.hpp152 asyncResp->res.jsonValue[jsonPtr][key] = "0x" + intToHexString(*value, 4); in dimmPropToHex()
227 asyncResp->res.jsonValue[jsonPtr]["VolatileRegionSizeLimitMiB"] = in getPersistentMemoryProperties()
233 asyncResp->res.jsonValue[jsonPtr]["PersistentRegionSizeLimitMiB"] = in getPersistentMemoryProperties()
239 asyncResp->res.jsonValue[jsonPtr]["VolatileSizeMiB"] = in getPersistentMemoryProperties()
245 asyncResp->res.jsonValue[jsonPtr]["NonVolatileSizeMiB"] = in getPersistentMemoryProperties()
251 asyncResp->res.jsonValue[jsonPtr]["CacheSizeMiB"] = in getPersistentMemoryProperties()
257 asyncResp->res.jsonValue[jsonPtr]["VolatileRegionSizeMaxMiB"] = in getPersistentMemoryProperties()
263 asyncResp->res.jsonValue[jsonPtr]["PersistentRegionSizeMaxMiB"] = in getPersistentMemoryProperties()
269 asyncResp->res.jsonValue[jsonPtr]["AllocationIncrementMiB"] = in getPersistentMemoryProperties()
275 asyncResp->res.jsonValue[jsonPtr]["AllocationAlignmentMiB"] = in getPersistentMemoryProperties()
[all …]
H A Dmessage_registries.hpp30 asyncResp->res.jsonValue["@odata.type"] = in handleMessageRegistryFileCollectionGet()
32 asyncResp->res.jsonValue["@odata.id"] = "/redfish/v1/Registries"; in handleMessageRegistryFileCollectionGet()
33 asyncResp->res.jsonValue["Name"] = "MessageRegistryFile Collection"; in handleMessageRegistryFileCollectionGet()
34 asyncResp->res.jsonValue["Description"] = in handleMessageRegistryFileCollectionGet()
37 nlohmann::json& members = asyncResp->res.jsonValue["Members"]; in handleMessageRegistryFileCollectionGet()
50 asyncResp->res.jsonValue["Members@odata.count"] = members.size(); in handleMessageRegistryFileCollectionGet()
90 asyncResp->res.jsonValue["@odata.id"] = in handleMessageRoutesMessageRegistryFileGet()
92 asyncResp->res.jsonValue["@odata.type"] = in handleMessageRoutesMessageRegistryFileGet()
94 asyncResp->res.jsonValue["Name"] = registry + " Message Registry File"; in handleMessageRoutesMessageRegistryFileGet()
95 asyncResp->res.jsonValue["Description"] = in handleMessageRoutesMessageRegistryFileGet()
[all …]
H A Droles.hpp90 asyncResp->res.jsonValue["@odata.type"] = "#Role.v1_2_2.Role"; in requestRoutesRoles()
91 asyncResp->res.jsonValue["Name"] = "User Role"; in requestRoutesRoles()
92 asyncResp->res.jsonValue["Description"] = roleId + " User Role"; in requestRoutesRoles()
93 asyncResp->res.jsonValue["OemPrivileges"] = in requestRoutesRoles()
95 asyncResp->res.jsonValue["IsPredefined"] = true; in requestRoutesRoles()
96 asyncResp->res.jsonValue["Id"] = roleId; in requestRoutesRoles()
97 asyncResp->res.jsonValue["RoleId"] = roleId; in requestRoutesRoles()
98 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in requestRoutesRoles()
100 asyncResp->res.jsonValue["AssignedPrivileges"] = in requestRoutesRoles()
117 asyncResp->res.jsonValue["@odata.id"] = in requestRoutesRoleCollection()
[all …]
H A Dtask.hpp139 res.jsonValue["@odata.id"] = uri; in populateResp()
140 res.jsonValue["@odata.type"] = "#Task.v1_4_3.Task"; in populateResp()
141 res.jsonValue["Id"] = strIdx; in populateResp()
142 res.jsonValue["TaskState"] = state; in populateResp()
143 res.jsonValue["TaskStatus"] = status; in populateResp()
384 asyncResp->res.jsonValue["@odata.type"] = "#Task.v1_4_3.Task"; in requestRoutesTask()
385 asyncResp->res.jsonValue["Id"] = strParam; in requestRoutesTask()
386 asyncResp->res.jsonValue["Name"] = "Task " + strParam; in requestRoutesTask()
387 asyncResp->res.jsonValue["TaskState"] = ptr->state; in requestRoutesTask()
388 asyncResp->res.jsonValue["StartTime"] = in requestRoutesTask()
[all …]
H A Dtelemetry_service.hpp28 asyncResp->res.jsonValue["@odata.type"] = in handleTelemetryServiceGet()
30 asyncResp->res.jsonValue["@odata.id"] = "/redfish/v1/TelemetryService"; in handleTelemetryServiceGet()
31 asyncResp->res.jsonValue["Id"] = "TelemetryService"; in handleTelemetryServiceGet()
32 asyncResp->res.jsonValue["Name"] = "Telemetry Service"; in handleTelemetryServiceGet()
34 asyncResp->res.jsonValue["MetricReportDefinitions"]["@odata.id"] = in handleTelemetryServiceGet()
36 asyncResp->res.jsonValue["MetricReports"]["@odata.id"] = in handleTelemetryServiceGet()
38 asyncResp->res.jsonValue["Triggers"]["@odata.id"] = in handleTelemetryServiceGet()
48 asyncResp->res.jsonValue["Status"]["State"] = in handleTelemetryServiceGet()
59 asyncResp->res.jsonValue["Status"]["State"] = in handleTelemetryServiceGet()
77 asyncResp->res.jsonValue["MaxReports"] = *maxReports; in handleTelemetryServiceGet()
[all …]
H A Dstorage.hpp48 asyncResp->res.jsonValue["@odata.type"] = in handleSystemsStorageCollectionGet()
50 asyncResp->res.jsonValue["@odata.id"] = std::format( in handleSystemsStorageCollectionGet()
52 asyncResp->res.jsonValue["Name"] = "Storage Collection"; in handleSystemsStorageCollectionGet()
71 asyncResp->res.jsonValue["@odata.type"] = in handleStorageCollectionGet()
73 asyncResp->res.jsonValue["@odata.id"] = "/redfish/v1/Storage"; in handleStorageCollectionGet()
74 asyncResp->res.jsonValue["Name"] = "Storage Collection"; in handleStorageCollectionGet()
106 nlohmann::json& driveArray = asyncResp->res.jsonValue["Drives"]; in afterChassisDriveCollectionSubtree()
108 auto& count = asyncResp->res.jsonValue["Drives@odata.count"]; in afterChassisDriveCollectionSubtree()
164 asyncResp->res.jsonValue["@odata.type"] = "#Storage.v1_13_0.Storage"; in afterSystemsStorageGetSubtree()
165 asyncResp->res.jsonValue["@odata.id"] = in afterSystemsStorageGetSubtree()
[all …]
H A Dpcie.hpp119 asyncResp->res.jsonValue["@odata.type"] = in handlePCIeDeviceCollectionGet()
121 asyncResp->res.jsonValue["@odata.id"] = std::format( in handlePCIeDeviceCollectionGet()
123 asyncResp->res.jsonValue["Name"] = "PCIe Device Collection"; in handlePCIeDeviceCollectionGet()
124 asyncResp->res.jsonValue["Description"] = "Collection of PCIe Devices"; in handlePCIeDeviceCollectionGet()
180 res.jsonValue["Slot"]["PCIeType"] = *pcieType; in addPCIeSlotProperties()
185 res.jsonValue["Slot"]["Lanes"] = lanes; in addPCIeSlotProperties()
202 res.jsonValue["Slot"]["SlotType"] = *redfishSlotType; in addPCIeSlotProperties()
306 asyncResp->res.jsonValue["Status"]["Health"] = in getPCIeDeviceHealth()
332 asyncResp->res.jsonValue["Status"]["State"] = in getPCIeDeviceState()
379 asyncResp->res.jsonValue["Manufacturer"] = *manufacturer; in getPCIeDeviceAsset()
[all …]
H A Dchassis.hpp122 asyncResp->res.jsonValue["Links"]["Storage@odata.count"] = in getStorageLink()
124 asyncResp->res.jsonValue["Links"]["Storage"] = std::move(storages); in getStorageLink()
163 asyncResp->res.jsonValue["PowerState"] = in getChassisState()
165 asyncResp->res.jsonValue["Status"]["State"] = in getChassisState()
171 asyncResp->res.jsonValue["PowerState"] = in getChassisState()
173 asyncResp->res.jsonValue["Status"]["State"] = in getChassisState()
216 asyncResp->res.jsonValue["PhysicalSecurity"] in handlePhysicalSecurityGetSubTree()
219 .jsonValue["PhysicalSecurity"]["IntrusionSensor"] = in handlePhysicalSecurityGetSubTree()
236 asyncResp->res.jsonValue["@odata.type"] = in handleChassisCollectionGet()
238 asyncResp->res.jsonValue["@odata.id"] = "/redfish/v1/Chassis"; in handleChassisCollectionGet()
[all …]
H A Dsystems_logservices_hostlogger.hpp60 asyncResp->res.jsonValue["@odata.id"] = in handleSystemsLogServicesHostloggerGet()
63 asyncResp->res.jsonValue["@odata.type"] = "#LogService.v1_2_0.LogService"; in handleSystemsLogServicesHostloggerGet()
64 asyncResp->res.jsonValue["Name"] = "Host Logger Service"; in handleSystemsLogServicesHostloggerGet()
65 asyncResp->res.jsonValue["Description"] = "Host Logger Service"; in handleSystemsLogServicesHostloggerGet()
66 asyncResp->res.jsonValue["Id"] = "HostLogger"; in handleSystemsLogServicesHostloggerGet()
67 asyncResp->res.jsonValue["Entries"]["@odata.id"] = in handleSystemsLogServicesHostloggerGet()
100 asyncResp->res.jsonValue["@odata.id"] = in handleSystemsLogServicesHostloggerEntriesGet()
103 asyncResp->res.jsonValue["@odata.type"] = in handleSystemsLogServicesHostloggerEntriesGet()
105 asyncResp->res.jsonValue["Name"] = "HostLogger Entries"; in handleSystemsLogServicesHostloggerEntriesGet()
106 asyncResp->res.jsonValue["Description"] = in handleSystemsLogServicesHostloggerEntriesGet()
[all …]
H A Dsystems.hpp67 asyncResp->res.jsonValue["MemorySummary"]["Status"]["State"]; in updateDimmProperties()
72 asyncResp->res.jsonValue["MemorySummary"]["Status"]["State"] = in updateDimmProperties()
93 asyncResp->res.jsonValue["ProcessorSummary"]["Status"]["State"]; in modifyCpuFunctionalState()
102 asyncResp->res.jsonValue["ProcessorSummary"]["Status"]["State"] = in modifyCpuFunctionalState()
124 asyncResp->res.jsonValue["ProcessorSummary"]["Count"]; in modifyCpuPresenceState()
158 asyncResp->res.jsonValue["ProcessorSummary"]["CoreCount"]; in getProcessorProperties()
249 asyncResp->res.jsonValue["MemorySummary"]["TotalSystemMemoryGiB"]; in processMemoryProperties()
253 asyncResp->res.jsonValue["MemorySummary"]["TotalSystemMemoryGiB"] = in processMemoryProperties()
258 asyncResp->res.jsonValue["MemorySummary"]["TotalSystemMemoryGiB"] = in processMemoryProperties()
327 asyncResp->res.jsonValue["UUID"] = valueStr; in afterGetUUID()
[all …]
H A Dredfish_sessions.hpp27 res.jsonValue["Id"] = session.uniqueId; in fillSessionObject()
28 res.jsonValue["UserName"] = session.username; in fillSessionObject()
31 res.jsonValue["Roles"] = std::move(roles); in fillSessionObject()
32 res.jsonValue["@odata.id"] = boost::urls::format( in fillSessionObject()
34 res.jsonValue["@odata.type"] = "#Session.v1_7_0.Session"; in fillSessionObject()
35 res.jsonValue["Name"] = "User Session"; in fillSessionObject()
36 res.jsonValue["Description"] = "Manager User Session"; in fillSessionObject()
37 res.jsonValue["ClientOriginIPAddress"] = session.clientIp; in fillSessionObject()
40 res.jsonValue["Context"] = *session.clientId; in fillSessionObject()
170 asyncResp->res.jsonValue["Members"] = getSessionCollectionMembers(); in handleSessionCollectionGet()
[all …]
H A Dhypervisor_system.hpp61 asyncResp->res.jsonValue["PowerState"] = in getHypervisorState()
63 asyncResp->res.jsonValue["Status"]["State"] = in getHypervisorState()
69 asyncResp->res.jsonValue["PowerState"] = in getHypervisorState()
71 asyncResp->res.jsonValue["Status"]["State"] = in getHypervisorState()
77 asyncResp->res.jsonValue["PowerState"] = in getHypervisorState()
79 asyncResp->res.jsonValue["Status"]["State"] = in getHypervisorState()
85 asyncResp->res.jsonValue["PowerState"] = in getHypervisorState()
87 asyncResp->res.jsonValue["Status"]["State"] = in getHypervisorState()
93 asyncResp->res.jsonValue["PowerState"] = in getHypervisorState()
95 asyncResp->res.jsonValue["Status"]["State"] = in getHypervisorState()
[all …]
H A Dmanager_logservices_journal.hpp42 asyncResp->res.jsonValue["@odata.type"] = "#LogService.v1_2_0.LogService"; in handleManagersLogServiceJournalGet()
43 asyncResp->res.jsonValue["@odata.id"] = in handleManagersLogServiceJournalGet()
46 asyncResp->res.jsonValue["Name"] = "Open BMC Journal Log Service"; in handleManagersLogServiceJournalGet()
47 asyncResp->res.jsonValue["Description"] = "BMC Journal Log Service"; in handleManagersLogServiceJournalGet()
48 asyncResp->res.jsonValue["Id"] = "Journal"; in handleManagersLogServiceJournalGet()
49 asyncResp->res.jsonValue["OverWritePolicy"] = "WrapsWhenFull"; in handleManagersLogServiceJournalGet()
53 asyncResp->res.jsonValue["DateTime"] = redfishDateTimeOffset.first; in handleManagersLogServiceJournalGet()
54 asyncResp->res.jsonValue["DateTimeLocalOffset"] = in handleManagersLogServiceJournalGet()
57 asyncResp->res.jsonValue["Entries"]["@odata.id"] = boost::urls::format( in handleManagersLogServiceJournalGet()
71 nlohmann::json& logEntry = asyncResp->res.jsonValue["Members"]; in readJournalEntries()
[all …]
H A Dcable.hpp55 resp.jsonValue["CableType"] = *cableTypeDescription; in fillCableProperties()
71 resp.jsonValue["LengthMeters"] = *length; in fillCableProperties()
125 asyncResp->res.jsonValue["Status"]["State"] = in getCableProperties()
180 asyncResp->res.jsonValue["@odata.type"] = in requestRoutesCable()
182 asyncResp->res.jsonValue["@odata.id"] = in requestRoutesCable()
185 asyncResp->res.jsonValue["Id"] = cableId; in requestRoutesCable()
186 asyncResp->res.jsonValue["Name"] = "Cable"; in requestRoutesCable()
187 asyncResp->res.jsonValue["Status"]["State"] = in requestRoutesCable()
214 asyncResp->res.jsonValue["@odata.type"] = in requestRoutesCableCollection()
216 asyncResp->res.jsonValue["@odata.id"] = "/redfish/v1/Cables"; in requestRoutesCableCollection()
[all …]
H A Dprocessor.hpp63 asyncResp->res.jsonValue["UUID"] = property; in getProcessorUUID()
74 asyncResp->res.jsonValue["Status"]["State"] = resource::State::Enabled; in getCpuDataByInterface()
75 asyncResp->res.jsonValue["Status"]["Health"] = resource::Health::OK; in getCpuDataByInterface()
93 asyncResp->res.jsonValue["Status"]["State"] = in getCpuDataByInterface()
107 asyncResp->res.jsonValue["Status"]["Health"] = in getCpuDataByInterface()
120 asyncResp->res.jsonValue["TotalCores"] = *coresCount; in getCpuDataByInterface()
127 asyncResp->res.jsonValue["MaxSpeedMHz"] = *value; in getCpuDataByInterface()
136 asyncResp->res.jsonValue["Socket"] = *value; in getCpuDataByInterface()
144 asyncResp->res.jsonValue["TotalThreads"] = *value; in getCpuDataByInterface()
152 asyncResp->res.jsonValue["ProcessorId"]["EffectiveFamily"] = in getCpuDataByInterface()
[all …]
H A Dfan.hpp34 nlohmann::json& fanList = asyncResp->res.jsonValue["Members"]; in updateFanList()
51 asyncResp->res.jsonValue["Members@odata.count"] = fanList.size(); in updateFanList()
98 asyncResp->res.jsonValue["@odata.type"] = "#FanCollection.FanCollection"; in doFanCollection()
99 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in doFanCollection()
101 asyncResp->res.jsonValue["Name"] = "Fan Collection"; in doFanCollection()
102 asyncResp->res.jsonValue["Description"] = in doFanCollection()
104 asyncResp->res.jsonValue["Members"] = nlohmann::json::array(); in doFanCollection()
105 asyncResp->res.jsonValue["Members@odata.count"] = 0; in doFanCollection()
226 resp.jsonValue["@odata.type"] = "#Fan.v1_3_0.Fan"; in addFanCommonProperties()
227 resp.jsonValue["Name"] = "Fan"; in addFanCommonProperties()
[all …]
H A Dpower_supply.hpp33 nlohmann::json& powerSupplyList = asyncResp->res.jsonValue["Members"]; in updatePowerSupplyList()
50 asyncResp->res.jsonValue["Members@odata.count"] = powerSupplyList.size(); in updatePowerSupplyList()
70 asyncResp->res.jsonValue["@odata.type"] = in doPowerSupplyCollection()
72 asyncResp->res.jsonValue["Name"] = "Power Supply Collection"; in doPowerSupplyCollection()
73 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in doPowerSupplyCollection()
75 asyncResp->res.jsonValue["Description"] = in doPowerSupplyCollection()
77 asyncResp->res.jsonValue["Members"] = nlohmann::json::array(); in doPowerSupplyCollection()
78 asyncResp->res.jsonValue["Members@odata.count"] = 0; in doPowerSupplyCollection()
219 asyncResp->res.jsonValue["Status"]["State"] = in getPowerSupplyState()
246 asyncResp->res.jsonValue["Status"]["Health"] = in getPowerSupplyHealth()
[all …]
H A Dthermal_subsystem.hpp36 asyncResp->res.jsonValue["@odata.type"] = in doThermalSubsystemCollection()
38 asyncResp->res.jsonValue["Name"] = "Thermal Subsystem"; in doThermalSubsystemCollection()
39 asyncResp->res.jsonValue["Id"] = "ThermalSubsystem"; in doThermalSubsystemCollection()
41 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in doThermalSubsystemCollection()
44 asyncResp->res.jsonValue["Fans"]["@odata.id"] = boost::urls::format( in doThermalSubsystemCollection()
47 asyncResp->res.jsonValue["ThermalMetrics"]["@odata.id"] = in doThermalSubsystemCollection()
52 asyncResp->res.jsonValue["Status"]["State"] = resource::State::Enabled; in doThermalSubsystemCollection()
53 asyncResp->res.jsonValue["Status"]["Health"] = resource::Health::OK; in doThermalSubsystemCollection()
H A Dcertificate_service.hpp239 nlohmann::json& links = asyncResp->res.jsonValue[listPtr]; in getCertificateList()
281 asyncResp->res.jsonValue[countPtr] = links.size(); in getCertificateList()
336 asyncResp->res.jsonValue["@odata.id"] = certURL; in getCertificateProperties()
337 asyncResp->res.jsonValue["@odata.type"] = in getCertificateProperties()
339 asyncResp->res.jsonValue["Id"] = certId; in getCertificateProperties()
340 asyncResp->res.jsonValue["Name"] = name; in getCertificateProperties()
341 asyncResp->res.jsonValue["Description"] = name; in getCertificateProperties()
342 asyncResp->res.jsonValue["CertificateString"] = ""; in getCertificateProperties()
343 asyncResp->res.jsonValue["KeyUsage"] = nlohmann::json::array(); in getCertificateProperties()
347 asyncResp->res.jsonValue["CertificateString"] = in getCertificateProperties()
[all …]
H A Dlog_services.hpp365 asyncResp->res.jsonValue["@odata.type"] = in getDumpEntryCollection()
367 asyncResp->res.jsonValue["@odata.id"] = std::move(odataIdStr); in getDumpEntryCollection()
368 asyncResp->res.jsonValue["Name"] = dumpType + " Dump Entries"; in getDumpEntryCollection()
369 asyncResp->res.jsonValue["Description"] = in getDumpEntryCollection()
444 asyncResp->res.jsonValue["Members@odata.count"] = in getDumpEntryCollection()
446 asyncResp->res.jsonValue["Members"] = std::move(entriesArray); in getDumpEntryCollection()
507 asyncResp->res.jsonValue["@odata.type"] = in getDumpEntryById()
509 asyncResp->res.jsonValue["@odata.id"] = entriesPath + entryID; in getDumpEntryById()
510 asyncResp->res.jsonValue["Id"] = entryID; in getDumpEntryById()
511 asyncResp->res.jsonValue["EntryType"] = "Event"; in getDumpEntryById()
[all …]
/openbmc/bmcweb/include/ibm/
H A Dmanagement_console_rest.hpp49 asyncResp->res.jsonValue["Description"] = contentNotAcceptableMsg; in handleFilePut()
62 asyncResp->res.jsonValue["Description"] = resourceNotFoundMsg; in handleFilePut()
76 asyncResp->res.jsonValue["Description"] = internalServerError; in handleFilePut()
91 asyncResp->res.jsonValue["Description"] = internalServerError; in handleFilePut()
102 asyncResp->res.jsonValue["Description"] = internalServerError; in handleFilePut()
120 asyncResp->res.jsonValue["Description"] = in handleFilePut()
127 asyncResp->res.jsonValue["Description"] = in handleFilePut()
142 asyncResp->res.jsonValue["Description"] = internalServerError; in handleFilePut()
157 asyncResp->res.jsonValue["Description"] = internalServerError; in handleFilePut()
186 asyncResp->res.jsonValue["Description"] = in handleFilePut()
[all …]
/openbmc/bmcweb/include/google/
H A Dgoogle_service_root.hpp30 asyncResp->res.jsonValue["@odata.type"] = in handleGoogleV1Get()
32 asyncResp->res.jsonValue["@odata.id"] = "/google/v1"; in handleGoogleV1Get()
33 asyncResp->res.jsonValue["Id"] = "Google Rest RootService"; in handleGoogleV1Get()
34 asyncResp->res.jsonValue["Name"] = "Google Service Root"; in handleGoogleV1Get()
35 asyncResp->res.jsonValue["Version"] = "1.0.0"; in handleGoogleV1Get()
36 asyncResp->res.jsonValue["RootOfTrustCollection"]["@odata.id"] = in handleGoogleV1Get()
44 asyncResp->res.jsonValue["@odata.id"] = "/google/v1/RootOfTrustCollection"; in handleRootOfTrustCollectionGet()
45 asyncResp->res.jsonValue["@odata.type"] = in handleRootOfTrustCollectionGet()
122 asyncResp->res.jsonValue["@odata.type"] = "#RootOfTrust.v1_0_0.RootOfTrust"; in populateRootOfTrustEntity()
123 asyncResp->res.jsonValue["@odata.id"] = boost::urls::format( in populateRootOfTrustEntity()
[all …]
/openbmc/bmcweb/redfish-core/src/
H A Derror_messages.cpp69 addMessageToJsonRoot(res.jsonValue, success()); in success()
87 addMessageToErrorJson(res.jsonValue, generalError()); in generalError()
105 addMessageToJsonRoot(res.jsonValue, created()); in created()
123 addMessageToErrorJson(res.jsonValue, noOperation()); in noOperation()
142 addMessageToJson(res.jsonValue, propertyDuplicate(arg1), arg1); in propertyDuplicate()
161 addMessageToErrorJson(res.jsonValue, propertyUnknown(arg1)); in propertyUnknown()
184 addMessageToJson(res.jsonValue, propertyValueTypeError(arg1, arg2), arg2); in propertyValueTypeError()
207 addMessageToJson(res.jsonValue, propertyValueFormatError(arg1, arg2), arg2); in propertyValueFormatError()
230 addMessageToJson(res.jsonValue, propertyValueNotInList(arg1, arg2), arg2); in propertyValueNotInList()
253 addMessageToErrorJson(res.jsonValue, propertyValueOutOfRange(arg1, arg2)); in propertyValueOutOfRange()
[all …]
/openbmc/bmcweb/test/redfish-core/lib/
H A Dchassis_test.cpp32 EXPECT_EQ(res.jsonValue["@odata.type"], "#ActionInfo.v1_1_2.ActionInfo"); in assertChassisResetActionInfoGet()
33 EXPECT_EQ(res.jsonValue["@odata.id"], in assertChassisResetActionInfoGet()
35 EXPECT_EQ(res.jsonValue["Name"], "Reset Action Info"); in assertChassisResetActionInfoGet()
37 EXPECT_EQ(res.jsonValue["Id"], "ResetActionInfo"); in assertChassisResetActionInfoGet()
49 EXPECT_EQ(res.jsonValue["Parameters"], parameters); in assertChassisResetActionInfoGet()
116 ASSERT_EQ("RackMount", response->res.jsonValue["ChassisType"]); in TEST()
125 ASSERT_EQ("StandAlone", response->res.jsonValue["ChassisType"]); in TEST()
138 ASSERT_EQ("RackMount", response->res.jsonValue["ChassisType"]); in TEST()
157 ASSERT_EQ("RackMount", response->res.jsonValue["ChassisType"]); in TEST()

123