Activity log for bug #1522498

Date Who What changed Old value New value Message
2015-12-03 17:06:32 Valentin Kaplov bug added bug
2015-12-03 17:10:00 Valentin Kaplov description Actual state: 1. Now any JSON data stores in database as text, not as JSON. 2. We use nailgun.db.sqlalchemy.models.fields.JSON wrapper instead of native JSON type from sqlalchemy library Expected state: 1. Any column in database should to be JSON type if it actually stores JSON data. 2. all nailgun.db.sqlalchemy.models objects should to use sqlalchemy.dialects.postgresql.JSON instead of wrapper nailgun.db.sqlalchemy.models.fields.JSON Action items: In nailgun/db/sqlalchemy/models/fields.py define JSON type as sqlalchemy.dialects.postgresql.JSON. It would change JSON type everywhere where was used fields.JSON. Setup JSON type for all database columns, that stores data in JSON format. Example: https://review.openstack.org/#/c/246390/16/nailgun/nailgun/db/migration/alembic_migrations/versions/fuel_8_0.py Related bug: https://bugs.launchpad.net/fuel/+bug/1482399 Actual state: 1. Now any JSON data stores in database as text, not as JSON. 2. We use nailgun.db.sqlalchemy.models.fields.JSON wrapper instead of postgresql JSON type from sqlalchemy library Expected state: 1. Any column in database should to be JSON type if it actually stores JSON data. 2. all nailgun.db.sqlalchemy.models objects should to use sqlalchemy.dialects.postgresql.JSON instead of wrapper nailgun.db.sqlalchemy.models.fields.JSON Action items: In nailgun/db/sqlalchemy/models/fields.py define JSON type as sqlalchemy.dialects.postgresql.JSON. It would change JSON type everywhere where was used fields.JSON. Setup JSON type for all database columns, that stores data in JSON format. Example: https://review.openstack.org/#/c/246390/16/nailgun/nailgun/db/migration/alembic_migrations/versions/fuel_8_0.py Related bug: https://bugs.launchpad.net/fuel/+bug/1482399
2015-12-04 16:05:55 Dmitry Klenov tags area-python
2015-12-04 16:06:00 Dmitry Klenov fuel: milestone 8.0
2015-12-04 16:06:07 Dmitry Klenov fuel: assignee Fuel Python Team (fuel-python)
2015-12-04 16:06:10 Dmitry Klenov fuel: importance Undecided Medium
2015-12-04 16:06:21 Dmitry Klenov fuel: importance Medium Low
2015-12-04 16:06:23 Dmitry Klenov fuel: status New Confirmed
2015-12-25 14:04:48 Dmitry Pyzhov tags area-python area-python tech-debt
2015-12-25 14:04:52 Dmitry Pyzhov fuel: milestone 8.0 9.0
2016-04-10 21:17:17 Fuel Devops McRobotson fuel/mitaka: importance Undecided Low
2016-04-10 21:17:17 Fuel Devops McRobotson fuel/mitaka: status New Confirmed
2016-04-10 21:17:17 Fuel Devops McRobotson fuel/mitaka: milestone 9.0
2016-04-10 21:17:17 Fuel Devops McRobotson fuel/mitaka: assignee Fuel Python Team (fuel-python)
2016-04-10 21:17:20 Fuel Devops McRobotson fuel/newton: milestone 9.0 10.0
2016-04-10 21:17:23 Fuel Devops McRobotson fuel/mitaka: status Confirmed Won't Fix
2016-06-22 14:36:36 Dmitry Pyzhov fuel/newton: assignee Fuel Python (Deprecated) (fuel-python) Fuel Sustaining (fuel-sustaining-team)