diff options
Diffstat (limited to 'platform-logic/restapi-templates')
4 files changed, 43 insertions, 3 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-closed-loop-nearRTRIC-patch.json b/platform-logic/restapi-templates/src/main/json/ranSlice-closed-loop-nearRTRIC-patch.json new file mode 100644 index 00000000..54db6bbf --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-closed-loop-nearRTRIC-patch.json @@ -0,0 +1,23 @@ +{ + "ietf-yang-patch:yang-patch": { + "patch-id": "ClosedLoopPatch1", + "comment": "patch for configuring NearRTRIC SliceProfile ", + "edit": [{ + "edit-id": "edit1", + "operation": "merge", + "target": "/ran-network:uLThptPerSlice", + "value": { + "uLThptPerSlice": ${tmp.uLThptPerSlice} + } + }, + { + "edit-id": "edit2", + "operation": "merge", + "target": "/ran-network:dLThptPerSlice", + "value": { + "dLThptPerSlice": ${tmp.dLThptPerSlice} + } + } + ] + } +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updatenearRTRIC.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updatenearRTRIC.json index b3dd73d9..8b027529 100644 --- a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updatenearRTRIC.json +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updatenearRTRIC.json @@ -5,13 +5,12 @@ { "pLMNId": ${tmp.payload.pLMNId}, "sNSSAI": { - "configData": [ + "configData": { "dLThptPerSlice": ${tmp.nearRTRIC.dLThptPerSlice}, "maxNumberOfConns": ${tmp.nearRTRIC.maxNumberOfConns}, "uLThptPerSlice": ${tmp.nearRTRIC.uLThptPerSlice} }, - ], "globalSubscriberId": "", "sNSSAI": ${payloadJson.input.sliceProfile.sNSSAI}, "status": "ACTIVE", diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-NRCellCU-configData.json b/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-NRCellCU-configData.json new file mode 100644 index 00000000..0ad5a242 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-NRCellCU-configData.json @@ -0,0 +1,18 @@ +{ + "ran-network:sNSSAIList": [ + { + "ran-network:sNssai": ${tmp.sNssai}, + "ran-network:status": "Active", + "ran-network:configData": [ + { + "ran-network:configParameter": "maxNumberOfConns", + "ran-network:configValue": ${tmp.maxNumberOfConns} + }, + { + "ran-network:configParameter": "predictedMaxNumberofConns", + "ran-network:configValue": ${tmp.predictedMaxNumberofConns} + } + ] + } + ] +} diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-nSSAIEntry-NRCellCU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-nSSAIEntry-NRCellCU.json index c28a9149..4000ddf0 100644 --- a/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-nSSAIEntry-NRCellCU.json +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-intelligent-update-nSSAIEntry-NRCellCU.json @@ -1,7 +1,7 @@ { "ran-network:sNSSAIList": [ { - "ran-network:sNssai": ${payloadJson.input.sliceProfile.sNSSAI}, + "ran-network:sNssai": ${tmp.sNSSAI}, "ran-network:status": "Active", "ran-network:configData": [ { |