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-add-cuup-rrm-policy.json27
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nearrtric.json37
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcellcu-rrm-policy.json28
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcelldu-rrm-policy.json29
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-cuup.json30
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcellcu.json32
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcelldu.json38
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-ric-from-cell-id.json5
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory-new-slice.json26
9 files changed, 252 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-cuup-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-cuup-rrm-policy.json
new file mode 100644
index 00000000..21be4b04
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-cuup-rrm-policy.json
@@ -0,0 +1,27 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUUPFunction": ${tmp.gNBCUUPList.gNBCUUPId}
+},
+"payload":{
+"RRMPolicyRatio":[{
+"id":${tmp.RRMPolicyRatioID.GNBCUUPFunction},
+"attributes":{
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyDedicatedRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.rrmPolicyMemberID},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+}
+]
+
+ }
+}
+]
+}
+}
+
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nearrtric.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nearrtric.json
new file mode 100644
index 00000000..4ec7cbfd
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nearrtric.json
@@ -0,0 +1,37 @@
+{
+ "inputParameters":{
+ "idNearRTRIC":${tmp.nearRTRICId}
+ },
+"payload": {
+"attributes": {
+"pLMNInfoList": [{
+ "mcc":${tmp.mcc},
+ "mnc":${tmp.mnc},
+"sNSSAIList":[
+{
+"sNssai":${tmp.payload.sNSSAI},
+"status":"ACTIVE",
+"configData": [
+{
+"configParameter":"dLThptPerSlice",
+"configValue":${tmp.nearRTRIC.dLThptPerSlice}
+},
+{
+"configParameter":"uLThptPerSlice",
+"configValue":${tmp.nearRTRIC.uLThptPerSlice}
+},
+
+{
+"configParameter":"maxNumberOfConns",
+"configValue":${tmp.nearRTRIC.maxNumberOfConns}
+}
+]
+}
+]
+}],
+ "rANNFNSSIList": [
+ ${tmp.ranNFNSSIListEntry}
+ ]
+}
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcellcu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcellcu-rrm-policy.json
new file mode 100644
index 00000000..cac92ae0
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcellcu-rrm-policy.json
@@ -0,0 +1,28 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUCPFunction": ${tmp.gNBCUCPList.gNBCUName},
+"idNRCellCU": ${tmp.cellLocalId}
+},
+"payload":{
+"RRMPolicyRatio":[{
+"id":${tmp.RRMPolicyRatioID.NRCellCU},
+"attributes":{
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyDedicatedRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.rrmPolicyMemberID},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+}
+]
+
+ }
+}
+]
+}
+}
+
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcelldu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcelldu-rrm-policy.json
new file mode 100644
index 00000000..77bf7fe3
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-nrcelldu-rrm-policy.json
@@ -0,0 +1,29 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBDUFunction":${tmp.gNBDUList.gNBDUId},
+"idNRCellDU":${tmp.cellLocalId}
+
+},
+"payload":{
+"RRMPolicyRatio":[{
+"id":${tmp.RRMPolicyRatioID.NRCellDU},
+"attributes":{
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyDedicatedRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.rrmPolicyMemberID},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+}
+]
+
+ }
+}
+]
+}
+}
+
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-cuup.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-cuup.json
new file mode 100644
index 00000000..066c5e14
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-cuup.json
@@ -0,0 +1,30 @@
+{
+ "inputParameters":{
+ "idNearRTRIC": ${tmp.nearRTRICId},
+ "mcc":${tmp.mcc},
+ "mnc":${tmp.mnc},
+ "idGNBCUUPFunction":${tmp.gNBCUUPList.gNBCUUPId}
+ },
+ "payload":{
+ "attributes": {
+"pLMNInfoList": [{
+ "mcc":${tmp.mcc},
+ "mnc":${tmp.mnc},
+ "sNSSAIList":[
+ {
+ "sNssai":${tmp.sNSSAI},
+ "status":${tmp.status},
+ "configData": [
+ {
+ "configParameter":"maxNumberOfConns",
+ "configValue":${tmp.maxNumberOfConns}
+ }
+ ]
+ }
+ ]
+
+ }
+]
+}
+}
+} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcellcu.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcellcu.json
new file mode 100644
index 00000000..6fa972a5
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcellcu.json
@@ -0,0 +1,32 @@
+{
+ "inputParameters":{
+ "idNearRTRIC": ${tmp.nearRTRICId},
+ "mcc":${tmp.mcc},
+ "mnc":${tmp.mnc},
+ "idGNBCUCPFunction":${tmp.gNBCUCPList.gNBCUName},
+ "idNRCellCU":${tmp.cellLocalId}
+ },
+ "payload":{
+ "attributes": {
+"pLMNInfoList": [{
+ "mcc":${tmp.mcc},
+ "mnc":${tmp.mnc},
+ "sNSSAIList":[
+ {
+ "sNssai":${tmp.sNSSAI},
+ "status":${tmp.status},
+ "configData": [
+ {
+ "configParameter":"maxNumberOfConns",
+ "configValue":${tmp.maxNumberOfConns}
+ }
+ ]
+ }
+ ]
+
+ }
+]
+}
+}
+}
+
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcelldu.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcelldu.json
new file mode 100644
index 00000000..af1aa3a9
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-add-snssai-nrcelldu.json
@@ -0,0 +1,38 @@
+{
+ "inputParameters":{
+ "idNearRTRIC": ${tmp.nearRTRICId},
+ "mcc":${tmp.mcc},
+ "mnc":${tmp.mnc},
+ "idGNBDUFunction":${tmp.gNBDUList.gNBDUId},
+ "idNRCellDU":${tmp.cellLocalId}
+ },
+ "payload":{
+ "attributes": {
+"pLMNInfoList": [{
+ "mcc":${tmp.mcc},
+ "mnc":${tmp.mnc},
+ "sNSSAIList":[
+ {
+ "sNssai":${tmp.sNSSAI},
+ "status":${tmp.status},
+ "configData": [
+ {
+ "configParameter":"dLThptPerSlice",
+ "configValue":${tmp.dLThptPerSlice}
+ },
+ {
+ "configParameter":"uLThptPerSlice",
+ "configValue":${tmp.uLThptPerSlice}
+ }
+ ]
+
+ }
+ ]
+
+ }
+]
+}
+}
+}
+
+
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-ric-from-cell-id.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-ric-from-cell-id.json
new file mode 100644
index 00000000..4446a809
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-ric-from-cell-id.json
@@ -0,0 +1,5 @@
+{
+"inputParameters":{
+"idNRCellDU":${tmp.cellLocalId}
+}
+}' \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory-new-slice.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory-new-slice.json
new file mode 100644
index 00000000..e59da38b
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory-new-slice.json
@@ -0,0 +1,26 @@
+{
+"payload":{
+"ran-slices":[{
+"rannfnssiid": ${tmp.ranNFNSSIListEntry},
+"subnetStatus": "inactive",
+"slicetype": "embb",
+"isshareable": "Shareable",
+"sliceProfilesList":[
+{
+"sliceProfileId": ${tmp.payload.sliceProfileId},
+"dLThptPerSlice": ${tmp.dLThptPerSlice},
+"uLThptPerSlice": ${tmp.uLThptPerSlice},
+"maxNumberofConns":${tmp.maxNumberOfConns},
+"sNSSAI":${tmp.payload.sNSSAI},
+"pLMNIdList":[
+{
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc}
+}
+]
+}
+]
+}
+]
+}
+} \ No newline at end of file