Commit c86eccd7 authored by Mubeena Ishaq's avatar Mubeena Ishaq
Browse files

Add CAPIF APIs for MEC service management description in MEC011

parent b2b1a8ce
Loading
Loading
Loading
Loading
+24 −3
Original line number Diff line number Diff line
# MEC011 - Application Enablement Service
> _New STF678_

MEC011 v3.1.1 is divided in two distinct APIs:
MEC011 v3.2.1 is divided in three distinct APIs:
- MEC Application Support API
- MEC Service Management API
- MEC service management realized by CAPIF APIs

The following tables list MEC Sandbox supported endpoints for each MEC011 API.

@@ -29,13 +30,21 @@ The following tables list MEC Sandbox supported endpoints for each MEC011 API.
| Yes | `/timing/timing_caps`   | _Sandbox does not include a NTP server_  <br> _Data is emulated with timing reference with Monaco local time_  |
| Yes | `/timing/current_time`   | _Monaco local time_  |

### MEC service management realized by CAPIF APIs 
|Supported | Endpoint |  Notes:   |
| --------| -------- | -------- |
| Yes | `/service-apis/{apiVersion}/allServiceAPIs`  |     |
| Yes | `/published-apis/{apiVersion}/{apfId}/serviceapis`   |     |
| Yes | `/capif-events/{apiVersion}/{subscriberId}/subscriptions`   |     |

------
## MEC011 v3.1.1 (published)
## MEC011 v3.2.1 (published)
References:
* https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/03.01.01_60/gs_MEC011v030101p.pdf
* https://www.etsi.org/deliver/etsi_gs/MEC/001_099/011/03.02.01_60/gs_mec011v030201p.pdf
* https://forge.etsi.org/rep/mec/gs011-app-enablement-api
* https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/raw/master/MecAppSupportApi.yaml
* https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/raw/master/MecServiceMgmtApi.yaml
* https://labs.etsi.org/rep/mec/etsi-mec-sandbox/-/blob/STF678_Task1_2_3_openCAPIF/go-apps/meep-app-enablement/api/capif-mgmt/swagger.yaml

### Service Management API Endpoints
| Endpoint | Sandbox Usage |Notes |
@@ -60,3 +69,15 @@ References:
| [/registrations/{appInstanceId}](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/raw/master/MecAppSupportApi.yaml#/appRegistrations) | GET - Returns an individual registration <br><br> PUT - updates an existing registration <br><br> DELETE - removes an existing registration |  An available MEC app instance can be discovered <br><br> MEC apps use PUT to modify their app resource <br><br>  MEC apps use DELETE when terminating or removing a registered app |
| [/timing/timing_caps](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/raw/master/MecAppSupportApi.yaml#/timing) | GET - returns information about timing capabililities | Mocked information returned since no NTP server is used
| [/timing/current_time](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/raw/master/MecAppSupportApi.yaml#/timing) | GET - returns current time | Local time in Monaco (MEC Sandbox VM is returned which corresponds with Monaco time)

### MEC service management realized by CAPIF APIs Endpoints

| **Endpoint**    | **Sandbox Usage**          | **Notes**          |
| ----------------|--------------------------- | ------------------ |

| [/service-apis/{apiVersion}/allServiceAPIs](https://labs.etsi.org/rep/mec/etsi-mec-sandbox/-/blob/STF678_Task1_2_3_openCAPIF/go-apps/meep-app-enablement/api/capif-mgmt/swagger.yaml#/services) | GET - Discover published service APIs and retrieve a collection of APIs according to certain filter criteria | 
| [/published-apis/{apiVersion}/{apfId}/serviceapis](https://labs.etsi.org/rep/mec/etsi-mec-sandbox/-/blob/STF678_Task1_2_3_openCAPIF/go-apps/meep-app-enablement/api/capif-mgmt/swagger.yaml#/appServices) | POST - Publish a new API | GET - Retrieve all published service APIs |
| [/published-apis/{apiVersion}/{apfId}/serviceapis/{serviceApiId}](https://labs.etsi.org/rep/mec/etsi-mec-sandbox/-/blob/STF678_Task1_2_3_openCAPIF/go-apps/meep-app-enablement/api/capif-mgmt/swagger.yaml#/appServices) | GET - Retrieve a published service API <br><br> PUT - Update a published service API <br><br> PATCH - Modify a published service API <br><br> DELETE - Unpublish a published service API | 
| [/capif-events/{apiVersion}/{subscriberId}/subscriptions](https://labs.etsi.org/rep/mec/etsi-mec-sandbox/-/blob/STF678_Task1_2_3_openCAPIF/go-apps/meep-app-enablement/api/capif-mgmt/swagger.yaml#/appSubscriptions) | POST - Creates a new individual CAPIF Event Subscription |  
| [/capif-events/{apiVersion}/{subscriberId}/subscriptions/{subscriptionId}](https://labs.etsi.org/rep/mec/etsi-mec-sandbox/-/blob/STF678_Task1_2_3_openCAPIF/go-apps/meep-app-enablement/api/capif-mgmt/swagger.yaml#/appSubscriptions) | DELETE - Deletes an individual CAPIF Event Subscription identified by the subscriptionId <br><br> PUT - Updates an individual CAPIF Event Subscription identified by the subscriptionId, using replace semantics <br><br> PATCH - Updates an individual CAPIF Event Subscription identified by the subscriptionId, using modify semantics |