Commit 2e22c48e authored by Elian Kraja's avatar Elian Kraja Committed by Michele Carignani
Browse files

BugFixing

parent efdf31e2
Pipeline #3734 passed with stage
in 0 seconds
...@@ -24,7 +24,7 @@ TC_MEC_SRV_APPSUB_001_OK ...@@ -24,7 +24,7 @@ TC_MEC_SRV_APPSUB_001_OK
[Tags] PIC_MEC_PLAT PIC_SERVICES [Tags] PIC_MEC_PLAT PIC_SERVICES
Get Subscriptions list ${APP_INSTANCE_ID} Get Subscriptions list ${APP_INSTANCE_ID}
Check HTTP Response Status Code Is 200 Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is SubscriptionsLinkList Check HTTP Response Body Json Schema Is AppTerminationNotificationSubscription
TC_MEC_SRV_APPSUB_001_NF TC_MEC_SRV_APPSUB_001_NF
......
{
"tyre": "array",
"items": {
"description": "This type represents the information that the MEC platform notifies the subscribed application instance about the corresponding application instance termination/stop.",
"type": "object",
"required": [
"subscriptionType",
"callbackReference",
"_links",
"appInstanceId"
],
"properties": {
"subscriptionType": {
"description": "Shall be set to AppTerminationNotificationSubscription.",
"type": "string",
"example": "AppTerminationNotificationSubscription"
},
"callbackReference": {
"description": "URI selected by the MEC application instance to receive notifications on the subscribed MEC application instance management information. This shall be included in both the request and the response.",
"type": "string",
"format": "uri"
},
"_links": {
"description": "Self-referring URI.",
"type": "object",
"required": [
"self"
],
"properties": {
"self": {
"description": "This type represents a type of link and may be referenced from data structures",
"type": "object",
"properties": {
"href": {
"description": "URI referring to a resource",
"type": "string",
"format": "uri",
"example": "/mecAppSuptApi/example"
}
}
}
},
"readOnly": true
},
"appInstanceId": {
"description": "It is used as the filtering criterion for the subscribed events.",
"type": "string",
"example": "ID1"
}
}
}
}
\ No newline at end of file
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
"type": "object", "type": "object",
"required": [ "required": [
"href", "href",
"rel" "subscriptionType"
], ],
"properties": { "properties": {
"href": { "href": {
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
"format": "uri", "format": "uri",
"example": "/mecAppSuptApi/example" "example": "/mecAppSuptApi/example"
}, },
"rel": { "subscriptionType": {
"description": "The values shall be set to AppTerminationNotificationSubscription.", "description": "The values shall be set to AppTerminationNotificationSubscription.",
"type": "string" "type": "string"
} }
......
...@@ -143,5 +143,5 @@ Update a DNS Rule ...@@ -143,5 +143,5 @@ Update a DNS Rule
Update a DNS Rule with invalid etag Update a DNS Rule with invalid etag
[Arguments] ${appInstanceId} ${dnsRuleId} ${content} [Arguments] ${appInstanceId} ${dnsRuleId} ${content}
Set Headers {"If-Match": ${INVALID_ETAG}} Set Headers {"If-Match": "${INVALID_ETAG}"}
Update a DNS Rule ${appInstanceId} ${dnsRuleId} ${content} Update a DNS Rule ${appInstanceId} ${dnsRuleId} ${content}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment