Updated oslo.config to 1.11.0
This updates oslo.config to be in-line with global-requirements, and renames all the old references of 'oslo.config' to the newer oslo_config. Change-Id: I68d8f67d37bca918ce1193c2a19e00f7ed4f6caa
This commit is contained in:
parent
5481b2f162
commit
5834af13d7
@ -5,7 +5,7 @@ alembic>=0.4.1
|
|||||||
Babel>=1.3
|
Babel>=1.3
|
||||||
iso8601>=0.1.9
|
iso8601>=0.1.9
|
||||||
oauthlib>=0.6
|
oauthlib>=0.6
|
||||||
oslo.config>=1.9.3
|
oslo.config>=1.11.0
|
||||||
oslo.context>=0.2.0
|
oslo.context>=0.2.0
|
||||||
oslo.utils>=1.4.0
|
oslo.utils>=1.4.0
|
||||||
pecan>=0.4.5
|
pecan>=0.4.5
|
||||||
|
@ -5,7 +5,7 @@ alembic>=0.4.1
|
|||||||
Babel>=1.3
|
Babel>=1.3
|
||||||
iso8601>=0.1.9
|
iso8601>=0.1.9
|
||||||
oauthlib>=0.6
|
oauthlib>=0.6
|
||||||
oslo.config>=1.9.3
|
oslo.config>=1.11.0
|
||||||
oslo.context>=0.2.0
|
oslo.context>=0.2.0
|
||||||
oslo.utils>=1.4.0
|
oslo.utils>=1.4.0
|
||||||
pecan>=0.4.5
|
pecan>=0.4.5
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import _options
|
from oslo_log import _options
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
import pecan
|
import pecan
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from storyboard.api import app
|
from storyboard.api import app
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# implied. See the License for the specific language governing permissions and
|
# implied. See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
from storyboard.openstack.common.gettextutils import _ # noqa
|
from storyboard.openstack.common.gettextutils import _ # noqa
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ import pytz
|
|||||||
|
|
||||||
from oauthlib.oauth2 import RequestValidator
|
from oauthlib.oauth2 import RequestValidator
|
||||||
from oauthlib.oauth2 import WebApplicationServer
|
from oauthlib.oauth2 import WebApplicationServer
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
from storyboard.db.api import access_tokens as token_api
|
from storyboard.db.api import access_tokens as token_api
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
import requests
|
import requests
|
||||||
import six
|
import six
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
app = {
|
app = {
|
||||||
'root': 'storyboard.api.root_controller.RootController',
|
'root': 'storyboard.api.root_controller.RootController',
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import pytz
|
import pytz
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import abort
|
from pecan import abort
|
||||||
from pecan import response
|
from pecan import response
|
||||||
from pecan import rest
|
from pecan import rest
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import pytz
|
import pytz
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import abort
|
from pecan import abort
|
||||||
from pecan import response
|
from pecan import response
|
||||||
from pecan import rest
|
from pecan import rest
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import abort
|
from pecan import abort
|
||||||
from pecan import response
|
from pecan import response
|
||||||
from pecan import rest
|
from pecan import rest
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan.decorators import expose
|
from pecan.decorators import expose
|
||||||
from pecan import response
|
from pecan import response
|
||||||
from pecan import rest
|
from pecan import rest
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
import abc
|
import abc
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
from storyboard.db import models
|
from storyboard.db import models
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import abort
|
from pecan import abort
|
||||||
from pecan import expose
|
from pecan import expose
|
||||||
from pecan import request
|
from pecan import request
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import abort
|
from pecan import abort
|
||||||
from pecan import request
|
from pecan import request
|
||||||
from pecan import response
|
from pecan import response
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import abort
|
from pecan import abort
|
||||||
from pecan import request
|
from pecan import request
|
||||||
from pecan import response
|
from pecan import response
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pbr.version import VersionInfo
|
from pbr.version import VersionInfo
|
||||||
from pecan import rest
|
from pecan import rest
|
||||||
from pecan.secure import secure
|
from pecan.secure import secure
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import request
|
from pecan import request
|
||||||
from pecan import rest
|
from pecan import rest
|
||||||
from pecan.secure import secure
|
from pecan.secure import secure
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import response
|
from pecan import response
|
||||||
from pecan import rest
|
from pecan import rest
|
||||||
from pecan.secure import secure
|
from pecan.secure import secure
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import abort
|
from pecan import abort
|
||||||
from pecan import request
|
from pecan import request
|
||||||
from pecan import response
|
from pecan import response
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import abort
|
from pecan import abort
|
||||||
from pecan.decorators import expose
|
from pecan.decorators import expose
|
||||||
from pecan import response
|
from pecan import response
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import abort
|
from pecan import abort
|
||||||
from pecan import request
|
from pecan import request
|
||||||
from pecan import response
|
from pecan import response
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
from pecan import abort
|
from pecan import abort
|
||||||
from pecan import request
|
from pecan import request
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
from pecan import abort
|
from pecan import abort
|
||||||
from pecan import request
|
from pecan import request
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import abort
|
from pecan import abort
|
||||||
from pecan import expose
|
from pecan import expose
|
||||||
from pecan import request
|
from pecan import request
|
||||||
|
@ -17,7 +17,7 @@ import os
|
|||||||
|
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
import copy
|
import copy
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_db import exception as db_exc
|
from oslo_db import exception as db_exc
|
||||||
from oslo_db.sqlalchemy import session as db_session
|
from oslo_db.sqlalchemy import session as db_session
|
||||||
from oslo_db.sqlalchemy.utils import InvalidSortKey
|
from oslo_db.sqlalchemy.utils import InvalidSortKey
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import json
|
import json
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from pecan import request
|
from pecan import request
|
||||||
from pecan import response
|
from pecan import response
|
||||||
from wsme.rest.json import tojson
|
from wsme.rest.json import tojson
|
||||||
|
@ -21,7 +21,7 @@ import os
|
|||||||
from alembic import command as alembic_command
|
from alembic import command as alembic_command
|
||||||
from alembic import config as alembic_config
|
from alembic import config as alembic_config
|
||||||
from alembic import util as alembic_util
|
from alembic import util as alembic_util
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_db import options
|
from oslo_db import options
|
||||||
import six
|
import six
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ import pytz
|
|||||||
import six
|
import six
|
||||||
import six.moves.urllib.parse as urlparse
|
import six.moves.urllib.parse as urlparse
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_db.sqlalchemy import models
|
from oslo_db.sqlalchemy import models
|
||||||
from sqlalchemy import Boolean
|
from sqlalchemy import Boolean
|
||||||
from sqlalchemy import Column
|
from sqlalchemy import Column
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import warnings
|
import warnings
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
import six
|
import six
|
||||||
from sqlalchemy.exc import SADeprecationWarning
|
from sqlalchemy.exc import SADeprecationWarning
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
from storyboard.db.api import base as db_api
|
from storyboard.db.api import base as db_api
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ from threading import Timer
|
|||||||
|
|
||||||
import pika
|
import pika
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
from storyboard.openstack.common.gettextutils import _, _LI # noqa
|
from storyboard.openstack.common.gettextutils import _, _LI # noqa
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
from pika.exceptions import ConnectionClosed
|
from pika.exceptions import ConnectionClosed
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import json
|
import json
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
from pika.exceptions import ConnectionClosed
|
from pika.exceptions import ConnectionClosed
|
||||||
from stevedore import enabled
|
from stevedore import enabled
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import fixtures
|
import fixtures
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
import six
|
import six
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ import threading
|
|||||||
import time
|
import time
|
||||||
import weakref
|
import weakref
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log as logging
|
from oslo_log import log as logging
|
||||||
|
|
||||||
from storyboard.openstack.common import fileutils
|
from storyboard.openstack.common import fileutils
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
import abc
|
import abc
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from stevedore.enabled import EnabledExtensionManager
|
from stevedore.enabled import EnabledExtensionManager
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# implied. See the License for the specific language governing permissions and
|
# implied. See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
from storyboard.common.working_dir import get_plugin_directory
|
from storyboard.common.working_dir import get_plugin_directory
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
import smtplib
|
import smtplib
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
from storyboard.plugin.base import PluginBase
|
from storyboard.plugin.base import PluginBase
|
||||||
|
@ -18,7 +18,7 @@ import six
|
|||||||
import time
|
import time
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
from storyboard.plugin.email import get_email_directory
|
from storyboard.plugin.email import get_email_directory
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
import smtplib
|
import smtplib
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
@ -17,7 +17,7 @@ from multiprocessing import Process
|
|||||||
import signal
|
import signal
|
||||||
from threading import Timer
|
from threading import Timer
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
import storyboard.db.api.base as db_api
|
import storyboard.db.api.base as db_api
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
import atexit
|
import atexit
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
from pytz import utc
|
from pytz import utc
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# implied. See the License for the specific language governing permissions and
|
# implied. See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ import requests
|
|||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from mock import patch
|
from mock import patch
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
import six
|
import six
|
||||||
import six.moves.urllib.parse as urlparse
|
import six.moves.urllib.parse as urlparse
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
from storyboard.tests import base
|
from storyboard.tests import base
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ import uuid
|
|||||||
|
|
||||||
from alembic import command
|
from alembic import command
|
||||||
import fixtures
|
import fixtures
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log as logging
|
from oslo_log import log as logging
|
||||||
import pecan
|
import pecan
|
||||||
import pecan.testing
|
import pecan.testing
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from six.moves import http_client
|
from six.moves import http_client
|
||||||
|
|
||||||
import storyboard.common.exception as exc
|
import storyboard.common.exception as exc
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# implied. See the License for the specific language governing permissions and
|
# implied. See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
import storyboard.common.hook_priorities as priority
|
import storyboard.common.hook_priorities as priority
|
||||||
import storyboard.tests.base as base
|
import storyboard.tests.base as base
|
||||||
|
@ -16,7 +16,7 @@ import os
|
|||||||
import shutil
|
import shutil
|
||||||
import stat
|
import stat
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
import storyboard.common.working_dir as working_dir
|
import storyboard.common.working_dir as working_dir
|
||||||
import storyboard.tests.base as base
|
import storyboard.tests.base as base
|
||||||
|
@ -37,7 +37,7 @@ postgres=# create database openstack_citest with owner openstack_citest;
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_db.sqlalchemy import utils as db_utils
|
from oslo_db.sqlalchemy import utils as db_utils
|
||||||
|
|
||||||
from storyboard.tests.db.migration import test_migrations_base as base
|
from storyboard.tests.db.migration import test_migrations_base as base
|
||||||
|
@ -28,7 +28,7 @@ import os
|
|||||||
from alembic import command
|
from alembic import command
|
||||||
from alembic import config as alembic_config
|
from alembic import config as alembic_config
|
||||||
from alembic import migration
|
from alembic import migration
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log as logging
|
from oslo_log import log as logging
|
||||||
import six
|
import six
|
||||||
from six.moves import configparser
|
from six.moves import configparser
|
||||||
@ -308,7 +308,7 @@ class BaseWalkMigrationTestCase(BaseMigrationTestCase):
|
|||||||
"""For each type of repository we should do some of configure steps.
|
"""For each type of repository we should do some of configure steps.
|
||||||
For migrate_repo we should set under version control our database.
|
For migrate_repo we should set under version control our database.
|
||||||
For alembic we should configure database settings. For this goal we
|
For alembic we should configure database settings. For this goal we
|
||||||
should use oslo.config and openstack.commom.db.sqlalchemy.session with
|
should use oslo_config and openstack.commom.db.sqlalchemy.session with
|
||||||
database functionality (reset default settings and session cleanup).
|
database functionality (reset default settings and session cleanup).
|
||||||
"""
|
"""
|
||||||
CONF.set_override('connection', six.text_type(engine.url),
|
CONF.set_override('connection', six.text_type(engine.url),
|
||||||
|
@ -17,7 +17,7 @@ import shutil
|
|||||||
import smtplib
|
import smtplib
|
||||||
import stat
|
import stat
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
import mock_smtp as mock
|
import mock_smtp as mock
|
||||||
from storyboard.plugin.email.base import EmailPluginBase
|
from storyboard.plugin.email.base import EmailPluginBase
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
import os
|
import os
|
||||||
import stat
|
import stat
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
from storyboard.plugin.email import get_email_directory
|
from storyboard.plugin.email import get_email_directory
|
||||||
from storyboard.tests import base
|
from storyboard.tests import base
|
||||||
|
@ -20,7 +20,7 @@ import re
|
|||||||
import six
|
import six
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
from storyboard.plugin.email.factory import EmailFactory
|
from storyboard.plugin.email.factory import EmailFactory
|
||||||
from storyboard.plugin.email.outbox import get_outbox
|
from storyboard.plugin.email.outbox import get_outbox
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# implied. See the License for the specific language governing permissions and
|
# implied. See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
import mock_smtp as mock
|
import mock_smtp as mock
|
||||||
from storyboard.plugin.email.smtp_client import get_smtp_client
|
from storyboard.plugin.email.smtp_client import get_smtp_client
|
||||||
|
@ -17,7 +17,7 @@ from mock import patch
|
|||||||
from random import random
|
from random import random
|
||||||
import smtplib
|
import smtplib
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
from storyboard.plugin.email.factory import EmailFactory
|
from storyboard.plugin.email.factory import EmailFactory
|
||||||
from storyboard.plugin.email.outbox import Outbox
|
from storyboard.plugin.email.outbox import Outbox
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
from apscheduler.triggers.date import DateTrigger
|
from apscheduler.triggers.date import DateTrigger
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
|
|
||||||
import storyboard.plugin.scheduler.base as plugin_base
|
import storyboard.plugin.scheduler.base as plugin_base
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ import datetime
|
|||||||
from apscheduler.triggers.date import DateTrigger
|
from apscheduler.triggers.date import DateTrigger
|
||||||
|
|
||||||
from apscheduler.triggers.interval import IntervalTrigger
|
from apscheduler.triggers.interval import IntervalTrigger
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
from stevedore.extension import Extension
|
from stevedore.extension import Extension
|
||||||
|
|
||||||
from plugin.scheduler.mock_plugin import MockPlugin
|
from plugin.scheduler.mock_plugin import MockPlugin
|
||||||
|
@ -16,7 +16,7 @@ from datetime import datetime
|
|||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
import pytz
|
import pytz
|
||||||
|
|
||||||
from oslo.config import cfg
|
from oslo_config import cfg
|
||||||
import storyboard.db.api.base as db_api
|
import storyboard.db.api.base as db_api
|
||||||
from storyboard.db.models import AccessToken
|
from storyboard.db.models import AccessToken
|
||||||
from storyboard.db.models import RefreshToken
|
from storyboard.db.models import RefreshToken
|
||||||
|
Loading…
Reference in New Issue
Block a user