Comment 2 for bug 1270146

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/68413
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=48269aac77efce9f05770c55986462c5c941eece
Submitter: Jenkins
Branch: master

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.

    Change-Id: I528ac64e998e9a874feb16709d7617feb4b09c8a
    Closes-Bug: #1270146