← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1287637] [NEW] remove hardcoded SQL queries

 

Public bug reported:

There are several occurrences of hardcoded SQL queries at least in
test_sql_upgrade.py:

* https://github.com/openstack/keystone/blob/master/keystone/tests/test_sql_upgrade.py#L941
* https://github.com/openstack/keystone/blob/master/keystone/tests/test_sql_upgrade.py#L946

Due to variations in databases these queries might not work all the
time, and should be replaced by queries built with sqlalchemy.

A code sweep is in order to find and replace any hardcoded queries.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1287637

Title:
  remove hardcoded SQL queries

Status in OpenStack Identity (Keystone):
  New

Bug description:
  There are several occurrences of hardcoded SQL queries at least in
  test_sql_upgrade.py:

  * https://github.com/openstack/keystone/blob/master/keystone/tests/test_sql_upgrade.py#L941
  * https://github.com/openstack/keystone/blob/master/keystone/tests/test_sql_upgrade.py#L946

  Due to variations in databases these queries might not work all the
  time, and should be replaced by queries built with sqlalchemy.

  A code sweep is in order to find and replace any hardcoded queries.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1287637/+subscriptions


Follow ups

References