Migration to oslo.serialization
oslo.serialization library has graduated and now provides all the jsonutils API that was available in oslo-incubator. Change-Id: Ie80d58db4a96a10a57f975984fe69dead95c6d63
This commit is contained in:
parent
befe332e28
commit
0bcd309b75
@ -18,12 +18,12 @@ import copy
|
||||
import logging
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.serialization import jsonutils
|
||||
from oslo.utils import timeutils
|
||||
import six
|
||||
import six.moves.urllib.parse as urlparse
|
||||
|
||||
from ironic.common import exception
|
||||
from ironic.openstack.common import jsonutils
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
@ -29,10 +29,11 @@ __all__ = [
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo import messaging
|
||||
from oslo.serialization import jsonutils
|
||||
|
||||
from ironic.common import context as ironic_context
|
||||
from ironic.common import exception
|
||||
from ironic.openstack.common import jsonutils
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
TRANSPORT = None
|
||||
|
@ -13,11 +13,11 @@
|
||||
# limitations under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.serialization import jsonutils
|
||||
import requests
|
||||
|
||||
from ironic.common import exception
|
||||
from ironic.common.i18n import _
|
||||
from ironic.openstack.common import jsonutils
|
||||
from ironic.openstack.common import log
|
||||
|
||||
agent_opts = [
|
||||
|
@ -23,6 +23,7 @@ import os
|
||||
import tempfile
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.serialization import jsonutils as json
|
||||
|
||||
from ironic.common import dhcp_factory
|
||||
from ironic.common import exception
|
||||
@ -37,7 +38,6 @@ from ironic.drivers.modules import deploy_utils
|
||||
from ironic.drivers.modules import iscsi_deploy
|
||||
from ironic.drivers.modules import pxe
|
||||
from ironic.openstack.common import fileutils
|
||||
from ironic.openstack.common import jsonutils as json
|
||||
from ironic.tests.conductor import utils as mgr_utils
|
||||
from ironic.tests.db import base as db_base
|
||||
from ironic.tests.db import utils as db_utils
|
||||
|
@ -28,12 +28,12 @@ from ironic.common.glance_service import base_image_service
|
||||
from ironic.common.glance_service import service_utils
|
||||
from ironic.common import image_service as service
|
||||
from ironic.openstack.common import context
|
||||
from ironic.openstack.common import jsonutils
|
||||
from ironic.tests import base
|
||||
from ironic.tests import matchers
|
||||
from ironic.tests import stubs
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.serialization import jsonutils
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
@ -6,7 +6,6 @@ module=context
|
||||
module=fileutils
|
||||
module=gettextutils
|
||||
module=imageutils
|
||||
module=jsonutils
|
||||
module=lockutils
|
||||
module=log
|
||||
module=loopingcall
|
||||
|
@ -26,6 +26,7 @@ oslo.config>=1.4.0 # Apache-2.0
|
||||
oslo.db>=1.0.0 # Apache-2.0
|
||||
oslo.rootwrap>=1.3.0
|
||||
oslo.i18n>=1.0.0 # Apache-2.0
|
||||
oslo.serialization>=1.0.0 # Apache-2.0
|
||||
oslo.utils>=1.0.0 # Apache-2.0
|
||||
pecan>=0.5.0
|
||||
six>=1.7.0
|
||||
|
Loading…
Reference in New Issue
Block a user