From 4647e3ef6c87e271794e06fb1660cad5ee72ab04 Mon Sep 17 00:00:00 2001 From: Abhishek Patil Date: Fri, 31 Mar 2023 10:39:46 +0530 Subject: Code changes in SO api-handler for RAN Slice Issue-ID: SO-4038 Change-Id: Ifad4e0a65dc810a753d30741a84c08081bcfd258 Signed-off-by: Patil --- .../CreateSliceProfile.json | 26 ++++++++++++++++++++++ .../CreateSliceProfileBadGateWay.json | 26 ++++++++++++++++++++++ .../DeleteSliceProfile.json | 9 ++++++++ .../ModifySliceProfile.json | 13 +++++++++++ 4 files changed, 74 insertions(+) create mode 100644 mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/CreateSliceProfile.json create mode 100644 mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/CreateSliceProfileBadGateWay.json create mode 100644 mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/DeleteSliceProfile.json create mode 100644 mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/ModifySliceProfile.json (limited to 'mso-api-handlers/mso-api-handler-infra/src/test/resources') diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/CreateSliceProfile.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/CreateSliceProfile.json new file mode 100644 index 0000000000..4ad4b8dc93 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/CreateSliceProfile.json @@ -0,0 +1,26 @@ +{ + "sliceProfileList": [ + { + "plmnInfoList": [ + { + "plmnId": { + "mcc": 260, + "mnc": 70 + }, + "snssai": { + "sst": "001", + "sd": "300" + } + } + ], + "rANSliceSubnetProfile": { + "coverageAreaTAList": 888, + "dLLatency": 20, + "uLLatency": 20, + "resourceSharingLevel": "SHARED", + "serviceType": "eMBB", + "maxNumberofUEs": 2000 + } + } + ] +} \ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/CreateSliceProfileBadGateWay.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/CreateSliceProfileBadGateWay.json new file mode 100644 index 0000000000..ecf636d532 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/CreateSliceProfileBadGateWay.json @@ -0,0 +1,26 @@ +{ + "sliceProfileList": [ + { + "plmnInfoList": [ + { + "plmnId": { + "mcc": 260, + "mnc": 70 + }, + "snssai": { + "sst": "test", + "sd": "test" + } + } + ], + "rANSliceSubnetProfile": { + "coverageAreaTAList": "test", + "dLLatency": 20, + "uLLatency": 20, + "resourceSharingLevel": "SHARED", + "serviceType": "eMBB", + "maxNumberofUEs": 2000 + } + } + ] +} \ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/DeleteSliceProfile.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/DeleteSliceProfile.json new file mode 100644 index 0000000000..15cc4d4989 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/DeleteSliceProfile.json @@ -0,0 +1,9 @@ +{ + "attributes": { + "sliceProfileList": [ + { + "sliceProfileId": "f832ea13-04c2-4bd5-b93e-4cb7e1fd7f44" + } + ] + } +} \ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/ModifySliceProfile.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/ModifySliceProfile.json new file mode 100644 index 0000000000..f03a7beb6f --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/ManagedObject3gppServiceInstancesTest/ModifySliceProfile.json @@ -0,0 +1,13 @@ +{ + "attributes": { + "sliceProfileList": [{ + "sliceProfileId": "a1e5d51f-4bcb-42f0-83e2-cde6ac0a2e66", + "RANSliceSubnetProfile": { + "coverageAreaTAList": 777, + "dLLatency": 200, + "uLLatency": 200, + "resourceSharingLevel":"SHARED" + } + }] + } +} \ No newline at end of file -- cgit