X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Flcm%2Fnf%2Fconst.py;h=1d584b87677d70453d9deb0ab2b7b01c5b27fb60;hb=1927708c03f343d60fb39506faed3abf130e226e;hp=e961bb3e6b1ea6d50be1dc249b611e12adfab05f;hpb=16099ce3041c8caf2b4b4b696b7fc191b6665c84;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/lcm/nf/const.py b/lcm/lcm/nf/const.py index e961bb3e6..1d584b87 100644 --- a/lcm/lcm/nf/const.py +++ b/lcm/lcm/nf/const.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from lcm.pub.config import config +from lcm.pub.config.config import MSB_BASE_URL from lcm.pub.utils.jobutil import enum HEAL_ACTION_TYPE = enum( @@ -142,7 +142,7 @@ CHANGE_TYPE = enum( RESOURCE_MAP = {'Storage': 'volumn', 'Network': 'network', 'SubNetwork': 'subnet', 'Port': 'port', 'Flavour': 'flavor', 'Vm': 'vm'} -URL_PREFIX = "http://%s:%s/api/vnflcm/v1" % (config.MSB_SERVICE_IP, config.MSB_SERVICE_PORT) +URL_PREFIX = "%s/api/vnflcm/v1" % (MSB_BASE_URL) ROOT_URI = "api/vnflcm/v1/subscriptions/"