diff --git a/SRV/RNIS/RnisNotifications.robot b/SRV/RNIS/RnisNotifications.robot index d26a86485543ed856f445822ad660e2cac04a925..1e1ea97ef5c2222d50e450718e7f493c97aab474 100644 --- a/SRV/RNIS/RnisNotifications.robot +++ b/SRV/RNIS/RnisNotifications.robot @@ -16,10 +16,10 @@ Library MockServerLibrary Cell change notification [Documentation] TC_MEC_SRV_RNIS_001_OK ... Check that the RNIS service sends an RNIS notification about cell change if the RNIS service has an associated subscription and the event is generated - ... ETSI GS MEC 012 2.0.4, clause 6.4.2 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml + ... ETSI GS MEC 012 2.1.1, clause 6.4.2 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml Should Be True ${PIC_RNIS_NOTIFICATIONS} == 1 - ${json}= Get File schemas/RadioNetworkInformationAPI.schema.json + ${json}= Get File schemas/CellChangeNotification.schema.json Log Creating mock request and response to handle Cell change notification &{req}= Create Mock Request Matcher POST ${callback_uri}${callback_endpoint}/cell_change body_type="JSON_SCHEMA" body=${json} &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 @@ -34,10 +34,10 @@ Cell change notification RAB Establishment notification [Documentation] TC_MEC_SRV_RNIS_002_OK ... Check that the RNIS service sends an RNIS notification about RAB establishment if the RNIS service has an associated subscription and the event is generated - ... ETSI GS MEC 012 2.0.4, clause 6.4.3 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml + ... ETSI GS MEC 012 2.1.1, clause 6.4.3 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml Should Be True ${PIC_RNIS_NOTIFICATIONS} == 1 - ${json}= Get File schemas/RadioNetworkInformationAPI.schema.json + ${json}= Get File schemas/RabEstNotification.schema.json Log Creating mock request and response to handle RAB establishment notification &{req}= Create Mock Request Matcher POST ${callback_uri}${callback_endpoint}/rab_est body_type="JSON_SCHEMA" body=${json} &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 @@ -52,10 +52,10 @@ RAB Establishment notification RAB modification notification [Documentation] TC_MEC_SRV_RNIS_003_OK ... Check that the RNIS service sends an RNIS notification about RAB modification if the RNIS service has an associated subscription and the event is generated - ... ETSI GS MEC 012 2.0.4, clause 6.4.4 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml + ... ETSI GS MEC 012 2.1.1, clause 6.4.4 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml Should Be True ${PIC_RNIS_NOTIFICATIONS} == 1 - ${json}= Get File schemas/RadioNetworkInformationAPI.schema.json + ${json}= Get File schemas/RabModNotification.schema.json Log Creating mock request and response to handle RAB modification notification &{req}= Create Mock Request Matcher POST ${callback_uri}${callback_endpoint}/rab_mod body_type="JSON_SCHEMA" body=${json} &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 @@ -70,10 +70,10 @@ RAB modification notification RAB release notification [Documentation] TC_MEC_SRV_RNIS_004_OK ... Check that the RNIS service sends an RNIS notification about RAB release if the RNIS service has an associated subscription and the event is generated - ... ETSI GS MEC 012 2.0.4, clause 6.4.5 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml + ... ETSI GS MEC 012 2.1.1, clause 6.4.5 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml Should Be True ${PIC_RNIS_NOTIFICATIONS} == 1 - ${json}= Get File schemas/RadioNetworkInformationAPI.schema.json + ${json}= Get File schemas/RabRelNotification.schema.json Log Creating mock request and response to handle RAB release notification &{req}= Create Mock Request Matcher POST ${callback_uri}${callback_endpoint}/rab_rel body_type="JSON_SCHEMA" body=${json} &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 @@ -88,10 +88,10 @@ RAB release notification UE measurement notification [Documentation] TC_MEC_SRV_RNIS_005_OK ... Check that the RNIS service sends an RNIS notification about UE measurement report if the RNIS service has an associated subscription and the event is generated - ... ETSI GS MEC 012 2.0.4, clause 6.4.6 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml + ... ETSI GS MEC 012 2.1.1, clause 6.4.6 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml Should Be True ${PIC_RNIS_NOTIFICATIONS} == 1 - ${json}= Get File schemas/RadioNetworkInformationAPI.schema.json + ${json}= Get File schemas/MeasRepUeNotification.schema.json Log Creating mock request and response to handle UE measurement notification &{req}= Create Mock Request Matcher POST ${callback_uri}${callback_endpoint}/MeasRepUeNotification body_type="JSON_SCHEMA" body=${json} &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 @@ -106,10 +106,10 @@ UE measurement notification UE timing advance notification [Documentation] TC_MEC_SRV_RNIS_006_OK ... Check that the RNIS service sends an RNIS notification about UE timing advance if the RNIS service has an associated subscription and the event is generated - ... ETSI GS MEC 012 2.0.4, clause 6.4.7 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml + ... ETSI GS MEC 012 2.1.1, clause 6.4.7 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml Should Be True ${PIC_RNIS_NOTIFICATIONS} == 1 - ${json}= Get File schemas/RadioNetworkInformationAPI.schema.json + ${json}= Get File schemas/MeasTaSubscription.schema.json Log Creating mock request and response to handle UE timing advance notification &{req}= Create Mock Request Matcher POST ${callback_uri}${callback_endpoint}/MeasTaNotification body_type="JSON_SCHEMA" body=${json} &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 @@ -124,10 +124,10 @@ UE timing advance notification UE carrier aggregation reconfiguration notification [Documentation] TC_MEC_SRV_RNIS_007_OK ... Check that the RNIS service sends an RNIS notification about UE carrier aggregation reconfiguration if the RNIS service has an associated subscription and the event is generated - ... ETSI GS MEC 012 2.0.4, clause 6.4.8 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml + ... ETSI GS MEC 012 2.1.1, clause 6.4.8 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml Should Be True ${PIC_RNIS_NOTIFICATIONS} == 1 - ${json}= Get File schemas/RadioNetworkInformationAPI.schema.json + ${json}= Get File schemas/CaReconfSubscription.schema.json Log Creating mock request and response to handle UE carrier aggregation reconfiguration notification &{req}= Create Mock Request Matcher POST ${callback_uri}${callback_endpoint}/CaReconfSubscription body_type="JSON_SCHEMA" body=${json} &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 @@ -142,10 +142,10 @@ UE carrier aggregation reconfiguration notification S1-U bearer notification [Documentation] TC_MEC_SRV_RNIS_008_OK ... Check that the RNIS service sends an RNIS notification about S1-U bearer if the RNIS service has an associated subscription and the event is generated - ... ETSI GS MEC 012 2.0.4, clause 6.4.10 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml + ... ETSI GS MEC 012 2.1.1, clause 6.4.9 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml Should Be True ${PIC_RNIS_NOTIFICATIONS} == 1 - ${json}= Get File schemas/RadioNetworkInformationAPI.schema.json + ${json}= Get File schemas/S1BearerSubscription.schema.json Log Creating mock request and response to handle S1-U bearer notification &{req}= Create Mock Request Matcher POST ${callback_uri}${callback_endpoint}/S1BearerSubscription body_type="JSON_SCHEMA" body=${json} &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 @@ -160,10 +160,10 @@ S1-U bearer notification TC_MEC_SRV_RNIS_009_OK [Documentation] TC_MEC_SRV_RNIS_009_OK ... Check that the RNIS service sends an RNIS notification about 5G NR UE measurement report if the RNIS service has an associated subscription and the event is generated - ... ETSI GS MEC 012 2.0.4, clause 6.4.11 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml + ... ETSI GS MEC 012 2.1.1, clause 6.4.11 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml Should Be True ${PIC_RNIS_NOTIFICATIONS} == 1 - ${json}= Get File schemas/RadioNetworkInformationAPI.schema.json + ${json}= Get File schemas/NrMeasRepUeSubscription.schema.json Log Creating mock request and response to handle UE Measurement notification &{req}= Create Mock Request Matcher POST ${callback_uri}${callback_endpoint}/meas_rep_ue body_type="JSON_SCHEMA" body=${json} &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 @@ -175,22 +175,20 @@ TC_MEC_SRV_RNIS_009_OK Clear Requests ${callback_endpoint} -TC_MEC_SRV_RNIS_010_OK - [Documentation] TC_MEC_SRV_RNIS_010_OK - ... Check that the RNIS service sends an RNIS notification on subscription expiration if the RNIS service has an associated subscription and the event is generated - ... ETSI GS MEC 012 2.0.4, clause 6.4.9 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml - Should Be True ${PIC_RNIS_NOTIFICATIONS} == 1 - ${json}= Get File schemas/RadioNetworkInformationAPI.schema.json - Log Creating mock request and response to handle UE Measurement notification - &{req}= Create Mock Request Matcher POST ${callback_uri}${callback_endpoint} body_type="JSON_SCHEMA" body=${json} - &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 - Create Mock Expectation ${req} ${rsp} - Wait Until Keyword Succeeds ${total_polling_time} ${polling_interval} Verify Mock Expectation ${req} - Log Verifying results - Verify Mock Expectation ${req} - Log Cleaning the endpoint - Clear Requests ${callback_endpoint} - +# TC_MEC_SRV_RNIS_010_OK + # [Documentation] TC_MEC_SRV_RNIS_010_OK + # ... Check that the RNIS service sends an RNIS notification on subscription expiration if the RNIS service has an associated subscription and the event is generated + # ... ETSI GS MEC 012 2.0.4, clause 6.4.9 + # ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml + # Should Be True ${PIC_RNIS_NOTIFICATIONS} == 1 + # ${json}= Get File schemas/RadioNetworkInformationAPI.schema.json + # Log Creating mock request and response to handle UE Measurement notification + # &{req}= Create Mock Request Matcher POST ${callback_uri}${callback_endpoint} body_type="JSON_SCHEMA" body=${json} + # &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 + # Create Mock Expectation ${req} ${rsp} + # Wait Until Keyword Succeeds ${total_polling_time} ${polling_interval} Verify Mock Expectation ${req} + # Log Verifying results + # Verify Mock Expectation ${req} + # Log Cleaning the endpoint + # Clear Requests ${callback_endpoint} -*** Keywords *** diff --git a/SRV/RNIS/RnisQuery_BI_BO.robot b/SRV/RNIS/RnisQuery_BI_BO.robot index 925c8e98c152aa768595898864b9bc610f24d778..efd22f109e30e9eabef6ab2f2cbb62c7615912ea 100644 --- a/SRV/RNIS/RnisQuery_BI_BO.robot +++ b/SRV/RNIS/RnisQuery_BI_BO.robot @@ -14,7 +14,7 @@ Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_v Request RabInfo info using wrong parameters [Documentation] TC_MEC_SRV_RNIS_016_BR ... Check that the RNIS service returns an error when the RAB information is requested with a malformatted message - ... ETSI GS MEC 012 2.0.4, clause 7.3.3.1 + ... ETSI GS MEC 012 2.1.1, clause 7.3.3.1 ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo Get RabInfo info using wrong parameters Check HTTP Response Status Code Is 400 @@ -24,7 +24,7 @@ Request RabInfo info using wrong parameters Request RabInfo info using non existing cell id [Documentation] TC_MEC_SRV_RNIS_016_BR ... Check that the RNIS service returns an error when the RAB information for a not existing element is requested - ... ETSI GS MEC 012 2.0.4, clause 7.3.3.1 + ... ETSI GS MEC 012 2.1.1, clause 7.3.3.1 ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo Get RabInfo info using non existing cell id Check HTTP Response Status Code Is 404 @@ -34,7 +34,7 @@ Request RabInfo info using non existing cell id Request Plmn info using wrong parameters [Documentation] TC_MEC_SRV_RNIS_017_BR ... Check that the RNIS service returns an error when the PLMN information is requested with a malformatted message - ... ETSI GS MEC 012 2.0.4, clause 7.4.3.1 + ... ETSI GS MEC 012 2.1.1, clause 7.4.3.1 ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo Get PLMN info using wrong parameters Check HTTP Response Status Code Is 400 @@ -44,7 +44,7 @@ Request Plmn info using wrong parameters Request Plmn info using non existing application id [Documentation] TC_MEC_SRV_RNIS_017_NF ... Check that the RNIS service returns an error when the PLMN information for a not existing element is requested - ... ETSI GS MEC 012 2.0.4, clause 7.4.3.1 + ... ETSI GS MEC 012 2.1.1, clause 7.4.3.1 ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo Get PLMN info using non existing application id Check HTTP Response Status Code Is 404 @@ -54,7 +54,7 @@ Request Plmn info using non existing application id Request S1Bearer info using wrong parameters [Documentation] TC_MEC_SRV_RNIS_018_BR ... Check that the RNIS service returns an error when the S1 bearer information is requested with a malformatted message - ... ETSI GS MEC 012 2.0.4, clause 7.4.3.1 + ... ETSI GS MEC 012 2.1.1, clause 7.5.3.1 ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo Get S1Bearer info using wrong parameters Check HTTP Response Status Code Is 400 @@ -64,7 +64,7 @@ Request S1Bearer info using wrong parameters Request S1Bearer info using non existing cell id [Documentation] TC_MEC_SRV_RNIS_018_BR ... Check that the RNIS service returns an error when the S1 bearer information is requested with a malformatted message - ... ETSI GS MEC 012 2.0.4, clause 7.4.3.1 + ... ETSI GS MEC 012 2.1.1, clause 7.5.3.1 ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo Get S1Bearer info using non existing cell id Check HTTP Response Status Code Is 404 @@ -74,7 +74,7 @@ Request S1Bearer info using non existing cell id Request L2Meas info using wrong parameters [Documentation] TC_MEC_SRV_RNIS_019_BR ... Check that the RNIS service returns an error when the L2 measurements information is requested with a malformatted message - ... ETSI GS MEC 012 2.0.4, clause 7.5a.3.1 + ... ETSI GS MEC 012 2.1.1, clause 7.5a.3.1 ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo Get L2Meas info using wrong parameters Check HTTP Response Status Code Is 400 @@ -84,7 +84,7 @@ Request L2Meas info using wrong parameters Request L2Meas info using non existing cell id [Documentation] TC_MEC_SRV_RNIS_019_BR ... Check that the RNIS service returns an error when the L2 measurements information for a not existing element is requested - ... ETSI GS MEC 012 2.0.4, clause 7.5a.3.1 + ... ETSI GS MEC 012 2.1.1, clause 7.5a.3.1 ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo Get L2Meas info using non existing cell id Check HTTP Response Status Code Is 404 @@ -152,7 +152,7 @@ Get S1Bearer info using non existing cell id Set Headers {"Content-Type":"application/json"} Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Content-Length":"0"} - Get /exampleAPI/rni/v2/queries/s1_bearer_info?cell_id=${NOT_EXISTENT_CELL_ID} + Get ${apiRoot}/rni/${apiVersion}/queries/s1_bearer_info?cell_id=${NOT_EXISTENT_CELL_ID} ${output}= Output response Set Suite Variable ${response} ${output} @@ -163,7 +163,7 @@ Get L2Meas info using wrong parameters Set Headers {"Content-Type":"application/json"} Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Content-Length":"0"} - Get /exampleAPI/rni/v2/queries/layer2_meas?c_id=${C_ID} + Get ${apiRoot}/rni/${apiVersion}/queries/layer2_meas?c_id=${C_ID} ${output}= Output response Set Suite Variable ${response} ${output} @@ -174,6 +174,6 @@ Get L2Meas info using non existing cell id Set Headers {"Content-Type":"application/json"} Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Content-Length":"0"} - Get /exampleAPI/rni/v2/queries/layer2_meas?cell_id=${NOT_EXISTENT_CELL_ID} + Get ${apiRoot}/rni/${apiVersion}/queries/layer2_meas?cell_id=${NOT_EXISTENT_CELL_ID} ${output}= Output response Set Suite Variable ${response} ${output} diff --git a/SRV/RNIS/RnisQuery_BV.robot b/SRV/RNIS/RnisQuery_BV.robot index 6a26256c61bd1bad4b53eb12bf91968e436ca422..2ba3f34bd8cc5eb8672c2bdcbf548f1909716069 100644 --- a/SRV/RNIS/RnisQuery_BV.robot +++ b/SRV/RNIS/RnisQuery_BV.robot @@ -14,43 +14,45 @@ Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_v Request RabInfo info [Documentation] TC_MEC_SRV_RNIS_016_OK ... Check that the RNIS service returns the RAB information when requested - ... ETSI GS MEC 012 2.0.4, clause 7.3.3.1 + ... ETSI GS MEC 012 2.1.1, clause 7.3.3.1 ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/RabInfo Get RabInfo info Check HTTP Response Status Code Is 200 - Check HTTP Response Body Json Schema Is RadioNetworkInformationAPI - Check RabInfo ${response['body']['RabInfo']} + Check HTTP Response Body Json Schema Is RabInfos + Check RabInfo ${response['body']} Request Plmn info [Documentation] TC_MEC_SRV_RNIS_017_OK ... Check that the RNIS service returns the PLMN information when requested - ... ETSI GS MEC 012 2.0.4, clause 7.4.3.1 + ... ETSI GS MEC 012 2.1.1, clause 7.4.3.1 ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/PlmnInfo Get PLMN info Check HTTP Response Status Code Is 200 - Check HTTP Response Body Json Schema Is RadioNetworkInformationAPI - Check PlmnInfo ${response['body']['PlmnInfo']} + Check HTTP Response Body Json Schema Is PlmnInfos + Check PlmnInfo ${response['body']} Request S1Bearer info [Documentation] TC_MEC_SRV_RNIS_018_OK ... Check that the RNIS service returns the S1 bearer information - ... ETSI GS MEC 012 2.0.4, clause 7.4.3.1 + ... ETSI GS MEC 012 2.1.1, clause 7.5.3.1 ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo Get S1Bearer info Check HTTP Response Status Code Is 200 - Check HTTP Response Body Json Schema Is RadioNetworkInformationAPI + Check HTTP Response Body Json Schema Is S1BearerInfos #log ${response['body']} - Check S1BearerInfo ${response['body']['S1BearerInfo']} - - + Check S1BearerInfo ${response['body']} + Request L2Meas info - [Documentation] TC_MEC_SRV_RNIS_019_OK + [Documentation] TC_MEC_SRV_RNIS_019_OK ... Check that the RNIS service returns the L2 measurements information - ... ETSI GS MEC 012 2.0.4, clause 7.4.3.1 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/S1BearerInfo - Fail msg=Too many changes in JSON data description, not implemented + ... ETSI GS MEC 012 2.1.1, clause 7.5a.3.1 + ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/L2Meas + Get Layer2Meas Info + Check HTTP Response Status Code Is 200 + Check HTTP Response Body Json Schema Is Layer2MeasInfos + Check L2MeasInfo ${response['body']} *** Keywords *** @@ -60,7 +62,7 @@ Get RabInfo info Set Headers {"Content-Type":"application/json"} Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Content-Length":"0"} - Get /exampleAPI/rni/v2/queries/rab_info?cell_id=${CELL_ID} + Get ${apiRoot}/rni/${apiVersion}/queries/rab_info?cell_id=${CELL_ID} ${output}= Output response Set Suite Variable ${response} ${output} @@ -70,7 +72,7 @@ Get Plmn info Set Headers {"Content-Type":"application/json"} Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Content-Length":"0"} - Get /exampleAPI/rni/v2/queries/plmn_info?app_ins_id=${APP_INS_ID} + Get ${apiRoot}/rni/${apiVersion}/queries/plmn_info?app_ins_id=${APP_INS_ID} ${output}= Output response Set Suite Variable ${response} ${output} @@ -81,6 +83,17 @@ Get S1Bearer info Set Headers {"Content-Type":"application/json"} Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Content-Length":"0"} - Get /exampleAPI/rni/v2/queries/s1_bearer_info?cell_id=${CELL_ID} + Get ${apiRoot}/rni/${apiVersion}/queries/s1_bearer_info?cell_id=${CELL_ID} ${output}= Output response Set Suite Variable ${response} ${output} + + +Get Layer2Meas Info + Should Be True ${PIC_RNIS_SPECIFIC_SUBSCRIPTION} == 1 + Set Headers {"Accept":"application/json"} + Set Headers {"Content-Type":"application/json"} + Set Headers {"Authorization":"${TOKEN}"} + Set Headers {"Content-Length":"0"} + Get ${apiRoot}/rni/${apiVersion}/queries/layer2_meas?cell_id=${CELL_ID} + ${output}= Output response + Set Suite Variable ${response} ${output} \ No newline at end of file diff --git a/SRV/RNIS/RnisSpecificSubscription_BV.robot b/SRV/RNIS/RnisSpecificSubscription_BV.robot deleted file mode 100644 index 501201edba0781eb0f9002c5119047975452251a..0000000000000000000000000000000000000000 --- a/SRV/RNIS/RnisSpecificSubscription_BV.robot +++ /dev/null @@ -1,56 +0,0 @@ -''[Documentation] robot --outputdir ../../outputs ./RnisSpecificSubscription_BV.robot -... Test Suite to validate RNIS/Subscription (RNIS) operations. - -*** Settings *** -Resource environment/variables.txt -Resource ../../pics.txt -Resource ../../GenericKeywords.robot -Resource resources/RadioNetworkInformationAPI.robot -Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false - - - -*** Test Cases *** -Request RNIS subscription list - [Documentation] TC_MEC_SRV_RNIS_011_OK - ... Check that the RNIS service sends the list of links to the relevant RNIS subscriptions when requested - ... ETSI GS MEC 012 2.0.4, clause 7.6.3.1 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/SubscriptionLinkList - Get RNIS subscription list - Check HTTP Response Status Code Is 200 - Check HTTP Response Body Json Schema Is RadioNetworkInformationAPI - Check Subscription ${response['body']['SubscriptionLinkList']} ${SUBSCRIPTION_VALUE} - - -Create RNIS subscription - [Documentation] TC_MEC_SRV_RNIS_012_OK - ... Check that the RNIS service creates a new RNIS subscription - ... ETSI GS MEC 012 2.0.4, clause 7.6.3.4 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml - Post RNIS subscription request {"CellChangeSubscription": {"subscriptionType": "CELL_CHANGE", "callbackReference": "${HREF}", "_links": {"self": "${LINKS_SELF}"}, "filterCriteria": {"appInsId": "01", "associateId": [{"type": "UE_IPV4_ADDRESS", "value": 1}], "plmn": {"mcc": "01", "mnc": "001"}, "cellId": ["800000"], "hoStatus": "COMPLETED"}, "expiryDeadline": {"seconds": 1577836800, "nanoSeconds": 0}}} - Check HTTP Response Status Code Is 201 - Check HTTP Response Body Json Schema Is RadioNetworkInformationAPI - Check CellChangeSubscription ${response['body']['CellChangeSubscription']} - - -*** Keywords *** -Get RNIS subscription list - Should Be True ${PIC_RNIS_SPECIFIC_SUBSCRIPTION} == 1 - Set Headers {"Accept":"application/json"} - Set Headers {"Content-Type":"application/json"} - Set Headers {"Authorization":"${TOKEN}"} - Set Headers {"Content-Length":"0"} - Get /exampleAPI/rni/v2/subscriptions?subscription_type=${SUBSCRIPTION_HREF_VALUE} - ${output}= Output response - Set Suite Variable ${response} ${output} - - -Post RNIS subscription request - [Arguments] ${content} - Should Be True ${PIC_RNIS_SPECIFIC_SUBSCRIPTION} == 1 - Set Headers {"Accept":"application/json"} - Set Headers {"Content-Type":"application/json"} - Set Headers {"Authorization":"${TOKEN}"} - Post /exampleAPI/rni/v2/subscriptions ${content} - ${output}= Output response - Set Suite Variable ${response} ${output} diff --git a/SRV/RNIS/RnisSpecificSubscription_BI_BO.robot b/SRV/RNIS/RnisSubscriptions_BI_BO.robot similarity index 81% rename from SRV/RNIS/RnisSpecificSubscription_BI_BO.robot rename to SRV/RNIS/RnisSubscriptions_BI_BO.robot index f8c4d02b72c45f17ddb670e2a0e00ec6da6d13c5..f513c717e3b6d63cfdf35643fe4ab0d7868c28e8 100644 --- a/SRV/RNIS/RnisSpecificSubscription_BI_BO.robot +++ b/SRV/RNIS/RnisSubscriptions_BI_BO.robot @@ -14,21 +14,19 @@ Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_v Request RNIS subscription list using bad parameters [Documentation] TC_MEC_SRV_RNIS_011_BR ... Check that the RNIS service responds with an error when it receives a request to get all RNIS subscriptions with a wrong subscription type - ... ETSI GS MEC 012 2.0.4, clause 7.6.3.1 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml#/definitions/SubscriptionLinkList + ... ETSI GS MEC 012 2.1.1, clause 7.6.3.1 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml#/definitions/SubscriptionLinkList Get RNIS subscription list with wrong parameter Check HTTP Response Status Code Is 400 - Check ProblemDetails 400 - + Create RNIS subscription using bad parameters [Documentation] TC_MEC_SRV_RNIS_012_BR ... Check that the RNIS service responds with an error when it receives a request to create a new RNIS subscription with a wrong format - ... ETSI GS MEC 012 2.0.4, clause 7.6.3.4 - ... Reference https://forge.etsi.org/gitlab/mec/gs012-rnis-api/blob/master/RniAPI.yaml + ... ETSI GS MEC 012 2.1.1, clause 7.6.3.4 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml Post RNIS subscription request {"CellChangeSubscription": {"subscriptionType": "CelCangeSubscription", "callbackReference": "${HREF}", "_links": {"self": "${LINKS_SELF}"}, "filterCriteria": {"appInsId": "01", "associateId": [{"type": "UE_IPV4_ADDRESS", "value": 1}], "plmn": {"mcc": "01", "mnc": "001"}, "cellId": ["800000"], "hoStatus": "COMPLETED"}, "expiryDeadline": {"seconds": 1577836800, "nanoSeconds": 0}}} Check HTTP Response Status Code Is 400 - Check ProblemDetails 400 *** Keywords *** @@ -38,7 +36,7 @@ Get RNIS subscription list with wrong parameter Set Headers {"Content-Type":"application/json"} Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Content-Length":"0"} - Get /exampleAPI/rni/v2/subscriptions?subscription_type=wrongSubscriptionType + Get ${apiRoot}/rni/${apiVersion}/subscriptions?subscription_type=wrongSubscriptionType ${output}= Output response Set Suite Variable ${response} ${output} @@ -49,6 +47,6 @@ Post RNIS subscription request Set Headers {"Accept":"application/json"} Set Headers {"Content-Type":"application/json"} Set Headers {"Authorization":"${TOKEN}"} - Post /exampleAPI/rni/v2/subscriptions ${content} + Post ${apiRoot}/rni/${apiVersion}/subscriptions ${content} ${output}= Output response Set Suite Variable ${response} ${output} diff --git a/SRV/RNIS/RnisSubscriptions_BV.robot b/SRV/RNIS/RnisSubscriptions_BV.robot new file mode 100644 index 0000000000000000000000000000000000000000..f351d342681e55c462b96ae9b804626db5cf5ed2 --- /dev/null +++ b/SRV/RNIS/RnisSubscriptions_BV.robot @@ -0,0 +1,118 @@ +''[Documentation] robot --outputdir ../../outputs ./RnisSpecificSubscription_BV.robot +... Test Suite to validate RNIS/Subscription (RNIS) operations. + +*** Settings *** +Library OperatingSystem +Resource environment/variables.txt +Resource ../../pics.txt +Resource ../../GenericKeywords.robot +Resource resources/RadioNetworkInformationAPI.robot +Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false + + + +*** Test Cases *** +Request RNIS subscription list + [Documentation] TC_MEC_SRV_RNIS_011_OK + ... Check that the RNIS service sends the list of links to the relevant RNIS subscriptions when requested + ... ETSI GS MEC 012 2.1.1, clause 7.6.3.1 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml#/definitions/SubscriptionLinkList + Get RNIS subscription list + Check HTTP Response Status Code Is 200 + Check HTTP Response Body Json Schema Is SubscriptionLinkList + Check Subscription ${response['body']} ${SUBSCRIPTION_VALUE} + + +Create RNIS subscription + [Documentation] TC_MEC_SRV_RNIS_012_OK + ... Check that the RNIS service creates a new RNIS subscription + ... ETSI GS MEC 012 2.1.1, clause 7.6.3.4 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml + Post RNIS subscription request CellChangeSubscription + Check HTTP Response Status Code Is 201 + Check HTTP Response Body Json Schema Is CellChangeSubscriptionRequest + Check CellChangeSubscription ${response['body']} + + +Get an Individual RNIS subscription + [Documentation] TC_MEC_SRV_RNIS_013_OK + ... Check that the RNIS service sends a RNIS subscription when requested + ... ETSI GS MEC 012 2.1.1, clause 7.8.3.1 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml + Get Individual RNIS Subscription + Check HTTP Response Status Code Is 200 + Check HTTP Response Body Json Schema Is CellChangeSubscriptionRequest + + +Update an Individual RNIS subscription + [Documentation] TC_MEC_SRV_RNIS_014_OK + ... Check that the RNIS service modifies a RNIS subscription when requested + ... ETSI GS MEC 012 2.1.1, clause 7.8.3.2 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml + Update Individual RNIS Subscription + Check HTTP Response Status Code Is 200 + Check HTTP Response Body Json Schema Is CellChangeSubscriptionRequest + +Remove an Individual RNIS subscription + [Documentation] TC_MEC_SRV_RNIS_015_OK + ... Check that the RNIS service deletes a RNIS subscription when requested + ... ETSI GS MEC 012 2.1.1, clause 7.8.3.5 + ... Reference https://forge.etsi.org/rep/mec/gs012-rnis-api/blob/automatic_generation/RniAPI.yaml + Delete Individual RNIS Subscription + Check HTTP Response Status Code Is 204 + +*** Keywords *** +Get RNIS subscription list + Should Be True ${PIC_RNIS_SPECIFIC_SUBSCRIPTION} == 1 + Set Headers {"Accept":"application/json"} + Set Headers {"Content-Type":"application/json"} + Set Headers {"Authorization":"${TOKEN}"} + Set Headers {"Content-Length":"0"} + Get ${apiRoot}/rni/${apiVersion}/subscriptions?subscription_type=${SUBSCRIPTION_HREF_VALUE} + ${output}= Output response + Set Suite Variable ${response} ${output} + + +Post RNIS subscription request + [Arguments] ${content} + Should Be True ${PIC_RNIS_SPECIFIC_SUBSCRIPTION} == 1 + Set Headers {"Accept":"application/json"} + Set Headers {"Content-Type":"application/json"} + Set Headers {"Authorization":"${TOKEN}"} + ${body} Get File jsons/CellChangeSubscriptionRequest.json + Post ${apiRoot}/rni/${apiVersion}/subscriptions ${body} + ${output}= Output response + Set Suite Variable ${response} ${output} + + +Get Individual RNIS Subscription + Should Be True ${PIC_RNIS_SPECIFIC_SUBSCRIPTION} == 1 + Set Headers {"Accept":"application/json"} + Set Headers {"Content-Type":"application/json"} + Set Headers {"Authorization":"${TOKEN}"} + Set Headers {"Content-Length":"0"} + Get ${apiRoot}/rni/${apiVersion}/subscriptions/${SUBSCRIPTION_ID} + ${output}= Output response + Set Suite Variable ${response} ${output} + + +Update Individual RNIS Subscription + Should Be True ${PIC_RNIS_SPECIFIC_SUBSCRIPTION} == 1 + Set Headers {"Accept":"application/json"} + Set Headers {"Content-Type":"application/json"} + Set Headers {"Authorization":"${TOKEN}"} + ${body} Get File jsons/UpdateCellChangeSubscriptionRequest.json + Put ${apiRoot}/rni/${apiVersion}/subscriptions/${SUBSCRIPTION_ID} ${body} + ${output}= Output response + Set Suite Variable ${response} ${output} + + +Delete Individual RNIS Subscription + Should Be True ${PIC_RNIS_SPECIFIC_SUBSCRIPTION} == 1 + Set Headers {"Accept":"application/json"} + Set Headers {"Content-Type":"application/json"} + Set Headers {"Authorization":"${TOKEN}"} + Set Headers {"Content-Length":"0"} + Delete ${apiRoot}/rni/${apiVersion}/subscriptions/${SUBSCRIPTION_ID} + ${output}= Output response + Set Suite Variable ${response} ${output} \ No newline at end of file diff --git a/SRV/RNIS/environment/variables.txt b/SRV/RNIS/environment/variables.txt index c0846c254cddc5f7cf7f5447f8396004676e2834..d66fb53e73cde544bff20a4aaa1c3de23e89b297 100644 --- a/SRV/RNIS/environment/variables.txt +++ b/SRV/RNIS/environment/variables.txt @@ -20,6 +20,11 @@ ${NOT_EXISTENT_APP_INS_ID} 99 ${response} {} ${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l + +${apiRoot} +${apiVersion} v2 + + # Notifications variables ${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar diff --git a/SRV/RNIS/jsons/CellChangeSubscriptionRequest.json b/SRV/RNIS/jsons/CellChangeSubscriptionRequest.json new file mode 100644 index 0000000000000000000000000000000000000000..08278f5766b5ba13c66612487761dc58802215db --- /dev/null +++ b/SRV/RNIS/jsons/CellChangeSubscriptionRequest.json @@ -0,0 +1,10 @@ +{ + "subscriptionType": "CellChangeSubscription", + "callbackReference": "${HREF}", + "_links": { + "self": { + "href": "${LINKS_SELF}" + } + }, + "filterCriteriaAssocHo": {}, +} \ No newline at end of file diff --git a/SRV/RNIS/jsons/UpdateCellChangeSubscriptionRequest.json b/SRV/RNIS/jsons/UpdateCellChangeSubscriptionRequest.json new file mode 100644 index 0000000000000000000000000000000000000000..08278f5766b5ba13c66612487761dc58802215db --- /dev/null +++ b/SRV/RNIS/jsons/UpdateCellChangeSubscriptionRequest.json @@ -0,0 +1,10 @@ +{ + "subscriptionType": "CellChangeSubscription", + "callbackReference": "${HREF}", + "_links": { + "self": { + "href": "${LINKS_SELF}" + } + }, + "filterCriteriaAssocHo": {}, +} \ No newline at end of file diff --git a/SRV/RNIS/resources/RadioNetworkInformationAPI.robot b/SRV/RNIS/resources/RadioNetworkInformationAPI.robot index 004d6405f4e916f46b80953bf44565eeccb04c50..05edc8fb85737f73445e0240594420731389bf1e 100644 --- a/SRV/RNIS/resources/RadioNetworkInformationAPI.robot +++ b/SRV/RNIS/resources/RadioNetworkInformationAPI.robot @@ -10,10 +10,11 @@ Library JSONSchemaLibrary schemas/ Check Subscription [Arguments] ${received_value} ${expected_value} Should Be Equal ${received_value['_links']['self']} ${LINKS_SELF} - :FOR ${item} IN @{received_value['subscription']} - \ Exit For Loop If ${item} == ${expected_value} - Log Item found ${item} - [return] ${item} + ${length} Get Length ${received_value['subscription']} + :FOR ${item} IN RANGE 0 ${length} + \ Exit For Loop If ${received_value['subscription'][${item}]} == ${expected_value} + Log Item found ${received_value['subscription'][${item}]} + [return] ${received_value['subscription'][${item}]} Check CellChangeSubscription @@ -24,23 +25,25 @@ Check CellChangeSubscription Check RabInfo [Arguments] ${received_value} log ${received_value} - Should Be Equal ${received_value['appInsId']} ${APP_INS_ID} - Should Not Contain ${received_value['requestId']} "" - Should Be Equal ${received_value['cellUserInfo'][0]['ecgi']['cellId']} ${CELL_ID} - # TODO How to check the presence of a field + Should Be Equal As Strings ${received_value['appInstanceId']} ${APP_INS_ID} + Should Not Be Empty ${received_value['requestId']} + Should Be Equal As Strings ${received_value['cellUserInfo'][0]['ecgi']['cellId']} ${CELL_ID} Check PlmnInfo [Arguments] ${received_value} log ${received_value} - Should Be Equal ${received_value['appInsId']} ${APP_INS_ID} - Should Not Contain ${received_value['plmn'][0]['mcc']} "" - Should Not Contain ${received_value['plmn'][0]['mnc']} "" - # TODO How to check the presence of a field + Should Be Equal As Strings ${received_value['appInstanceId']} ${APP_INS_ID} + Should Not Be Empty ${received_value['plmn'][0]['mcc']} + Should Not Be Empty ${received_value['plmn'][0]['mnc']} Check S1BearerInfo [Arguments] ${received_value} log ${received_value} - #Should Not Contain ${received_value['s1UeInfo'][0]['ecgi']['cellId']} ${CELL_ID} - # TODO How to check the presence of a field + Should Be Equal As Strings ${received_value['s1UeIffo']['ecgi']['cellId']} ${CELL_ID} + +Check L2MeasInfo + [Arguments] ${received_value} + log ${received_value} + Should Be Equal As Strings ${received_value['cellInfo']['ecgi']['cellId']} ${CELL_ID} diff --git a/SRV/RNIS/schemas/CaReconfSubscription.schema.json b/SRV/RNIS/schemas/CaReconfSubscription.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..898b7f001191fbbcf2b6fa3348fade0fefebf288 --- /dev/null +++ b/SRV/RNIS/schemas/CaReconfSubscription.schema.json @@ -0,0 +1,52 @@ +{ + "properties": { + "_links": { + "description": "Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests.", + "type": "object", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "callbackReference": { + "description": "URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response.", + "format": "uri", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "URI" + }, + "expiryDeadline": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + }, + "filterCriteriaAssoc": { + "description": "List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response.", + "type": "object", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "subscriptionType": { + "description": "Shall be set to \"CaReconfSubscription\".", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "subscriptionType", + "callbackReference", + "filterCriteriaAssoc" + ], + "type": "object", + "x-etsi-ref": "6.3.8" +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/CellChangeNotification.schema.json b/SRV/RNIS/schemas/CellChangeNotification.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..4266f1a1ba19edb6226f3fb117808d8f58d7eb5d --- /dev/null +++ b/SRV/RNIS/schemas/CellChangeNotification.schema.json @@ -0,0 +1,158 @@ +{ + "properties": { + "associateId": { + "description": "0 to N identifiers to associate the event for a specific UE or flow.", + "items": { + "properties": { + "type": { + "description": "Numeric value (0-255) corresponding to specified type of identifier as following:\n0 = reserved.\n1= UE_IPv4_ADDRESS.\n2 = UE_IPV6_ADDRESS.\n3 = NATED_IP_ADDRESS.\n4 = GTP_TEID.", + "enum": [ + "SEE_DESCRIPTION" + ], + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Enum" + }, + "value": { + "description": "Value for the identifier.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "type", + "value" + ], + "type": "object", + "x-etsi-ref": "6.5.4" + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "AssociateId" + }, + "hoStatus": { + "description": "Indicate the status of the UE handover procedure. Values are defined as following:\n1 = IN_PREPARATION.\n2 = IN_EXECUTION.\n3 = COMPLETED.\n4 = REJECTED.\n5 = CANCELLED.", + "enum": [ + "SEE_DESCRIPTION" + ], + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Enum" + }, + "notificationType": { + "description": "Shall be set to \"CellChangeNotification\".", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "srcEcgi": { + "properties": { + "cellId": { + "description": "String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3].", + "type": "string" + }, + "plmn": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + } + }, + "required": [ + "plmn", + "cellId" + ], + "type": "object", + "x-etsi-ref": "6.5.6" + }, + "tempUeId": { + "description": "The temporary identifier allocated for the specific UE as defined below.", + "type": "object", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "timeStamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + }, + "trgEcgi": { + "description": "E-UTRAN CelI Global Identifier of the target cell.\nNOTE: Cardinality N is valid only in case of statuses IN_PREPARATION, REJECTED and CANCELLED.", + "items": { + "properties": { + "cellId": { + "description": "String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3].", + "type": "string" + }, + "plmn": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + } + }, + "required": [ + "plmn", + "cellId" + ], + "type": "object", + "x-etsi-ref": "6.5.6" + }, + "type": "array", + "x-etsi-mec-cardinality": "1..N", + "x-etsi-mec-origin-type": "Ecgi" + } + }, + "required": [ + "notificationType", + "srcEcgi", + "trgEcgi", + "hoStatus" + ], + "type": "object", + "x-etsi-ref": "6.4.2" + } \ No newline at end of file diff --git a/SRV/RNIS/schemas/CellChangeSubscription.schema.json b/SRV/RNIS/schemas/CellChangeSubscription.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..56911b107a5c8db55b10742088e15eba5c36aad0 --- /dev/null +++ b/SRV/RNIS/schemas/CellChangeSubscription.schema.json @@ -0,0 +1,73 @@ +{ + "properties": { + "_links": { + "description": "Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests.", + "type": "object", + "properties": { + "self": { + "properties": { + "href": { + "description": "URI referring to a resource", + "format": "uri", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "URI" + } + }, + "required": [ + "href" + ], + "type": "object", + "x-etsi-ref": "6.5.2" + } + }, + "required": [ + "self" + ], + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "callbackReference": { + "description": "URI selected by the service consumerto receive notifications on the subscribed RNIS information. This shall be included both in the request and in response.", + "format": "uri", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "URI" + }, + "expiryDeadline": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + }, + "filterCriteriaAssocHo": { + "description": "List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response.", + "type": "object", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "subscriptionType": { + "description": "Shall be set to \"CellChangeSubscription\".", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "subscriptionType", + "callbackReference", + "filterCriteriaAssocHo" + ], + "type": "object", + "x-etsi-ref": "6.3.2" + } \ No newline at end of file diff --git a/SRV/RNIS/schemas/L2Meas.schema.json b/SRV/RNIS/schemas/L2Meas.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..337798fcf909ef63ed8bc44671d512274911d477 --- /dev/null +++ b/SRV/RNIS/schemas/L2Meas.schema.json @@ -0,0 +1,249 @@ +{ + "type": "object", + "properties": { + "cellInfo": { + "description": "The per cell measurement information as defined below.", + "items": { + "type": "object" + }, + "properties": { + "dl_gbr_prb_usage_cell": { + "description": "It indicates the PRB usage for downlink GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "dl_nongbr_prb_usage_cell": { + "description": "It indicates (in percentage) the PRB usage for downlink non-GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "ecgi": { + "properties": { + "cellId": { + "description": "String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3].", + "type": "string" + }, + "plmn": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + } + }, + "required": [ + "plmn", + "cellId" + ], + "type": "object", + "x-etsi-ref": "6.5.6" + }, + "ul_gbr_prb_usage_cell": { + "description": "It indicates (in percentage) the PRB usage for uplink GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "ul_nongbr_prb_usage_cell": { + "description": "It indicates (in percentage) the PRB usage for uplink non-GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + } + }, + "required": [ + "ecgi" + ], + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "cellUEInfo": { + "description": "The per cell per UE layer 2 measurements information as defined below.", + "items": { + "type": "object" + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "dl_gbr_data_volume_ue": { + "description": "It indicates the data volume of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "dl_gbr_pdr_cell": { + "description": "It indicates the packet discard rate in percentage of the downlink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "dl_gbr_pdr_ue": { + "description": "It indicates the packet discard rate in percentage of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "dl_gbr_throughput_ue": { + "description": "It indicates the scheduled throughput of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "dl_nongbr_data_volume_ue": { + "description": "It indicates the data volume of the downlink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "dl_nongbr_pdr_cell": { + "description": "It indicates the packet discard rate in percentage of the downlink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "dl_nongbr_pdr_ue": { + "description": "It indicates the packet discard rate in percentage of the downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "dl_nongbr_throughput_ue": { + "description": "It indicates the scheduled throughput of the downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "number_of_active_ue_dl_gbr_cell": { + "description": "It indicates the number of active UEs with downlink GBR traffic, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "number_of_active_ue_dl_nongbr_cell": { + "description": "It indicates the number of active UEs with downlink non-GBR traffic, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "number_of_active_ue_ul_gbr_cell": { + "description": "It indicates the number of active UEs with uplink GBR traffic, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "number_of_active_ue_ul_nongbr_cell": { + "description": "It indicates the number of active UEs with uplink non-GBR traffic, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "received_dedicated_preambles_cell": { + "description": "It indicates (in percentage) the received dedicated preamples, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "received_randomly_selected _preambles_high_range_cell": { + "description": "It indicates (in percentage) the received randomly selected preambles in the high range, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "received_randomly_selected _preambles_low_range_cell": { + "description": "It indicates (in percentage) the received randomly selected preambles in the low range, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "timestamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + }, + "ul_gbr_data_volume_ue": { + "description": "It indicates the data volume of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "ul_gbr_pdr_cell": { + "description": "It indicates the packet discard rate in percentage of the uplink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "ul_gbr_pdr_ue": { + "description": "It indicates the packet discard rate in percentage of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "ul_gbr_throughput_ue": { + "description": "It indicates the scheduled throughput of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "ul_nongbr_data_volume_ue": { + "description": "It indicates the data volume of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "ul_nongbr_pdr_cell": { + "description": "It indicates the packet discard rate in percentage of the uplink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "ul_nongbr_pdr_ue": { + "description": "It indicates the packet discard rate in percentage of the uplink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "ul_nongbr_throughput_ue": { + "description": "It indicates the scheduled throughput of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "ul_total_prb_usage_cell": { + "description": "It indicates (in percentage) the PRB usage for total uplink traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + } + }, + "x-etsi-ref": "6.2.4a" +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/L2MeasInfos.schema.json b/SRV/RNIS/schemas/L2MeasInfos.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..ed3eb81c221798df483ea3a952ee4c1b6f6603f0 --- /dev/null +++ b/SRV/RNIS/schemas/L2MeasInfos.schema.json @@ -0,0 +1,252 @@ +{ + "type": "array", + "items": { + "type": "object", + "properties": { + "cellInfo": { + "description": "The per cell measurement information as defined below.", + "items": { + "type": "object" + }, + "properties": { + "dl_gbr_prb_usage_cell": { + "description": "It indicates the PRB usage for downlink GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "dl_nongbr_prb_usage_cell": { + "description": "It indicates (in percentage) the PRB usage for downlink non-GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "ecgi": { + "properties": { + "cellId": { + "description": "String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3].", + "type": "string" + }, + "plmn": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + } + }, + "required": [ + "plmn", + "cellId" + ], + "type": "object", + "x-etsi-ref": "6.5.6" + }, + "ul_gbr_prb_usage_cell": { + "description": "It indicates (in percentage) the PRB usage for uplink GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "ul_nongbr_prb_usage_cell": { + "description": "It indicates (in percentage) the PRB usage for uplink non-GBR traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + } + }, + "required": [ + "ecgi" + ], + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "cellUEInfo": { + "description": "The per cell per UE layer 2 measurements information as defined below.", + "items": { + "type": "object" + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "dl_gbr_data_volume_ue": { + "description": "It indicates the data volume of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "dl_gbr_pdr_cell": { + "description": "It indicates the packet discard rate in percentage of the downlink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "dl_gbr_pdr_ue": { + "description": "It indicates the packet discard rate in percentage of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "dl_gbr_throughput_ue": { + "description": "It indicates the scheduled throughput of the downlink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "dl_nongbr_data_volume_ue": { + "description": "It indicates the data volume of the downlink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "dl_nongbr_pdr_cell": { + "description": "It indicates the packet discard rate in percentage of the downlink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "dl_nongbr_pdr_ue": { + "description": "It indicates the packet discard rate in percentage of the downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "dl_nongbr_throughput_ue": { + "description": "It indicates the scheduled throughput of the downlink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "number_of_active_ue_dl_gbr_cell": { + "description": "It indicates the number of active UEs with downlink GBR traffic, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "number_of_active_ue_dl_nongbr_cell": { + "description": "It indicates the number of active UEs with downlink non-GBR traffic, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "number_of_active_ue_ul_gbr_cell": { + "description": "It indicates the number of active UEs with uplink GBR traffic, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "number_of_active_ue_ul_nongbr_cell": { + "description": "It indicates the number of active UEs with uplink non-GBR traffic, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "received_dedicated_preambles_cell": { + "description": "It indicates (in percentage) the received dedicated preamples, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "received_randomly_selected _preambles_high_range_cell": { + "description": "It indicates (in percentage) the received randomly selected preambles in the high range, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "received_randomly_selected _preambles_low_range_cell": { + "description": "It indicates (in percentage) the received randomly selected preambles in the low range, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "timestamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + }, + "ul_gbr_data_volume_ue": { + "description": "It indicates the data volume of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "ul_gbr_pdr_cell": { + "description": "It indicates the packet discard rate in percentage of the uplink GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "ul_gbr_pdr_ue": { + "description": "It indicates the packet discard rate in percentage of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "ul_gbr_throughput_ue": { + "description": "It indicates the scheduled throughput of the uplink GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "ul_nongbr_data_volume_ue": { + "description": "It indicates the data volume of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "ul_nongbr_pdr_cell": { + "description": "It indicates the packet discard rate in percentage of the uplink non-GBR traffic in a cell, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "ul_nongbr_pdr_ue": { + "description": "It indicates the packet discard rate in percentage of the uplink nonGBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + }, + "ul_nongbr_throughput_ue": { + "description": "It indicates the scheduled throughput of the uplink non-GBR traffic of a UE, as defined in ETSI TS 136 314 [i.11].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer" + }, + "ul_total_prb_usage_cell": { + "description": "It indicates (in percentage) the PRB usage for total uplink traffic, as defined in ETSI TS 136 314 [i.11] and ETSI TS 136 423 [i.12].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Integer (0..100)" + } + }, + "x-etsi-ref": "6.2.4a" + } +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/MeasRepUeNotification.schema.json b/SRV/RNIS/schemas/MeasRepUeNotification.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..5d9be9a02d1ba5f09bf73440a6168aaa0376057d --- /dev/null +++ b/SRV/RNIS/schemas/MeasRepUeNotification.schema.json @@ -0,0 +1,205 @@ +{ + "items": { + "properties": { + "associateId": { + "description": "0 to N identifiers to associate the event for a specific UE or flow.", + "items": { + "properties": { + "type": { + "description": "Numeric value (0-255) corresponding to specified type of identifier as following:\n0 = reserved.\n1= UE_IPv4_ADDRESS.\n2 = UE_IPV6_ADDRESS.\n3 = NATED_IP_ADDRESS.\n4 = GTP_TEID.", + "enum": [ + "SEE_DESCRIPTION" + ], + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Enum" + }, + "value": { + "description": "Value for the identifier.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "type", + "value" + ], + "type": "object", + "x-etsi-ref": "6.5.4" + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "AssociateId" + }, + "carrierAggregationMeasInfo": { + "description": "This parameter can be repeated to contain information of all the carriers assign for Carrier Aggregation up to M.", + "type": "object", + "x-etsi-mec-cardinality": "0..M", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "ecgi": { + "properties": { + "cellId": { + "description": "String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3].", + "type": "string" + }, + "plmn": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + } + }, + "required": [ + "plmn", + "cellId" + ], + "type": "object", + "x-etsi-ref": "6.5.6" + }, + "eutranNeighbourCellMeasInfo": { + "description": "This parameter can be repeated to contain information of all the neighbouring cells up to N.", + "items": { + "type": "object" + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "heightUe": { + "description": "Indicates height of the UE in meters relative to the sea level as defined in ETSI TS 136.331 [i.7].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Int" + }, + "newRadioMeasInfo": { + "description": "5G New Radio secondary serving cells measurement information.", + "items": { + "type": "object" + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "newRadioMeasNeiInfo": { + "description": "Measurement quantities concerning the 5G NR neighbours.", + "items": { + "type": "object" + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "notificationType": { + "description": "Shall be set to \"MeasRepUeNotification\".", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "rsrp": { + "description": "Reference Signal Received Power as defined in ETSI TS 136 214 [i.5].", + "type": "integer", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Uint8" + }, + "rsrpEx": { + "description": "Extended Reference Signal Received Power, with value mapping defined in ETSI TS 136 133 [i.16].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Uint8" + }, + "rsrq": { + "description": "Reference Signal Received Quality as defined in ETSI TS 136 214 [i.5].", + "type": "integer", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Uint8" + }, + "rsrqEx": { + "description": "Extended Reference Signal Received Quality, with value mapping defined in ETSI TS 136 133 [i.16].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Uint8" + }, + "sinr": { + "description": "Reference Signal \"Signal to Interference plus Noise Ratio\", with value mapping defined in ETSI TS 136 133 [i.16].", + "type": "integer", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Uint8" + }, + "timeStamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + }, + "trigger": { + "description": "As defined in Ref ETSI TS 136 331 [i.7]", + "enum": [ + "0 = NOT_AVAILABLE", + "1 = PERIODICAL_REPORT_STRONGEST_CELLS", + "2 = PERIODICAL_REPORT_STRONGEST_CELLS_FOR_SON", + "3 = PERIODICAL_REPORT_CGI", + "4 = INTRA_PERIODICAL_REPORT_STRONGEST_CELLS", + "5 = INTRA_PERIODICAL_REPORT_CGI", + "10 = EVENT_A1", + "11 = EVENT_A2", + "12 = EVENT_A3", + "13 = EVENT_A4", + "14 = EVENT_A5", + "15 = EVENT_A6", + "20 = EVENT_B1", + "21 = EVENT_B2", + "20 = EVENT_B1-NR", + "21 = EVENT_B2-NR", + "30 = EVENT_C1", + "31 = EVENT_C2", + "40 = EVENT_W1", + "41 = EVENT_W2", + "42 = EVENT_W3", + "50 = EVENT_V1", + "51 = EVENT_V2", + "60 = EVENT_H1", + "61 = EVENT_H2" + ], + "type": "string" + } + }, + "type": "object" + }, + "required": [ + "notificationType", + "ecgi", + "rsrp", + "rsrq", + "trigger" + ], + "type": "object", + "x-etsi-ref": "6.4.6" +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/MeasTaSubscription.schema.json b/SRV/RNIS/schemas/MeasTaSubscription.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..e8623acefcff756764dd9b1ac69d576ec3e98ea7 --- /dev/null +++ b/SRV/RNIS/schemas/MeasTaSubscription.schema.json @@ -0,0 +1,52 @@ +{ + "properties": { + "_links": { + "description": "Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests.", + "type": "object", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "callbackReference": { + "description": "URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response.", + "format": "uri", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "URI" + }, + "expiryDeadline": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + }, + "filterCriteriaAssoc": { + "description": "List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response.", + "type": "object", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "subscriptionType": { + "description": "Shall be set to \"MeasTaSubscription\".", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "subscriptionType", + "callbackReference", + "filterCriteriaAssoc" + ], + "type": "object", + "x-etsi-ref": "6.3.7" +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/NrMeasRepUeSubscription.schema.json b/SRV/RNIS/schemas/NrMeasRepUeSubscription.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..cd9a09d542fefb29d0c0d3be34bee2ca6e3e167d --- /dev/null +++ b/SRV/RNIS/schemas/NrMeasRepUeSubscription.schema.json @@ -0,0 +1,52 @@ +{ + "properties": { + "_links": { + "description": "Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests.", + "type": "object", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "callbackReference": { + "description": "URI selected by the service consumer to receive notifications on the subscribed RNIS information. This shall be included both in the request and in response.", + "format": "uri", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "URI" + }, + "expiryDeadline": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + }, + "filterCriteriaNrMrs": { + "description": "List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response.", + "type": "object", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "subscriptionType\t": { + "description": "Shall be set to \"NrMeasRepUeSubscription\".", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "subscriptionType\t", + "callbackReference", + "filterCriteriaNrMrs" + ], + "type": "object", + "x-etsi-ref": "6.3.11" + } \ No newline at end of file diff --git a/SRV/RNIS/schemas/PlmnInfo.schema.json b/SRV/RNIS/schemas/PlmnInfo.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..f176cce80d8e3950ea57fa92e52a96e400bff098 --- /dev/null +++ b/SRV/RNIS/schemas/PlmnInfo.schema.json @@ -0,0 +1,61 @@ +{ + "type": "object", + "properties": { + "appInstanceId": { + "description": "Unique identifier for the MEC application instance.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "plmn": { + "description": "Public Land Mobile Network Identity.", + "items": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + }, + "minItems": 1, + "type": "array", + "x-etsi-mec-cardinality": "1..N", + "x-etsi-mec-origin-type": "Plmn" + }, + "timeStamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + } + }, + "required": [ + "appInstanceId", + "plmn" + ], + "x-etsi-ref": "6.2.2" +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/PlmnInfos.schema.json b/SRV/RNIS/schemas/PlmnInfos.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..72f2ac15a48bd67c8aafa13cf9d25c53fdb0e5f5 --- /dev/null +++ b/SRV/RNIS/schemas/PlmnInfos.schema.json @@ -0,0 +1,64 @@ +{ + "type": "array", + "items": { + "type": "object", + "properties": { + "appInstanceId": { + "description": "Unique identifier for the MEC application instance.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "plmn": { + "description": "Public Land Mobile Network Identity.", + "items": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + }, + "minItems": 1, + "type": "array", + "x-etsi-mec-cardinality": "1..N", + "x-etsi-mec-origin-type": "Plmn" + }, + "timeStamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + } + }, + "required": [ + "appInstanceId", + "plmn" + ], + "x-etsi-ref": "6.2.2" + } +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/RabEstNotification.schema.json b/SRV/RNIS/schemas/RabEstNotification.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..095fb26c70b804b57d8fa7f93a52df4a070e1d7a --- /dev/null +++ b/SRV/RNIS/schemas/RabEstNotification.schema.json @@ -0,0 +1,129 @@ +{ + "properties": { + "associateId": { + "description": "0 to N identifiers to bind the event for a specific UE or flow. ", + "items": { + "properties": { + "type": { + "description": "Numeric value (0-255) corresponding to specified type of identifier as following:\n0 = reserved.\n1= UE_IPv4_ADDRESS.\n2 = UE_IPV6_ADDRESS.\n3 = NATED_IP_ADDRESS.\n4 = GTP_TEID.", + "enum": [ + "SEE_DESCRIPTION" + ], + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Enum" + }, + "value": { + "description": "Value for the identifier.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "type", + "value" + ], + "type": "object", + "x-etsi-ref": "6.5.4" + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "AssociateId" + }, + "ecgi": { + "properties": { + "cellId": { + "description": "String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3].", + "type": "string" + }, + "plmn": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + } + }, + "required": [ + "plmn", + "cellId" + ], + "type": "object", + "x-etsi-ref": "6.5.6" + }, + "erabId": { + "description": "The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3].", + "type": "integer", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Integer" + }, + "erabQosParameters": { + "description": "QoS parameters for the E-RAB as defined below.", + "properties": { + "qci": { + "description": "QoS Class Identifier as defined in ETSI TS 123 401 [i.4].", + "type": "integer", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Integer" + } + }, + "required": [ + "qci" + ], + "type": "object", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "notificationType": { + "description": "Shall be set to \"RabEstNotification\".", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "tempUeId": { + "description": "The temporary identifier allocated for the specific UE as defined below. ", + "type": "object", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "timeStamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + } + }, + "required": [ + "notificationType", + "ecgi", + "erabId" + ], + "type": "object", + "x-etsi-ref": "6.4.3" +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/RabInfo.schema.json b/SRV/RNIS/schemas/RabInfo.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..c3be426815e053c535769658963eef842ac17aa9 --- /dev/null +++ b/SRV/RNIS/schemas/RabInfo.schema.json @@ -0,0 +1,155 @@ +{ + "type": "object", + "properties": { + "appInstanceId": { + "description": "Unique identifier for the MEC application instance.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "cellUserInfo": { + "description": "The information on users per cell as defined below.", + "items": { + "properties": { + "ecgi": { + "properties": { + "cellId": { + "description": "String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3].", + "type": "string" + }, + "plmn": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + } + }, + "required": [ + "plmn", + "cellId" + ], + "type": "object", + "x-etsi-ref": "6.5.6" + }, + "ueInfo": { + "description": "Information on UEs in the specific cell as defined below.", + "items": { + "properties": { + "associateId": { + "description": "0 to N identifiers to associate the event for a specific UE or flow.", + "items": { + "properties": { + "type": { + "description": "Numeric value (0-255) corresponding to specified type of identifier as following:\n0 = reserved.\n1= UE_IPv4_ADDRESS.\n2 = UE_IPV6_ADDRESS.\n3 = NATED_IP_ADDRESS.\n4 = GTP_TEID.", + "enum": [ + "SEE_DESCRIPTION" + ], + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Enum" + }, + "value": { + "description": "Value for the identifier.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "type", + "value" + ], + "type": "object", + "x-etsi-ref": "6.5.4" + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "AssociateId" + }, + "erabInfo": { + "description": "Information on E-RAB as defined below.", + "items": { + "type": "object" + }, + "properties": { + "erabId": { + "description": "The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3].", + "type": "integer", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Integer" + }, + "erabQosParameters": { + "description": "QoS parameters for the E-RAB as defined below.", + "type": "object", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Structure (inlined)" + } + }, + "required": [ + "erabId" + ], + "type": "array", + "x-etsi-mec-cardinality": "1..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + } + }, + "type": "object" + }, + "required": [ + "erabInfo" + ], + "type": "array", + "x-etsi-mec-cardinality": "1..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + } + }, + "type": "object", + "required": [ + "ecgi", + "ueInfo" + ] + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "requestId": { + "description": "Unique identifier allocated by the service consumer for the RAB Information request.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "timeStamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + } + } +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/RabInfos.schema.json b/SRV/RNIS/schemas/RabInfos.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..1b9635e598c08c0e71f9433365a4ec127ebe2717 --- /dev/null +++ b/SRV/RNIS/schemas/RabInfos.schema.json @@ -0,0 +1,163 @@ +{ + "type": "array", + "items": { + "type": "object", + "properties": { + "appInstanceId": { + "description": "Unique identifier for the MEC application instance.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "cellUserInfo": { + "description": "The information on users per cell as defined below.", + "items": { + "properties": { + "ecgi": { + "properties": { + "cellId": { + "description": "String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3].", + "type": "string" + }, + "plmn": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + } + }, + "required": [ + "plmn", + "cellId" + ], + "type": "object", + "x-etsi-ref": "6.5.6" + }, + "ueInfo": { + "description": "Information on UEs in the specific cell as defined below.", + "items": { + "properties": { + "associateId": { + "description": "0 to N identifiers to associate the event for a specific UE or flow.", + "items": { + "properties": { + "type": { + "description": "Numeric value (0-255) corresponding to specified type of identifier as following:\n0 = reserved.\n1= UE_IPv4_ADDRESS.\n2 = UE_IPV6_ADDRESS.\n3 = NATED_IP_ADDRESS.\n4 = GTP_TEID.", + "enum": [ + "SEE_DESCRIPTION" + ], + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Enum" + }, + "value": { + "description": "Value for the identifier.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "type", + "value" + ], + "type": "object", + "x-etsi-ref": "6.5.4" + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "AssociateId" + }, + "erabInfo": { + "description": "Information on E-RAB as defined below.", + "items": { + "type": "object" + }, + "properties": { + "erabId": { + "description": "The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3].", + "type": "integer", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Integer" + }, + "erabQosParameters": { + "description": "QoS parameters for the E-RAB as defined below.", + "type": "object", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Structure (inlined)" + } + }, + "required": [ + "erabId" + ], + "type": "array", + "x-etsi-mec-cardinality": "1..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + } + }, + "type": "object" + }, + "required": [ + "erabInfo" + ], + "type": "array", + "x-etsi-mec-cardinality": "1..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + } + }, + "type": "object", + "required": [ + "ecgi", + "ueInfo" + ] + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "requestId": { + "description": "Unique identifier allocated by the service consumer for the RAB Information request.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "timeStamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + } + } + }, + "required": [ + "appInstanceId", + "requestId" + ], + "x-etsi-ref": "6.2.3" +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/RabModNotification.schema.json b/SRV/RNIS/schemas/RabModNotification.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..c0cd6eceb437779d81730c1af1340c0e6f885d83 --- /dev/null +++ b/SRV/RNIS/schemas/RabModNotification.schema.json @@ -0,0 +1,123 @@ +{ + "properties": { + "associateId": { + "description": "0 to N identifiers to bind the event for a specific UE or flow. ", + "items": { + "properties": { + "type": { + "description": "Numeric value (0-255) corresponding to specified type of identifier as following:\n0 = reserved.\n1= UE_IPv4_ADDRESS.\n2 = UE_IPV6_ADDRESS.\n3 = NATED_IP_ADDRESS.\n4 = GTP_TEID.", + "enum": [ + "SEE_DESCRIPTION" + ], + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Enum" + }, + "value": { + "description": "Value for the identifier.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "type", + "value" + ], + "type": "object", + "x-etsi-ref": "6.5.4" + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "AssociateId" + }, + "ecgi": { + "properties": { + "cellId": { + "description": "String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3].", + "type": "string" + }, + "plmn": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + } + }, + "required": [ + "plmn", + "cellId" + ], + "type": "object", + "x-etsi-ref": "6.5.6" + }, + "erabId": { + "description": "The attribute that uniquely identifies a Radio Access bearer for specific UE as defined in ETSI TS 136 413 [i.3].", + "type": "integer", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Integer" + }, + "erabQosParameters": { + "description": "The QoS parameters for the E-RAB as defined below.", + "properties": { + "qci": { + "description": "QoS Class Identifier as defined in ETSI TS 123 401 [i.4].", + "type": "integer", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Integer" + } + }, + "required": [ + "qci" + ], + "type": "object", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "notificationType": { + "description": "Shall be set to \"RabModNotification\".", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "timeStamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + } + }, + "required": [ + "notificationType", + "ecgi", + "erabId" + ], + "type": "object", + "x-etsi-ref": "6.4.4" + } \ No newline at end of file diff --git a/SRV/RNIS/schemas/RabRelNotification.schema.json b/SRV/RNIS/schemas/RabRelNotification.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..f2d980a98f586305a02b31612d7e6f36e1239808 --- /dev/null +++ b/SRV/RNIS/schemas/RabRelNotification.schema.json @@ -0,0 +1,106 @@ +{ + "properties": { + "associateId": { + "description": "0 to N identifiers to bind the event for a specific UE or flow as defined below.", + "items": { + "properties": { + "type": { + "description": "Numeric value (0-255) corresponding to specified type of identifier as following:\n0 = reserved.\n1= UE_IPv4_ADDRESS.\n2 = UE_IPV6_ADDRESS.\n3 = NATED_IP_ADDRESS.\n4 = GTP_TEID.", + "enum": [ + "SEE_DESCRIPTION" + ], + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Enum" + }, + "value": { + "description": "Value for the identifier.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "type", + "value" + ], + "type": "object", + "x-etsi-ref": "6.5.4" + }, + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "AssociateId" + }, + "ecgi": { + "properties": { + "cellId": { + "description": "String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3].", + "type": "string" + }, + "plmn": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + } + }, + "required": [ + "plmn", + "cellId" + ], + "type": "object", + "x-etsi-ref": "6.5.6" + }, + "erabReleaseInfo": { + "description": "The release information for the E-RAB as defined below.", + "type": "object", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "notificationType": { + "description": "Shall be set to \"RabRelNotification\".", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "timeStamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + } + }, + "required": [ + "notificationType", + "ecgi", + "erabReleaseInfo" + ], + "type": "object", + "x-etsi-ref": "6.4.5" +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/RadioNetworkInformationAPI.schema.json b/SRV/RNIS/schemas/RadioNetworkInformationAPI.schema.json deleted file mode 100644 index f049d5ef1f601feb2ad17f7fb86ac2ef0aa2a16e..0000000000000000000000000000000000000000 --- a/SRV/RNIS/schemas/RadioNetworkInformationAPI.schema.json +++ /dev/null @@ -1,975 +0,0 @@ -{ - "ProblemDetails": { - "type": "object", - "properties": { - "type": { - "$ref": "#/definitions/Problem.type" - }, - "title": { - "$ref": "#/definitions/Problem.title" - }, - "status": { - "$ref": "#/definitions/Problem.status" - }, - "detail": { - "$ref": "#/definitions/Problem.detail" - }, - "instance": { - "$ref": "#/definitions/Problem.instance" - } - } - }, - "Problem.type": { - "type": "string", - "format": "uri", - "description": "A URI reference according to IETF RFC 3986 that identifies the problem type" - }, - "Problem.title": { - "type": "string", - "description": "A short, human-readable summary of the problem type" - }, - "Problem.status": { - "type": "integer", - "format": "uint32", - "description": "The HTTP status code for this occurrence of the problem" - }, - "Problem.detail": { - "type": "string", - "description": "A human-readable explanation specific to this occurrence of the problem" - }, - "Problem.instance": { - "type": "string", - "format": "uri", - "description": "A URI reference that identifies the specific occurrence of the problem" - }, - "PlmnInfo": { - "type": "object", - "required": [ - "appInsId", - "plmn" - ], - "properties": { - "timeStamp": { - "$ref": "#/definitions/TimeStamp" - }, - "appInsId": { - "$ref": "#/definitions/AppInsId" - }, - "plmn": { - "type": "array", - "items": { - "$ref": "#/definitions/Plmn" - } - } - } - }, - "RabInfo": { - "type": "object", - "required": [ - "appInsId", - "requestId" - ], - "properties": { - "timeStamp": { - "$ref": "#/definitions/TimeStamp" - }, - "appInsId": { - "$ref": "#/definitions/AppInsId" - }, - "requestId": { - "$ref": "#/definitions/RequestId" - }, - "cellUserInfo": { - "type": "array", - "items": { - "$ref": "#/definitions/CellUserInfo" - } - } - } - }, - "S1BearerInfo": { - "type": "object", - "required": [ - "s1UeInfo" - ], - "properties": { - "timeStamp": { - "$ref": "#/definitions/TimeStamp" - }, - "s1UeInfo": { - "type": "array", - "items": { - "$ref": "#/definitions/S1UeInfo" - } - } - } - }, - "S1UeInfo": { - "type": "object", - "required": [ - "ecgi", - "s1BearerInfoDetailed" - ], - "properties": { - "tempUeId": { - "type": "array", - "items": { - "$ref": "#/definitions/TempUeId" - } - }, - "associateId": { - "type": "array", - "items": { - "$ref": "#/definitions/AssociateId" - } - }, - "ecgi": { - "type": "array", - "items": { - "$ref": "#/definitions/Ecgi" - } - }, - "s1BearerInfoDetailed": { - "type": "array", - "items": { - "$ref": "#/definitions/S1BearerInfoDetailed" - } - } - }, - "description": "The information on users per cell." - }, - "S1BearerInfoDetailed": { - "type": "object", - "required": [ - "erabId", - "enbInfo", - "sGwInfo" - ], - "properties": { - "erabId": { - "$ref": "#/definitions/ErabId" - }, - "enbInfo": { - "$ref": "#/definitions/S1EnbInfo" - }, - "sGwInfo": { - "$ref": "#/definitions/SGwInfo" - } - }, - "description": "Information on UEs in the specific cell." - }, - "ErabId": { - "type": "integer", - "format": "int32", - "description": "The element that uniquely identifies a S1 bearer for a specific UE, as defined in ETSI TS 136 413", - "example": 10 - }, - "TempUeId": { - "type": "object", - "required": [ - "mmec", - "mtmsi" - ], - "properties": { - "mmec": { - "$ref": "#/definitions/Mmec" - }, - "mtmsi": { - "$ref": "#/definitions/Mtmsi" - } - } - }, - "Mmec": { - "type": "string", - "description": "MMEC as defined in ETSI TS 136 413", - "example": "0" - }, - "Mtmsi": { - "type": "string", - "description": "M-TMSI as defined in ETSI TS 136 413", - "example": "1234" - }, - "S1EnbInfo": { - "type": "object", - "required": [ - "ipAddress", - "tunnelId" - ], - "properties": { - "ipAddress": { - "type": "string", - "description": "eNB transport layer address of this S1 bearer.", - "example": "192.0.2.0" - }, - "tunnelId": { - "type": "string", - "description": "eNB GTP-U TEID of this S1 bearer.", - "example": "1111" - } - } - }, - "SGwInfo": { - "type": "object", - "required": [ - "ipAddress", - "tunnelId" - ], - "properties": { - "ipAddress": { - "type": "string", - "description": "SGW transport layer address of this S1 bearer.", - "example": "192.0.2.1" - }, - "tunnelId": { - "type": "string", - "description": "SGW GTP-U TEID of this S1 bearer.", - "example": "2222" - } - } - }, - "TimeStamp": { - "type": "object", - "required": [ - "nanoSeconds", - "seconds" - ], - "properties": { - "seconds": { - "type": "integer", - "format": "uint32", - "description": "The seconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC", - "example": 1577836800 - }, - "nanoSeconds": { - "type": "integer", - "format": "uint32", - "description": "The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC", - "example": 0 - } - } - }, - "AppInsId": { - "type": "string", - "format": "string", - "description": "Unique identifier for the mobile edge application instance", - "example": "01" - }, - "RequestId": { - "type": "string", - "format": "string", - "description": "Unique identifier allocated by the Mobile Edge application for the Information request.", - "example": "01" - }, - "CellUserInfo": { - "type": "object", - "required": [ - "ecgi", - "ueInfo" - ], - "properties": { - "ecgi": { - "$ref": "#/definitions/Ecgi" - }, - "ueInfo": { - "type": "array", - "items": { - "$ref": "#/definitions/UeInfo" - } - } - }, - "description": "The information on users per cell." - }, - "Ecgi": { - "type": "object", - "required": [ - "cellId", - "plmn" - ], - "properties": { - "plmn": { - "$ref": "#/definitions/Plmn" - }, - "cellId": { - "$ref": "#/definitions/CellId" - } - }, - "description": "E-UTRAN CelI Global Identifier as defined in 3GPP TS 36.413" - }, - "Plmn": { - "type": "object", - "required": [ - "mcc", - "mnc" - ], - "properties": { - "mcc": { - "type": "string", - "format": "string", - "description": "The Mobile Country Code part of PLMN Identity as defined in 3GPP TS 36.413", - "example": "001" - }, - "mnc": { - "type": "string", - "format": "string", - "description": "The Mobile Network Code part of PLMN Identity as defined in 3GPP TS 36.413", - "example": "01" - } - } - }, - "CellId": { - "type": "string", - "format": "binary", - "description": "The E-UTRAN Cell Identity as a bit string (size (28)), as defined in 3GPP TS 36.413", - "example": "0x800000A" - }, - "UeInfo": { - "type": "object", - "required": [ - "erabInfo" - ], - "properties": { - "associateId": { - "type": "array", - "items": { - "$ref": "#/definitions/AssociateId" - } - }, - "erabInfo": { - "type": "array", - "items": { - "$ref": "#/definitions/ErabQosParameters" - } - } - }, - "description": "Information on UEs in the specific cell." - }, - "AssociateId": { - "type": "object", - "required": [ - "type", - "value" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "RESERVED", - "UE_IPV4_ADDRESS", - "UE_IPV6_ADDRESS", - "NATED_IP_ADDRESS", - "GTP_TEID" - ], - "description": "Numeric value (0-255) corresponding to specified type of identifier", - "example": "UE_IPV4_ADDRESS" - }, - "value": { - "type": "string", - "description": "Value for the identifier", - "example": "192.0.0.2" - } - } - }, - "ErabQosParameters": { - "type": "object", - "properties": { - "qci": { - "$ref": "#/definitions/Qci" - }, - "qosInformation": { - "type": "array", - "items": { - "$ref": "#/definitions/QosInformation" - } - } - } - }, - "Qci": { - "type": "integer", - "format": "int32", - "description": "QoS Class Identifier as defined in TS 23.401", - "example": 7 - }, - "QosInformation": { - "type": "object", - "required": [ - "erabGbrDl", - "erabGbrUl", - "erabMbrDl", - "erabMbrUl" - ], - "properties": { - "erabMbrDl": { - "type": "integer", - "format": "int32", - "description": "This IE indicates the maximum downlink E-RAB Bit Rate as defined in TS 23.401 for this bearer.", - "example": 10 - }, - "erabMbrUl": { - "type": "integer", - "format": "int32", - "description": "This IE indicates the maximum uplink E-RAB Bit Rate as defined in TS 23.401 for this bearer.", - "example": 10 - }, - "erabGbrDl": { - "type": "integer", - "format": "int32", - "description": "This IE indicates the guaranteed downlink E-RAB Bit Rate as defined in TS 23.401 for this bearer.", - "example": 10 - }, - "erabGbrUl": { - "type": "integer", - "format": "int32", - "description": "This IE indicates the guaranteed uplink E-RAB Bit Rate as defined in TS 23.401 for this bearer.", - "example": 10 - } - } - }, - "SubscriptionLinkList": { - "type": "object", - "required": [ - "_links" - ], - "properties": { - "_links": { - "$ref": "#/definitions/Link" - }, - "subscription": { - "type": "array", - "items": { - "$ref": "#/definitions/Subscription" - } - } - } - }, - "MeasRepUeSubscriptionPost": { - "type": "object", - "required": [ - "callbackReference", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssocTri" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "MeasRepUeSubscription": { - "type": "object", - "required": [ - "callbackReference", - "_links", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "_links": { - "$ref": "#/definitions/Link" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssocTri" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "S1BearerSubscriptionPost": { - "type": "object", - "required": [ - "callbackReference", - "s1BearerSubscriptionCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "eventType": { - "$ref": "#/definitions/EventType" - }, - "s1BearerSubscriptionCriteria": { - "$ref": "#/definitions/S1BearerSubscriptionCriteria" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "S1BearerSubscription": { - "type": "object", - "required": [ - "callbackReference", - "_links", - "s1BearerSubscriptionCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "_links": { - "$ref": "#/definitions/Link" - }, - "eventType": { - "$ref": "#/definitions/EventType" - }, - "s1BearerSubscriptionCriteria": { - "$ref": "#/definitions/S1BearerSubscriptionCriteria" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "RabEstSubscription": { - "type": "object", - "required": [ - "callbackReference", - "_links", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "_links": { - "$ref": "#/definitions/Link" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssocQci" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "RabEstSubscriptionPost": { - "type": "object", - "required": [ - "callbackReference", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssocQci" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "RabModSubscription": { - "type": "object", - "required": [ - "callbackReference", - "_links", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "_links": { - "$ref": "#/definitions/Link" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssocQci" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "RabModSubscriptionPost": { - "type": "object", - "required": [ - "callbackReference", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssocQci" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "RabRelSubscription": { - "type": "object", - "required": [ - "callbackReference", - "_links", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "_links": { - "$ref": "#/definitions/Link" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssocQci" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "RabRelSubscriptionPost": { - "type": "object", - "required": [ - "callbackReference", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssocQci" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "CaReConfSubscription": { - "type": "object", - "required": [ - "callbackReference", - "_links", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "_links": { - "$ref": "#/definitions/Link" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssoc" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "CaReConfSubscriptionPost": { - "type": "object", - "required": [ - "callbackReference", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssoc" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "CellChangeSubscriptionPost": { - "type": "object", - "required": [ - "subscriptionType", - "callbackReference", - "filterCriteria" - ], - "properties": { - "subscriptionType": { - "$ref": "#/definitions/SubscriptionType" - }, - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssocHo" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "CellChangeSubscription": { - "type": "object", - "required": [ - "callbackReference", - "_links", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "_links": { - "$ref": "#/definitions/Link" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssocHo" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "MeasTaSubscriptionPost": { - "type": "object", - "required": [ - "callbackReference", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssoc" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "MeasTaSubscription": { - "type": "object", - "required": [ - "callbackReference", - "_links", - "filterCriteria" - ], - "properties": { - "callbackReference": { - "$ref": "#/definitions/CallbackReference" - }, - "_links": { - "$ref": "#/definitions/Link" - }, - "filterCriteria": { - "$ref": "#/definitions/FilterCriteriaAssoc" - }, - "expiryDeadline": { - "$ref": "#/definitions/TimeStamp" - } - } - }, - "CallbackReference": { - "type": "string", - "format": "uri", - "description": "URL selected by the Mobile Edge application to receive notifications on the subscribed RNIS information.", - "example": "http://meAppClient.example.com/rni/v1/" - }, - "Link": { - "type": "object", - "properties": { - "self": { - "$ref": "#/definitions/LinkType" - } - }, - "description": "List of hyperlinks related to the resource" - }, - "LinkType": { - "description": "URI referring to a resource", - "type": "string", - "format": "uri", - "example": "http://meAppClient.example.com/rni/v1/" - }, - "Subscription": { - "type": "object", - "required": [ - "href", - "subscriptionType" - ], - "properties": { - "href": { - "$ref": "#/definitions/LinkType" - }, - "subscriptionType": { - "$ref": "#/definitions/SubscriptionType" - } - }, - "description": "A link to a subscription." - }, - "SubscriptionType": { - "type": "string", - "description": "Numeric value corresponding to specified type of subscription.", - "enum": [ - "RESERVED", - "CELL_CHANGE", - "RAB_ESTABLISHMENT", - "RAB_MODIFICATION", - "RAB_RELEASE", - "MEAS_REPORT_UE", - "MEAS_TIMING_ADVANCE", - "CA_RECONF", - "S1_BEARE", - "WRONG_PARAMETER" - ], - "example": "CELL_CHANGE" - }, - "FilterCriteriaAssoc": { - "type": "object", - "properties": { - "appInsId": { - "$ref": "#/definitions/AppInsId" - }, - "associateId": { - "$ref": "#/definitions/AssociateId" - }, - "plmn": { - "$ref": "#/definitions/Plmn" - }, - "cellId": { - "$ref": "#/definitions/CellId" - } - }, - "description": "List of filtering criteria for the subscription." - }, - "FilterCriteriaAssocQci": { - "type": "object", - "properties": { - "appInsId": { - "$ref": "#/definitions/AppInsId" - }, - "associateId": { - "$ref": "#/definitions/AssociateId" - }, - "plmn": { - "$ref": "#/definitions/Plmn" - }, - "cellId": { - "$ref": "#/definitions/CellId" - }, - "qci": { - "$ref": "#/definitions/Qci" - } - }, - "description": "List of filtering criteria for the subscription." - }, - "FilterCriteriaAssocHo": { - "type": "object", - "properties": { - "appInsId": { - "$ref": "#/definitions/AppInsId" - }, - "associateId": { - "$ref": "#/definitions/AssociateId" - }, - "plmn": { - "$ref": "#/definitions/Plmn" - }, - "cellId": { - "$ref": "#/definitions/CellId" - }, - "hoStatus": { - "$ref": "#/definitions/HoStatus" - } - }, - "description": "List of filtering criteria for the subscription." - }, - "FilterCriteriaAssocTri": { - "type": "object", - "properties": { - "appInsId": { - "$ref": "#/definitions/AppInsId" - }, - "associateId": { - "$ref": "#/definitions/AssociateId" - }, - "plmn": { - "$ref": "#/definitions/Plmn" - }, - "cellId": { - "$ref": "#/definitions/CellId" - }, - "trigger": { - "$ref": "#/definitions/Trigger" - } - }, - "description": "List of filtering criteria for the subscription." - }, - "S1BearerSubscriptionCriteria": { - "type": "object", - "properties": { - "associateId": { - "$ref": "#/definitions/AssociateId" - }, - "plmn": { - "$ref": "#/definitions/Plmn" - }, - "cellId": { - "$ref": "#/definitions/CellId" - }, - "erabId": { - "$ref": "#/definitions/ErabId" - } - }, - "description": "List of filtering criteria for the subscription." - }, - "HoStatus": { - "type": "string", - "description": "Description of the subscribed to event", - "enum": [ - "RESERVED", - "IN_PREPARATION", - "IN_EXECUTION", - "COMPLETED", - "REJECTED", - "CANCELLED" - ], - "example": "COMPLETED" - }, - "EventType": { - "type": "string", - "description": "Description of the subscribed event.", - "enum": [ - "RESERVED", - "S1_BEARER_ESTABLISH", - "S1_BEARER_MODIFY", - "S1_BEARER_RELEASE" - ], - "example": "S1_BEARER_ESTABLISH" - }, - "Trigger": { - "type": "string", - "description": "Unique identifier for the mobile edge application instance", - "enum": [ - "NOT_AVAILABLE", - "PERIODICAL_REPORT_STRONGEST_CELLS", - "PERIODICAL_REPORT_STRONGEST_CELLS_FOR_SON", - "PERIODICAL_REPORT_CGI", - "EVENT_A1", - "EVENT_A2", - "EVENT_A3", - "EVENT_A4", - "EVENT_A5", - "EVENT_A6", - "EVENT_B1", - "EVENT_B2", - "EVENT_C1", - "EVENT_C2", - "EVENT_W1", - "EVENT_W2", - "EVENT_W3" - ], - "example": "EVENT_A3" - } -} diff --git a/SRV/RNIS/schemas/S1BearerInfo.schema.json b/SRV/RNIS/schemas/S1BearerInfo.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..700b070bd13e4e44e546f59b165b7e61b21fb008 --- /dev/null +++ b/SRV/RNIS/schemas/S1BearerInfo.schema.json @@ -0,0 +1,175 @@ +{ + "type": "object", + "properties": { + "s1UeIffo": { + "description": "1..N", + "properties": { + "associateId": { + "properties": { + "type": { + "description": "Numeric value (0-255) corresponding to specified type of identifier as following:\n0 = reserved.\n1= UE_IPv4_ADDRESS.\n2 = UE_IPV6_ADDRESS.\n3 = NATED_IP_ADDRESS.\n4 = GTP_TEID.", + "enum": [ + "SEE_DESCRIPTION" + ], + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Enum" + }, + "value": { + "description": "Value for the identifier.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "type", + "value" + ], + "type": "object", + "x-etsi-ref": "6.5.4" + }, + "ecgi": { + "properties": { + "cellId": { + "description": "String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3].", + "type": "string" + }, + "plmn": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + } + }, + "required": [ + "plmn", + "cellId" + ], + "type": "object", + "x-etsi-ref": "6.5.6" + }, + "s1BearerInfoDetailed": { + "description": "1..N", + "properties": { + "erabId": { + "description": "The attribute that uniquely identifies a S1 bearer for a specific UE, as defined in ETSI TS 136 413 [i.3].", + "type": "integer", + "x-etsi-mec-cardinality": 1, + "x-etsi-mec-origin-type": "Integer" + }, + "enbInfo": { + "description": "S1 bearer information on eNB", + "properties": { + "ipAddress": { + "type": "string", + "description": "eNB transport layer address of this S1 bearer." + }, + "tunnelId": { + "type": "string", + "description": "eNB GTP-U TEID of this S1 bearer." + } + }, + "required": [ + "ipAddress", + "tunnelId" + ] + }, + "sGwInfo": { + "properties": { + "ipAddress": { + "type": "string", + "description": "SGW transport layer address of this S1 bearer." + }, + "tunnelId": { + "type": "string", + "description": "SGW GTP-U TEID of this S1 bearer." + } + }, + "required": [ + "ipAddress", + "tunnelId" + ] + } + }, + "required": [ + "erabId", + "enbInfo" + ], + "type": "object", + "x-etsi-mec-cardinality": "Structure (inlined)", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "tempUeId": { + "description": "0..1", + "properties": { + "mmec": { + "description": "1", + "type": "string", + "x-etsi-mec-cardinality": "String", + "x-etsi-mec-origin-type": "String" + }, + "mtmsi": { + "description": "1", + "type": "string", + "x-etsi-mec-cardinality": "String", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mmec", + "mtmsi" + ], + "type": "object", + "x-etsi-mec-cardinality": "Structure (inlined)", + "x-etsi-mec-origin-type": "Structure (inlined)" + } + }, + "required": [ + "tempUeId", + "associateId", + "ecgi", + "s1BearerInfoDetailed" + ], + "type": "object", + "x-etsi-mec-cardinality": "Structure (inlined)", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "timeStamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + } + }, + "required": [ + "s1UeInfo" + ], + "x-etsi-ref": "6.2.4" +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/S1BearerInfos.schema.json b/SRV/RNIS/schemas/S1BearerInfos.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..35efd72ec658459c7daa4e10a5203cb9aabe0b64 --- /dev/null +++ b/SRV/RNIS/schemas/S1BearerInfos.schema.json @@ -0,0 +1,178 @@ +{ + "type": "array", + "items": { + "type": "object", + "properties": { + "s1UeIffo": { + "description": "1..N", + "properties": { + "associateId": { + "properties": { + "type": { + "description": "Numeric value (0-255) corresponding to specified type of identifier as following:\n0 = reserved.\n1= UE_IPv4_ADDRESS.\n2 = UE_IPV6_ADDRESS.\n3 = NATED_IP_ADDRESS.\n4 = GTP_TEID.", + "enum": [ + "SEE_DESCRIPTION" + ], + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Enum" + }, + "value": { + "description": "Value for the identifier.", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "type", + "value" + ], + "type": "object", + "x-etsi-ref": "6.5.4" + }, + "ecgi": { + "properties": { + "cellId": { + "description": "String representing the E-UTRAN Cell Identity. Encoded as a bit string (size (28)) as defined in ETSI TS 136 413 [i.3].", + "type": "string" + }, + "plmn": { + "properties": { + "mcc": { + "description": "The Mobile Country Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + }, + "mnc": { + "description": "The Mobile Network Code part of PLMN Identity as defined in ETSI TS 136 413 [i.3].", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mcc", + "mnc" + ], + "type": "object", + "x-etsi-ref": "6.5.5" + } + }, + "required": [ + "plmn", + "cellId" + ], + "type": "object", + "x-etsi-ref": "6.5.6" + }, + "s1BearerInfoDetailed": { + "description": "1..N", + "properties": { + "erabId": { + "description": "The attribute that uniquely identifies a S1 bearer for a specific UE, as defined in ETSI TS 136 413 [i.3].", + "type": "integer", + "x-etsi-mec-cardinality": 1, + "x-etsi-mec-origin-type": "Integer" + }, + "enbInfo": { + "description": "S1 bearer information on eNB", + "properties": { + "ipAddress": { + "type": "string", + "description": "eNB transport layer address of this S1 bearer." + }, + "tunnelId": { + "type": "string", + "description": "eNB GTP-U TEID of this S1 bearer." + } + }, + "required": [ + "ipAddress", + "tunnelId" + ] + }, + "sGwInfo": { + "properties": { + "ipAddress": { + "type": "string", + "description": "SGW transport layer address of this S1 bearer." + }, + "tunnelId": { + "type": "string", + "description": "SGW GTP-U TEID of this S1 bearer." + } + }, + "required": [ + "ipAddress", + "tunnelId" + ] + } + }, + "required": [ + "erabId", + "enbInfo" + ], + "type": "object", + "x-etsi-mec-cardinality": "Structure (inlined)", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "tempUeId": { + "description": "0..1", + "properties": { + "mmec": { + "description": "1", + "type": "string", + "x-etsi-mec-cardinality": "String", + "x-etsi-mec-origin-type": "String" + }, + "mtmsi": { + "description": "1", + "type": "string", + "x-etsi-mec-cardinality": "String", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "mmec", + "mtmsi" + ], + "type": "object", + "x-etsi-mec-cardinality": "Structure (inlined)", + "x-etsi-mec-origin-type": "Structure (inlined)" + } + }, + "required": [ + "tempUeId", + "associateId", + "ecgi", + "s1BearerInfoDetailed" + ], + "type": "object", + "x-etsi-mec-cardinality": "Structure (inlined)", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "timeStamp": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + } + }, + "required": [ + "s1UeInfo" + ], + "x-etsi-ref": "6.2.4" + } +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/S1BearerSubscription.schema.json b/SRV/RNIS/schemas/S1BearerSubscription.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..9da7b12fcd186cc037fa5c54aa89fcd824a75e6d --- /dev/null +++ b/SRV/RNIS/schemas/S1BearerSubscription.schema.json @@ -0,0 +1,62 @@ +{ + "properties": { + "S1BearerSubscriptionCriteria": { + "description": "As defined below.", + "type": "object", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "_links": { + "description": "Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests.", + "type": "object", + "x-etsi-mec-cardinality": "0..1", + "x-etsi-mec-origin-type": "Structure (inlined)" + }, + "callbackReference": { + "description": "URI selected by the service consumer, to receive notifications on the subscribed RNIS information. This shall be included in the request and response.", + "format": "uri", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "URI" + }, + "eventType": { + "description": "Description of the subscribed event. The event is included both in the request and in the response. \nFor the eventType, the following values are currently defined:\n0 = RESERVED.\n1 = S1_BEARER_ESTABLISH.\n2 = S1_BEARER_MODIFY.\n3 = S1_BEARER_RELEASE.", + "items": { + "type": "string" + }, + "type": "array", + "x-etsi-mec-cardinality": "1..N", + "x-etsi-mec-origin-type": "Enum" + }, + "expiryDeadline": { + "properties": { + "nanoSeconds": { + "type": "number" + }, + "seconds": { + "type": "number" + } + }, + "required": [ + "seconds", + "nanoSeconds" + ], + "type": "object", + "x-etsi-ref": "6.5.3" + }, + "subscriptionType": { + "description": "Shall be set to \"S1BearerSubscription\".", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "String" + } + }, + "required": [ + "subscriptionType", + "callbackReference", + "eventType", + "S1BearerSubscriptionCriteria" + ], + "type": "object", + "x-etsi-ref": "6.3.9" +} \ No newline at end of file diff --git a/SRV/RNIS/schemas/SubscriptionLinkList.schema.json b/SRV/RNIS/schemas/SubscriptionLinkList.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..ae912028332014d4efebf8cbffb81bb7956c3d72 --- /dev/null +++ b/SRV/RNIS/schemas/SubscriptionLinkList.schema.json @@ -0,0 +1,73 @@ +{ + "type": "object", + "properties": { + "_links": { + "description": "List of hyperlinks related to the resource.", + "properties": { + "self": { + "properties": { + "href": { + "description": "URI referring to a resource", + "format": "uri", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "URI" + } + }, + "required": [ + "href" + ], + "type": "object", + "x-etsi-ref": "6.5.2" + }, + "subscription": { + "description": "A link to a subscription.", + "items": { + "type": "object" + }, + "properties": { + "href": { + "description": "The URI referring to the subscription.", + "format": "uri", + "type": "string", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "URI" + }, + "subscriptionType": { + "type": "string", + "description": "Type of a subscription. The string shall be set according to the \"subscriptionType\" attribute of the associated subscription data type event defined in clause 6.3.\n", + "enum": [ + "cell_change", + "rab_est", + "rab_mod", + "rab_rel", + "meas_rep_ue", + "nr_meas_rep_ue", + "timing_advance_ue", + "ca_reconf", + "s1_bearer" + ] + } + }, + "required": [ + "href", + "subscriptionType" + ], + "type": "array", + "x-etsi-mec-cardinality": "0..N", + "x-etsi-mec-origin-type": "Structure (inlined)" + } + }, + "required": [ + "self" + ], + "type": "object", + "x-etsi-mec-cardinality": "1", + "x-etsi-mec-origin-type": "Structure (inlined)" + } + }, + "required": [ + "_links" + ], + "x-etsi-ref": "6.3.10" +} \ No newline at end of file