aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2020-03-09 11:23:35 +0100
committermrichomme <morgan.richomme@orange.com>2020-04-05 11:05:58 +0200
commit3256fa2ce9d99ae4b94ab202f5c36339e0159cc8 (patch)
treec1285a287708e03ba3e279b78db88198dea3ab26 /robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot
parent021a5ae19631c3e8e641c497ebd2783538d29c3e (diff)
Remove trailing spaces in robot scripts
warning raised when using robotframework-linter Issue-ID: INT-1478 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I8eb97ef9e3651c0d8f9de6647ebc917d1addf9d0 Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot')
-rw-r--r--robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot9
1 files changed, 4 insertions, 5 deletions
diff --git a/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot b/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot
index 21a07fc4..63266aa5 100644
--- a/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot
+++ b/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot
@@ -33,7 +33,7 @@ Library ONAPLibrary.SO WITH NAME SO
*** Variables ***
${service_template} robot/assets/cds/service-Vfirewall0911-template.yml
${env} robot/assets/cds/env.yml
-${so_request_template} so/cds_request.jinja
+${so_request_template} so/cds_request.jinja
${vnf_template_name} so/cds_vnf.jinja
${vfmodule_template_name} so/cds_vfmodule.jinja
${so_uri_path} /onap/so/infra/serviceInstantiation/v7/serviceInstances
@@ -81,14 +81,14 @@ Orchestrate VNF With CDS
\ Set To Dictionary ${dict} vf_modules=${vfmodules}
\ ${vnf_payload}= Templating.Apply Template cds ${vnf_template_name} ${dict}
\ ${data}= Catenate [${vnf_payload}]
-
+
Set To Dictionary ${dict} vnfs=${data}
${request}= Templating.Apply Template cds ${so_request_template} ${dict}
Log --------request--------
Log ${request}
Log --------end request--------
${auth}= Create List ${GLOBAL_SO_USERNAME} ${GLOBAL_SO_PASSWORD}
- ${resp}= SO.Run Post Request ${GLOBAL_SO_ENDPOINT} ${so_uri_path} ${data} auth=${auth}
+ ${resp}= SO.Run Post Request ${GLOBAL_SO_ENDPOINT} ${so_uri_path} ${data} auth=${auth}
Log --------response-------
${json_string}= Evaluate json.dumps(${resp.json()}) json
Log ${json_string}
@@ -108,7 +108,7 @@ Get VNF Info
Set To Dictionary ${dict} vnf_model_version_id=${metadata['UUID']}
Set To Dictionary ${dict} vnf_model_customization_name=${metadata['name']}
Set To Dictionary ${dict} vnf_model_customization_id=${metadata['customizationUUID']}
-
+
Get VFModule Info
[Documentation] Dig the vf module names from the VID service model
@@ -136,4 +136,3 @@ set vfmodule param
Set To Dictionary ${dict} vf_module_model_version_id=${vfmodule['metadata']['vfModuleModelUUID']}
Set To Dictionary ${dict} vf_module_model_customization_id=${vfmodule['metadata']['vfModuleModelCustomizationUUID']}
Set To Dictionary ${dict} vf_module_name=${vfmodule_name}
-