{
"description": "'The data type represents a subscription link list of notification on application package management'",
"type": "object",
"required": [
"_links"
],
"properties": {
"_links": {
"description": "Links to resources related to this resource.",
"type": "object",
"required": [
"self"
],
"properties": {
"self": {
"properties": {
"href": {
"description": "URI referring to a resource",
"format": "uri",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "URI"
}
},
"required": [
"href"
],
"type": "object",
"x-etsi-ref": "6.5.2"
},
"subscriptions": {
"type": "array",
"items": {
"description": "'The data type represents the input parameters of \"subscription operation\" to notification of application package management for the onboarding, or operational state change of application package.'",
"type": "object",
"required": [
"href",
"subsctiptionType"
],
"properties": {
"href": {
"description": "The URI referring to the subscription.",
"type": "string",
"format": "uri"
},
"subsctiptionType": {
"description": "'Subscribed notification type'",
"type": "string",
"enum": [
"AppPackageOnBoardingSubscription",
"AppPacakgeOperationChangeSubscription",
"AppPackageDeletionSubscription"
]
}
}
}
}
}
}
}
}
\ No newline at end of file
This diff is collapsed.
*** Variables ***
# Generic variables
${MEPM_SCHEMA} http
${MEPM_HOST} 127.0.0.1
${MEPM_PORT} 8081
${response} {}
${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l
${apiRoot}
${apiName} app_lcm
${apiVersion} v1
# Specific variables
${NOT_EXISTING_APP_INSTANCE_ID} NOT_EXISTING_APP_INSTANCE_ID
${APP_INSTANCE_ID} 5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f
${APPD_ID} e0deee2b-6e50-4f33-ab09-8bf0585025d3
${APP_LCM_OP_OCC_ID} abceee2b-6e50-4f33-ab09-8bf05850abcd
${NOT_EXISTING_APP_LCM_OP_OCC_ID} NOT_EXISTING_APP_LCM_OP_OCC_ID
${NON_EXISTENT_APP_PKG_ID} NON_EXISTENT_APP_PKG_ID
${OPERATION_VALUE} DISABLE
${CALLBACK_URI} https://callback.uri/path
${SUB_TYPE} AppInstanceStateChangeSubscription
${SUBSCRIPTION_ID} 01234e2b-6e50-4f33-ab09-8bf05850890
${NOT_EXISTING_SUBSCRIPTION_ID} NOT_EXISTING_SUBSCRIPTION_ID
\ No newline at end of file
{
"subscriptionType": "AppInstanceStateChangeSubscription",
"callbackUri": "https://callback.uri/path"
}
\ No newline at end of file
{
"callbackERRORUri": "AppInstanceStateChangeSubscription",
"callbackUri": "https://callback.uri/path"
}
\ No newline at end of file
{
"CancelMode": "GRACEFUL"
}
\ No newline at end of file
{
"CancelMode": "GRACEFULLL"
}
\ No newline at end of file
{
"appDId": "e0deee2b-6e50-4f33-ab09-8bf0585025d3",
"appInstanceDescription": "description",
"appInstanceName": "name"
}
\ No newline at end of file
{
"appDDDId": "e0deee2b-6e50-4f33-ab09-8bf0585025d3",
"appInstanceDescription": "description",
"appInstanceName": "name"
}
\ No newline at end of file
{
"selectedMECHostInfo": [{
"hostId": {
"key1": 123,
"key2": 456
},
"hostName": "hostname"
}]
}
\ No newline at end of file
{
"appERRORId": "1234",
"selectedMECHostInfo": [{
"hostId": {
"key1": 123,
"key2": 456
},
"hostName": "hostname"
}]
}
\ No newline at end of file
{
"changeStateTo": "STARTED"
}
\ No newline at end of file
{
"changeERRORStateTo": "STARTED"
}
\ No newline at end of file
{
"terminationType": "FORCEFUL",
"gracefulTerminationTimeout": 0
}
\ No newline at end of file
{
"terminationERRORType": "FORCEFUL",
"gracefulTerminationTimeout": 0
}
\ No newline at end of file
{
"type": "object",
"required": [
"subscriptionType",
"callbackUri"
],
"properties": {
"subscriptionType": {
"description": "Shall be set to AppInstanceStateChange.",
"type": "string"
},
"callbackUri": {
"description": "The URI of the endpoint for the notification to be sent to.",
"type": "string",
"format": "uri"
},
"appInstanceState": {
"description": "Only send notifications for application instances that are in one of the states listed in this attribute. If this attribute is absent, match all states.",
"type": "string",
"format": "enum",
"enum": [
"NOT_INSTANTIATED",
"STARTED",
"STOPPED"
]
},
"appInstanceSubscriptionFilter": {
"description": "'This data type represents subscription filter criteria to match application instances. '",
"type": "object",
"required": [
"appInstSelectorType"
],
"properties": {
"appInstSelectorType": {
"description": "0 = void",
"type": "string",
"enum": [
"VOID",
"APP_IDENTITY",
"APP_NAME",
"APP_D_ID",
"APP_FROM_PROVIDER"
]
},
"appInstances": {
"type": "array",
"items": {
"description": "If appInstIdSelector = APP_IDENTITY match existing application instances with an application instance identifier listed in this attribute.",
"type": "string"
}
},
"appsFromProviders": {
"type": "array",
"items": {
"description": "'Present only if appInstIdSelector = APP_FROM_PROVIDER. Match existing application instances, or those created in the future whilst the subscription is active, that belong to applications from certain providers.'",
"type": "object",
"required": [
"appProvider"
],
"properties": {
"appProvider": {
"description": "Provider of the application and of the AppD.",
"type": "string"
},
"appProducts": {
"description": "'If present, match application instances that belong to application products with certain product names, from one particular provider.'",
"type": "object",
"required": [
"appName"
],
"properties": {
"appName": {
"description": "Name to identify the MEC application.",
"type": "string"
},
"versions": {
"description": "'If present, match application instances that belong to application products with certain versions and a certain product name, from one particular provider.'",
"type": "object",
"required": [
"appSoftVersion"
],
"properties": {
"appSoftVersion": {
"description": "Identifies the version of software of the MEC application.",
"type": "string"
},
"appDVersion": {
"type": "array",
"items": {
"description": "Identifies the version of the application descriptor.",
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
\ No newline at end of file
This diff is collapsed.
{
"description": "'The data type represents a subscription link list of notification on application package management'",
"type": "object",
"required": [
"_links"
],
"properties": {
"_links": {
"description": "Links to resources related to this resource.",
"type": "object",
"required": [
"self"
],
"properties": {
"self": {
"properties": {
"href": {
"description": "URI referring to a resource",
"format": "uri",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "URI"
}
},
"required": [
"href"
],
"type": "object",
"x-etsi-ref": "6.5.2"
},
"subscriptions": {
"type": "array",
"items": {
"description": "'The data type represents the input parameters of \"subscription operation\" to notification of application package management for the onboarding, or operational state change of application package.'",
"type": "object",
"required": [
"href",
"subsctiptionType"
],
"properties": {
"href": {
"description": "The URI referring to the subscription.",
"type": "string",
"format": "uri"
},
"subsctiptionType": {
"description": "'Subscribed notification type'",
"type": "string",
"enum": [
"AppPackageOnBoardingSubscription",
"AppPacakgeOperationChangeSubscription",
"AppPackageDeletionSubscription"
]
}
}
}
}
}
}
}
}
\ No newline at end of file
This diff is collapsed.