summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports
diff options
context:
space:
mode:
authorxuegao <xue.gao@intl.att.com>2020-12-18 10:37:23 +0100
committerXue Gao <xue.gao@intl.att.com>2021-01-19 15:32:33 +0000
commita856d54c8df7bf3a0212b4c7fd8f18a6a6b91449 (patch)
treef4a5b2a4ef5cc2865282b108bd2103778d7fb9e3 /catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports
parent27fa75194efcf77c93b645ef7b412668ac3f5d38 (diff)
Add basic auth header
Add basic auth header for sdc-backend-init python scripts. Issue-ID: OJSI-273 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: I3559d5792509db0f65b202a731545083c7c91c96 Signed-off-by: xuegao <xue.gao@intl.att.com>
Diffstat (limited to 'catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports')
-rw-r--r--catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/runNormativeElement.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/runNormativeElement.py b/catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/runNormativeElement.py
index 1bdb1504b2..ce5eca427a 100644
--- a/catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/runNormativeElement.py
+++ b/catalog-be/src/main/resources/scripts/sdcBePy/tosca/imports/runNormativeElement.py
@@ -9,10 +9,10 @@ from sdcBePy.tosca.models.normativeElementsList import get_capability, get_data,
def run(candidate):
- scheme, be_host, be_port, admin_user, _, debug = get_args()
+ scheme, be_host, be_port, header, admin_user, _, debug = get_args()
try:
process_and_create_normative_element(candidate,
- scheme, be_host, be_port, admin_user,
+ scheme, be_host, be_port, header, admin_user,
debug=debug,
exit_on_success=True)
except AttributeError: