Migrate OOF call to HTTPS protocol 46/88146/1 1.3.1
authorRuoyu Ying <ruoyu.ying@intel.com>
Tue, 21 May 2019 17:11:44 +0000 (01:11 +0800)
committerRuoyu Ying <ruoyu.ying@intel.com>
Tue, 21 May 2019 17:31:55 +0000 (01:31 +0800)
Issue-ID: VFC-1390
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
Change-Id: I23dde350378c7fa94118a5793c3e7cb2cd33dcbe

lcm/ns_vnfs/biz/create_vnfs.py
lcm/pub/config/config.py

index a32ed8a..85bd240 100644 (file)
@@ -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),
index 82faaa2..0f699d8 100644 (file)
@@ -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"