summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src/main')
-rw-r--r--platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json23
-rw-r--r--platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-ho-for-nbr.json5
-rw-r--r--platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-pci-for-cell.json5
3 files changed, 33 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json b/platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json
new file mode 100644
index 00000000..655afed5
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/oofpcipoc-dmaap-publish-config-response-template.json
@@ -0,0 +1,23 @@
+{
+ "body": {
+ "output": {
+ "CommonHeader": {
+ "TimeStamp": ${prop.oofpcipoc-dmaap-config-resp.timestamp},
+ "APIver": ${prop.oofpcipoc-dmaap-config-resp.apiver},
+ "RequestID": ${prop.oofpcipoc-dmaap-config-resp.requestID},
+ "SubRequestID": ${prop.oofpcipoc-dmaap-config-resp.subrequestID},
+ "RequestTrack": ${prop.oofpcipoc-dmaap-config-resp.requesttrack},
+ "Flags": ${prop.oofpcipoc-dmaap-config-resp.flags}
+ },
+ "Status": {
+ "Code": ${prop.oofpcipoc-dmaap-config-resp.status-code},
+ "Value": ${prop.oofpcipoc-dmaap-config-resp.status-value}
+ },
+ "Payload": ${tmp.oofpcipoc-dmaap-config-resp.payload}
+ }
+ },
+ "version": ${prop.oofpcipoc-dmaap-config-resp.version},
+ "rpc-name": ${tmp.oofpcipoc-dmaap-config-resp.rpc-name},
+ "correlation-id": ${prop.oofpcipoc-dmaap-config-resp.correlationID},
+ "type": ${prop.oofpcipoc-dmaap-config-resp.response}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-ho-for-nbr.json b/platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-ho-for-nbr.json
new file mode 100644
index 00000000..5cd8a6ef
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-ho-for-nbr.json
@@ -0,0 +1,5 @@
+{
+
+"ho": ${tmp.blacklisted}
+
+}
diff --git a/platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-pci-for-cell.json b/platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-pci-for-cell.json
new file mode 100644
index 00000000..51309bb0
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/oofpcipoc-patch-configdb-pci-for-cell.json
@@ -0,0 +1,5 @@
+{
+
+"pci-value": ${tmp.phy-cell-id-in-use}
+
+}