diff options
author | Dan Timoney <dtimoney@att.com> | 2020-07-31 12:27:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-07-31 12:27:15 +0000 |
commit | 4d919cc9658419dfe07d8027576d2515027d3ff4 (patch) | |
tree | a8d35dfb33443d64253e31e6bcbb7b62377b2552 /platform-logic/restapi-templates/src/main/json | |
parent | 30aa3ac5fba597c06ca7ab6b3934649de67f414e (diff) | |
parent | d11a3e9608178a9b2ccc8249a3263c571783f69d (diff) |
Merge "DG changes for the closed loop and async support in MDONS"
Former-commit-id: fbf997335b6cca38872e855ca168f20b18b286f5
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json')
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":{ |