yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #23542
[Bug 1368479] Re: Metadef Property and Object schema columns should use JSONEncodedDict
Reviewed: https://review.openstack.org/126855
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=da93f408dde9652a3f5e2daaa534852576b8f6f2
Submitter: Jenkins
Branch: proposed/juno
commit da93f408dde9652a3f5e2daaa534852576b8f6f2
Author: Wayne Okuma <wayne.okuma@xxxxxx>
Date: Thu Sep 11 13:59:29 2014 -0700
Metadef Property and Object schema columns should use JSONEncodedDict
The MetadefProperty and MetadefObject ORM classes currently specify the
JSON schema columns as type Text. It is preferred to use the
JSONEncodedDict Type Decorator instead. This fix also includes necessary
code changes to remove JSON encoding/decoding that was previously done
in other layers. Fixes for unit tests involving the schema columns are
also included.
Closes-Bug: 1368479
Conflicts:
glance/db/__init__.py
glance/db/sqlalchemy/models_metadef.py
Change-Id: I2c574210f8d62c77a438afab83ff80f3e5bd2fe7
(cherry picked from commit 824d9620b0b90483baf45981d2cb328855943e06)
** Changed in: glance
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1368479
Title:
Metadef Property and Object schema columns should use JSONEncodedDict
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
The MetadefProperty and MetadefObject ORM classes currently specify
the JSON schema columns as type Text. It is preferred to use the
JSONEncodedDict Type Decorator instead.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1368479/+subscriptions
References