From: Ruoyu Ying Date: Tue, 21 May 2019 17:11:44 +0000 (+0800) Subject: Migrate OOF call to HTTPS protocol X-Git-Tag: 1.3.1^0 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=5eddbd7d0b96e51f6a51cfe5d00a022afcd4de29;p=vfc%2Fnfvo%2Flcm.git Migrate OOF call to HTTPS protocol Issue-ID: VFC-1390 Signed-off-by: Ruoyu Ying Change-Id: I23dde350378c7fa94118a5793c3e7cb2cd33dcbe --- 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"