summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main
diff options
context:
space:
mode:
authorHariharan <rh20085046@wipro.com>2021-09-16 21:44:44 +0530
committerDan Timoney <dtimoney@att.com>2021-09-21 12:33:34 +0000
commit81ccfd4c4195fcbad4591b1d5ba2350a0916f385 (patch)
tree2b0a4ae6d6c9775d64d2f8478fd3b0f6cf01cc95 /platform-logic/restapi-templates/src/main
parentda2e77325edbb7c8b97f25fa19f23481c0a8c029 (diff)
TerminateRANSliceInstance - CPS Integration
Issue-ID: CCSDK-3466 Signed-off-by: Hariharan <rh20085046@wipro.com> Change-Id: I2f0ffe4923b64d84018f5e442c0c9a692420366c
Diffstat (limited to 'platform-logic/restapi-templates/src/main')
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-plmnid.json5
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json30
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/delete-celldu-plmn-nssai.json10
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/delete-celldu-rrm-nssai.json10
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/delete-cucp-plmn-nssai.json10
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/delete-cucp-rrmpolicy-nssai.json9
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/delete-cuup-plmn-nssai.json9
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/delete-cuup-rrm-nssai.json8
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/delete-nearrtic-nssai.json8
9 files changed, 99 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-plmnid.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-plmnid.json
new file mode 100644
index 00000000..2df7ccb1
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-plmnid.json
@@ -0,0 +1,5 @@
+{
+"inputParameters": {
+"sliceProfileId": ${tmp.sliceprofileid}
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json
new file mode 100644
index 00000000..9eb0723d
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json
@@ -0,0 +1,30 @@
+{
+ "inputParameters":{
+ "idNearRTRIC":${tmp.nearRTRICId},
+ "mcc":${tmp.mcc},
+ "mnc":${tmp.mnc}
+ },
+"payload": {
+"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}
+}
+]
+}
+]
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/delete-celldu-plmn-nssai.json b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-celldu-plmn-nssai.json
new file mode 100644
index 00000000..ed90314b
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-celldu-plmn-nssai.json
@@ -0,0 +1,10 @@
+{
+"inputParameters": {
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBDUFunction": ${tmp.GNBDUId},
+"idNRCellDU": ${tmp.cellDULocalId},
+"mcc": ${tmp.mcc},
+"mnc": ${tmp.mnc},
+"sNSSAIList": ${tmp.sNSSAI}
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/delete-celldu-rrm-nssai.json b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-celldu-rrm-nssai.json
new file mode 100644
index 00000000..cdc55efb
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-celldu-rrm-nssai.json
@@ -0,0 +1,10 @@
+{
+"inputParameters": {
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBDUFunction": ${tmp.GNBDUId},
+"idNRCellDU": ${tmp.cellDULocalId},
+"id": ${tmp.cellDURRMPolicyRatio_id},
+"idx": ${tmp.cellDURRMPolicyMember_sNSSAI}
+}
+}
+
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/delete-cucp-plmn-nssai.json b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-cucp-plmn-nssai.json
new file mode 100644
index 00000000..d4f5ab9a
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-cucp-plmn-nssai.json
@@ -0,0 +1,10 @@
+{
+"inputParameters": {
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUCPFunction": ${tmp.CUCPName},
+"idNRCellCU": ${tmp.cellCULocalId},
+"mcc": ${tmp.mcc},
+"mnc": ${tmp.mnc},
+"sNSSAIList": ${tmp.sNSSAI}
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/delete-cucp-rrmpolicy-nssai.json b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-cucp-rrmpolicy-nssai.json
new file mode 100644
index 00000000..33073ff5
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-cucp-rrmpolicy-nssai.json
@@ -0,0 +1,9 @@
+{
+"inputParameters": {
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUCPFunction": ${tmp.CUCPName},
+"idNRCellCU": ${tmp.cellCULocalId},
+"id": ${tmp.RRMPolicyRatio_id},
+"idx": ${tmp.RRMPolicyMember_id}
+}
+}'
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/delete-cuup-plmn-nssai.json b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-cuup-plmn-nssai.json
new file mode 100644
index 00000000..0743259a
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-cuup-plmn-nssai.json
@@ -0,0 +1,9 @@
+{
+"inputParameters": {
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction},
+"mcc": ${tmp.mcc},
+"mnc": ${tmp.mnc},
+"sNSSAIList": ${tmp.sNSSAI}
+}
+}'
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/delete-cuup-rrm-nssai.json b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-cuup-rrm-nssai.json
new file mode 100644
index 00000000..acd87355
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-cuup-rrm-nssai.json
@@ -0,0 +1,8 @@
+{
+"inputParameters": {
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction},
+"id": ${tmp.CUUPRRMPolicyRatio_id},
+"idx": ${tmp.CUUPRRMPolicyMember_id}
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/delete-nearrtic-nssai.json b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-nearrtic-nssai.json
new file mode 100644
index 00000000..1ae31a73
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-nearrtic-nssai.json
@@ -0,0 +1,8 @@
+{
+"inputParameters": {
+"idNearRTRIC": ${tmp.nearRTRICId},
+"mcc": ${tmp.mcc},
+"mnc": ${tmp.mnc},
+"sNSSAIList": ${tmp.ric.sNSSAI}
+}
+}