Issue-ID: VID-484
fetch parameters for native workflows
Change-Id: I6d017ee43b1969ceb2bce11d28f0fdde5da152c4
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
(cherry picked from commit c97101347defc8126614b27c60646325e0f9d674)
diff --git a/tests/vid/newVNFChange/test2.robot b/tests/vid/newVNFChange/test2.robot
index 1af2ae7..c3032aa 100644
--- a/tests/vid/newVNFChange/test2.robot
+++ b/tests/vid/newVNFChange/test2.robot
@@ -39,11 +39,11 @@
Select From List xpath=//select[@name='workflow'] VNF In Place Software Update
Wait Until Page Contains Operations timeout ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
- Input Text xpath=//input[@id='so-workflow-parameter-operations_timeout'] 10
- Input Text xpath=//input[@id='so-workflow-parameter-existing_software_version'] test
- Input Text xpath=//input[@id='so-workflow-parameter-new_software_version'] test
+ Input Text xpath=//input[@id='internal-workflow-parameter-text-2'] 10
+ Input Text xpath=//input[@id='internal-workflow-parameter-text-3'] test
+ Input Text xpath=//input[@id='internal-workflow-parameter-text-4'] test
Wait Until Element Is Enabled xpath=//button[@id='submit'] ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
Click Button xpath=//button[@id='submit']
- Wait Until Page Does Not Contain New VNF Change ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
\ No newline at end of file
+ Wait Until Page Does Not Contain New VNF Change ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
diff --git a/tests/vid/resources/docker-compose.yml b/tests/vid/resources/docker-compose.yml
index 01fa92b..6bd0c13 100644
--- a/tests/vid/resources/docker-compose.yml
+++ b/tests/vid/resources/docker-compose.yml
@@ -1,7 +1,7 @@
version: '3'
services:
vid-server:
- image: nexus3.onap.org:10001/onap/vid:4.0-STAGING-latest
+ image: nexus3.onap.org:10001/onap/vid:4.3-STAGING-latest
environment:
- VID_MYSQL_DBNAME=vid_openecomp_epsdk
- VID_MYSQL_PASS=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
diff --git a/tests/vid/resources/simulators/test_data_assets/responses.json b/tests/vid/resources/simulators/test_data_assets/responses.json
index 9f3c10a..ee55f29 100644
--- a/tests/vid/resources/simulators/test_data_assets/responses.json
+++ b/tests/vid/resources/simulators/test_data_assets/responses.json
@@ -804,69 +804,7 @@
"description": "Activity to Complete the BPMN Flow"
}
],
- "workflowInputParameters": [{
- "label": "Cloud Owner",
- "inputType": "text",
- "required": true,
- "validation": [{
- "maxLength": "7",
- "allowableChars": "[a-zA-Z0-9]*"
- }],
- "soFieldName": "cloudOwner",
- "soPayloadLocation": "cloudConfiguration"
- },
- {
- "label": "Cloud Region ID",
- "inputType": "text",
- "required": true,
- "validation": [{
- "maxLength": "7",
- "allowableChars": "[a-zA-Z0-9]*"
- }],
- "soFieldName": "lcpCloudRegionId",
- "soPayloadLocation": "cloudConfiguration"
- },
- {
- "label": "Tenant/Project ID",
- "inputType": "text",
- "required": true,
- "validation": [{
- "maxLength": "36",
- "allowableChars": "[a-zA-Z0-9]*"
- }],
- "soFieldName": "tenantId",
- "soPayloadLocation": "cloudConfiguration"
- },
- {
- "label": "Operations timeout",
- "inputType": "text",
- "required": true,
- "description": "some description",
- "validation": [{
- "maxLength": "50",
- "allowableChars": "[0-9]*"
- }],
- "soFieldName": "operations_timeout",
- "soPayloadLocation": "userParams"
- },
- {
- "label": "Existing software version",
- "inputType": "text",
- "required": true,
- "validation": [{
- "maxLength": "50",
- "allowableChars": "[a-zA-Z0-9]*"
- }],
- "soFieldName": "existing_software_version",
- "soPayloadLocation": "userParams"
- },
- {
- "label": "New software version",
- "inputType": "text",
- "required": true,
- "soFieldName": "new_software_version",
- "soPayloadLocation": "userParams"
- }
+ "workflowInputParameters": [
]
}
}]
@@ -2714,4 +2652,4 @@
}
}
]
-}
\ No newline at end of file
+}