From c8af1e9407d00b1fa1d815d95fc6ee8efa21102e Mon Sep 17 00:00:00 2001 From: garciay Date: Wed, 21 Aug 2024 10:18:54 +0200 Subject: [PATCH] Enhance MEC 040 swagger file --- config/api/fed-api.yaml | 18 ++++++++++++++---- js-apps/frontend/src/js/util/scenario-utils.js | 4 ++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/config/api/fed-api.yaml b/config/api/fed-api.yaml index 3e9f10d..6be97df 100644 --- a/config/api/fed-api.yaml +++ b/config/api/fed-api.yaml @@ -605,6 +605,15 @@ paths: system associated with the systemId operationId: servicesGET parameters: + - name: systemId + in: path + description: Identifier of the MEC system. + required: true + style: simple + explode: false + schema: + type: string + x-exportParamName: Path.systemId - name: seInstancerId in: query description: Indicator of a MEC service offered for MEC federation. @@ -683,24 +692,25 @@ paths: parameters: - name: systemId in: path - description: MEC system identifier + description: Identifier of the MEC system. required: true style: simple explode: false schema: type: string - format: uri + x-exportParamName: Path.systemId - name: serviceId in: path - description: Service identifier + description: Service identifier. required: true style: simple explode: false schema: type: string - format: uri + x-exportParamName: Path.serviceId responses: "200": + description: "Upon success, a response body containing data type describing the specific subscription data type is returned." content: application/json: schema: diff --git a/js-apps/frontend/src/js/util/scenario-utils.js b/js-apps/frontend/src/js/util/scenario-utils.js index 39abc1e..5a55b5f 100644 --- a/js-apps/frontend/src/js/util/scenario-utils.js +++ b/js-apps/frontend/src/js/util/scenario-utils.js @@ -654,7 +654,7 @@ export function parseEdgeApps(scenario) { path: pl.name+'/dev_app/v1', pseudoName: 'Device Application Interface (016) on ' + pl.name, dropDownName: 'Device Application Interface (016)', - enabled: false, + enabled: true, enableInProgressCount: -1, disableInProgressCount: -1 }); @@ -671,7 +671,7 @@ export function parseEdgeApps(scenario) { path: pl.name+'/fed_enablement/v1', pseudoName: 'MEC Federation APIs (040) on ' + pl.name, dropDownName: 'MEC Federation APIs (040)', - enabled: false, + enabled: true, enableInProgressCount: -1, disableInProgressCount: -1 }); -- GitLab