fish
Guppy
Posts: 65
|
Post by fish on Feb 14, 2019 15:56:36 GMT
Hi,
Im looking in the 2018.3 schema bundle. CSDL schema of “Resource” (Resource_v1.xml) describes that properties Location/Info and Location/InfoFormat (used in Chassis) are deprecated. Older versions of the corresponding JSON schemas (such as Resource.v1_7_0.json) also includes attribute “deprecated” for both Location/Info and Location/InfoFormat, but this “deprecated” attribute is missing for these properties in the new schema Resource.v1_8_0.json. Is this a bug in the new JSON schemas (and tool for generating JSON)? Or has format for deprecated properties changed in JSON? Or am I looking in the wrong place…?
|
|
|
Post by jautor on Feb 14, 2019 21:00:13 GMT
That appears to be a bug! Some of the properties in Resource were moved (in previous releases) to the "unversioned namespace" - and those are now pulled out of the Resource v1.8 - but the two you mentioned are now missing the deprecated annotation. We will investigate and you're correct that this is likely a bug in our conversion tool, as we added the new "versionAdded" and other annotations to make things easier in the future.
Jeff
|
|
|
Post by mraineri on Feb 14, 2019 21:25:23 GMT
Good catch! I've entered an issue in Github for the tool here: github.com/DMTF/Redfish-Tools/issues/180For future bugs like this (or other points of confusion), feel free to file an issue on Github so it becomes visible to the tools maintainers.
|
|
fish
Guppy
Posts: 65
|
Post by fish on Feb 15, 2019 7:27:31 GMT
OK, thanks for quick answer!
|
|