summaryrefslogtreecommitdiff
path: root/scripts/update_schemas.py
AgeCommit message (Collapse)AuthorFilesLines
2019-05-10Redfish: fix warning in validatorEd Tanous1-1/+1
The validator gives warnings like: URI acquired ends in slash: /redfish/v1/JsonSchemas/Zone These warnings don't actually result in warnings, because the trailing slash has always been a question in the spec, but we might as well do it correctly, even if most of the tools don't take an issue with it. Tested: Ran service validator, saw no new failures, and observed no errors mentioned above. Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: I184422d7a14838339253c945d7a0c91878093e17
2019-03-11Redfish: Fix incorrect reference tag added as part of update_schemas.py scriptMarri Devender Rao1-1/+1
Change-Id: I763534d54b7630aec30883d04e02b4f478c10ab4 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2019-02-07Fix bad link in Redfish JsonSchemas IDEd Tanous1-2/+2
Change-Id: I993ae392d87a19acd51fe093f8244a9c781dd339 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
2019-02-02Redfish: Update schema files to 2018.3Marri Devender Rao1-26/+30
Redfish schema 2018.3 was released on January 11th, 2019. While there aren't any plans to utilize any of the new services, it makes sense to keep up to date with the latest static data. This commit was largely done automatically using the update_schemas.py script. Change-Id: I74c6fac08d21629ca976ff8694fce011b5247e34 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2019-01-07Update schema files to 2018.2Ed Tanous1-2/+2
Redfish schema 2018.2 was released on September 20th, 2018. While there aren't any plans to utilize any of the new services, it makes sense to keep up to date with the latest static data. This commit was largely done automatically using the update_schemas.py script. Change-Id: Ieaa9f1ab2a47244ef201cfe9a064744d7d156745 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
2018-10-29[scripts] Avoid deleting Oem Schemas During UpdateJames Feist1-1/+4
Don't delete Oem json and xml files. Change-Id: I2e4e2a49c776442c5d5e9d85400d3f6dba1f1d5a Signed-off-by: James Feist <james.feist@linux.intel.com>
2018-10-16Fix JsonSchema indexesEd Tanous1-11/+82
JsonSchema was throwing errors in the validator, so implement changes to the update script to add the appropiate indexes. Tested by: Schema validator passes on the JsonSchema Fields Change-Id: I6cb2737901b55c1089aef744d3ce3c3dfe13f17f Signed-off-by: Ed Tanous <ed.tanous@intel.com>
2018-09-17Implement JsonSchema endpointEd Tanous1-0/+92
This patchset implements JsonSchema support, and automates our update of the XML metadata, and Json schema files in the future by way of a python script. Change-Id: Iec6f580d10736678149db18d87be2f140b535be9 Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: James Feist <james.feist@linux.intel.com>