fd6aca6271
Upon review, we found that we do NOT need breaking changes to the schema. In this minor revision, we are adding keys and placing forward references to the new keys from the old ones. At this point, we've removed the tests as per 2015.05 guideline. These will be added back over time. SUMMARY: added: reference added: tests-repositories added: required-since added: tests now have block including idempotent_id and (optional) flagged information change: guidelines to point to required-since change: tests from array to hash change: add hash after test-name keys change: flagged points to new location tests/test-name/flagged change: new version 1.3 To match the reference field, added new schema.1.3.rst file with explanation of the json schema. This file was expanded to include items that were added in 1.2 but not documented. The schema.1.2.rst file was added to preserve the json schema removed from the README.rst file. It was not otherwise changed. Expanded HACKING file to capture flagging mechanics. Co-Authored-By: Rob Hirschfeld <rob@zehicle.com> Co-Authored-By: Chris Hoge <chris@openstack.org> Co-Authored-By: Mark T. Voelker <mvoelker@vmware.com> Change-Id: I61483f988bdb1f4deb18266f611044b24ba65c34
49 lines
1.8 KiB
ReStructuredText
49 lines
1.8 KiB
ReStructuredText
JSON Schema v1.2
|
|
====================
|
|
|
|
.. code-block:: json
|
|
|
|
{ "id": "2015.03", # Spec name (date based)
|
|
"source": "http://git.openstack.org/cgit/openstack/defcore/", # git repo for files
|
|
"schema": "1.2", # Schema version
|
|
"status": "approved", # can be draft, review or approved
|
|
"replaces": "2014.07", # previous spec
|
|
"releases": ["icehouse"], # array of releases, lower case
|
|
"platform": { # platform components
|
|
"required": ["compute", "object"], # array
|
|
"advisory": [], # incoming array
|
|
"depricated": [], # outgoing array
|
|
"removed": [] # removed array
|
|
},
|
|
"components": { # components detail
|
|
"compute": { # component name
|
|
"required": [ # required array
|
|
"compute-auth"],
|
|
"advisory": [ # incoming array
|
|
"compute-servers-metadata"],
|
|
"deprecated": [], # outgoing array
|
|
"removed": [ # removed array
|
|
"volume"]
|
|
},
|
|
},
|
|
"criteria" : { # explains achievements
|
|
"atomic" : { "Description" : "blah blah blah",
|
|
"name" : "Atomic",
|
|
"weight": 8
|
|
},
|
|
"capabilities": { # capabilities listed in components
|
|
"example-cap" : # capability
|
|
{ "achievements" : # array of criteria met
|
|
[ "deployed",
|
|
"future",
|
|
"complete"],
|
|
"admin" : false, # is admin API
|
|
"status" : "required", # de-normalized from components
|
|
"description" : "Helpful Description",
|
|
"flagged" : [ ], # flagged tests array
|
|
"name" : "Friendly Short Name",
|
|
"tests" : # list of tests (please use UUIDs)
|
|
[ "tempest.api.project.file.class.test_name" ]
|
|
},
|
|
|