]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Define a Schema format for properties
authorZane Bitter <zbitter@redhat.com>
Fri, 9 Aug 2013 18:19:50 +0000 (20:19 +0200)
committerZane Bitter <zbitter@redhat.com>
Fri, 9 Aug 2013 18:19:50 +0000 (20:19 +0200)
commit51dc4e2218d9f086960ffc5f72ffc974ceed00cc
tree55d30dd2f1282c50c23f026fb67e5e78983df49b
parentcbf19dce1f781cb687b0212138a6ff38f0403dc2
Define a Schema format for properties

Define a Schema class for properties and their constraints that is easily
serialisable to a JSON schema format that matches the proposed Parameter
input syntax for HOT. Since resource properties have not been exposed to
the user before, this format will make the most sense to a user in the long
term.

A future patch will switch the Property validation code over to using
Schema objects instead of the dictionary-based schemata currently in use.

blueprint resource-properties-schema

Change-Id: I79fa5927bdffeaf103a1c2ba58b709b4ba72b551
heat/engine/properties.py
heat/tests/test_properties.py