summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates
diff options
context:
space:
mode:
authoryashwanth <gandhapu.yashwanth@wipro.com>2022-03-24 15:10:27 +0000
committerYASHWANTH GANDHAPU <gandhapu.yashwanth@wipro.com>2022-03-24 15:14:55 +0000
commit7e8bd180002c4883d0ca3abe47f4d04f437df1fa (patch)
tree4b252d1c9fd5dbe05239d6a3f5d16d4eca190d71 /platform-logic/restapi-templates
parent3d4c5dfb9e185c1e93a246c5b0d4462931aebb89 (diff)
CPS Integration
Issue-ID: CCSDK-3544 Signed-off-by: yashwanth <gandhapu.yashwanth@wipro.com> Change-Id: Ie3ef0e42e2c74675169b14c6cf6842a489666e36
Diffstat (limited to 'platform-logic/restapi-templates')
-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}
+ }
+ }]
+ }
}