duke
Minnow
Posts: 1
|
Post by duke on Oct 16, 2024 22:11:56 GMT
In my redfish, there is a redfish CollectionCapabilities like below. When running Service validator 2.4.5, there is no error on this part. But we have a tool contain the same validator 2.4.5 and same schema. When run the validator from our tool, it got failed, error message is like this. What is the reason to make this difference?
ERROR - Collection Property @redfish.CollectionCapabilities is not a List
ERROR - This object @redfish.CollectionCapabilities should be a list, but it's of type dict...
ERROR - @redfish.CollectionCapabilities: property is expected to contain an array
The CollectionCapabilities JSON:
{
"@Redfish.CollectionCapabilities": {
"@odata.type": "#CollectionCapabilities.v1_1_0.CollectionCapabilities",
"Capabilities": [
{
"CapabilitiesObject": {
"@odata.id": "/redfish/v1/Systems/Capabilities"
},
"UseCase": "ComputerSystemComposition",
"Links": {
"TargetCollection": {
"@odata.id": "/redfish/v1/Systems"
}
}
},
{
"CapabilitiesObject": {
"@odata.id": "/redfish/v1/Systems/ConstrainedCompositionCapabilities"
},
"UseCase": "ComputerSystemConstrainedComposition",
"Links": {
"TargetCollection": {
"@odata.id": "/redfish/v1/Systems"
}
}
}
]
} }
|
|
|
Post by mraineri on Oct 19, 2024 17:04:24 GMT
Are you able to provide the debug log file produced when using "--debugging"?
Your payload does look correct to me though, and I'm hoping the verbose log output will tell us what went awry with the tool.
|
|