aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2021-02-25 09:36:40 -0500
committerDan Timoney <dtimoney@att.com>2021-03-03 17:17:22 -0500
commitaf0838981ce48bb1d004edd2a16a5eb22df0da74 (patch)
tree7079c2ceccb9e4b6c90c733c5081c293bc449bc2 /tests
parent553be2c5e16d18f86d9babe2b7f863d99be4c3dc (diff)
Update SDNC CSIT for Honolulu changes
Added env settings needed to start up SDNC container, and updated URL used to retrieve list of APIs (which changes in OpenDaylight Aluminum). Removed unneeded code to start up cert service (since those certs are not needed for NETCONF/TLS ... the certs we need are for the NETCONF device itself). Commented out tests of TLS connection for now - simulator we had been using no longer exists (docker is no longer in nexus3.onap.org) and connection to new simulator is not yet working. Will restore those tests in a separate commit after debugging with new netconf simulator. Change-Id: I096694a3c70c92c951b7e50f73418ecb8c99d575 Issue-ID: SDNC-1473 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/sdnc/healthcheck/test1.robot2
-rw-r--r--tests/sdnc/sdnc_netconf_tls_post_deploy/resources/sdnc-properties.robot4
-rw-r--r--tests/sdnc/sdnc_netconf_tls_post_deploy/sdnc_post_deploy_cert_check.robot52
3 files changed, 13 insertions, 45 deletions
diff --git a/tests/sdnc/healthcheck/test1.robot b/tests/sdnc/healthcheck/test1.robot
index 3648a8e4..85783a79 100644
--- a/tests/sdnc/healthcheck/test1.robot
+++ b/tests/sdnc/healthcheck/test1.robot
@@ -6,7 +6,7 @@ Library json
Library String
*** Variables ***
-${SDN_APIDOCS_URI} /apidoc/apis
+${SDN_APIDOCS_URI} /apidoc/openapi3/18/apis/single
${SDN_HEALTHCHECK_OPERATION_PATH} /operations/SLI-API:healthcheck
*** Test Cases ***
diff --git a/tests/sdnc/sdnc_netconf_tls_post_deploy/resources/sdnc-properties.robot b/tests/sdnc/sdnc_netconf_tls_post_deploy/resources/sdnc-properties.robot
index 131a52f9..e6e9790c 100644
--- a/tests/sdnc/sdnc_netconf_tls_post_deploy/resources/sdnc-properties.robot
+++ b/tests/sdnc/sdnc_netconf_tls_post_deploy/resources/sdnc-properties.robot
@@ -28,10 +28,10 @@ ${SDNC_NETWORK_TOPOLOGY} /config/network-topology:network-topolo
${MOUNT_PATH} %{WORKSPACE}/tests/sdnc/sdnc_netconf_tls_post_deploy/cert-data
${SDNC_CSR_FILE} %{WORKSPACE}/tests/sdnc/sdnc_netconf_tls_post_deploy/csr/sdnc_csr.env
${SDNC_MOUNT_PATH} /config/network-topology:network-topology/topology/topology-netconf/node/PNFDemo
-${PNFSIM_MOUNT_PATH} /config/network-topology:network-topology/topology/topology-netconf/node/PNFDemo/yang-ext:mount/mynetconf:netconflist
+${PNFSIM_MOUNT_PATH} /config/network-topology:network-topology/topology/topology-netconf/node/PNFDemo/yang-ext:mount/pnf-simulator
# Netconf-Pnp-Simulator
${NETCONF_PNP_SIM_CONTAINER_NAME} %{NETCONF_PNP_SIM_CONTAINER_NAME}
${NETCONF_PNP_SIM_CSR_FILE} %{WORKSPACE}/tests/sdnc/sdnc_netconf_tls_post_deploy/csr/netconf_pnp_simulator_csr.env
${CONF_SCRIPT} %{WORKSPACE}/tests/sdnc/sdnc_netconf_tls_post_deploy/libraries/config.sh
-${CONF_TLS_SCRIPT} %{WORKSPACE}/tests/sdnc/sdnc_netconf_tls_post_deploy/libraries/config_tls.sh \ No newline at end of file
+${CONF_TLS_SCRIPT} %{WORKSPACE}/tests/sdnc/sdnc_netconf_tls_post_deploy/libraries/config_tls.sh
diff --git a/tests/sdnc/sdnc_netconf_tls_post_deploy/sdnc_post_deploy_cert_check.robot b/tests/sdnc/sdnc_netconf_tls_post_deploy/sdnc_post_deploy_cert_check.robot
index c2b35e12..7d322c1b 100644
--- a/tests/sdnc/sdnc_netconf_tls_post_deploy/sdnc_post_deploy_cert_check.robot
+++ b/tests/sdnc/sdnc_netconf_tls_post_deploy/sdnc_post_deploy_cert_check.robot
@@ -9,52 +9,20 @@ Suite Setup Create sessions
*** Test Cases ***
-Health Check AAF CertService
- [Tags] AAF-CERT-SERVICE
- [Documentation] Service is Up and Running
- Run health check
-
-Reload AAF CertService Configuration
- [Tags] AAF-CERT-SERVICE
- [Documentation] Configuration is Reloaded
- Send Get Request And Validate Response /reload 200
-
-Check AAF CertService Container Is Ready
- [Tags] AAF-CERT-SERVICE
- [Documentation] Send Request to /ready Endpoint and Expect 200
- Send Get Request And Validate Response /ready 200
-
Check SDNC Keystore For Netopeer2 Certificates
[Tags] SDNC-NETOPEER2-CERT-DEPLOYMENT
[Documentation] Checking Keystore after SDNC istallation
Send Get Request And Validate Response Sdnc ${SDNC_KEYSTORE_CONFIG_PATH} 200
-Check SDNC And PNF TLS Connection Over Netopeer2 Certificates
- [Tags] SDNC-PNF-TLS-CONNECTION-CHECK
- [Documentation] Checking PNF Mount after SDNC Installation
- Send Get Request And Validate TLS Connection Response ${SDNC_MOUNT_PATH} 200
-
-Check PNF Delete And Remove Netopeer2 Certificates From Keystore
- [Tags] SDNC-PNF-MOUNT-DELETE-CLEAR-KEYSTORE
- [Documentation] Checking PNF Mount Delete from SDNC
- Send Delete Request And Validate PNF Mount Deleted ${SDNC_MOUNT_PATH} 200
-
-Check AAF-CertService Successfully Creates Certificates for SDNC
- [Tags] AAF-CERT-SERVICE-SDNC
- [Documentation] Run with SDNC CSR and Expected Exit Code 0
- Run Cert Service Client And Validate JKS File Creation And Client Exit Code ${SDNC_CSR_FILE} ${SDNC_CONTAINER_NAME} 0
-
-Check SDNC-ODL Certificates Installation In Keystore And Truststore
- [Tags] SDNC-ODL-CERTIFICATE-KEYSTORE-VALIDATE
- [Documentation] Validate Certificates Got Installed in SDNC-ODL Keystore
- Send Get Request And Validate Response Sdnc ${SDNC_KEYSTORE_CONFIG_PATH} 200
+# TLS connection to netconf simulator is not currently working. Commenting
+# out for now, and will uncomment when we have working solution.
+#Check SDNC And PNF TLS Connection Over Netopeer2 Certificates
+# [Tags] SDNC-PNF-TLS-CONNECTION-CHECK
+# [Documentation] Checking PNF Mount after SDNC Installation
+# Send Get Request And Validate TLS Connection Response ${SDNC_MOUNT_PATH} 200
-Check AAF-CertService Successfully Creates Certificates for Netconf-Pnp-Simulator
- [Tags] AAF-CERT-SERVICE-NETCONF_PNP_SIMULATOR
- [Documentation] Run with NETCONF-PNP-SIMULATOR CSR and Expect Exit Code 0
- Run Cert Service Client And Validate JKS File Creation And Client Exit Code ${NETCONF_PNP_SIM_CSR_FILE} ${NETCONF_PNP_SIM_CONTAINER_NAME} 0
+#Check PNF Delete And Remove Netopeer2 Certificates From Keystore
+# [Tags] SDNC-PNF-MOUNT-DELETE-CLEAR-KEYSTORE
+# [Documentation] Checking PNF Mount Delete from SDNC
+# Send Delete Request And Validate PNF Mount Deleted ${SDNC_MOUNT_PATH} 200
-Check SDNC-ODL Netconf-Pnp-Simulatore TLS Connection Establishment
- [Tags] SDNC-ODL-NETCONF-PNP_SIMULATION-TLS-CONNECTION
- [Documentation] Validate SDNC-ODL and Netconf-Pnp-Simulation TLS Connection Establishment
- Send Get Request And Validate TLS Connection Response ${SDNC_MOUNT_PATH} 200 \ No newline at end of file