summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-ho.json11
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrpci.json10
-rw-r--r--platform-logic/restapi-templates/src/main/json/oofpcipoc-generic-neighbor-patch.json33
-rw-r--r--platform-logic/restapi-templates/src/main/json/oofpcipoc-pci-patch.json24
4 files changed, 52 insertions, 26 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-ho.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-ho.json
new file mode 100644
index 00000000..5f3ade8c
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-ho.json
@@ -0,0 +1,11 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUCPFunction":${tmp.idGNBCUCPFunction},
+"idNRCellCU":${tmp.idNRCellCU},
+"idNRCellRelation":${tmp.idNRCellRelation}
+},
+"payload":{
+"attributes":{"nRTCI":${tmp.nRTCI},"isHOAllowed":${tmp.isHOAllowed}}
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrpci.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrpci.json
new file mode 100644
index 00000000..299b7451
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrpci.json
@@ -0,0 +1,10 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBDUFunction":${tmp.idGNBDUFunction},
+"idNRCellDU":${tmp.idNRCellDU}
+},
+"payload":{
+"attributes":{"nRPCI":${tmp.nRPCI}}
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/oofpcipoc-generic-neighbor-patch.json b/platform-logic/restapi-templates/src/main/json/oofpcipoc-generic-neighbor-patch.json
index aa4c013d..1bed7c93 100644
--- a/platform-logic/restapi-templates/src/main/json/oofpcipoc-generic-neighbor-patch.json
+++ b/platform-logic/restapi-templates/src/main/json/oofpcipoc-generic-neighbor-patch.json
@@ -1,16 +1,21 @@
{
- "ietf-yang-patch:yang-patch": {
- "patch-id": "Patch 2",
- "comment": "patch for configuring neighbor ",
- "edit": [
- {
- "edit-id": "patch blacklisted",
- "operation": "merge",
- "target": "/ran-network:isHOAllowed",
- "value": {
- "isHOAllowed": ${tmp.isHOAllowed}
- }
- }
- ]
- }
+ "ietf-yang-patch:yang-patch": {
+ "patch-id": "Patch 2",
+ "comment": "patch for isHOAllowed for a cell",
+ "edit": [{
+ "edit-id": "edit1",
+ "operation": "merge",
+ "target": "/ran-network:nRTCI",
+ "value": {
+ "nRTCI": ${tmp.nRTCI}
+ }
+ },{
+ "edit-id": "edit2",
+ "operation": "merge",
+ "target": "/ran-network:isHOAllowed",
+ "value": {
+ "isHOAllowed": ${tmp.isHOAllowed}
+ }
+ }]
+ }
}
diff --git a/platform-logic/restapi-templates/src/main/json/oofpcipoc-pci-patch.json b/platform-logic/restapi-templates/src/main/json/oofpcipoc-pci-patch.json
index 46b9bec6..74722400 100644
--- a/platform-logic/restapi-templates/src/main/json/oofpcipoc-pci-patch.json
+++ b/platform-logic/restapi-templates/src/main/json/oofpcipoc-pci-patch.json
@@ -1,14 +1,14 @@
{
- "ietf-yang-patch:yang-patch": {
- "patch-id": "Patch 1",
- "comment": "patch for phy-cell-id-in-use for a cell",
- "edit": [{
- "edit-id": "edit",
- "operation": "merge",
- "target": "/ran-network:nRPCI",
- "value": {
- "nRPCI": ${tmp.nRPCI}
- }
- }]
- }
+ "ietf-yang-patch:yang-patch": {
+ "patch-id": "Patch 1",
+ "comment": "patch for nRPCI for a cell",
+ "edit": [{
+ "edit-id": "edit",
+ "operation": "merge",
+ "target": "/ran-network:nRPCI",
+ "value": {
+ "nRPCI": ${tmp.nRPCI}
+ }
+ }]
+ }
}