summaryrefslogtreecommitdiffstats
path: root/restapi-call-node/provider/src/test/resources
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2020-12-01 11:33:35 -0800
committerJessica Wagantall <jwagantall@linuxfoundation.org>2020-12-01 11:33:35 -0800
commit96a9aafdff7813324bc8a8ba1e743683e251dde6 (patch)
tree644c6837ab58ed21fb05f4bf988dc392875b9f8d /restapi-call-node/provider/src/test/resources
parenta0e97e71a49a8b54fddf8fb004b32f202f114011 (diff)
Migrate files from sli-plugins
Migrate sli-plugins repo into new directory "plugins". Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'restapi-call-node/provider/src/test/resources')
-rw-r--r--restapi-call-node/provider/src/test/resources/1dArray.json8
-rw-r--r--restapi-call-node/provider/src/test/resources/2dArray.json4
-rw-r--r--restapi-call-node/provider/src/test/resources/3dArray.json5
-rw-r--r--restapi-call-node/provider/src/test/resources/ArrayMenu.json41
-rw-r--r--restapi-call-node/provider/src/test/resources/EmbeddedEscapedJson.json16
-rw-r--r--restapi-call-node/provider/src/test/resources/EscapedJson.json1
-rw-r--r--restapi-call-node/provider/src/test/resources/ObjectMenu.json43
-rw-r--r--restapi-call-node/provider/src/test/resources/Widget.json27
-rw-r--r--restapi-call-node/provider/src/test/resources/actokentemplate.json4
-rw-r--r--restapi-call-node/provider/src/test/resources/invalidlength.xml49
-rw-r--r--restapi-call-node/provider/src/test/resources/l2-dci-connects-template.json11
-rw-r--r--restapi-call-node/provider/src/test/resources/l3-dci-connects-template.json14
-rw-r--r--restapi-call-node/provider/src/test/resources/l3smsitetemplate.json162
-rw-r--r--restapi-call-node/provider/src/test/resources/l3smvpntemplate.json10
-rw-r--r--restapi-call-node/provider/src/test/resources/l3smvrftemplate.json14
-rwxr-xr-xrestapi-call-node/provider/src/test/resources/partners.json22
-rw-r--r--restapi-call-node/provider/src/test/resources/sdwan-site.json10
-rw-r--r--restapi-call-node/provider/src/test/resources/sdwan-vpn-topology.json23
-rw-r--r--restapi-call-node/provider/src/test/resources/test-template.json37
-rw-r--r--restapi-call-node/provider/src/test/resources/test.json30
-rw-r--r--restapi-call-node/provider/src/test/resources/test.xml182
-rw-r--r--restapi-call-node/provider/src/test/resources/test3.xml82
-rw-r--r--restapi-call-node/provider/src/test/resources/testEmbeddedTemplate.json20
-rw-r--r--restapi-call-node/provider/src/test/resources/testMultiLineEmbeddedTemplate.json20
-rw-r--r--restapi-call-node/provider/src/test/resources/test_file.txt5
-rw-r--r--restapi-call-node/provider/src/test/resources/ueb.properties6
26 files changed, 0 insertions, 846 deletions
diff --git a/restapi-call-node/provider/src/test/resources/1dArray.json b/restapi-call-node/provider/src/test/resources/1dArray.json
deleted file mode 100644
index 208fb70a6..000000000
--- a/restapi-call-node/provider/src/test/resources/1dArray.json
+++ /dev/null
@@ -1,8 +0,0 @@
-[
- "apple",
- "orange",
- "banana",
- "squash",
- "broccoli",
- "cauliflower"
-] \ No newline at end of file
diff --git a/restapi-call-node/provider/src/test/resources/2dArray.json b/restapi-call-node/provider/src/test/resources/2dArray.json
deleted file mode 100644
index b473864d8..000000000
--- a/restapi-call-node/provider/src/test/resources/2dArray.json
+++ /dev/null
@@ -1,4 +0,0 @@
-[
- ["apple", "orange", "banana"],
- ["squash", "broccoli", "cauliflower"]
-] \ No newline at end of file
diff --git a/restapi-call-node/provider/src/test/resources/3dArray.json b/restapi-call-node/provider/src/test/resources/3dArray.json
deleted file mode 100644
index 3f3f4fab8..000000000
--- a/restapi-call-node/provider/src/test/resources/3dArray.json
+++ /dev/null
@@ -1,5 +0,0 @@
-[
- [["x","y","z"]],
- [["abc","def","xyz"], [123, 456, 789]],
- [["a","b","c"], ["d","e","f"], ["1","2","3"]]
-] \ No newline at end of file
diff --git a/restapi-call-node/provider/src/test/resources/ArrayMenu.json b/restapi-call-node/provider/src/test/resources/ArrayMenu.json
deleted file mode 100644
index b12f16315..000000000
--- a/restapi-call-node/provider/src/test/resources/ArrayMenu.json
+++ /dev/null
@@ -1,41 +0,0 @@
-[{
- "id": "1",
- "type": "pizza",
- "name": "plain",
- "calories": 1000,
- "vegetarian": true
- }, {
- "id": "2",
- "type": "pizza",
- "name": "Tuesday Special",
- "calories": 2000,
- "vegetarian": false,
- "topping":
- [{
- "id": "1",
- "name": "onion"
- }, {
- "id": "2",
- "name": "pepperoni"
- }
- ]
- }, {
- "id": "3",
- "type": "pizza",
- "name": "House Special",
- "calories": 1500,
- "vegetarian": true,
- "topping":
- [{
- "id": "3",
- "name": "basil"
- }, {
- "id": "4",
- "name": "fresh mozzarella"
- }, {
- "id": "5",
- "name": "tomato"
- }
- ]
- }
-]
diff --git a/restapi-call-node/provider/src/test/resources/EmbeddedEscapedJson.json b/restapi-call-node/provider/src/test/resources/EmbeddedEscapedJson.json
deleted file mode 100644
index dbb6d8d3a..000000000
--- a/restapi-call-node/provider/src/test/resources/EmbeddedEscapedJson.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "input": {
- "parameters":
- [{
- "name": "escapedJsonObject",
- "value": "[{\"id\":\"0.2.0.0\/16\"},{\"id\":\"ge04::\/64\"}]"
- }, {
- "name": "password",
- "value": "Hello\/World"
- }, {
- "name": "resourceName",
- "value": "The\t\"Best\"\tName"
- }
- ]
- }
-} \ No newline at end of file
diff --git a/restapi-call-node/provider/src/test/resources/EscapedJson.json b/restapi-call-node/provider/src/test/resources/EscapedJson.json
deleted file mode 100644
index a7719e819..000000000
--- a/restapi-call-node/provider/src/test/resources/EscapedJson.json
+++ /dev/null
@@ -1 +0,0 @@
-{\"widget\":{\"debug\":false,\"window\":{\"title\":\"ONAP Widget\",\"name\":\"main_window\",\"width\":200,\"height\":300},\"image\":{\"src\":\"images\/moon.png\",\"name\":\"moon\",\"hOffset\":150,\"vOffset\":150,\"alignment\":\"center\"},\"text\":{\"data\":\"Click Me\",\"size\":21,\"style\":\"bold\",\"name\":\"text1\",\"hOffset\":350,\"vOffset\":200,\"alignment\":\"center\"}}} \ No newline at end of file
diff --git a/restapi-call-node/provider/src/test/resources/ObjectMenu.json b/restapi-call-node/provider/src/test/resources/ObjectMenu.json
deleted file mode 100644
index 56f842d48..000000000
--- a/restapi-call-node/provider/src/test/resources/ObjectMenu.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "menu": [{
- "id": "1",
- "type": "pizza",
- "name": "plain",
- "calories": 1000,
- "vegetarian": true
- }, {
- "id": "2",
- "type": "pizza",
- "name": "Tuesday Special",
- "calories": 2000,
- "vegetarian": false,
- "topping":
- [{
- "id": "1",
- "name": "onion"
- }, {
- "id": "2",
- "name": "pepperoni"
- }
- ]
- }, {
- "id": "3",
- "type": "pizza",
- "name": "House Special",
- "calories": 1500,
- "vegetarian": true,
- "topping":
- [{
- "id": "3",
- "name": "basil"
- }, {
- "id": "4",
- "name": "fresh mozzarella"
- }, {
- "id": "5",
- "name": "tomato"
- }
- ]
- }
- ]
-}
diff --git a/restapi-call-node/provider/src/test/resources/Widget.json b/restapi-call-node/provider/src/test/resources/Widget.json
deleted file mode 100644
index 1e25282c2..000000000
--- a/restapi-call-node/provider/src/test/resources/Widget.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "widget": {
- "debug": false,
- "window": {
- "title": "ONAP Widget",
- "name": "main_window",
- "width": 200,
- "height": 300
- },
- "image": {
- "src": "images/moon.png",
- "name": "moon",
- "hOffset": 150,
- "vOffset": 150,
- "alignment": "center"
- },
- "text": {
- "data": "Click Me",
- "size": 21,
- "style": "bold",
- "name": "text1",
- "hOffset": 350,
- "vOffset": 200,
- "alignment": "center"
- }
- }
-} \ No newline at end of file
diff --git a/restapi-call-node/provider/src/test/resources/actokentemplate.json b/restapi-call-node/provider/src/test/resources/actokentemplate.json
deleted file mode 100644
index 02e62400f..000000000
--- a/restapi-call-node/provider/src/test/resources/actokentemplate.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "userName": ${prop.sdncRestApi.thirdpartySdnc.user},
- "password": ${prop.sdncRestApi.thirdpartySdnc.password}
-}
diff --git a/restapi-call-node/provider/src/test/resources/invalidlength.xml b/restapi-call-node/provider/src/test/resources/invalidlength.xml
deleted file mode 100644
index c086d564e..000000000
--- a/restapi-call-node/provider/src/test/resources/invalidlength.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!--
- ============LICENSE_START=======================================================
- openECOMP : SDN-C
- ================================================================================
- Copyright (C) 2017 AT&T Intellectual Property. All rights
- reserved.
- ================================================================================
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- ============LICENSE_END=========================================================
- -->
-
-<ApplyGroupResponse xmlns="http://onap.org/vpn/schema/v1"
- xmlns:ns2="http://onap.org/prov/vpn/schema/v2">
- <ApplyGroupResponseData>
- <ServiceInstanceId>ICOREPVC-81114561</ServiceInstanceId>
- <VrfDetails>
- <End2EndVpnKey>VPNL811182</End2EndVpnKey>
- <VpnId>811182</VpnId>
- <VrfName>21302:811182</VrfName>
- <VrfImport>SET_BVOIP_IN</VrfImport>
- <VrfImport>SET6_BVOIP_IN</VrfImport>
- <VrfExport_length>a</VrfExport_length>
- <VrfExport>SET6_DSU</VrfExport>
- <VrfExport>SET_DSU</VrfExport>
- <VrfExport>SET6_MANAGED</VrfExport>
- <VrfExport>SET_MANAGED</VrfExport>
- <VrfExport>SET_LOVRF_COMMUNITY</VrfExport>
- <VrfExport>SET_RESET_LP</VrfExport>
- <ApplyGroup>
- <ns2:ApplyGroup>AG_MAX_MCASTROUTES</ns2:ApplyGroup>
- </ApplyGroup>
- </VrfDetails>
- </ApplyGroupResponseData>
- <response-code>200</response-code>
- <response-message>Success</response-message>
- <ack-final-indicator>Y</ack-final-indicator>
-</ApplyGroupResponse>
-
diff --git a/restapi-call-node/provider/src/test/resources/l2-dci-connects-template.json b/restapi-call-node/provider/src/test/resources/l2-dci-connects-template.json
deleted file mode 100644
index e0896bbaa..000000000
--- a/restapi-call-node/provider/src/test/resources/l2-dci-connects-template.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "l2-dci-connect": {
- "id": ${prop.dci-connects.id},
- "name": ${prop.dci-connects.name},
- "description": ${prop.dci-connects.description},
- "network_id": ${prop.dci-connects.local_networks[0]},
- "evpn_irts": ${prop.dci-connects.evpn_irts},
- "evpn_erts": ${prop.dci-connects.evpn_erts},
- "vni": ${prop.dci-connects.vni}
- }
-}
diff --git a/restapi-call-node/provider/src/test/resources/l3-dci-connects-template.json b/restapi-call-node/provider/src/test/resources/l3-dci-connects-template.json
deleted file mode 100644
index 41df794fd..000000000
--- a/restapi-call-node/provider/src/test/resources/l3-dci-connects-template.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "l3-dci-connect": {
- "id": ${prop.dci-connects.id},
- "name": ${prop.dci-connects.name},
- "description": ${prop.dci-connects.description},
- "router_id": ${prop.dci-connects.router_id},
- "firewall_enable": false,
- "local_networks": ${prop.dci-connects.local_networks},
- "local_network_all": false,
- "evpn_irts": ${prop.dci-connects.evpn_irts},
- "evpn_erts": ${prop.dci-connects.evpn_erts},
- "l3_vni": ${prop.dci-connects.vni}
- }
-}
diff --git a/restapi-call-node/provider/src/test/resources/l3smsitetemplate.json b/restapi-call-node/provider/src/test/resources/l3smsitetemplate.json
deleted file mode 100644
index 8f8156698..000000000
--- a/restapi-call-node/provider/src/test/resources/l3smsitetemplate.json
+++ /dev/null
@@ -1,162 +0,0 @@
-{
- "site":[
- {
- "site-id": ${prop.l3vpn.site1_name},
- "vpn-policies": {
- "vpn-policy": [
- {
- "vpn-policy-id": ${prop.l3vpn.vpn-policy1-id},
- "entries": [
- {
- "id": ${prop.l3vpn.entry1-id},
- "vpn": {
- "vpn-id": ${prop.l3vpn.name},
- "site-role": "huawei-ac-net-l3vpn-svc:any-to-any-role"
- }
- }
- ]
- }
- ]
- },
- "site-network-accesses": {
- "site-network-access": [
- {
- "site-network-access-id": ${prop.l3vpn.sna1_name},
- "bearer": {
- "appointed-access": {
- "ne-id": ${prop.l3vpn.pe1_id},
- "ltp-id": ${prop.l3vpn.ac1_id},
- "vlan": {
- "type": "huawei-ac-net-l3vpn-svc:vlan-dot1q",
- "vlan-id": ${prop.l3vpn.sna1_svlan}
- }
- }
- },
- "ip-connection": {
- "ipv4": {
- "address-allocation-type": "huawei-ac-net-l3vpn-svc:static-address",
- "addresses": {
- "provider-address": ${prop.l3vpn.ac1-peer-ip},
- "customer-address": ${prop.l3vpn.ac1-ip},
- "mask": "24"
- }
- }
- },
- "service": {
- "mtu": "1500"
- },
- "routing-protocols": {
- "routing-protocol": [
- {
- "type": ${prop.l3vpn.ac1_protocol},
- "static": {
- "cascaded-lan-prefixes": [
- {
- "ipv4-lan-prefixes": [
- {
- "ip-prefix": ${prop.l3vpn.sna1-route.ip-prefix},
- "next-hop": ${prop.l3vpn.sna1-route.next-hop}
- }
- ]
- }
- ]
- }
- "bgp": {
- "peers": [
- {
- "peer-ip": ${prop.l3vpn.peer1-ip},
- "remote-as": ${prop.l3vpn.ac1_protocol_bgp_as}
- }
- ]
- }
- }
- }
- ]
- },
- "vpn-attachment": {
- "vpn-policy-id": ${prop.l3vpn.name}
- }
- }
- ]
- },
- {
- "site-id": ${prop.l3vpn.site2_name},
- "vpn-policies": {
- "vpn-policy": [
- {
- "vpn-policy-id": ${prop.l3vpn.vpn-policy2-id},
- "entries": [
- {
- "id": ${prop.l3vpn.entry2-id},
- "vpn": {
- "vpn-id": ${prop.l3vpn.name},
- "site-role": "huawei-ac-net-l3vpn-svc:any-to-any-role"
- }
- }
- ]
- }
- ]
- },
- "site-network-accesses": {
- "site-network-access": [
- {
- "site-network-access-id": ${prop.l3vpn.sna2_name},
- "bearer": {
- "appointed-access": {
- "ne-id": ${prop.l3vpn.pe2_id},
- "ltp-id": ${prop.l3vpn.ac2_id},
- "vlan": {
- "type": "huawei-ac-net-l3vpn-svc:vlan-dot1q",
- "vlan-id": ${prop.l3vpn.sna2_svlan}
- }
- }
- },
- "ip-connection": {
- "ipv4": {
- "address-allocation-type": "huawei-ac-net-l3vpn-svc:static-address",
- "addresses": {
- "provider-address": ${prop.l3vpn.ac2-peer-ip},
- "customer-address": ${prop.l3vpn.ac2-ip},
- "mask": "24"
- }
- }
- },
- "service": {
- "mtu": "1500"
- },
- "routing-protocols": {
- "routing-protocol": [
- {
- "type": ${prop.l3vpn.ac2_protocol},
- "static": {
- "cascaded-lan-prefixes": [
- {
- "ipv4-lan-prefixes": [
- {
- "ip-prefix": ${prop.l3vpn.sna2-route.ip-prefix},
- "next-hop": ${prop.l3vpn.sna2-route.next-hop}
- }
- ]
- }
- ]
- }
- "bgp": {
- "peers": [
- {
- "peer-ip": ${prop.l3vpn.peer2-ip},
- "remote-as": ${prop.l3vpn.ac2_protocol_bgp_as}
- }
- ]
- }
- }
- ]
- },
- "vpn-attachment": {
- "vpn-policy-id": ${prop.l3vpn.name}
- }
- }
- ]
- }
- ]
-}
-
diff --git a/restapi-call-node/provider/src/test/resources/l3smvpntemplate.json b/restapi-call-node/provider/src/test/resources/l3smvpntemplate.json
deleted file mode 100644
index 30f30a24f..000000000
--- a/restapi-call-node/provider/src/test/resources/l3smvpntemplate.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "vpn-service": [
- {
- "vpn-id": ${prop.l3vpn.name},
- "customer-name": "huawei",
- "vpn-service-topology": ${prop.l3vpn.topology},
- "route-exchange-policy": "huawei-ac-net-l3vpn-svc:vpnv4-way"
- }
- ]
-}
diff --git a/restapi-call-node/provider/src/test/resources/l3smvrftemplate.json b/restapi-call-node/provider/src/test/resources/l3smvrftemplate.json
deleted file mode 100644
index 52359a7fd..000000000
--- a/restapi-call-node/provider/src/test/resources/l3smvrftemplate.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "vrf-attribute": [
- {
- "vrf-attribute-id": ${prop.l3vpn.vrf1-id},
- "ne-id": ${prop.l3vpn.pe1_id},
- "vpn-policy-id": ${prop.l3vpn.vpn-policy1-id}
- },
- {
- "vrf-attribute-id": ${prop.l3vpn.vrf2-id},
- "ne-id": ${prop.l3vpn.pe2_id},
- "vpn-policy-id": ${prop.l3vpn.vpn-policy2-id}
- }
- ]
-}
diff --git a/restapi-call-node/provider/src/test/resources/partners.json b/restapi-call-node/provider/src/test/resources/partners.json
deleted file mode 100755
index 2562d69c0..000000000
--- a/restapi-call-node/provider/src/test/resources/partners.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "partnerOne": {
- "url": "http://localhost:7001",
- "test": "/metrics"
- },
- "partnerTwo": {
- "url": "http://localhost:7002",
- "user": "controller_user",
- "password": "P@ssword",
- "test": "/metrics"
- },
- "partnerThree": {
- "url": "http://localhost:7003",
- "user": "controller_admin"
- },
- "partnerFour": {
- "url": "http://localhost:7004",
- "user": "m30402@sdncp.att.com",
- "password": "${deployer_pass}",
- "test": "/metrics"
- }
-}
diff --git a/restapi-call-node/provider/src/test/resources/sdwan-site.json b/restapi-call-node/provider/src/test/resources/sdwan-site.json
deleted file mode 100644
index 238ec7642..000000000
--- a/restapi-call-node/provider/src/test/resources/sdwan-site.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "sites": [
- {
- "name": ${prop.name},
- "controlPoints": []
- }
- ]
-}
-
-
diff --git a/restapi-call-node/provider/src/test/resources/sdwan-vpn-topology.json b/restapi-call-node/provider/src/test/resources/sdwan-vpn-topology.json
deleted file mode 100644
index 4260d2fc1..000000000
--- a/restapi-call-node/provider/src/test/resources/sdwan-vpn-topology.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "vpnId": ${prop.vpn1Id},
- "areas": [
- {
- "name": "area1",
- "areaType": "leaf",
- "topologyType": ${prop.topology},
- "siteAttachements": [${repeat:prop.siteAttachement_length:
- {
- "siteId": ${prop.siteAttachement[${1}].siteId},
- "role": [${repeat:prop.siteAttachement[${1}].roles_length:
- ${prop.siteAttachement[${1}].roles[${2}]},
- }
- ],
- "workMode": "with-interconnection",
- "sitePriority": "active",
- "borders": "null"
- },
- }
- ]
- }
- ]
-} \ No newline at end of file
diff --git a/restapi-call-node/provider/src/test/resources/test-template.json b/restapi-call-node/provider/src/test/resources/test-template.json
deleted file mode 100644
index ae519a731..000000000
--- a/restapi-call-node/provider/src/test/resources/test-template.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "sdn-circuit-request": [
- ${repeat:tmp.sdn-circuit-req-row_length:
- {
- "request-id": ${tmp.sdn-circuit-req-row[${1}].request-id},
- "source-uid": ${tmp.sdn-circuit-req-row[${1}].source-uid},
- "action": ${tmp.sdn-circuit-req-row[${1}].action},
- "request-timestamp": ${tmp.sdn-circuit-req-row[${1}].request-timestamp},
- "update-timestamp": ${tmp.sdn-circuit-req-row[${1}].update-timestamp},
- "request-status": ${tmp.sdn-circuit-req-row[${1}].request-status},
- "processing-status": ${tmp.sdn-circuit-req-row[${1}].processing-status},
- "reason-code": ${tmp.sdn-circuit-req-row[${1}].reason-code},
- "reason-message": ${tmp.sdn-circuit-req-row[${1}].reason-message},
- "customer-code": ${tmp.sdn-circuit-req-row[${1}].customer-code},
- "bundle-id": ${tmp.sdn-circuit-req-row[${1}].bundle-id},
- "router-name-1": ${tmp.sdn-circuit-req-row[${1}].router-name-1},
- "tail-clfi-1": ${tmp.sdn-circuit-req-row[${1}].tail-clfi-1},
- "srg-1": ${tmp.sdn-circuit-req-row[${1}].srg-1},
- "router-name-2": ${tmp.sdn-circuit-req-row[${1}].router-name-2},
- "tail-clfi-2": ${tmp.sdn-circuit-req-row[${1}].tail-clfi-2},
- "srg-2": ${tmp.sdn-circuit-req-row[${1}].srg-2},
- "facility-speed": ${tmp.sdn-circuit-req-row[${1}].facility-speed},
- "facility-speed-units": ${tmp.sdn-circuit-req-row[${1}].facility-speed-units},
- "facility-type": ${tmp.sdn-circuit-req-row[${1}].facility-type},
- "service-clfi": ${tmp.sdn-circuit-req-row[${1}].service-clfi},
- "clci": ${tmp.sdn-circuit-req-row[${1}].clci},
- "wavelength-purpose": ${tmp.sdn-circuit-req-row[${1}].wavelength-purpose},
- "activate-setting": ${tmp.sdn-circuit-req-row[${1}].activate-setting},
- "apply-date": ${tmp.sdn-circuit-req-row[${1}].apply-date},
- "run-id": ${tmp.sdn-circuit-req-row[${1}].run-id},
- "hostname": ${tmp.sdn-circuit-req-row[${1}].hostname},
- "algo-request-reason": ${tmp.sdn-circuit-req-row[${1}].algo-request-reason}
- "test-empty-value": ${tmp.sdn-circuit-req-row[${1}].test-empty-value}
- },
- }
- ]
-}
diff --git a/restapi-call-node/provider/src/test/resources/test.json b/restapi-call-node/provider/src/test/resources/test.json
deleted file mode 100644
index 75155393c..000000000
--- a/restapi-call-node/provider/src/test/resources/test.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "equipment-data": [
- {
- "server-count": "4",
- "max-server-speed": "1600000",
- "number-primary-servers": "2",
- "equipment-id": "Server1",
- "server-model": "Unknown",
- "server-id": "Server1",
- "test-node" : {
- "test-inner-node" : "Test-Value"
- }
- }
- ],
- "resource-state": {
- "threshold-value": "1600000",
- "last-added": "1605000",
- "used": "1605000",
- "limit-value": "1920000"
- },
- "resource-rule": {
- "endpoint-position": "VCE-Cust",
- "soft-limit-expression": "0.6 * max-server-speed * number-primary-servers",
- "resource-name": "Bandwidth",
- "service-model": "DUMMY",
- "hard-limit-expression": "max-server-speed * number-primary-servers",
- "equipment-level": "Server"
- },
- "message": "The provisioned access bandwidth is at or exceeds 50% of the total server capacity."
-}
diff --git a/restapi-call-node/provider/src/test/resources/test.xml b/restapi-call-node/provider/src/test/resources/test.xml
deleted file mode 100644
index 1974f688e..000000000
--- a/restapi-call-node/provider/src/test/resources/test.xml
+++ /dev/null
@@ -1,182 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ============LICENSE_START=======================================================
- openECOMP : SDN-C
- ================================================================================
- Copyright (C) 2017 AT&T Intellectual Property. All rights
- reserved.
- ================================================================================
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- ============LICENSE_END=========================================================
- -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.onap.ccsdk.sli.plugins</groupId>
- <artifactId>restapi-call-node</artifactId>
- <version>6.0.0-SNAPSHOT</version>
- </parent>
- <artifactId>restapi-call-node-provider</artifactId>
- <packaging>bundle</packaging>
- <name>RESTAPI Call Node - Provider</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>3.1.4.RELEASE</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.sli</groupId>
- <artifactId>sli-common</artifactId>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.sli</groupId>
- <artifactId>sli-provider</artifactId>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- <version>3.1.4.RELEASE</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <version>3.1.4.RELEASE</version>
- </dependency>
- <dependency>
- <groupId>xerces</groupId>
- <artifactId>xerces</artifactId>
- <version>2.4.0</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.jersey</groupId>
- <artifactId>jersey-client</artifactId>
- <version>1.17</version>
- </dependency>
- <dependency>
- <groupId>com.sun.jersey.contribs.jersey-oauth</groupId>
- <artifactId>oauth-signature</artifactId>
- <version>1.17</version>
- </dependency>
- <dependency>
- <groupId>com.sun.jersey.contribs.jersey-oauth</groupId>
- <artifactId>oauth-client</artifactId>
- <version>1.17</version>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>com.brocade.developer</groupId>
- <artifactId>providermodule-plugin</artifactId>
- <configuration>
- <packageId>org.onap.ccsdk.sli.plugins</packageId>
- <appName>restapi-call-node</appName>
- </configuration>
- <executions>
- <execution>
- <phase>process-sources</phase>
- <goals>
- <goal>process</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
-
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-SymbolicName>org.onap.ccsdk.sli.plugins.restapicall</Bundle-SymbolicName>
- <Export-Package>org.onap.ccsdk.sli.plugins.restapicall</Export-Package>
- <Import-Package>*</Import-Package>
- </instructions>
-
- <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
-
- </configuration>
-
- </plugin>
-
-
- </plugins>
- <pluginManagement>
- <plugins>
- <!--This plugin's configuration is used to store Eclipse m2e settings
- only. It has no influence on the Maven build itself. -->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>
- com.brocade.developer
- </groupId>
- <artifactId>
- providermodule-plugin
- </artifactId>
- <versionRange>
- [1.2.0.100-SNAPSHOT,)
- </versionRange>
- <goals>
- <goal>process</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
diff --git a/restapi-call-node/provider/src/test/resources/test3.xml b/restapi-call-node/provider/src/test/resources/test3.xml
deleted file mode 100644
index ade412681..000000000
--- a/restapi-call-node/provider/src/test/resources/test3.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!--
- ============LICENSE_START=======================================================
- openECOMP : SDN-C
- ================================================================================
- Copyright (C) 2017 AT&T Intellectual Property. All rights
- reserved.
- ================================================================================
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- ============LICENSE_END=========================================================
- -->
-
-<ApplyGroupResponse xmlns="http://onap.org/vpn/schema/v1"
- xmlns:ns2="http://onap.org/prov/vpn/schema/v2">
- <ApplyGroupResponseData>
- <ServiceInstanceId>ICOREPVC-81114561</ServiceInstanceId>
- <VrfDetails>
- <End2EndVpnKey>VPNL811182</End2EndVpnKey>
- <VpnId>811182</VpnId>
- <VrfName>21302:811182</VrfName>
- <VrfImport>SET_BVOIP_IN</VrfImport>
- <VrfImport>SET6_BVOIP_IN</VrfImport>
- <VrfExport>SET6_DSU</VrfExport>
- <VrfExport>SET_DSU</VrfExport>
- <VrfExport>SET6_MANAGED</VrfExport>
- <VrfExport>SET_MANAGED</VrfExport>
- <VrfExport>SET_LOVRF_COMMUNITY</VrfExport>
- <VrfExport>SET_RESET_LP</VrfExport>
- <ApplyGroup>
- <ns2:ApplyGroup>AG_MAX_MCASTROUTES</ns2:ApplyGroup>
- </ApplyGroup>
- </VrfDetails>
- <RoutingApplyGroups>
- <RoutingProtocol>BGP4_PROTOCOL</RoutingProtocol>
- <Family>v4</Family>
- <PeerGroupName>gp_21302:811182</PeerGroupName>
- <ApplyGroupPeer>
- <ns2:ApplyGroup>AG_L3VPN_EBGP</ns2:ApplyGroup>
- </ApplyGroupPeer>
- <ApplyGroupPeer>
- <ns2:ApplyGroup>AG_MAX_PREFIX</ns2:ApplyGroup>
- </ApplyGroupPeer>
- <ApplyGroupNeighbour>
- <ns2:ApplyGroup>AG_BGP_UNMANAGED</ns2:ApplyGroup>
- </ApplyGroupNeighbour>
- <ApplyGroupNeighbour>
- <ns2:ApplyGroup>AG_BFD_BGP_3000</ns2:ApplyGroup>
- </ApplyGroupNeighbour>
- </RoutingApplyGroups>
- <RoutingApplyGroups>
- <RoutingProtocol>BGP4_PROTOCOL</RoutingProtocol>
- <Family>v6</Family>
- <PeerGroupName>gp6_21302:811182</PeerGroupName>
- <ApplyGroupPeer>
- <ns2:ApplyGroup>AG6_L3VPN_EBGP</ns2:ApplyGroup>
- </ApplyGroupPeer>
- <ApplyGroupPeer>
- <ns2:ApplyGroup>AG6_MAX_PREFIX</ns2:ApplyGroup>
- </ApplyGroupPeer>
- <ApplyGroupNeighbour>
- <ns2:ApplyGroup>AG6_BGP_UNMANAGED</ns2:ApplyGroup>
- </ApplyGroupNeighbour>
- <ApplyGroupNeighbour>
- <ns2:ApplyGroup>AG6_BFD_BGP_3000</ns2:ApplyGroup>
- </ApplyGroupNeighbour>
- </RoutingApplyGroups>
- </ApplyGroupResponseData>
- <response-code>200</response-code>
- <response-message>Success</response-message>
- <ack-final-indicator>Y</ack-final-indicator>
-</ApplyGroupResponse>
-
diff --git a/restapi-call-node/provider/src/test/resources/testEmbeddedTemplate.json b/restapi-call-node/provider/src/test/resources/testEmbeddedTemplate.json
deleted file mode 100644
index 7f2377813..000000000
--- a/restapi-call-node/provider/src/test/resources/testEmbeddedTemplate.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "commonHeader": {
- "origin": "earth",
- "requestId": ${reqId},
- "subRequestId": ${subReqId}
- },
- "actions": {
- "actionName": ${actionName},
- "mode": "sync"
- },
- "payload": {
- "assignment-request": {
- "prefix": [
- ${myPrefix}
- ],
- "assignment-properties": ${'"complexObj}
- }
- }
-}
-
diff --git a/restapi-call-node/provider/src/test/resources/testMultiLineEmbeddedTemplate.json b/restapi-call-node/provider/src/test/resources/testMultiLineEmbeddedTemplate.json
deleted file mode 100644
index 84ae3a492..000000000
--- a/restapi-call-node/provider/src/test/resources/testMultiLineEmbeddedTemplate.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "commonHeader": {
- "origin": "earth",
- "requestId": ${reqId},
- "subRequestId": ${subReqId}
- },
- "actions": {
- "actionName": ${actionName},
- "mode": "sync"
- },
- "payload": {
- "assignment-request": {
- "prefix": [
- ${myPrefix}
- ],
- "assignment-properties": ${complexObj}
- }
- }
-}
-
diff --git a/restapi-call-node/provider/src/test/resources/test_file.txt b/restapi-call-node/provider/src/test/resources/test_file.txt
deleted file mode 100644
index 038d757dc..000000000
--- a/restapi-call-node/provider/src/test/resources/test_file.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-“You think your pain and your heartbreak are unprecedented in the history of the world, but then you read. It was books that taught me that the things that tormented me most were the very things that connected me with all the people who were alive, who had ever been alive.” – James Baldwin
-“When I have a little money, I buy books; and if I have any left, I buy food and clothes.” – Erasmus
-“If you only read the books that everyone else is reading, you can only think what everyone else is thinking.” – Haruki Murakami
-“You don’t have to burn books to destroy a culture. Just get people to stop reading them.” – Ray Bradbury
-“A reader lives a thousand lives before he dies, said Jojen. The man who never reads lives only one.” – George R.R. Martin
diff --git a/restapi-call-node/provider/src/test/resources/ueb.properties b/restapi-call-node/provider/src/test/resources/ueb.properties
deleted file mode 100644
index 96657ee1a..000000000
--- a/restapi-call-node/provider/src/test/resources/ueb.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-#for other servers see http://sa2020.it.att.com:8888/sw/cambria/installs
-
-#to check connectivity http://hostname:3904/metrics
-
-servers=http://uebsb91kcdc.it.att.com:3904 http://uebsb92kcdc.it.att.com:3904 http://uebsb93kcdc.it.att.com:3904
-