aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src')
-rw-r--r--platform-logic/restapi-templates/src/main/json/async-response-so.json8
-rw-r--r--platform-logic/restapi-templates/src/main/json/oof-mdons.json30
-rw-r--r--platform-logic/restapi-templates/src/main/json/optical-service-create-msa.json4
-rw-r--r--platform-logic/restapi-templates/src/main/json/optical-service-delete-msa.json2
4 files changed, 41 insertions, 3 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/async-response-so.json b/platform-logic/restapi-templates/src/main/json/async-response-so.json
new file mode 100644
index 00000000..05b14b3a
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/async-response-so.json
@@ -0,0 +1,8 @@
+{
+ "request-id":${so.svc-request-id},
+ "response-code":${so.response-code},
+ "response-message":${so.response-message},
+ "ack-final-indicator":"Y"
+}
+
+
diff --git a/platform-logic/restapi-templates/src/main/json/oof-mdons.json b/platform-logic/restapi-templates/src/main/json/oof-mdons.json
new file mode 100644
index 00000000..17a8ec75
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/oof-mdons.json
@@ -0,0 +1,30 @@
+{
+ "requestInfo":{
+ "transactionId": ${oof-transaction-id},
+ "requestId": ${oof-request-id},
+ "callbackUrl":"",
+ "sourceId":"SDNC",
+ "requestType":"create",
+ "numSolutions":1,
+ "optimizers":[
+ "route"
+ ],
+ "timeout":600
+ },
+ "routeInfo":{
+ "routeRequest":{
+ "srcDetails":{
+ "interfaceId": ${src-port-id},
+ "nodeId": ${src-node-id},
+ "controllerId": ${src-controller-id}
+ },
+ "dstDetails":{
+ "interfaceId": ${dst-port-id},
+ "nodeId": ${dst-node-id},
+ "controllerId": ${dst-controller-id}
+ },
+ "serviceRate": ${service-rate}
+ }
+ }
+}
+
diff --git a/platform-logic/restapi-templates/src/main/json/optical-service-create-msa.json b/platform-logic/restapi-templates/src/main/json/optical-service-create-msa.json
index 8806f4b8..73cf1120 100644
--- a/platform-logic/restapi-templates/src/main/json/optical-service-create-msa.json
+++ b/platform-logic/restapi-templates/src/main/json/optical-service-create-msa.json
@@ -5,8 +5,8 @@
"sdnc-request-header":{
"request-id": ${optical-service-create-input.request-id},
"rpc-action":"service-create",
- "notification-url": "http://sdnc.onap:8090/receiver/services",
- "request-system-id":"DCAE"
+ "notification-url": "http://sdnc-oam.onap:8282/asyncNotification",
+ "request-system-id":"SDN-ONAP"
},
"service-a-end":{
"service-rate": ${optical-service-create-input.payload.service-rate},
diff --git a/platform-logic/restapi-templates/src/main/json/optical-service-delete-msa.json b/platform-logic/restapi-templates/src/main/json/optical-service-delete-msa.json
index 63f6b8aa..92d4f065 100644
--- a/platform-logic/restapi-templates/src/main/json/optical-service-delete-msa.json
+++ b/platform-logic/restapi-templates/src/main/json/optical-service-delete-msa.json
@@ -2,7 +2,7 @@
"sdnc-request-header":{
"request-id": ${optical-service-delete-input.request-id},
"rpc-action": "service-delete",
- "notification-url": "http://sdnc.onap:8090/receiver/services",
+ "notification-url": "http://sdnc-oam.onap:8282/asyncNotification",
"request-system-id": "DCAE"
},
"service-delete-req-info":{