From 6e158b6f1eaa4d6e9a69ceb9f023f431e8dc0244 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Mon, 11 Apr 2022 13:07:27 +0500 Subject: [PATCH 01/11] fix unresolved refs in subscription and notification mappings --- RniAPI.json | 40 ++++++++++++++++++++-------------------- RniAPI.yaml | 40 ++++++++++++++++++++-------------------- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/RniAPI.json b/RniAPI.json index d2014c6..4e95ffb 100644 --- a/RniAPI.json +++ b/RniAPI.json @@ -4115,17 +4115,17 @@ "discriminator": { "propertyName": "notificationType", "mapping": { - "CaReconfNotification": "CaReconfNotification", - "CellChangeNotification": "CellChangeNotification", - "MeasRepUeNotification": "MeasRepUeNotification", - "MeasTaNotification": "MeasTaNotification", - "NrMeasRepUeNotification": "NrMeasRepUeNotification", - "RabEstNotification": "RabEstNotification", - "RabModNotification": "RabModNotification", - "RabRelNotification": "RabRelNotification", - "S1BearerNotification": "S1BearerNotification", - "ExpiryNotification": "ExpiryNotification", - "TestNotification": "TestNotification" + "CaReconfNotification": "#/components/schemas/CaReconfNotification", + "CellChangeNotification": "#/components/schemas/CellChangeNotification", + "MeasRepUeNotification": "#/components/schemas/MeasRepUeNotification", + "MeasTaNotification": "#/components/schemas/MeasTaNotification", + "NrMeasRepUeNotification": "#/components/schemas/NrMeasRepUeNotification", + "RabEstNotification": "#/components/schemas/RabEstNotification", + "RabModNotification": "#/components/schemas/RabModNotification", + "RabRelNotification": "#/components/schemas/RabRelNotification", + "S1BearerNotification": "#/components/schemas/S1BearerNotification", + "ExpiryNotification": "#/components/schemas/ExpiryNotification", + "TestNotification": "#/components/schemas/TestNotification" } } }, @@ -4143,15 +4143,15 @@ "discriminator": { "propertyName": "subscriptionType", "mapping": { - "CaReconfSubscription": "CaReconfSubscription", - "CellChangeSubscription": "CellChangeSubscription", - "MeasRepUeSubscription": "MeasRepUeSubscription", - "MeasTaSubscription": "MeasTaSubscription", - "NrMeasRepUeSubscription": "NrMeasRepUeSubscription", - "RabEstSubscription": "RabEstSubscription", - "RabModSubscription": "RabModSubscription", - "RabRelSubscription": "RabRelSubscription", - "S1BearerSubscription": "S1BearerSubscription" + "CaReconfSubscription": "#/components/schemas/CaReconfSubscription", + "CellChangeSubscription": "#/components/schemas/CellChangeSubscription", + "MeasRepUeSubscription": "#/components/schemas/MeasRepUeSubscription", + "MeasTaSubscription": "#/components/schemas/MeasTaSubscription", + "NrMeasRepUeSubscription": "#/components/schemas/NrMeasRepUeSubscription", + "RabEstSubscription": "#/components/schemas/RabEstSubscription", + "RabModSubscription": "#/components/schemas/RabModSubscription", + "RabRelSubscription": "#/components/schemas/RabRelSubscription", + "S1BearerSubscription": "#/components/schemas/S1BearerSubscription" } } }, diff --git a/RniAPI.yaml b/RniAPI.yaml index 15e4a2d..33dec46 100644 --- a/RniAPI.yaml +++ b/RniAPI.yaml @@ -2850,17 +2850,17 @@ components: discriminator: propertyName: notificationType mapping: - CaReconfNotification: CaReconfNotification - CellChangeNotification: CellChangeNotification - MeasRepUeNotification: MeasRepUeNotification - MeasTaNotification: MeasTaNotification - NrMeasRepUeNotification: NrMeasRepUeNotification - RabEstNotification: RabEstNotification - RabModNotification: RabModNotification - RabRelNotification: RabRelNotification - S1BearerNotification: S1BearerNotification - ExpiryNotification: ExpiryNotification - TestNotification: TestNotification + CaReconfNotification: '#/components/schemas/CaReconfNotification' + CellChangeNotification: '#/components/schemas/CellChangeNotification' + MeasRepUeNotification: '#/components/schemas/MeasRepUeNotification' + MeasTaNotification: '#/components/schemas/MeasTaNotification' + NrMeasRepUeNotification: '#/components/schemas/NrMeasRepUeNotification' + RabEstNotification: '#/components/schemas/RabEstNotification' + RabModNotification: '#/components/schemas/RabModNotification' + RabRelNotification: '#/components/schemas/RabRelNotification' + S1BearerNotification: '#/components/schemas/S1BearerNotification' + ExpiryNotification: '#/components/schemas/ExpiryNotification' + TestNotification: '#/components/schemas/TestNotification' InlineSubscription: title: InlineSubscription required: @@ -2872,15 +2872,15 @@ components: discriminator: propertyName: subscriptionType mapping: - CaReconfSubscription: CaReconfSubscription - CellChangeSubscription: CellChangeSubscription - MeasRepUeSubscription: MeasRepUeSubscription - MeasTaSubscription: MeasTaSubscription - NrMeasRepUeSubscription: NrMeasRepUeSubscription - RabEstSubscription: RabEstSubscription - RabModSubscription: RabModSubscription - RabRelSubscription: RabRelSubscription - S1BearerSubscription: S1BearerSubscription + CaReconfSubscription: '#/components/schemas/CaReconfSubscription' + CellChangeSubscription: '#/components/schemas/CellChangeSubscription' + MeasRepUeSubscription: '#/components/schemas/MeasRepUeSubscription' + MeasTaSubscription: '#/components/schemas/MeasTaSubscription' + NrMeasRepUeSubscription: '#/components/schemas/NrMeasRepUeSubscription' + RabEstSubscription: '#/components/schemas/RabEstSubscription' + RabModSubscription: '#/components/schemas/RabModSubscription' + RabRelSubscription: '#/components/schemas/RabRelSubscription' + S1BearerSubscription: '#/components/schemas/S1BearerSubscription' Links: title: Links required: -- GitLab From d2b8a04c652b352def89a89fc110f3d64486ee5b Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Mon, 11 Apr 2022 13:07:27 +0500 Subject: [PATCH 02/11] fix unresolved refs in subscription and notification mappings --- RniAPI.json | 40 ++++++++++++++++++++-------------------- RniAPI.yaml | 40 ++++++++++++++++++++-------------------- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/RniAPI.json b/RniAPI.json index d2014c6..4e95ffb 100644 --- a/RniAPI.json +++ b/RniAPI.json @@ -4115,17 +4115,17 @@ "discriminator": { "propertyName": "notificationType", "mapping": { - "CaReconfNotification": "CaReconfNotification", - "CellChangeNotification": "CellChangeNotification", - "MeasRepUeNotification": "MeasRepUeNotification", - "MeasTaNotification": "MeasTaNotification", - "NrMeasRepUeNotification": "NrMeasRepUeNotification", - "RabEstNotification": "RabEstNotification", - "RabModNotification": "RabModNotification", - "RabRelNotification": "RabRelNotification", - "S1BearerNotification": "S1BearerNotification", - "ExpiryNotification": "ExpiryNotification", - "TestNotification": "TestNotification" + "CaReconfNotification": "#/components/schemas/CaReconfNotification", + "CellChangeNotification": "#/components/schemas/CellChangeNotification", + "MeasRepUeNotification": "#/components/schemas/MeasRepUeNotification", + "MeasTaNotification": "#/components/schemas/MeasTaNotification", + "NrMeasRepUeNotification": "#/components/schemas/NrMeasRepUeNotification", + "RabEstNotification": "#/components/schemas/RabEstNotification", + "RabModNotification": "#/components/schemas/RabModNotification", + "RabRelNotification": "#/components/schemas/RabRelNotification", + "S1BearerNotification": "#/components/schemas/S1BearerNotification", + "ExpiryNotification": "#/components/schemas/ExpiryNotification", + "TestNotification": "#/components/schemas/TestNotification" } } }, @@ -4143,15 +4143,15 @@ "discriminator": { "propertyName": "subscriptionType", "mapping": { - "CaReconfSubscription": "CaReconfSubscription", - "CellChangeSubscription": "CellChangeSubscription", - "MeasRepUeSubscription": "MeasRepUeSubscription", - "MeasTaSubscription": "MeasTaSubscription", - "NrMeasRepUeSubscription": "NrMeasRepUeSubscription", - "RabEstSubscription": "RabEstSubscription", - "RabModSubscription": "RabModSubscription", - "RabRelSubscription": "RabRelSubscription", - "S1BearerSubscription": "S1BearerSubscription" + "CaReconfSubscription": "#/components/schemas/CaReconfSubscription", + "CellChangeSubscription": "#/components/schemas/CellChangeSubscription", + "MeasRepUeSubscription": "#/components/schemas/MeasRepUeSubscription", + "MeasTaSubscription": "#/components/schemas/MeasTaSubscription", + "NrMeasRepUeSubscription": "#/components/schemas/NrMeasRepUeSubscription", + "RabEstSubscription": "#/components/schemas/RabEstSubscription", + "RabModSubscription": "#/components/schemas/RabModSubscription", + "RabRelSubscription": "#/components/schemas/RabRelSubscription", + "S1BearerSubscription": "#/components/schemas/S1BearerSubscription" } } }, diff --git a/RniAPI.yaml b/RniAPI.yaml index 15e4a2d..33dec46 100644 --- a/RniAPI.yaml +++ b/RniAPI.yaml @@ -2850,17 +2850,17 @@ components: discriminator: propertyName: notificationType mapping: - CaReconfNotification: CaReconfNotification - CellChangeNotification: CellChangeNotification - MeasRepUeNotification: MeasRepUeNotification - MeasTaNotification: MeasTaNotification - NrMeasRepUeNotification: NrMeasRepUeNotification - RabEstNotification: RabEstNotification - RabModNotification: RabModNotification - RabRelNotification: RabRelNotification - S1BearerNotification: S1BearerNotification - ExpiryNotification: ExpiryNotification - TestNotification: TestNotification + CaReconfNotification: '#/components/schemas/CaReconfNotification' + CellChangeNotification: '#/components/schemas/CellChangeNotification' + MeasRepUeNotification: '#/components/schemas/MeasRepUeNotification' + MeasTaNotification: '#/components/schemas/MeasTaNotification' + NrMeasRepUeNotification: '#/components/schemas/NrMeasRepUeNotification' + RabEstNotification: '#/components/schemas/RabEstNotification' + RabModNotification: '#/components/schemas/RabModNotification' + RabRelNotification: '#/components/schemas/RabRelNotification' + S1BearerNotification: '#/components/schemas/S1BearerNotification' + ExpiryNotification: '#/components/schemas/ExpiryNotification' + TestNotification: '#/components/schemas/TestNotification' InlineSubscription: title: InlineSubscription required: @@ -2872,15 +2872,15 @@ components: discriminator: propertyName: subscriptionType mapping: - CaReconfSubscription: CaReconfSubscription - CellChangeSubscription: CellChangeSubscription - MeasRepUeSubscription: MeasRepUeSubscription - MeasTaSubscription: MeasTaSubscription - NrMeasRepUeSubscription: NrMeasRepUeSubscription - RabEstSubscription: RabEstSubscription - RabModSubscription: RabModSubscription - RabRelSubscription: RabRelSubscription - S1BearerSubscription: S1BearerSubscription + CaReconfSubscription: '#/components/schemas/CaReconfSubscription' + CellChangeSubscription: '#/components/schemas/CellChangeSubscription' + MeasRepUeSubscription: '#/components/schemas/MeasRepUeSubscription' + MeasTaSubscription: '#/components/schemas/MeasTaSubscription' + NrMeasRepUeSubscription: '#/components/schemas/NrMeasRepUeSubscription' + RabEstSubscription: '#/components/schemas/RabEstSubscription' + RabModSubscription: '#/components/schemas/RabModSubscription' + RabRelSubscription: '#/components/schemas/RabRelSubscription' + S1BearerSubscription: '#/components/schemas/S1BearerSubscription' Links: title: Links required: -- GitLab From a3d3cb68048a239e3d717b0ea59c006f8e40e31e Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Wed, 13 Apr 2022 13:33:22 +0500 Subject: [PATCH 03/11] update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb86d39..81d99f3 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ This repository contains OpenAPIs descriptions for the interfaces specified in E ## Online resources -* [Navigate the API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/rep/mec/gs012-rnis-api/raw/stf606-final/RniAPI.yaml). -* [Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/rep/mec/gs012-rnis-api/raw/stf606-final/RniAPI.yaml). +* [Specification Document](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf) +* [Navigate the API in the browser](https://redocly.github.io/redoc/?url=https://forge.etsi.org/rep/mec/gs012-rnis-api/-/raw/v2.2.1/RniAPI.yaml) ## License -- GitLab From 3e187aa5b2e666de6ac5af2227eeb2f3d3fbb9ae Mon Sep 17 00:00:00 2001 From: Laurent Velez Date: Wed, 13 Apr 2022 12:18:35 +0000 Subject: [PATCH 04/11] Delete .jenkins.sh as it uses pipleine instead --- .jenkins.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 .jenkins.sh diff --git a/.jenkins.sh b/.jenkins.sh deleted file mode 100644 index 74d0370..0000000 --- a/.jenkins.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -specfiles=$(ls | egrep "^[^.]*.(json|yaml)") - -fres=0 -for i in $specfiles ; do - echo "-- Validating and linting OpenAPI file $i..." - swagger-cli validate $i - res=$? - speccy lint "$i" - res2=$? - fres=$(($fres||$res||$res2)) - echo "--- Validator returned $res, linter returned $res2." -done - -echo "-- Final validator returns $fres." -exit $fres - -- GitLab From ac3b41d6872b3748f158b1c31e7e3a98c9a525d6 Mon Sep 17 00:00:00 2001 From: Laurent Velez Date: Wed, 13 Apr 2022 12:22:39 +0000 Subject: [PATCH 05/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81d99f3..c77d1fc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Radio Network Information API -This repository contains OpenAPIs descriptions for the interfaces specified in ETSI GS MEC 012. +This repository contains OpenAPIs descriptions for the interfaces specified in ETSI GS MEC 012. ## Online resources -- GitLab From 4388abc47ad5f8a36bef406c9ba30758452ac2e8 Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Wed, 13 Apr 2022 13:33:22 +0500 Subject: [PATCH 06/11] update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb86d39..81d99f3 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ This repository contains OpenAPIs descriptions for the interfaces specified in E ## Online resources -* [Navigate the API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/rep/mec/gs012-rnis-api/raw/stf606-final/RniAPI.yaml). -* [Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/rep/mec/gs012-rnis-api/raw/stf606-final/RniAPI.yaml). +* [Specification Document](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf) +* [Navigate the API in the browser](https://redocly.github.io/redoc/?url=https://forge.etsi.org/rep/mec/gs012-rnis-api/-/raw/v2.2.1/RniAPI.yaml) ## License -- GitLab From 8f11948d253546533b01662b180dbc33120a5db0 Mon Sep 17 00:00:00 2001 From: Laurent Velez Date: Wed, 13 Apr 2022 12:18:35 +0000 Subject: [PATCH 07/11] Delete .jenkins.sh as it uses pipleine instead --- .jenkins.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 .jenkins.sh diff --git a/.jenkins.sh b/.jenkins.sh deleted file mode 100644 index 74d0370..0000000 --- a/.jenkins.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -specfiles=$(ls | egrep "^[^.]*.(json|yaml)") - -fres=0 -for i in $specfiles ; do - echo "-- Validating and linting OpenAPI file $i..." - swagger-cli validate $i - res=$? - speccy lint "$i" - res2=$? - fres=$(($fres||$res||$res2)) - echo "--- Validator returned $res, linter returned $res2." -done - -echo "-- Final validator returns $fres." -exit $fres - -- GitLab From ba8e9f738ced3c63a283a8179e6a32108b23dcba Mon Sep 17 00:00:00 2001 From: Laurent Velez Date: Wed, 13 Apr 2022 12:22:39 +0000 Subject: [PATCH 08/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81d99f3..c77d1fc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Radio Network Information API -This repository contains OpenAPIs descriptions for the interfaces specified in ETSI GS MEC 012. +This repository contains OpenAPIs descriptions for the interfaces specified in ETSI GS MEC 012. ## Online resources -- GitLab From 848a4a55a8f8b642f1eea2dbce7a0b6bae30a4ed Mon Sep 17 00:00:00 2001 From: hammad zafar Date: Wed, 13 Apr 2022 13:33:22 +0500 Subject: [PATCH 09/11] update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb86d39..81d99f3 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ This repository contains OpenAPIs descriptions for the interfaces specified in E ## Online resources -* [Navigate the API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/rep/mec/gs012-rnis-api/raw/stf606-final/RniAPI.yaml). -* [Edit the API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/rep/mec/gs012-rnis-api/raw/stf606-final/RniAPI.yaml). +* [Specification Document](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.02.01_60/gs_MEC012v020201p.pdf) +* [Navigate the API in the browser](https://redocly.github.io/redoc/?url=https://forge.etsi.org/rep/mec/gs012-rnis-api/-/raw/v2.2.1/RniAPI.yaml) ## License -- GitLab From b1fd09b5ad40a7381042165068ddf6143a7b640a Mon Sep 17 00:00:00 2001 From: Laurent Velez Date: Wed, 13 Apr 2022 12:18:35 +0000 Subject: [PATCH 10/11] Delete .jenkins.sh as it uses pipleine instead --- .jenkins.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 .jenkins.sh diff --git a/.jenkins.sh b/.jenkins.sh deleted file mode 100644 index 74d0370..0000000 --- a/.jenkins.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -specfiles=$(ls | egrep "^[^.]*.(json|yaml)") - -fres=0 -for i in $specfiles ; do - echo "-- Validating and linting OpenAPI file $i..." - swagger-cli validate $i - res=$? - speccy lint "$i" - res2=$? - fres=$(($fres||$res||$res2)) - echo "--- Validator returned $res, linter returned $res2." -done - -echo "-- Final validator returns $fres." -exit $fres - -- GitLab From 766459c63ffc49b9613c50af84bfd4c83171ddfe Mon Sep 17 00:00:00 2001 From: Laurent Velez Date: Wed, 13 Apr 2022 12:22:39 +0000 Subject: [PATCH 11/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81d99f3..c77d1fc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Radio Network Information API -This repository contains OpenAPIs descriptions for the interfaces specified in ETSI GS MEC 012. +This repository contains OpenAPIs descriptions for the interfaces specified in ETSI GS MEC 012. ## Online resources -- GitLab