diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2020-12-01 11:33:35 -0800 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2020-12-01 11:33:35 -0800 |
commit | 96a9aafdff7813324bc8a8ba1e743683e251dde6 (patch) | |
tree | 644c6837ab58ed21fb05f4bf988dc392875b9f8d /restapi-call-node/provider/src/main/resources | |
parent | a0e97e71a49a8b54fddf8fb004b32f202f114011 (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/main/resources')
21 files changed, 0 insertions, 655 deletions
diff --git a/restapi-call-node/provider/src/main/resources/OSGI-INF/blueprint/restapi-call-node-blueprint.xml b/restapi-call-node/provider/src/main/resources/OSGI-INF/blueprint/restapi-call-node-blueprint.xml deleted file mode 100755 index 390bb0a35..000000000 --- a/restapi-call-node/provider/src/main/resources/OSGI-INF/blueprint/restapi-call-node-blueprint.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" - xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0" - odl:use-default-for-reference-types="true"> - - <bean id="restapiCallNodeProvider" class="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" /> - - - - <service ref="restapiCallNodeProvider"> - <interfaces> - <value>org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode</value> - </interfaces> - </service> - -</blueprint>
\ No newline at end of file diff --git a/restapi-call-node/provider/src/main/resources/actokentemplate.json b/restapi-call-node/provider/src/main/resources/actokentemplate.json deleted file mode 100644 index 02e62400f..000000000 --- a/restapi-call-node/provider/src/main/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/main/resources/default-ueb-message.json b/restapi-call-node/provider/src/main/resources/default-ueb-message.json deleted file mode 100644 index 484d872f5..000000000 --- a/restapi-call-node/provider/src/main/resources/default-ueb-message.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "event":{ - "header":{ - "eventSource":"sdn-c" - }, - "body": - -${rootVarName} - - } -} diff --git a/restapi-call-node/provider/src/main/resources/get-multicast-data.json b/restapi-call-node/provider/src/main/resources/get-multicast-data.json deleted file mode 100644 index 3b9997f64..000000000 --- a/restapi-call-node/provider/src/main/resources/get-multicast-data.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "input": { - "sdnc-request-header": { - "svc-request-id": ${connection-details-notification-input.configuration-response-common.svc-request-id}, - "svc-action": "updatemulticastvpn" - }, - "service-information": { - "service-type": "AVPN", - "service-instance-id": ${tmp.ete-vpn-key} - } - } -} - diff --git a/restapi-call-node/provider/src/main/resources/l2-dci-connects-template.json b/restapi-call-node/provider/src/main/resources/l2-dci-connects-template.json deleted file mode 100644 index e0896bbaa..000000000 --- a/restapi-call-node/provider/src/main/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/main/resources/l3-dci-connects-template.json b/restapi-call-node/provider/src/main/resources/l3-dci-connects-template.json deleted file mode 100644 index 41df794fd..000000000 --- a/restapi-call-node/provider/src/main/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/main/resources/l3smsitetemplate.json b/restapi-call-node/provider/src/main/resources/l3smsitetemplate.json deleted file mode 100644 index 8f8156698..000000000 --- a/restapi-call-node/provider/src/main/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/main/resources/l3smvpntemplate.json b/restapi-call-node/provider/src/main/resources/l3smvpntemplate.json deleted file mode 100644 index 30f30a24f..000000000 --- a/restapi-call-node/provider/src/main/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/main/resources/l3smvrftemplate.json b/restapi-call-node/provider/src/main/resources/l3smvrftemplate.json deleted file mode 100644 index 52359a7fd..000000000 --- a/restapi-call-node/provider/src/main/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/main/resources/northbound-api-template.json b/restapi-call-node/provider/src/main/resources/northbound-api-template.json deleted file mode 100644 index f185c8f5d..000000000 --- a/restapi-call-node/provider/src/main/resources/northbound-api-template.json +++ /dev/null @@ -1,22 +0,0 @@ -{ -"input": - { - "sdnc-request-header":{ - "svc-request-id": ${service-topology-operation-input.sdnc-request-header.svc-request-id}, - "svc-notification-url": ${service-topology-operation-input.sdnc-request-header.svc-notification-url} - }, - "request-information":{ - "request-id": ${service-topology-operation-input.request-information.request-id}, - "request-action": ${service-topology-operation-input.request-information.request-action}, - "request-sub-action": ${service-topology-operation-input.request-information.request-sub-action}, - "source": ${service-topology-operation-input.request-information.source}, - "notification-url": ${service-topology-operation-input.request-information.notification-url} - }, - "service-information":{ - "service-type": ${service-topology-operation-input.service-information.service-type}, - "service-instance-id": ${service-topology-operation-input.service-information.service-instance-id}, - "subscriber-name": ${service-topology-operation-input.service-information.subscriber-name}, - "subscriber-global-id": ${service-topology-operation-input.service-information.subscriber-global-id} - } -} - diff --git a/restapi-call-node/provider/src/main/resources/northbound-api-template.xml b/restapi-call-node/provider/src/main/resources/northbound-api-template.xml deleted file mode 100644 index aea0625c1..000000000 --- a/restapi-call-node/provider/src/main/resources/northbound-api-template.xml +++ /dev/null @@ -1,43 +0,0 @@ -<!-- - ============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========================================================= - --> - - <input xmlns="${northbound-xmlNS}"> - <${northbound-Container}> - <request-information> - <notification-url>${service-topology-operation-input.request-information.notification-url}</notification-url> - <request-action>${service-topology-operation-input.request-information.request-action}</request-action> - <request-id>${service-topology-operation-input.request-information.request-id}</request-id> - <request-sub-action>${service-topology-operation-input.request-information.request-sub-action}</request-sub-action> - <source>${service-topology-operation-input.request-information.source}</source> - </request-information> - <sdnc-request-header> - <svc-notification-url>${service-topology-operation-input.sdnc-request-header.svc-notification-url}</svc-notification-url> - <svc-request-id>${service-topology-operation-input.sdnc-request-header.svc-request-id}</svc-request-id> - </sdnc-request-header> - <service-information> - <service-instance-id>${service-topology-operation-input.service-information.service-instance-id}</service-instance-id> - <service-type>${service-topology-operation-input.service-information.service-type}</service-type> - <subscriber-global-id>${service-topology-operation-input.service-information.subscriber-global-id}</subscriber-global-id> - <subscriber-name>${service-topology-operation-input.service-information.subscriber-name}</subscriber-name> - </service-information> - ${'northbound-anyData} - </${northbound-Container}> - </input> diff --git a/restapi-call-node/provider/src/main/resources/org/opendaylight/blueprint/restapi-call-node-blueprint.xml b/restapi-call-node/provider/src/main/resources/org/opendaylight/blueprint/restapi-call-node-blueprint.xml deleted file mode 100755 index 390bb0a35..000000000 --- a/restapi-call-node/provider/src/main/resources/org/opendaylight/blueprint/restapi-call-node-blueprint.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" - xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0" - odl:use-default-for-reference-types="true"> - - <bean id="restapiCallNodeProvider" class="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" /> - - - - <service ref="restapiCallNodeProvider"> - <interfaces> - <value>org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode</value> - </interfaces> - </service> - -</blueprint>
\ No newline at end of file diff --git a/restapi-call-node/provider/src/main/resources/service-configuration-notification-northbound-template.json b/restapi-call-node/provider/src/main/resources/service-configuration-notification-northbound-template.json deleted file mode 100644 index c64661720..000000000 --- a/restapi-call-node/provider/src/main/resources/service-configuration-notification-northbound-template.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "input": { - "svc-request-id": ${service-configuration-notification-input.svc-request-id}, - "response-code": ${service-configuration-notification-input.response-code}, - "response-message": ${service-configuration-notification-input.response-message}, - "ack-final-indicator": ${service-configuration-notification-input.ack-final-indicator}, - "service-information": { - "service-type": ${service-data.service-information.service-type}, - "service-instance-id": ${service-data.service-information.service-instance-id}, - "subscriber-name": ${service-data.service-information.subscriber-name}, - "subscriber-global-id": ${service-data.service-information.subscriber-global-id} - }, - "response-parameters": [ - ${repeat:service-configuration-notification-input.response-parameters_length: - { - "sequence-number": ${service-configuration-notification-input.response-parameters[${1}].sequence-number}, - "tag-name": ${service-configuration-notification-input.response-parameters[${1}].tag-name}, - "tag-value": ${service-configuration-notification-input.response-parameters[${1}].tag-value} - } - } - ] - } -} diff --git a/restapi-call-node/provider/src/main/resources/sptn-l3vpn-template.json b/restapi-call-node/provider/src/main/resources/sptn-l3vpn-template.json deleted file mode 100644 index e850cb9a0..000000000 --- a/restapi-call-node/provider/src/main/resources/sptn-l3vpn-template.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "snc-l3vpn": { - "-xmlns": "urn:chinamobile:l3vpn", - "operate-status": "operate-up", - "traffic-class": "BE", - "acs": { - "l3-acs": [ - { - "id": "0", - "ne-id": ${prop.l3vpn.pe1_id}, - "ltp-id": ${prop.l3vpn.ac1_id}, - "ip-addr": ${prop.l3vpn.ac1_ip.value}, - "ip-mask": ${prop.l3vpn.ac1_ip.mask}, - "access-type": "Sub-interface", - "vlan": ${prop.l3vpn.ac1_svlan}, - "qos": { - "belonged-id": ${prop.l3vpn.ac1_id}, - "tunnel-mode": "pipeline", - "cac-mode": "1", - "convg-mode": "0", - "traffic-adj-mode": "0", - "a2z-policing": "1", - "z2a-policing": "1", - "a2z-cir": "5000", - "z2a-cir": "5000", - "a2z-pir": "1000000", - "z2a-pir": "1000000", - "a2z-cbs": "1024", - "z2a-cbs": "1024", - "a2z-pbs": "1024", - "z2a-pbs": "1024", - "a2z-color-mode": "0", - "z2a-color-mode": "0", - "traffic-class": "CS7" - }, - "protocol-list": { - "protocols": { - "protocol-type": "static", - "static-route-list": { - "static-routes": [ - { - "id": "0", - "dest-ip": ${prop.l3vpn.ac1_peer_ip.value}, - "dest-mask": ${prop.l3vpn.ac1_peer_ip.mask}, - "route-type": "direct-route", - "out-inf": ${prop.l3vpn.ac1_id}, - "route-weight": "3", - "route-status": "up" - } - ] - } - } - } - }, - { - "id": "1", - "ne-id": ${prop.l3vpn.pe2_id}, - "ltp-id": ${prop.l3vpn.ac2_id}, - "ip-addr": ${prop.l3vpn.ac2_ip.value}, - "ip-mask": ${prop.l3vpn.ac2_ip.mask}, - "access-type": "Sub-interface", - "vlan": ${prop.l3vpn.ac1_svlan}, - "qos": { - "belonged-id": ${prop.l3vpn.ac2_id}, - "tunnel-mode": "pipeline", - "cac-mode": "1", - "convg-mode": "0", - "traffic-adj-mode": "0", - "a2z-policing": "1", - "z2a-policing": "1", - "a2z-cir": "5000", - "z2a-cir": "5000", - "a2z-pir": "1000000", - "z2a-pir": "1000000", - "a2z-cbs": "1024", - "z2a-cbs": "1024", - "a2z-pbs": "1024", - "z2a-pbs": "1024", - "a2z-color-mode": "0", - "z2a-color-mode": "0", - "traffic-class": "CS7" - }, - "protocol-list": { - "protocols": { - "protocol-type": "static", - "static-route-list": { - "static-routes": [ - { - "id": "0", - "dest-ip": ${prop.l3vpn.ac2_peer_ip.value}, - "dest-mask": ${prop.l3vpn.ac2_peer_ip.mask}, - "route-type": "direct-route", - "out-inf": ${prop.l3vpn.ac2_id}, - "route-weight": "4", - "route-status": "up" - } - ] - } - } - } - } - ] - }, - "user-label": ${prop.l3vpn.name}, - "topo-mode": "any-to-any", - "admin-status": "admin-up", - "tunnel-create-policy": { - "user-label": "tunnel", - "tenant-id": "tunnel", - "direction": "bidirection", - "type": "1", - "admin-status": "admin-up", - "qos": { - "tunnel-mode": "pipeline", - "cac-mode": "1", - "convg-mode": "0", - "traffic-adj-mode": "0", - "a2z-policing": "0", - "a2z-cir": "500", - "a2z-pir": "1000000", - "a2z-cbs": "1024", - "a2z-pbs": "1024", - "a2z-color-mode": "0", - "z2a-policing": "0", - "z2a-cir": "500", - "z2a-pir": "1000000", - "z2a-cbs": "1024", - "z2a-pbs": "1024", - "z2a-color-mode": "0", - "traffic-class": "CS7" - }, - "snc-switch": { - "layer-rate": "LSP", - "linear-protection-type": "path-protection-1-to-1", - "linear-protection-protocol": "APS", - "switch-mode": "double-end-switch", - "revertive-mode": "revertive", - "wtr": "60", - "hold-off-time": "0", - "reroute-revertive-mode": "revertive", - "reroute-wtr": "50" - }, - "lsp-oam": { - "cc-allow": "true", - "cc-exp": "CS7", - "cc-interval": "3.3", - "lm-mode": "preactive", - "dm-mode": "preactive", - "meps": { - "mep": [ - { "id": "1" }, - { "id": "2" } - ] - } - } - } - } -} - diff --git a/restapi-call-node/provider/src/main/resources/update-vpe-data-with-apply-group.json b/restapi-call-node/provider/src/main/resources/update-vpe-data-with-apply-group.json deleted file mode 100644 index 979857521..000000000 --- a/restapi-call-node/provider/src/main/resources/update-vpe-data-with-apply-group.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "vrf-export-details": [ - ${repeat:restapi-result.ApplyGroupResponse.ApplyGroupResponseData[0].VrfDetails.VrfExport_length: - { - "vrf-export": ${restapi-result.ApplyGroupResponse.ApplyGroupResponseData[0].VrfDetails.VrfExport[${1}]} - } - } - ], - "vrf-import-details": [ - ${repeat:restapi-result.ApplyGroupResponse.ApplyGroupResponseData[0].VrfDetails.VrfImport_length: - { - "vrf-import": ${restapi-result.ApplyGroupResponse.ApplyGroupResponseData[0].VrfDetails.VrfImport[${1}]} - } - } - ], - "apply-group-template": [ - ${repeat:restapi-result.ApplyGroupResponse.ApplyGroupResponseData[0].VrfDetails.ApplyGroup_length: - { - "apply-group": ${restapi-result.ApplyGroupResponse.ApplyGroupResponseData[0].VrfDetails.ApplyGroup[${1}].ApplyGroup} - } - } - ], - "community-list": [ - ${repeat:restapi-result.ApplyGroupResponse.ApplyGroupResponseData[0].VrfDetails.CommunityList_length: - { - "member": ${restapi-result.ApplyGroupResponse.ApplyGroupResponseData[0].VrfDetails.CommunityList[${1}].member}, - "name": ${restapi-result.ApplyGroupResponse.ApplyGroupResponseData[0].VrfDetails.CommunityList[${1}].name} - } - } - ] -} - diff --git a/restapi-call-node/provider/src/main/resources/vnf-information-update.json b/restapi-call-node/provider/src/main/resources/vnf-information-update.json deleted file mode 100644 index d554624c7..000000000 --- a/restapi-call-node/provider/src/main/resources/vnf-information-update.json +++ /dev/null @@ -1,3 +0,0 @@ -{ -"generic-vnf-service" :${vnf-service.generic-vnf-service} -} diff --git a/restapi-call-node/provider/src/main/resources/vpn-allocation-request.json b/restapi-call-node/provider/src/main/resources/vpn-allocation-request.json deleted file mode 100644 index 7a689bd5c..000000000 --- a/restapi-call-node/provider/src/main/resources/vpn-allocation-request.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "AllocateVpnResourcesRequest": { - "message-id": "${service-data.oper-status.modify-timestamp}", - "service-instance-id": "${service-data.service-information.service-instance-id}", - "vrf-request-type": { - "vpn-id": "${service-data.avpn-logicalchannel-information.vpn-id}", - "vpn-service": "${service-data.service-information.service-type}", - "e2e-vpn-id": "${service-data.avpn-logicalchannel-information.e2e-vpn-id}", - "vpe-name": "${service-data.avpn-logicalchannel-information.evc-endpoint-information.vpe-name}", - "asn": "${service-data.avpn-logicalchannel-information.carrier-asn}", - "route-group-name": "${service-data.avpn-logicalchannel-information.bgp-options.neighbor-address-information.route-group-name}", - "hub-or-spoke": "${service-data.avpn-logicalchannel-information.hub-or-spoke}" - } - } -} diff --git a/restapi-call-node/provider/src/main/resources/vpn-information-update.json b/restapi-call-node/provider/src/main/resources/vpn-information-update.json deleted file mode 100644 index 3ac16e291..000000000 --- a/restapi-call-node/provider/src/main/resources/vpn-information-update.json +++ /dev/null @@ -1,3 +0,0 @@ -{ -"vpn-information" :${vpe-vpn-service.vpn-information} -} diff --git a/restapi-call-node/provider/src/main/resources/vrf-service-configuration-information-template.json b/restapi-call-node/provider/src/main/resources/vrf-service-configuration-information-template.json deleted file mode 100644 index c6defb405..000000000 --- a/restapi-call-node/provider/src/main/resources/vrf-service-configuration-information-template.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "input": { - - "e2e-vpn-key": ${service-data.avpn-logicalchannel-information.e2e-vpn-id}, - "logical-channel-id": ${service-data.service-information.service-instance-id}, - "vpe-name": ${service-data.avpn-logicalchannel-information.evc-endpoint-information.vpe-name}, - "rpc-action": ${tmp.rpc-action}, - - "vpn-information": ${vpe-vpn-service.vpn-information}, - "vrf-details": ${vpe-vpn-service.vpn-information.vrf-details}, - "vrf-vlan-resources": { - "logical-channel-id": ${service-data.service-information.service-instance-id}, - "logical-channel-status": ${tmp.logical-channel-status} - } - } -} diff --git a/restapi-call-node/provider/src/main/resources/vrf-update-vlan-status-template.json b/restapi-call-node/provider/src/main/resources/vrf-update-vlan-status-template.json deleted file mode 100644 index f6381256f..000000000 --- a/restapi-call-node/provider/src/main/resources/vrf-update-vlan-status-template.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "input": { - "e2e-vpn-key": ${service-data.avpn-logicalchannel-information.e2e-vpn-id}, - "logical-channel-id": ${service-data.service-information.service-instance-id}, - "vpe-name": ${service-data.avpn-logicalchannel-information.evc-endpoint-information.vpe-name}, - "rpc-action": ${tmp.rpc-action}, - "vrf-vlan-resources": { - "logical-channel-id": ${service-data.service-information.service-instance-id}, - "logical-channel-status": ${tmp.logical-channel-status} - } - } -} diff --git a/restapi-call-node/provider/src/main/resources/vrf-update.json b/restapi-call-node/provider/src/main/resources/vrf-update.json deleted file mode 100644 index cdaef4d82..000000000 --- a/restapi-call-node/provider/src/main/resources/vrf-update.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "vpn-vame": ${allocate-vpn-resource-notification-input.vpn-data[0].vpn-name}, - "vpn-id": ${allocate-vpn-resource-notification-input.vpn-data[0].vpn-id}, - "vrf-details": [ - ${repeat:allocate-vpn-resource-notification-input.vpn-data[0].vrf-information_length: - { - "vrf-export-details": [ - ${repeat:allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].vrf-export-details_length: - { - "vrf-export": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].vrf-export-details[${2}].vrf-export} - } - } - ], - "vrf-name": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].vrf-name}, - "vpe-name": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].vpe-name}, - "vrf-import-details": [ - ${repeat:allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].vrf-import-details_length: - { - "vrf-import": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].vrf-import-details[${2}].vrf-import} - } - } - ], - "apply-group-template": [ - ${repeat:allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].apply-group-template_length: - { - "apply-group": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].apply-group-template[${2}].apply-group} - } - } - ], - "community-list": [ - ${repeat:allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].community-list_length: - { - "member": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].community-list[${2}].name}, - "name": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].community-list[${2}].member} - } - } - ], - "router-distinguisher": ${allocate-vpn-resource-notification-input.vpn-data[0].vrf-information[${1}].router-distinguisher} - } - } - ], - "spoke-routes": { - "route-target": ${allocate-vpn-resource-notification-input.vpn-data[0].spoke-route-target.route-target} - }, - - "route-target-details": [ - ${repeat:allocate-vpn-resource-notification-input.vpn-data[0].route-target-details_length: - { - "route-target": ${allocate-vpn-resource-notification-input.vpn-data[0].route-target-details[${1}].route-target}, - "route-target-type": ${allocate-vpn-resource-notification-input.vpn-data[0].route-target-details[${1}].route-target-type} - } - } - ], - - "e2e-vpn-key": ${allocate-vpn-resource-notification-input.vpn-data[0].e2e-vpn-id} -} |