aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json
diff options
context:
space:
mode:
authorMehreen Kaleem <mehreen.kaleem@us.fujitsu.com>2020-06-30 16:22:34 +0000
committerMehreen Kaleem <mehreen.kaleem@us.fujitsu.com>2020-07-02 06:06:28 +0000
commitd11a3e9608178a9b2ccc8249a3263c571783f69d (patch)
treef1725c0a3c42f3dbc1684af9c7b62cc5f51cc2f4 /platform-logic/restapi-templates/src/main/json
parent279a547642166a05a8f1ca246a785ba978096558 (diff)
DG changes for the closed loop and async
support in MDONS Change-Id: Ibb16b84cd37d8d41dd0f511fea81ec329a0f8021 Issue-ID: SDNC-1233 Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com> Former-commit-id: 225e1b887423a6a5972cf90216156eebc727a41d
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json')
-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":{