From d11a3e9608178a9b2ccc8249a3263c571783f69d Mon Sep 17 00:00:00 2001 From: Mehreen Kaleem Date: Tue, 30 Jun 2020 16:22:34 +0000 Subject: DG changes for the closed loop and async support in MDONS Change-Id: Ibb16b84cd37d8d41dd0f511fea81ec329a0f8021 Issue-ID: SDNC-1233 Signed-off-by: Mehreen Kaleem Former-commit-id: 225e1b887423a6a5972cf90216156eebc727a41d --- .../src/main/json/async-response-so.json | 8 ++++++ .../restapi-templates/src/main/json/oof-mdons.json | 30 ++++++++++++++++++++++ .../src/main/json/optical-service-create-msa.json | 4 +-- .../src/main/json/optical-service-delete-msa.json | 2 +- 4 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 platform-logic/restapi-templates/src/main/json/async-response-so.json create mode 100644 platform-logic/restapi-templates/src/main/json/oof-mdons.json (limited to 'platform-logic/restapi-templates/src/main/json') 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":{ -- cgit 1.2.3-korg