commit c3dad3f0625172d9ca41605787c0ccef82d60c5f
Author: Thomas Spatzier <email address hidden>
Date: Thu Jan 9 14:15:09 2014 +0100
Enable better sub-classing of common Schema class
This patch is first in a series of patches to unify the code for
property and parameter validation based on a common Schema class.
The current patch refactors the existing Schema class in
constraints.py so it will in a subsequent patch be easier to
sub-class it, i.e. to rebase the parameters schema class on it.
For example, sub-classes will be able to override uppercase/
lowercase spelling of data type names etc., which will save us
translation between CFN and HOT specifics in the engine.
Reviewed: https:/ /review. openstack. org/65688 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=c3dad3f0625 172d9ca41605787 c0ccef82d60c5f
Committed: https:/
Submitter: Jenkins
Branch: master
commit c3dad3f0625172d 9ca41605787c0cc ef82d60c5f
Author: Thomas Spatzier <email address hidden>
Date: Thu Jan 9 14:15:09 2014 +0100
Enable better sub-classing of common Schema class
This patch is first in a series of patches to unify the code for
property and parameter validation based on a common Schema class.
The current patch refactors the existing Schema class in
constraints.py so it will in a subsequent patch be easier to
sub-class it, i.e. to rebase the parameters schema class on it.
For example, sub-classes will be able to override uppercase/
lowercase spelling of data type names etc., which will save us
translation between CFN and HOT specifics in the engine.
Change-Id: I0418a00f045af5 90b17500716a74b 8cc6ff72409 code-consolidat ion
Partial-Bug: #1230229
Implements: blueprint schema-