aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/vFWDT/workflow/workflow.py
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2020-05-14 10:16:37 +0200
committerLukasz Rajewski <lukasz.rajewski@orange.com>2020-05-14 10:21:36 +0200
commitbbabc30d68b8bf47763d6d8f7b99b95ee6f82900 (patch)
tree6508bc39118ec528b621409c40de9f321c20b390 /tutorials/vFWDT/workflow/workflow.py
parent2cd83e31380b296c68de3afe651527cf577b46fd (diff)
Fixed secrets used for appc
THe patch changes way how secrets are resolved for appc after latest changes in ONAP secrets policy. Issue-ID: INT-1465 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I7f992477e612cb04eb3c4dd5dce64fa9c83d1258
Diffstat (limited to 'tutorials/vFWDT/workflow/workflow.py')
-rwxr-xr-xtutorials/vFWDT/workflow/workflow.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tutorials/vFWDT/workflow/workflow.py b/tutorials/vFWDT/workflow/workflow.py
index dce32b36..6d34eaf1 100755
--- a/tutorials/vFWDT/workflow/workflow.py
+++ b/tutorials/vFWDT/workflow/workflow.py
@@ -576,6 +576,9 @@ def _extract_osdf_appc_identifiers(has_result, demand, onap_ip):
if demand.lower() not in ansible_inventory:
ansible_inventory[demand.lower()] = {}
ansible_inventory[demand.lower()][config['vserver-name']] = ansible_inventory_entry
+
+ _verify_vnfc_data(api, onap_ip, config['vserver-name'], config['ip'])
+
return config
@@ -790,7 +793,7 @@ def _set_appc_lcm_timestamp(body, timestamp=None):
@timing("Load OOF Data and Build APPC REQ")
def build_appc_lcms_requests_body(rancher_ip, onap_ip, aai_data, use_oof_cache, if_close_loop_vfw, new_version=None):
- if_has = True
+ if_has = False
if if_has:
migrate_from = _has_request(onap_ip, aai_data, False, use_oof_cache)