Add support for ODL credentials that have changed 81/63681/6
authorAaron Hay <ah415j@att.com>
Thu, 30 Aug 2018 06:17:23 +0000 (02:17 -0400)
committerAaron Hay <ah415j@att.com>
Fri, 14 Sep 2018 15:31:25 +0000 (15:31 +0000)
Add support for ODL credentials that have changed with the latest Oxygen upgrade

Change-Id: I048eb38b584741dd575c288b0a89b8d7689fa286
Issue-ID: INT-641
Signed-off-by: Aaron Hay <ah415j@att.com>
test/csit/plans/appc/healthcheck/health_check.sh
test/csit/tests/appc/cdt/cdt.robot
test/csit/tests/appc/cdt/data/pd_Configure_vUSP - Revenue Assurance_0.0.1V.yaml
test/csit/tests/appc/cdt/data/reference_AllAction_HealthCheckAnsible_0.0.1V.json
test/csit/tests/appc/cdt/data/reference_AllAction_vUSP - Revenue Assurance_0.0.1V.json
test/csit/tests/appc/healthcheck/LCM_HEALTHCHECK_TIMESTAMP.robot
test/csit/tests/appc/healthcheck/LCM_VM_RESTART_TIMESTAMP.robot
test/csit/tests/appc/healthcheck/LCM_VNF_RESTART_TIMESTAMP.robot

index e4cfae8..775188f 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 ###############################################################################
-# Copyright 2017 Huawei Technologies Co., Ltd.
+# Copyright 2018 AT&T
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
 SCRIPTS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 echo $SCRIPTS
 
-response=$(curl --write-out '%{http_code}' --silent --output /dev/null -H "Authorization: Basic YWRtaW46YWRtaW4=" -X POST -H "X-FromAppId: csit-appc" -H "X-TransactionId: csit-appc" -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:8282/restconf/operations/SLI-API:healthcheck )
+response=$(curl --write-out '%{http_code}' --silent --output /dev/null -H "Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==" -X POST -H "X-FromAppId: csit-appc" -H "X-TransactionId: csit-appc" -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:8282/restconf/operations/SLI-API:healthcheck )
 
 if [ "$response" == "200" ]; then
     echo "APPC health check passed."
index 03ba3a4..b33bfe7 100644 (file)
 | | Click Link | MY VNFs
 # Verify button element is ready before clicking it.
 | | Wait Until Page Contains Element | xpath=(//*[@class='mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--primary']) | ${LONGTIME}
-| | Click Button | Create New VNF Type or VNFC Type
-| | Page Should Contain | Enter VNF type and VNFC to proceed
+#| | Click Button | Create New VNF Type or VNFC Type
+| | Click Button | Create New VNF Type
+#| | Page Should Contain | Enter VNF type and VNFC to proceed
+| | Page Should Contain | Enter VNF Type
 | | Page Should Contain Element | id=vnfType
 # Proceed without entering any new information
-| | Click Button | Proceed anyway
+#| | Click Button | Proceed anyway
+| | Click Button | Proceed To Upload
 | | Page Should Contain Element | id=cmbAction
 | | Click Button | Upload Reference File
 | | Choose File | id=inputFile |  ${CURDIR}/data/reference_AllAction_HealthCheckAnsible_0.0.1V.json
 | | Click Link | MY VNFs
 # Verify button element is ready before clicking it.
 | | Wait Until Page Contains Element | xpath=(//*[@class='mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--primary']) | ${LONGTIME}
-| | Click Button | Create New VNF Type or VNFC Type
-| | Page Should Contain | Enter VNF type and VNFC to proceed
+#| | Click Button | Create New VNF Type or VNFC Type
+| | Click Button | Create New VNF Type
+#| | Page Should Contain | Enter VNF type and VNFC to proceed
+| | Page Should Contain | Enter VNF Type
 | | Page Should Contain Element | id=vnfType
 # Create a date to use in VNF Type to make it unique
 | | ${THEDATE}  | Get Current Date | result_format=%m%d%H%M%S | exclude_millis=True
@@ -93,7 +98,8 @@
 | | Click Link | MY VNFs
 # Verify button element is ready before clicking it.
 | | Wait Until Page Contains Element | xpath=(//*[@class='mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--primary']) | ${LONGTIME}
-| | Click Button | Create New VNF Type or VNFC Type
+#| | Click Button | Create New VNF Type or VNFC Type
+| | Click Button | Create New VNF Type
 | | Wait Until Page Contains Element | id=vnfType | ${LONGTIME}
 # Create a date to use in VNF Type to make it unique
 | | ${THEDATE}  | Get Current Date | result_format=%m%d%H%M%S | exclude_millis=True
 | | Click Link | MY VNFs
 # Verify button element is ready before clicking it.
 | | Wait Until Page Contains Element | xpath=(//*[@class='mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--primary']) | ${LONGTIME}
-| | Click Button | Create New VNF Type or VNFC Type
+#| | Click Button | Create New VNF Type or VNFC Type
+| | Click Button | Create New VNF Type
 | | Wait Until Page Contains Element | id=vnfType | ${LONGTIME}
 # Create a date to use in VNF Type to make it unique
 | | ${THEDATE}  | Get Current Date | result_format=%m%d%H%M%S | exclude_millis=True
 | | Input Text | id=vnfType | csit${THEDATE}
 # Check the box indicating VNFC templates
 | | Select Checkbox | id=vnfcRequired
-| | Input Text | id=vnfcType | csitVNFC
+#| | Input Text | id=vnfcType | csitVNFC
 | | Click Button | Next
 | | Wait Until Page Contains Element | id=cmbAction | ${LONGTIME}
 # Populate the action and protocol
index cea00f0..ced4a7c 100755 (executable)
@@ -4,7 +4,7 @@ version: V1
 vnf-parameter-list:
 - name: vnf_name
   type: null
-  description: dawnDescript
+  description: CSIT
   required: null
   default: null
   source: Manual
index 90fd0ac..4167806 100755 (executable)
@@ -5,7 +5,7 @@
                        "action-level": "vnf",
                        "scope": {
                                "vnf-type": "csit",
-                               "vnfc-type-list": [],
+                               "vnfc-type-list": ["testvnftype"],
                                "vnfc-type": ""
                        },
                        "template": "Y",
                        "port-number": "",
                        "artifact-list": [
                                {
-                                       "artifact-name": "template_HealthCheck_dawnMay17_0.0.1V.json",
+                                       "artifact-name": "template_HealthCheck_csit_0.0.1V.json",
                                        "artifact-type": "config_template"
                                },
                                {
-                                       "artifact-name": "pd_HealthCheck_dawnMay17_0.0.1V.yaml",
+                                       "artifact-name": "pd_HealthCheck_csit_0.0.1V.yaml",
                                        "artifact-type": "parameter_definitions"
                                },
                                {
-                                       "artifact-name": "param_HealthCheck_dawnMay17_0.0.1V.json",
+                                       "artifact-name": "param_HealthCheck_csit_0.0.1V.json",
                                        "artifact-type": "param_values"
                                }
                        ],
                        "action-level": "vnf",
                        "scope": {
                                "vnf-type": "csit",
-                               "vnfc-type-list": [],
+                               "vnfc-type-list": ["testvnftype"],
                                "vnfc-type": ""
                        },
                        "artifact-list": [
                                {
-                                       "artifact-name": "reference_AllAction_dawnMay17_0.0.1V.json",
+                                       "artifact-name": "reference_AllAction_csit_0.0.1V.json",
                                        "artifact-type": "reference_template"
                                }
                        ]
index f78debe..a575129 100755 (executable)
@@ -5,6 +5,7 @@
                        "action-level": "vnf",
                        "scope": {
                                "vnf-type": "vUSP - Revenue Assurance",
+                               "vnf-type-list": "testvnftype",
                                "vnfc-type": ""
                        },
                        "template": "Y",
@@ -61,7 +62,7 @@
                        "scope": {
                                "vnf-type": "vUSP - Revenue Assurance",
                                "vnfc-type": "",
-                               "vnfc-type-list": []
+                               "vnfc-type-list": ["testvnftype"]
                        },
                        "template": "Y",
                        "vm": [],
@@ -86,7 +87,7 @@
                        "scope": {
                                "vnf-type": "vUSP - Revenue Assurance",
                                "vnfc-type": "",
-                               "vnfc-type-list": []
+                               "vnfc-type-list": ["testvnftype"]
                        },
                        "template": "Y",
                        "vm": [],
                        "scope": {
                                "vnf-type": "vUSP - Revenue Assurance",
                                "vnfc-type": "",
-                               "vnfc-type-list": []
+                               "vnfc-type-list": ["testvnftype"]
                        },
                        "artifact-list": [
                                {
                        ]
                }
        ]
-}
\ No newline at end of file
+}
index cfba50b..1cea75e 100644 (file)
@@ -14,8 +14,8 @@ ${var}
 APPC LCM API HEALTHCHECK
        [Documentation] APPC LCM API HEALTHCHECK 
        Start Virtual Display     1920     1080
-       Open Browser    http://admin:admin@localhost:8282/apidoc/explorer/index.html    chrome
-       Maximize Browser Window 
+       Open Browser    http://admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U@localhost:8282/apidoc/explorer/index.html      chrome
+#      Maximize Browser Window 
 #      Click Element    xpath=.//p[contains(text(),'If you have reason to expect the website is safe, select the I Accept the Risk button to continue.')]//following::img
 
        Reload Page
index 98a8e58..7968d55 100644 (file)
@@ -13,8 +13,8 @@ ${var}
 APPC LCM API VM RESTART
        [Documentation] APPC LCM API VM RESTART 
        Start Virtual Display     1920     1080
-       Open Browser    http://admin:admin@localhost:8282/apidoc/explorer/index.html    chrome
-       Maximize Browser Window
+       Open Browser    http://admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U@localhost:8282/apidoc/explorer/index.html    chrome
+#      Maximize Browser Window
 #      Click Element    xpath=.//p[contains(text(),'If you have reason to expect the website is safe, select the I Accept the Risk button to continue.')]//following::img
        
        Reload Page
index 0f550d3..93c72d7 100644 (file)
@@ -16,8 +16,8 @@ ${var}
 APPC LCM API VNF RESTART
        [Documentation] APPC LCM API VNF RESTART 
        Start Virtual Display     1920     1080
-       Open Browser    http://admin:admin@localhost:8282/apidoc/explorer/index.html    chrome
-       Maximize Browser Window
+       Open Browser    http://admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U@localhost:8282/apidoc/explorer/index.html    chrome
+#      Maximize Browser Window
 #      Click Element    xpath=.//p[contains(text(),'If you have reason to expect the website is safe, select the I Accept the Risk button to continue.')]//following::img
        
        Reload Page