summaryrefslogtreecommitdiffstats
path: root/common/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/test/resources')
-rw-r--r--common/src/test/resources/__files/aai/bulkprocess/response-failure.json32
-rw-r--r--common/src/test/resources/__files/aai/bulkprocess/response-success.json32
-rw-r--r--common/src/test/resources/__files/aai/bulkprocess/test-request-small.json10
-rw-r--r--common/src/test/resources/__files/aai/bulkprocess/test-request.json26
-rw-r--r--common/src/test/resources/__files/aai/error-message.json1
-rw-r--r--common/src/test/resources/__files/aai/pserver.json14
-rw-r--r--common/src/test/resources/__files/aai/query/pathed-result.json12
-rw-r--r--common/src/test/resources/__files/aai/query/single-query-result.json80
-rw-r--r--common/src/test/resources/__files/aai/resources/e2e-complex.json660
-rw-r--r--common/src/test/resources/__files/aai/resources/empty-query-result.json3
-rw-r--r--common/src/test/resources/__files/aai/resources/mockObject.json10
-rw-r--r--common/src/test/resources/__files/aai/resources/service-instance-pathed-query.json8
-rw-r--r--common/src/test/resources/__files/aai/singletransaction/sample-request.json32
-rw-r--r--common/src/test/resources/__files/aai/singletransaction/sample-response-failure.json30
-rw-r--r--common/src/test/resources/__files/aai/singletransaction/sample-response.json22
-rw-r--r--common/src/test/resources/aai.properties3
-rw-r--r--common/src/test/resources/org/onap/so/client/sdno/health-check/custom-lport-mirror-post-check-request.json27
-rw-r--r--common/src/test/resources/org/onap/so/client/sdno/health-check/custom-lport-mirror-pre-check-request.json27
-rw-r--r--common/src/test/resources/org/onap/so/client/sdno/health-check/custom-port-mirror-post-check-request.json23
-rw-r--r--common/src/test/resources/org/onap/so/client/sdno/health-check/custom-port-mirror-pre-check-request.json23
-rw-r--r--common/src/test/resources/org/onap/so/client/sdno/output-failure.json25
-rw-r--r--common/src/test/resources/org/onap/so/client/sdno/output-success.json22
-rw-r--r--common/src/test/resources/org/onap/so/client/sdno/response.json17
23 files changed, 0 insertions, 1139 deletions
diff --git a/common/src/test/resources/__files/aai/bulkprocess/response-failure.json b/common/src/test/resources/__files/aai/bulkprocess/response-failure.json
deleted file mode 100644
index bbc2c38b76..0000000000
--- a/common/src/test/resources/__files/aai/bulkprocess/response-failure.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "transaction": [
- {
- "put": [
- {
- "body": {
- "401": "{\"requestError\": {\"serviceException\": {\"messageId\": \"SVC3003\",\"text\": \"another error message\",\"variables\": []}}}"
- }
- },
- {
- "body": {
- "200": "test2"
- }
- }
- ]
- },
- {
- "put": [
- {
- "body": {
- "400": "{\"requestError\": {\"serviceException\": {\"messageId\": \"SVC3003\",\"text\": \"my great error\",\"variables\": []}}}"
- }
- },
- {
- "body": {
- "200": "test4"
- }
- }
- ]
- }
- ]
-} \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/bulkprocess/response-success.json b/common/src/test/resources/__files/aai/bulkprocess/response-success.json
deleted file mode 100644
index 7dae38335a..0000000000
--- a/common/src/test/resources/__files/aai/bulkprocess/response-success.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "transaction": [
- {
- "put": [
- {
- "body": {
- "201": "test"
- }
- },
- {
- "body": {
- "200": "test2"
- }
- }
- ]
- },
- {
- "put": [
- {
- "body": {
- "201": "test3"
- }
- },
- {
- "body": {
- "200": "test4"
- }
- }
- ]
- }
- ]
-}
diff --git a/common/src/test/resources/__files/aai/bulkprocess/test-request-small.json b/common/src/test/resources/__files/aai/bulkprocess/test-request-small.json
deleted file mode 100644
index 973928108f..0000000000
--- a/common/src/test/resources/__files/aai/bulkprocess/test-request-small.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "transactions" : [ {
- "put" : [ {
- "uri" : "/network/generic-vnfs/generic-vnf/test1/relationship-list/relationship",
- "body" : {
- "related-link" : "/cloud-infrastructure/pservers/pserver/test2"
- }
- } ]
- } ]
-} \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/bulkprocess/test-request.json b/common/src/test/resources/__files/aai/bulkprocess/test-request.json
deleted file mode 100644
index 5a2953c632..0000000000
--- a/common/src/test/resources/__files/aai/bulkprocess/test-request.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "transactions" : [ {
- "put" : [ {
- "uri" : "/network/generic-vnfs/generic-vnf/test1/relationship-list/relationship",
- "body" : {
- "related-link" : "/cloud-infrastructure/pservers/pserver/test2"
- }
- }, {
- "uri" : "/network/generic-vnfs/generic-vnf/test3/relationship-list/relationship",
- "body" : {
- "related-link" : "/cloud-infrastructure/pservers/pserver/test4"
- }
- } ]
- }, {
- "put" : [ {
- "uri" : "/network/generic-vnfs/generic-vnf/test5/relationship-list/relationship",
- "body" : {
- "related-link" : "/cloud-infrastructure/pservers/pserver/test6"
- }
- } ]
- }, {
- "delete" : [ {
- "uri" : "/network/generic-vnfs/generic-vnf/test7?resource-version=1234"
- } ]
- }]
-} \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/error-message.json b/common/src/test/resources/__files/aai/error-message.json
deleted file mode 100644
index 155232294a..0000000000
--- a/common/src/test/resources/__files/aai/error-message.json
+++ /dev/null
@@ -1 +0,0 @@
-{"requestError":{"serviceException":{"messageId":"SVC3000","text":"Invalid input performing %1 on %2 (msg=%3) (ec=%4)","variables":["PUT","url","Precondition Required:resource-version not passed for update of url","ERR.5.4.6130"]}}} \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/pserver.json b/common/src/test/resources/__files/aai/pserver.json
deleted file mode 100644
index 1a3f40aac3..0000000000
--- a/common/src/test/resources/__files/aai/pserver.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "results": [
- {
- "pserver": {
- "hostname": "test"
- }
- },
- {
- "pserver": {
- "hostname": "test2"
- }
- }
- ]
-} \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/query/pathed-result.json b/common/src/test/resources/__files/aai/query/pathed-result.json
deleted file mode 100644
index e9a3e65c73..0000000000
--- a/common/src/test/resources/__files/aai/query/pathed-result.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "results": [
- {
- "resource-type": "service-instance",
- "resource-link": "https://localhost:8443/aai/v9/business/customers/customer/key1/service-subscriptions/service-subscription/key2/service-instances/service-instance/key3"
- },
- {
- "resource-type": "service-instance",
- "resource-link": "https://localhost:8443/aai/v9/business/customers/customer/key1/service-subscriptions/service-subscription/key2/service-instances/service-instance/key3"
- }
- ]
-} \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/query/single-query-result.json b/common/src/test/resources/__files/aai/query/single-query-result.json
deleted file mode 100644
index eb12deae80..0000000000
--- a/common/src/test/resources/__files/aai/query/single-query-result.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "results": [
- {
- "url": "/aai/v14/cloud-infrastructure/complexes/complex/complex-id-15100-jc689q",
- "complex": {
- "physical-location-id": "complex-id-15100-jc689q",
- "resource-version": "1541786379243",
- "physical-location-type": "lvXHWJC",
- "street1": "uAAi5qjc1",
- "street2": "vkK6XQjc2",
- "city": "3Ec8JSW0JC",
- "state": "COczHmeJC",
- "postal-code": "D4J1",
- "country": "K0JC1",
- "region": "JzHqJC1",
- "relationship-list": {
- "relationship": [
- {
- "related-to": "pserver",
- "relationship-label": "org.onap.relationships.inventory.LocatedIn",
- "related-link": "/aai/v14/cloud-infrastructure/pservers/pserver/pserver-15100-jc689q",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "pserver-15100-jc689q"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- },
- {
- "property-key": "pserver.fqdn"
- }
- ]
- }
- ]
- }
- }
- },
- {
- "url": "/aai/v14/cloud-infrastructure/complexes/complex/complex-id-15100-jc689q2",
- "complex": {
- "physical-location-id": "complex-id-15100-jc689q2",
- "resource-version": "1541786379243",
- "physical-location-type": "lvXHWJC",
- "street1": "uAAi5qjc1",
- "street2": "vkK6XQjc2",
- "city": "3Ec8JSW0JC",
- "state": "COczHmeJC",
- "postal-code": "D4J1",
- "country": "K0JC1",
- "region": "JzHqJC1",
- "relationship-list": {
- "relationship": [
- {
- "related-to": "pserver",
- "relationship-label": "org.onap.relationships.inventory.LocatedIn",
- "related-link": "/aai/v14/cloud-infrastructure/pservers/pserver/pserver-15100-jc689q",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "pserver-15100-jc689q"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- },
- {
- "property-key": "pserver.fqdn"
- }
- ]
- }
- ]
- }
- }
- }
- ]
-} \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/resources/e2e-complex.json b/common/src/test/resources/__files/aai/resources/e2e-complex.json
deleted file mode 100644
index e3d830e978..0000000000
--- a/common/src/test/resources/__files/aai/resources/e2e-complex.json
+++ /dev/null
@@ -1,660 +0,0 @@
-{
- "physical-location-id": "MTCWNJA4DCP",
- "complex-name": "mtcnj",
- "resource-version": "1498188613044",
- "physical-location-type": "Mobility",
- "street1": "200 S. Laurel Ave, Rm A4-3C30",
- "city": "Middletown",
- "state": "NJ",
- "postal-code": "07748",
- "country": "USA",
- "region": "US",
- "latitude": "40.39596",
- "longitude": "-74.135342",
- "lata": "224",
- "ctag-pools": {
- "ctag-pool": [
- {
- "target-pe": "sfcca301vr1",
- "availability-zone-name": "mtcnj-esx-az01",
- "ctag-pool-purpose": "IPAG",
- "ctag-values": "2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025",
- "resource-version": "1494254946087",
- "relationship-list": {
- "relationship": [
- {
- "related-to": "vpls-pe",
- "related-link": "https://localhost:8443/aai/v9/network/vpls-pes/vpls-pe/sfcca301vr1",
- "relationship-data": [
- {
- "relationship-key": "vpls-pe.equipment-name",
- "relationship-value": "sfcca301vr1"
- }
- ]
- }
- ]
- }
- },
- {
- "target-pe": "VPESAT-mtcnj401me6",
- "availability-zone-name": "mtcnj-esx-az01",
- "ctag-pool-purpose": "VPE",
- "ctag-values": "3001,3002,3003,3004,3005,3006,3007,3008,3009,3010,3011,3012,3013,3014,3015,3016,3017,3018,3019,3020,3021,3022,3023,3024,3025,3026,3027,3028,3029,3030,3031,3032,3033,3034,3035,3036,3037,3038,3039,3040,3041,3042,3043,3044,3045,3046,3047,3048,3049,3050",
- "resource-version": "1494254975977"
- }
- ]
- },
- "relationship-list": {
- "relationship": [
- {
- "related-to": "vce",
- "related-link": "https://localhost:8443/aai/v9/network/vces/vce/a9fec18e-1ea3-40e4-a6c0-a89b3de07053",
- "relationship-data": [
- {
- "relationship-key": "vce.vnf-id",
- "relationship-value": "a9fec18e-1ea3-40e4-a6c0-a89b3de07053"
- }
- ],
- "related-to-property": [
- {
- "property-key": "vce.vnf-name",
- "property-value": "mtcnj411vbc"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj104snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj104snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj105snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj105snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/compute_host",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "compute_host"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj106snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj106snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj126sd9",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj126sd9"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "vce",
- "related-link": "https://localhost:8443/aai/v9/network/vces/vce/8ae1e5f8-61f1-4c71-913a-b40cc4593cb9",
- "relationship-data": [
- {
- "relationship-key": "vce.vnf-id",
- "relationship-value": "8ae1e5f8-61f1-4c71-913a-b40cc4593cb9"
- }
- ],
- "related-to-property": [
- {
- "property-key": "vce.vnf-name",
- "property-value": "mtcnj411vbc"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj102sta",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj102sta"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnjtax102",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnjtax102"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj107snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj107snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj118snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj118snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj110snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj110snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj109snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj109snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj114snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj114snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj119snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj119snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj116snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj116snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "vce",
- "related-link": "https://localhost:8443/aai/v9/network/vces/vce/a2935fa9-b743-49f4-9813-a127f13c4e93",
- "relationship-data": [
- {
- "relationship-key": "vce.vnf-id",
- "relationship-value": "a2935fa9-b743-49f4-9813-a127f13c4e93"
- }
- ],
- "related-to-property": [
- {
- "property-key": "vce.vnf-name",
- "property-value": "mtcnj410vbc"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj108snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj108snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj123sd9",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj123sd9"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj101snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj101snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj102snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj102snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnjtax101",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnjtax101"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj113snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj113snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj111snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj111snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj103snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj103snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj117snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj117snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj101sta",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj101sta"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "vce",
- "related-link": "https://localhost:8443/aai/v9/network/vces/vce/c7fe7698-8063-4e26-8bd3-ca3edde0b0d4",
- "relationship-data": [
- {
- "relationship-key": "vce.vnf-id",
- "relationship-value": "c7fe7698-8063-4e26-8bd3-ca3edde0b0d4"
- }
- ],
- "related-to-property": [
- {
- "property-key": "vce.vnf-name",
- "property-value": "mtcnj412vbc"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj120snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj120snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj124sd9",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj124sd9"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj125sd9",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj125sd9"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj112snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj112snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "pserver",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/pservers/pserver/mtcnj115snd",
- "relationship-data": [
- {
- "relationship-key": "pserver.hostname",
- "relationship-value": "mtcnj115snd"
- }
- ],
- "related-to-property": [
- {
- "property-key": "pserver.pserver-name2"
- }
- ]
- },
- {
- "related-to": "cloud-region",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/mtcnj2",
- "relationship-data": [
- {
- "relationship-key": "cloud-region.cloud-owner",
- "relationship-value": "CloudOwner"
- },
- {
- "relationship-key": "cloud-region.cloud-region-id",
- "relationship-value": "mtcnj2"
- }
- ],
- "related-to-property": [
- {
- "property-key": "cloud-region.owner-defined-type",
- "property-value": "lcp"
- }
- ]
- },
- {
- "related-to": "oam-network",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/AAIAIC25/oam-networks/oam-network/f9263cat-4eaa-43a0-bea4-adcf6e123456",
- "relationship-data": [
- {
- "relationship-key": "cloud-region.cloud-owner",
- "relationship-value": "CloudOwner"
- },
- {
- "relationship-key": "cloud-region.cloud-region-id",
- "relationship-value": "AAIAIC25"
- },
- {
- "relationship-key": "oam-network.network-uuid",
- "relationship-value": "f9263cat-4eaa-43a0-bea4-adcf6e123456"
- }
- ],
- "related-to-property": [
- {
- "property-key": "oam-network.network-name",
- "property-value": "VLAN-OAM-1323"
- }
- ]
- },
- {
- "related-to": "oam-network",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/AAIAIC25/oam-networks/oam-network/b9263fab-4eaa-43a0-bea4-adcf6e999999",
- "relationship-data": [
- {
- "relationship-key": "cloud-region.cloud-owner",
- "relationship-value": "CloudOwner"
- },
- {
- "relationship-key": "cloud-region.cloud-region-id",
- "relationship-value": "AAIAIC25"
- },
- {
- "relationship-key": "oam-network.network-uuid",
- "relationship-value": "b9263fab-4eaa-43a0-bea4-adcf6e999999"
- }
- ],
- "related-to-property": [
- {
- "property-key": "oam-network.network-name",
- "property-value": "VLAN-OAM-1323"
- }
- ]
- },
- {
- "related-to": "oam-network",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/AAIAIC25/oam-networks/oam-network/cf33dc95-c5d2-48fd-8078-fd949363f63b",
- "relationship-data": [
- {
- "relationship-key": "cloud-region.cloud-owner",
- "relationship-value": "CloudOwner"
- },
- {
- "relationship-key": "cloud-region.cloud-region-id",
- "relationship-value": "AAIAIC25"
- },
- {
- "relationship-key": "oam-network.network-uuid",
- "relationship-value": "cf33dc95-c5d2-48fd-8078-fd949363f63b"
- }
- ],
- "related-to-property": [
- {
- "property-key": "oam-network.network-name",
- "property-value": "VLAN-OAM-1323"
- }
- ]
- },
- {
- "related-to": "availability-zone",
- "related-link": "https://localhost:8443/aai/v9/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/AAIAIC25/availability-zones/availability-zone/mtcnj-esx-az01",
- "relationship-data": [
- {
- "relationship-key": "cloud-region.cloud-owner",
- "relationship-value": "CloudOwner"
- },
- {
- "relationship-key": "cloud-region.cloud-region-id",
- "relationship-value": "AAIAIC25"
- },
- {
- "relationship-key": "availability-zone.availability-zone-name",
- "relationship-value": "mtcnj-esx-az01"
- }
- ]
- }
- ]
- }
- } \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/resources/empty-query-result.json b/common/src/test/resources/__files/aai/resources/empty-query-result.json
deleted file mode 100644
index 914332edba..0000000000
--- a/common/src/test/resources/__files/aai/resources/empty-query-result.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "results": []
-} \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/resources/mockObject.json b/common/src/test/resources/__files/aai/resources/mockObject.json
deleted file mode 100644
index 2f97b47dd3..0000000000
--- a/common/src/test/resources/__files/aai/resources/mockObject.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "id" : "something",
- "resource-version" : "1234",
- "plural" : {
- "singular" : [{
- "id" : "something2",
- "resource-version" : "5678"
- }]
- }
-} \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/resources/service-instance-pathed-query.json b/common/src/test/resources/__files/aai/resources/service-instance-pathed-query.json
deleted file mode 100644
index 0fa9515820..0000000000
--- a/common/src/test/resources/__files/aai/resources/service-instance-pathed-query.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "results": [
- {
- "resource-type": "service-instance",
- "resource-link": "https://localhost:8443/aai/v9/business/customers/customer/key1/service-subscriptions/service-subscription/key2/service-instances/service-instance/key3"
- }
- ]
-} \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/singletransaction/sample-request.json b/common/src/test/resources/__files/aai/singletransaction/sample-request.json
deleted file mode 100644
index 69024dca83..0000000000
--- a/common/src/test/resources/__files/aai/singletransaction/sample-request.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "operations": [
- {
- "action": "put",
- "uri": "/cloud-infrastructure/pservers/pserver/pserver-hostname",
- "body": {
- "hostname": "pserver-hostname",
- "fqdn": "pserver-bulk-process-single-transactions-multiple-actions-1-fqdn"
- }
- },
- {
- "action": "patch",
- "uri": "/cloud-infrastructure/pservers/pserver/pserver-hostname",
- "body": {
- "fqdn": "patched-fqdn"
- }
- },
- {
- "action": "put",
- "uri": "/cloud-infrastructure/complexes/complex/my-complex",
- "body": {
- "city": "my-city"
- }
- },
- {
- "action": "delete",
- "uri": "/cloud-infrastructure/complexes/complex/my-complex2?resource-version=1234",
- "body" : {
- }
- }
- ]
-} \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/singletransaction/sample-response-failure.json b/common/src/test/resources/__files/aai/singletransaction/sample-response-failure.json
deleted file mode 100644
index d0b0e39924..0000000000
--- a/common/src/test/resources/__files/aai/singletransaction/sample-response-failure.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "operation-responses": [
- {
- "action": "put",
- "uri": "/cloud-infrastructure/pservers/pserver/pserver-hostname",
- "response-status-code": 201,
- "response-body": null
- },
- {
- "action": "patch",
- "uri": "/cloud-infrastructure/pservers/pserver/pserver-hostname",
- "response-status-code": 200,
- "response-body": null
- },
- {
- "action": "put",
- "uri": "/cloud-infrastructure/complexes/complex/my-complex",
- "response-status-code": 400,
- "response-body": {
- "requestError": {
- "serviceException": {
- "messageId": "SVC3003",
- "text": "another error message",
- "variables": []
- }
- }
- }
- }
- ]
-} \ No newline at end of file
diff --git a/common/src/test/resources/__files/aai/singletransaction/sample-response.json b/common/src/test/resources/__files/aai/singletransaction/sample-response.json
deleted file mode 100644
index a5b322ee2e..0000000000
--- a/common/src/test/resources/__files/aai/singletransaction/sample-response.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "operation-responses": [
- {
- "action": "put",
- "uri": "/cloud-infrastructure/pservers/pserver/pserver-hostname",
- "response-status-code": 201,
- "response-body": null
- },
- {
- "action": "patch",
- "uri": "/cloud-infrastructure/pservers/pserver/pserver-hostname",
- "response-status-code": 200,
- "response-body": null
- },
- {
- "action": "put",
- "uri": "/cloud-infrastructure/complexes/complex/my-complex",
- "response-status-code": 201,
- "response-body": null
- }
- ]
-} \ No newline at end of file
diff --git a/common/src/test/resources/aai.properties b/common/src/test/resources/aai.properties
deleted file mode 100644
index 2936e841bb..0000000000
--- a/common/src/test/resources/aai.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-aai.endpoint=http://localhost:8443
-aai.auth=5E12ACACBD552A415E081E29F2C4772F9835792A51C766CCFDD7433DB5220B59969CB2798C
-mso.msoKey=07a7159d3bf51a0e53be7a8f89699be7 \ No newline at end of file
diff --git a/common/src/test/resources/org/onap/so/client/sdno/health-check/custom-lport-mirror-post-check-request.json b/common/src/test/resources/org/onap/so/client/sdno/health-check/custom-lport-mirror-post-check-request.json
deleted file mode 100644
index 2c46b5a8cb..0000000000
--- a/common/src/test/resources/org/onap/so/client/sdno/health-check/custom-lport-mirror-post-check-request.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "body": {
- "input": {
- "request-hd-custom": {
- "request-client-name": "MSO",
- "request-user-id": "test-user",
- "request-id": "test-request-id",
- "health-diagnostic-code": "VROUTER000004",
- "operation-type": "lport_mirroring_check",
- "send-detailed-cmd-response": "false",
- "aai-param-list": [
- {
- "key": "configuration-id",
- "value": "test-configuration-id"
- },
- {
- "key": "interface-id",
- "value": "test-interface-id"
- }
- ]
- }
- }
- },
- "operation": "health-diagnostic-custom",
- "nodeLoc": "test-clli",
- "nodeType": "VROUTER"
-} \ No newline at end of file
diff --git a/common/src/test/resources/org/onap/so/client/sdno/health-check/custom-lport-mirror-pre-check-request.json b/common/src/test/resources/org/onap/so/client/sdno/health-check/custom-lport-mirror-pre-check-request.json
deleted file mode 100644
index bf168b0028..0000000000
--- a/common/src/test/resources/org/onap/so/client/sdno/health-check/custom-lport-mirror-pre-check-request.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "body": {
- "input": {
- "request-hd-custom": {
- "request-client-name": "MSO",
- "request-user-id": "test-user",
- "request-id": "test-request-id",
- "health-diagnostic-code": "VROUTER000003",
- "operation-type": "lport_mirroring_check",
- "send-detailed-cmd-response": "false",
- "aai-param-list": [
- {
- "key": "configuration-id",
- "value": "test-configuration-id"
- },
- {
- "key": "interface-id",
- "value": "test-interface-id"
- }
- ]
- }
- }
- },
- "operation": "health-diagnostic-custom",
- "nodeLoc": "test-clli",
- "nodeType": "VROUTER"
-} \ No newline at end of file
diff --git a/common/src/test/resources/org/onap/so/client/sdno/health-check/custom-port-mirror-post-check-request.json b/common/src/test/resources/org/onap/so/client/sdno/health-check/custom-port-mirror-post-check-request.json
deleted file mode 100644
index 89e505e7d0..0000000000
--- a/common/src/test/resources/org/onap/so/client/sdno/health-check/custom-port-mirror-post-check-request.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "body": {
- "input": {
- "request-hd-custom": {
- "request-client-name": "MSO",
- "request-user-id": "test-user",
- "request-id": "test-request-id",
- "health-diagnostic-code": "VROUTER000004",
- "operation-type": "mirroring_check",
- "send-detailed-cmd-response": "false",
- "aai-param-list": [
- {
- "key": "configuration-id",
- "value": "test-configuration-id"
- }
- ]
- }
- }
- },
- "operation": "health-diagnostic-custom",
- "nodeLoc": "test-clli",
- "nodeType": "VROUTER"
-} \ No newline at end of file
diff --git a/common/src/test/resources/org/onap/so/client/sdno/health-check/custom-port-mirror-pre-check-request.json b/common/src/test/resources/org/onap/so/client/sdno/health-check/custom-port-mirror-pre-check-request.json
deleted file mode 100644
index 86897c8a1f..0000000000
--- a/common/src/test/resources/org/onap/so/client/sdno/health-check/custom-port-mirror-pre-check-request.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "body": {
- "input": {
- "request-hd-custom": {
- "request-client-name": "MSO",
- "request-user-id": "test-user",
- "request-id": "test-request-id",
- "health-diagnostic-code": "VROUTER000003",
- "operation-type": "mirroring_check",
- "send-detailed-cmd-response": "false",
- "aai-param-list": [
- {
- "key": "configuration-id",
- "value": "test-configuration-id"
- }
- ]
- }
- }
- },
- "operation": "health-diagnostic-custom",
- "nodeLoc": "test-clli",
- "nodeType": "VROUTER"
-}
diff --git a/common/src/test/resources/org/onap/so/client/sdno/output-failure.json b/common/src/test/resources/org/onap/so/client/sdno/output-failure.json
deleted file mode 100644
index 8cf0a820cd..0000000000
--- a/common/src/test/resources/org/onap/so/client/sdno/output-failure.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "body": {
- "output": {
- "response-hd-custom": {
- "response-status": "Failure",
- "cached-data": "false",
- "response-interface-type": "ansible",
- "response-id": "191bf423-8473-4f7c-9fbb-e5dcbb40a12b",
- "remote_end_time": "2017-10-13T14:51:53.490+0000",
- "response-client-name": "MSO",
- "user_id": "xxxxxx",
- "remote_start_time": "2017-10-13T14:51:53.173+0000",
- "error-message": "my error message",
- "connection-failure-msg": "SDNO was unable to connect to an Ansible REST API server; Please ensure Ansible REST server is running"
- }
- }
- },
- "result-info": {
- "code": "200",
- "status": "SUCCESS",
- "request-id": "xyz123",
- "client-name": "MSO",
- "processing-host": "sdno-sdno-mtsnjv9sdno01"
- }
-} \ No newline at end of file
diff --git a/common/src/test/resources/org/onap/so/client/sdno/output-success.json b/common/src/test/resources/org/onap/so/client/sdno/output-success.json
deleted file mode 100644
index a6794327d8..0000000000
--- a/common/src/test/resources/org/onap/so/client/sdno/output-success.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "body": {
- "output": {
- "response-healthdiagnostic": {
- "response-node-ip": "192.20.127.76",
- "response-id": "xyz123",
- "response-node-name": "mtvnjv9aads11",
- "response-status": "Success",
- "response-interface-type": "ssh",
- "response-details-json": "result",
- "cached-data": "false"
- }
- }
- },
- "result-info": {
- "client-name": "MSO",
- "code": "200",
- "processing-host": "sdno1-host01",
- "request-id": "xyz123",
- "status": "SUCCESS"
- }
-} \ No newline at end of file
diff --git a/common/src/test/resources/org/onap/so/client/sdno/response.json b/common/src/test/resources/org/onap/so/client/sdno/response.json
deleted file mode 100644
index 2355e86938..0000000000
--- a/common/src/test/resources/org/onap/so/client/sdno/response.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
-
- "result-info": {
-
- "client-name": "MSO",
-
- "code": "202",
-
- "processing-host": "sdno1-host01",
-
- "request-id": "xyz123",
-
- "status": "ACCEPTED"
-
- }
-
-} \ No newline at end of file