aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuoyu Ying <ruoyu.ying@intel.com>2019-05-22 01:11:44 +0800
committerRuoyu Ying <ruoyu.ying@intel.com>2019-05-22 01:31:55 +0800
commit5eddbd7d0b96e51f6a51cfe5d00a022afcd4de29 (patch)
tree56aae15c901cccbcca7f3d2aadf778c21d4e3f59
parent1f877df797a8cb1fc304c49bea304869e2844254 (diff)
Migrate OOF call to HTTPS protocol1.3.1
Issue-ID: VFC-1390 Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com> Change-Id: I23dde350378c7fa94118a5793c3e7cb2cd33dcbe
-rw-r--r--lcm/ns_vnfs/biz/create_vnfs.py2
-rw-r--r--lcm/pub/config/config.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lcm/ns_vnfs/biz/create_vnfs.py b/lcm/ns_vnfs/biz/create_vnfs.py
index a32ed8a4..85bd2400 100644
--- a/lcm/ns_vnfs/biz/create_vnfs.py
+++ b/lcm/ns_vnfs/biz/create_vnfs.py
@@ -329,7 +329,7 @@ class CreateVnfs(Thread):
base_url=base_url,
user=OOF_USER,
passwd=OOF_PASSWD,
- auth_type=restcall.rest_oneway_auth,
+ auth_type=restcall.rest_no_auth,
resource=resources,
method="POST",
content=json.dumps(req_body),
diff --git a/lcm/pub/config/config.py b/lcm/pub/config/config.py
index 82faaa2c..0f699d81 100644
--- a/lcm/pub/config/config.py
+++ b/lcm/pub/config/config.py
@@ -71,7 +71,7 @@ DEPLOY_WORKFLOW_WHEN_START = False
WORKFLOW_OPTION = "buildin"
# [OOF config]
-OOF_BASE_URL = "http://oof-osdf.onap:8698"
+OOF_BASE_URL = "https://oof-osdf.onap:8698"
OOF_USER = "vfc_test"
OOF_PASSWD = "vfc_testpwd"