diff options
author | Dan Timoney <dtimoney@att.com> | 2021-05-17 10:20:29 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2021-05-17 10:20:29 -0400 |
commit | 9a7128436b8d7c292dd8de849883c0cce18e5e68 (patch) | |
tree | dcd6a173ffc27eff83ac733d439443395167bf95 /tests/sdnc/healthcheck | |
parent | de929b31c7eaeb5f8769028e4e80f265afadef39 (diff) |
Remove SDNC CSIT tests
SDNC CSIT tests have been moved to SDNC project repo (sdnc/oam),
so tests in integration/csit are no longer needed.
Change-Id: Iae8b2e5b609e50ea7f6a215e82fb8344fea0fe69
Issue-ID: SDNC-1545
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'tests/sdnc/healthcheck')
-rw-r--r-- | tests/sdnc/healthcheck/__init__.robot | 2 | ||||
-rw-r--r-- | tests/sdnc/healthcheck/data/data.json | 4 | ||||
-rw-r--r-- | tests/sdnc/healthcheck/data/preload.json | 41 | ||||
-rw-r--r-- | tests/sdnc/healthcheck/test1.robot | 27 |
4 files changed, 0 insertions, 74 deletions
diff --git a/tests/sdnc/healthcheck/__init__.robot b/tests/sdnc/healthcheck/__init__.robot deleted file mode 100644 index 8dac1b6a..00000000 --- a/tests/sdnc/healthcheck/__init__.robot +++ /dev/null @@ -1,2 +0,0 @@ -*** Settings *** -Documentation SDNC - healthcheck diff --git a/tests/sdnc/healthcheck/data/data.json b/tests/sdnc/healthcheck/data/data.json deleted file mode 100644 index 583e26fb..00000000 --- a/tests/sdnc/healthcheck/data/data.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "input" : { - } -} diff --git a/tests/sdnc/healthcheck/data/preload.json b/tests/sdnc/healthcheck/data/preload.json deleted file mode 100644 index b53afa85..00000000 --- a/tests/sdnc/healthcheck/data/preload.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "input": { - "vnf-topology-information": { - "vnf-topology-identifier": { - "service-type": "robot_demo", - "vnf-name": "vf_robot_module", - "vnf-type": "vf_robot_type", - "generic-vnf-name": "generic_vnf_name", - "generic-vnf-type": "generic_vnf_type" - }, - "vnf-assignments": { - "availability-zones": [], - "vnf-networks": [], - "vnf-vms": [] - }, - "vnf-parameters": [ - { - "vnf-parameter-name": "ngm1_management_ip_0", - "vnf-parameter-value":"127.0.0.1" - }, - { - "vnf-parameter-name": "ngm2_management_ip_1", - "vnf-parameter-value":"127.0.0.2" - } - ] - }, - "request-information": { - "request-id": "robot12", - "order-version": "1", - "notification-url": "openecomp.org", - "order-number": "1", - "request-action": "PreloadVNFRequest" - }, - "sdnc-request-header": { - "svc-request-id": "robot12", - "svc-notification-url": "http:\/\/openecomp.org:8080\/adapters\/rest\/SDNCNotify", - "svc-action": "reserve" - } - } -} - diff --git a/tests/sdnc/healthcheck/test1.robot b/tests/sdnc/healthcheck/test1.robot deleted file mode 100644 index 85783a79..00000000 --- a/tests/sdnc/healthcheck/test1.robot +++ /dev/null @@ -1,27 +0,0 @@ -*** Settings *** -Library Collections -Library RequestsLibrary -Library OperatingSystem -Library json -Library String - -*** Variables *** -${SDN_APIDOCS_URI} /apidoc/openapi3/18/apis/single -${SDN_HEALTHCHECK_OPERATION_PATH} /operations/SLI-API:healthcheck - -*** Test Cases *** - -Healthcheck API - Create Session sdnc http://localhost:8282/restconf - ${data}= Get File ${CURDIR}${/}data${/}data.json - &{headers}= Create Dictionary Authorization=Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ== Content-Type=application/json Accept=application/json - ${resp}= Post Request sdnc ${SDN_HEALTHCHECK_OPERATION_PATH} data=${data} headers=${headers} - Should Be Equal As Strings ${resp.status_code} 200 - Should Be Equal As Strings ${resp.json()['output']['response-code']} 200 - -Check SLI-API - Create Session sdnc http://localhost:8282 - &{headers}= Create Dictionary Authorization=Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ== Content-Type=application/json Accept=application/json - ${resp}= Get Request sdnc ${SDN_APIDOCS_URI} headers=${headers} - Log ${resp.text} - Should Contain ${resp.text} SLI-API |