Table of Contents |
---|
...
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 | |
CreateAppPkg | 1 | Complex | ||
Response Codes | 201 : Created | |||
Response Parameters | ||||
Parameter Name | Cardinality | Type | Description | |
AppPkgInfo | 0..N | Complex | Indicates a successful request. The response body shall contain a representation of the application package resource. |
...
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 | |
AppPkgInfo | 1 | Complex |
...
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. |
...
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 | |
AppInstanceInfo | 1 | Complex | Application Instance Info |
...
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 |
...
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 |
...
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 | |
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 |
...
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 | |
TerminateAppRequest TerminateAppRequest | 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 |
...
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 | |
...
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 | |
...
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 | |
...
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 | |
...
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 | |
...
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 | |
...
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
Anchor | ||||
---|---|---|---|---|
|
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 Anchor ApplnstanceInfo ApplnstanceInfo
ApplnstanceInfo | |
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
Anchor | ||||
---|---|---|---|---|
|
InstantiateAppRequest Parameters | ||||
Attribute Name | Cardinality | Data Type | Description | |
selectedMECHostInfo | 1..N | MECHostInformation | Describes the information of selected host for the application instance |
TerminateAppRequest Anchor TerminateAppRequest TerminateAppRequest
TerminateAppRequest | |
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. |
...