commit 48269aac77efce9f05770c55986462c5c941eece
Author: Max Lobur <email address hidden>
Date: Wed Jan 22 08:53:26 2014 -0500
Add JSONEncodedType with enforced type checking
Add abstract base class for JSONEncoded properties which: 1. Does type
checking to make sure we're serializing what we really expect
2. Ensures that default value of the field matches default value of
that type, so we have consistent interface. This patch creates two child
classes JSONEncodedDict and JSONEncodedList and updates SA models
correspondingly.
Reviewed: https:/ /review. openstack. org/68413 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=48269aac77e fce9f05770c5598 6462c5c941eece
Committed: https:/
Submitter: Jenkins
Branch: master
commit 48269aac77efce9 f05770c55986462 c5c941eece
Author: Max Lobur <email address hidden>
Date: Wed Jan 22 08:53:26 2014 -0500
Add JSONEncodedType with enforced type checking
Add abstract base class for JSONEncoded properties which: 1. Does type ngly.
checking to make sure we're serializing what we really expect
2. Ensures that default value of the field matches default value of
that type, so we have consistent interface. This patch creates two child
classes JSONEncodedDict and JSONEncodedList and updates SA models
correspondi
Change-Id: I528ac64e998e9a 874feb16709d761 7feb4b09c8a
Closes-Bug: #1270146