Post by abiramisekar on Aug 13, 2021 15:24:06 GMT
Hi,
The Response for CertificateLocation is as below,
When on running validator tool to check schema compliance,
getting below error,
I checked the CertificateLocations Schema, the Link property could have Oem property
redfish.dmtf.org/schemas/v1/CertificateLocations.v1_0_2.json
Please confirm the format of Oem URI in Link Property,
1. "Links -> Oem -> XXX -> Links -> odata.id of OEM"
2. "Links -> Oem -> XXX -> odata.id of OEM"
which would be the correct format .
Please Clarify.
Thank You,
Abirami S
The Response for CertificateLocation is as below,
{
"@odata.context": "/redfish/v1/$metadata#CertificateLocations.CertificateLocations",
"@odata.etag": "\"1628785805\"",
"@odata.id": "/redfish/v1/CertificateService/CertificateLocations",
"@odata.type": "#CertificateLocations.v1_0_2.CertificateLocations",
"Description": "Certificate Locations",
"Id": "CertificateLocations",
"Links": {
"Certificates": [
{
"@odata.id": "/redfish/v1/Managers/Self/NetworkProtocol/HTTPS/Certificates/1"
},
{
"@odata.id": "/redfish/v1/EventService/Oem/XXX/SMTP/Certificates/1"
},
{
"@odata.id": "/redfish/v1/EventService/Oem/XXX/SMTP/Certificates/2"
}
],
"Certificates@odata.count": 3
},
"Name": "Certificate Locations"
}
When on running validator tool to check schema compliance,
getting below error,
ERROR - Links.Certificates[0]: Linked resource reports version #Certificate.v1_2_1.Certificate not in Schema localFile:./schemas/Certificate_v1.xml
ERROR - Schema of target /redfish/v1/EventService/Oem/XXX/SMTP/Certificates/1 not referenced in current resource, concluding type #AMISMTPCertificate.v1_0_0.XXXSMTPCertificate is not of expected type Collection(Certificate.Certificate)
ERROR - Links.Certificates[1]: Could not get schema file for Entity check
ERROR - Schema of target /redfish/v1/EventService/Oem/XXX/SMTP/Certificates/2 not referenced in current resource, concluding type #AMISMTPCertificate.v1_0_0.XXXSMTPCertificate is not of expected type Collection(Certificate.Certificate)
ERROR - Links.Certificates[2]: Could not get schema file for Entity check
I checked the CertificateLocations Schema, the Link property could have Oem property
redfish.dmtf.org/schemas/v1/CertificateLocations.v1_0_2.json
Please confirm the format of Oem URI in Link Property,
1. "Links -> Oem -> XXX -> Links -> odata.id of OEM"
2. "Links -> Oem -> XXX -> odata.id of OEM"
which would be the correct format .
Please Clarify.
Thank You,
Abirami S