summaryrefslogtreecommitdiffstats
path: root/restapi-call-node/provider/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'restapi-call-node/provider/src/main/resources')
-rw-r--r--restapi-call-node/provider/src/main/resources/META-INF/spring/restapi-call-node-context.xml30
-rw-r--r--restapi-call-node/provider/src/main/resources/META-INF/spring/restapi-call-node-osgi-context.xml8
-rw-r--r--restapi-call-node/provider/src/main/resources/default-ueb-message.json12
-rw-r--r--restapi-call-node/provider/src/main/resources/northbound-api-template.json42
-rw-r--r--restapi-call-node/provider/src/main/resources/northbound-api-template.xml2
5 files changed, 47 insertions, 47 deletions
diff --git a/restapi-call-node/provider/src/main/resources/META-INF/spring/restapi-call-node-context.xml b/restapi-call-node/provider/src/main/resources/META-INF/spring/restapi-call-node-context.xml
index 25ce0120a..87850624c 100644
--- a/restapi-call-node/provider/src/main/resources/META-INF/spring/restapi-call-node-context.xml
+++ b/restapi-call-node/provider/src/main/resources/META-INF/spring/restapi-call-node-context.xml
@@ -24,26 +24,26 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
-
- <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
- <property name="locations">
+
+ <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
+ <property name="locations">
<list>
<value>file:${SDNC_CONFIG_DIR}/ueb.properties</value>
<value>file:${SDNC_CONFIG_DIR}/dme2.properties</value>
</list>
- </property>
- <property name="ignoreResourceNotFound" value="true" />
- <property name="ignoreUnresolvablePlaceholders" value="true" />
- </bean>
+ </property>
+ <property name="ignoreResourceNotFound" value="true" />
+ <property name="ignoreUnresolvablePlaceholders" value="true" />
+ </bean>
- <!-- context:property-placeholder location="file:${SDNC_CONFIG_DIR}/ueb.properties" /-->
+ <!-- context:property-placeholder location="file:${SDNC_CONFIG_DIR}/ueb.properties" /-->
- <bean id="restapiCallNode" class="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode">
- <property name="uebServers" value="${servers}" />
- <property name="retryPolicyStore" ref="retryPolicyStore"/>
- </bean>
+ <bean id="restapiCallNode" class="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode">
+ <property name="uebServers" value="${servers}" />
+ <property name="retryPolicyStore" ref="retryPolicyStore"/>
+ </bean>
- <bean id="retryPolicyStore" class="org.onap.ccsdk.sli.plugins.restapicall.RetryPolicyStore">
- <property name="proxyServers" value="${proxyUrl}" />
- </bean>
+ <bean id="retryPolicyStore" class="org.onap.ccsdk.sli.plugins.restapicall.RetryPolicyStore">
+ <property name="proxyServers" value="${proxyUrl}" />
+ </bean>
</beans>
diff --git a/restapi-call-node/provider/src/main/resources/META-INF/spring/restapi-call-node-osgi-context.xml b/restapi-call-node/provider/src/main/resources/META-INF/spring/restapi-call-node-osgi-context.xml
index 8f34005d5..2f1e4dbde 100644
--- a/restapi-call-node/provider/src/main/resources/META-INF/spring/restapi-call-node-osgi-context.xml
+++ b/restapi-call-node/provider/src/main/resources/META-INF/spring/restapi-call-node-osgi-context.xml
@@ -21,12 +21,12 @@
-->
<beans:beans xmlns="http://www.springframework.org/schema/osgi"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
- xsi:schemaLocation="http://www.springframework.org/schema/osgi
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
+ xsi:schemaLocation="http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd
- http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
- <service ref="restapiCallNode" interface="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" />
+ <service ref="restapiCallNode" interface="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" />
</beans:beans>
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
index 4b1aa0386..6ef6be7f6 100644
--- a/restapi-call-node/provider/src/main/resources/default-ueb-message.json
+++ b/restapi-call-node/provider/src/main/resources/default-ueb-message.json
@@ -20,13 +20,13 @@
*/
{
- "event":{
- "header":{
- "eventSource":"sdn-c"
- },
- "body":
+ "event":{
+ "header":{
+ "eventSource":"sdn-c"
+ },
+ "body":
${rootVarName}
- }
+ }
}
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
index d48c41ce9..73a61b636 100644
--- a/restapi-call-node/provider/src/main/resources/northbound-api-template.json
+++ b/restapi-call-node/provider/src/main/resources/northbound-api-template.json
@@ -19,25 +19,25 @@
* ============LICENSE_END=========================================================
*/
-{
-"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}
- }
+{
+"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
index 5c2b9ad9a..aea0625c1 100644
--- a/restapi-call-node/provider/src/main/resources/northbound-api-template.xml
+++ b/restapi-call-node/provider/src/main/resources/northbound-api-template.xml
@@ -37,7 +37,7 @@
<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>
+ </service-information>
${'northbound-anyData}
</${northbound-Container}>
</input>