Introduction
As part of this release EALTEdge Blueprint are releasing few API's which can be used by other Akraino Blueprints or Non Akraino Blueprints / Projects. The API are in compliance with the API Standards defined in Multi-access Edge Computing (MEC); MEC Management; Part 2: Application lifecycle, rules and requirements managementETSI GS MEC 010-2 V2.1.1 (https://www.etsi.org/deliver/etsi_gs/MEC/001_099/01002/02.01.01_60/gs_MEC01002v020101p.pdf) .
In this release EALTEdge are exposing API's related to :-
- Application Package Management
- Application Life Cycle Management
- MEC Service Management.
API Definitions
Application Package Management
Onboard Application
1. | API Name | Onboard Application | Type : POST | Interface : MM3 |
---|---|---|---|---|
Description | This API is for MEO to onboard package, currently we just upload package directly to MEPM-APPLCM in the rest request, appPkgPath is of no use | |||
Resource URI | /ealtedge/mepm/app_pkgm/v1/app_packages/ | |||
Request Parameters | ||||
Name | Cardinality | Type | Description | |
R3 - API Documentation Enterprise Application on Lightweight 5G Telco Edge (EALTEdge) [WIP] | 1 | Complex | ||
Response Codes | 201 : Created | |||
Response Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
R3 - API Documentation Enterprise Application on Lightweight 5G Telco Edge (EALTEdge) [WIP] | 0..N | Complex | Indicates a successful request. The response body shall contain a representation of the application package resource. |
Get Package Info
2. | API Name | Get Package Info | Type : GET | Interface : MM3 |
---|---|---|---|---|
Description | This API is for MEO to onboard package, currently we just upload package directly to MEPM-APPLCM in the rest request, appPkgPath is of no use | |||
Resource URI | /ealtedge/mepm/app_pkgm/v1/app_packages/{{ID}} | |||
Request Body Parameters - Not Applicable | ||||
Response Codes | 201 | |||
Response Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
R3 - API Documentation Enterprise Application on Lightweight 5G Telco Edge (EALTEdge) [WIP] | 1 | Complex |
Delete Application Package
3. | API Name | Delete Package | Type : DELETE | Interface : MM3 |
---|---|---|---|---|
Description | DELETE method realizes the procedure of "delete operation" of application package resource in MEO | |||
Resource URI | /ealtedge/mepm/app_pkgm/v1/app_packages/{{ID}} | |||
Request Body Parameters - Not Applicable | ||||
Response Codes | 204. No Response body will be returned. |
Application Life Cycle Management
Create Application Instance
1. | API Name | Create Application Instance | Type : POST | Interface : MM3 |
---|---|---|---|---|
Description | This API is for MEO to onboard package, currently we just upload package directly to MEPM-APPLCM in the rest request, appPkgPath is of no use | |||
Resource URI | /ealtedge/mepm/app_lcm/v1/app_instances | |||
Request Body Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
appDId | 1 | String | Application Description ID | |
appInstancename | 1 | String | Application Instance Name | |
appInstanceDescriptor | 1 | String | Application Instance Descriptor | |
Response Codes | 201 | |||
Response Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
R3 - API Documentation Enterprise Application on Lightweight 5G Telco Edge (EALTEdge) [WIP] | 1 | Complex | Application Instance Info |
Get Application Instance Information
2. | API Name / Category | Application Instance Info | Type : GET | Interface : MM3 |
---|---|---|---|---|
Description | This API is for MEO to onboard package, currently we just upload package directly to MEPM-APPLCM in the rest request, appPkgPath is of no use | |||
Resource URI | /ealtedge/mepm/app_lcm/v1/app_instances/{appInstanceId} | |||
Request Body Parameters - None | ||||
Response Codes | 201 | |||
Response Parameters | ||||
Parameter Name | Cardinality | Type | Description / Example | |
AppInstanceInfo | 1 | Complex | Application Instance Info |
Delete Application Instance
3. | API Name: Delete Application Instance | Type : DELETE | Interface : MM3 | |
---|---|---|---|---|
Description | The DELETE method deletes an individual application instance resource, which refers to the procedure of "delete application instance identifier operation" | |||
Resource URI | /ealtedge/mepm/app_lcm/v1/app_instances/{appInstanceId} | |||
Request Body Parameters - None | ||||
Response Codes | 204 | |||
Response Parameters - No Content |
Instantiate Application
4. | API Name: Instantiate Application | Type : POST | Interface : MM3 OSS→ MEO, MEO->MEPM | |
---|---|---|---|---|
Description | To instantiate the application instance | |||
Resource URI | /ealtedge/mepm/app_lcm/v1/app_instances/{appInstanceId}/instantiate | |||
Request Body Parameters | ||||
Attribute Name | Cardinality | Type | Description | |
R3 - API Documentation Enterprise Application on Lightweight 5G Telco Edge (EALTEdge) [WIP] | 1 | Complex | Request parameters of the "Instantiate Application" operation | |
Response Codes | 202 - Accepted. The request was accepted for processing, but the processing has not yet been completed | |||
Response Parameters - Response Body is Empty |
Terminate Application
5. | API Name: Terminate Application | Type : POST | Interface : MM3 (OSS→ MEO, MEO->MEPM) | |
---|---|---|---|---|
Description | To instantiate the application instance | |||
Resource URI | /ealtedge/mepm/app_lcm/v1/app_instances/{appInstanceId}/terminate | |||
Request Body Parameters | ||||
Name | Cardinality | Type | Description | |
R3 - API Documentation Enterprise Application on Lightweight 5G Telco Edge (EALTEdge) [WIP] | 1 | Complex | ||
Response Codes | 202 - Accepted. The request was accepted for processing, but the processing has not yet been completed | |||
Response Parameters - Response Body is Empty |
MEC Service Management
Service Discovery
1. | API Name | Create Application Instance | Type : GET | Interface : MM1 |
---|---|---|---|---|
Description | ||||
/ealtedge/mep/mec_service_mgmt/v1/services | ||||
Request Body Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
Response Codes | 201 | |||
Response Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
Service Discovery
2. | API Name | Type : GET | Interface : MM1 | |
---|---|---|---|---|
Description | ||||
Resource URI | /ealtedge/mep/mec_service_mgmt/v1/application/appInstanceId/services | |||
Request Body Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
Response Codes | 201 | |||
Response Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
Service Discovery
3. | API Name | Type : POST | Interface : MM1 | |
---|---|---|---|---|
Description | ||||
Resource URI | /ealtedge/mep/mec_service_mgmt/v1/application/appInstanceId/services | |||
Request Body Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
Response Codes | 201 | |||
Response Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
Service Discovery
4. | API Name | Type : DELETE | Interface : MM1 | |
---|---|---|---|---|
Description | ||||
Resource URI | /ealtedge/mep/mec_service_mgmt/v1/application/appInstanceId/services/serviceId | |||
Request Body Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
Response Codes | 201 | |||
Response Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
Service Discovery
5. | API Name | Type : PUT | Interface : MM1 | |
---|---|---|---|---|
Description | ||||
Resource URI | /ealtedge/mep/mec_service_mgmt/v1/application/appInstanceId/services/servicesId | |||
Request Body Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
Response Codes | 201 | |||
Response Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
Service Discovery
6. | API Name | Type : POST | Interface : MM1 | |
---|---|---|---|---|
Description | ||||
Resource URI | /ealtedge/mep/mec_service_mgmt/v1/application/appInstanceId/subscriptions | |||
Request Body Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
Response Codes | 201 | |||
Response Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
Types
AppPkgInfo
AppPkgInfo Parameters | ||||
Attribute Name | Cardinality | Data Type | Description | |
ID | 1 | String | ID | |
AppDID | 1 | String | Application Development ID | |
AppProvider | 0..1 | String | Application Provider. Ex : Huawei | |
AppName | 1 | String | Application Name. Ex : Face Recognition | |
AppSoftwareVersion | 1 | String | Application Software Version. Ex : 1.0 | |
AppDVersion | 1 | String | Application Deployment Version. Ex: 1.0 | |
OnboardingState | 1 | String | On Boarding State. Ex : ONBOARDED | |
DeployType | 1 | String | Deploy Type ; Ex : Helm | |
AppPackage | 1 | String | Application Package |
CreateAppPkg
CreateAppPkg Parameters | ||||
Attribute Name | Cardinality | Data Type | Description | |
appPkgName | 1 | String | Application Package Name to be onboarded | |
appPkgVersion | 1 | String | Application Package Version to be onboarded | |
appProvider | 0..1 | String | The provider's name of the application package to be onboarded. | |
checksum | checksum | checksum | Checksum of the onboarded application package | |
userDefinedData | 0..1 | KeyValuePair | User defined data for the application package. | |
appPkgPath | 1 | String | Address information of the application package Currently not in use |
ApplnstanceInfo
ApplnstanceInfo Parameters | ||||
Attribute Name | Cardinality | Data Type | Description | |
ID | 1 | String | Application Instance Description Ex : ID1 | |
AppInstanceName | 0..1 | String | Application Descriptor ID | |
AppInstanceDescription | 0..1 | String | Application Provider Ex: Huawei | |
AppDID | 1 | String | Application Name Ex : Face_Recognition. | |
AppProvider | 1 | String | ||
AppName | 1 | String | Deploy Type ; Ex : Helm | |
AppSoftVersion | 1 | String | Application Package ID Ex: b1bb0ce7-ebca-4fa7-95ed-4840d70a1177 | |
AppDVersion | 1 | String | Instantiation State. Ex : NOT_INSTANTIATED |
InstantiateAppRequest
InstantiateAppRequest Parameters | ||||
Attribute Name | Cardinality | Data Type | Description | |
selectedMECHostInfo | 1..N | MECHostInformation | Describes the information of selected host for the application instance |
TerminateAppRequest
TerminateAppRequest Parameters | ||||
Attribute Name | Cardinality | Data Type | Description | |
terminationType | 1 | Enum | Indicates whether forceful or graceful termination is | |
gracefulTerminationTimeout | 0..1 | Integer | This attribute is only applicable in case of graceful termination. It defines the time to wait for the application instance to be taken out of service before shutting down the application and releasing the resources. The unit is seconds. If not given and the "terminationType" attribute is set to "GRACEFUL", it is expected to wait for the successful taking out of service of the application, no matter how long it takes, before shutting down the application and releasing the resources. |