Commit 17c81b30 authored by kharimza's avatar kharimza

Updated to GS version 2.0.11

Signed-off-by: kharimza's avatarkharim <zakkir.kharim@nokia.com>
parent 8292e1bf
Pipeline #1312 passed with stage
in 0 seconds
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
], ],
"info": { "info": {
"title": "MEC Application Support API", "title": "MEC Application Support API",
"version": "2.0.9", "version": "2.0.11",
"description": "The ETSI MEC ISG MEC011 MEC Application Support API described using OpenAPI", "description": "The ETSI MEC ISG MEC011 MEC Application Support API described using OpenAPI",
"license": { "license": {
"name": "ETSI Forge copyright notice", "name": "ETSI Forge copyright notice",
...@@ -339,6 +339,9 @@ ...@@ -339,6 +339,9 @@
"204": { "204": {
"description": "No Content" "description": "No Content"
}, },
"400": {
"$ref": "#/components/responses/Error.400"
},
"401": { "401": {
"$ref": "#/components/responses/Error.401" "$ref": "#/components/responses/Error.401"
}, },
...@@ -354,6 +357,9 @@ ...@@ -354,6 +357,9 @@
"429": { "429": {
"$ref": "#/components/responses/Error.429" "$ref": "#/components/responses/Error.429"
} }
},
"requestBody": {
"$ref": "#/components/requestBodies/ApplicationsConfirmTermination"
} }
} }
}, },
...@@ -409,6 +415,18 @@ ...@@ -409,6 +415,18 @@
"Empty": { "Empty": {
"description": "Empty schema" "description": "Empty schema"
}, },
"AppTerminationConfirmation": {
"description": "This type represents the information that the MEC application instance provides to the MEC platform when informing it that the application has completed its application level related terminate/stop actions, e.g. retention of application state in the case of stop.",
"type": "object",
"required": [
"operationAction"
],
"properties": {
"operationAction": {
"$ref": "#/components/schemas/OperationActionType"
}
}
},
"AppTerminationNotification.Links": { "AppTerminationNotification.Links": {
"description": "Object containing hyperlinks related to the resource.", "description": "Object containing hyperlinks related to the resource.",
"type": "object", "type": "object",
...@@ -440,6 +458,7 @@ ...@@ -440,6 +458,7 @@
"type": "object", "type": "object",
"required": [ "required": [
"notificationType", "notificationType",
"operationAction",
"maxGracefulTimeout", "maxGracefulTimeout",
"_links" "_links"
], ],
...@@ -447,6 +466,9 @@ ...@@ -447,6 +466,9 @@
"notificationType": { "notificationType": {
"$ref": "#/components/schemas/AppTerminationNotification.NotificationType" "$ref": "#/components/schemas/AppTerminationNotification.NotificationType"
}, },
"operationAction": {
"$ref": "#/components/schemas/OperationActionType"
},
"maxGracefulTimeout": { "maxGracefulTimeout": {
"$ref": "#/components/schemas/AppTerminationNotification.MaxGracefulTimeout" "$ref": "#/components/schemas/AppTerminationNotification.MaxGracefulTimeout"
}, },
...@@ -712,6 +734,15 @@ ...@@ -712,6 +734,15 @@
} }
} }
}, },
"OperationActionType": {
"description": "Operation that is being performed on the MEC application instance.",
"type": "string",
"enum": [
"STOPPING",
"TERMINATING"
],
"example": "TERMINATING"
},
"ProblemDetails": { "ProblemDetails": {
"type": "object", "type": "object",
"properties": { "properties": {
...@@ -1073,10 +1104,10 @@ ...@@ -1073,10 +1104,10 @@
"enum": [ "enum": [
"DROP", "DROP",
"FORWARD_DECAPSULATED", "FORWARD_DECAPSULATED",
"FORWARD_AS_IS", "FORWARD_ENCAPSULATED",
"PASSTHROUGH", "PASSTHROUGH",
"DUPLICATE_DECAPSULATED", "DUPLICATE_DECAPSULATED",
"DUPLICATE_AS_IS" "DUPLICATE_ENCAPSULATED"
], ],
"example": "DROP" "example": "DROP"
}, },
...@@ -1285,7 +1316,7 @@ ...@@ -1285,7 +1316,7 @@
} }
}, },
"ApplicationsSubscriptions.201": { "ApplicationsSubscriptions.201": {
"description": "Entity body in the request contains a subscription to the MEC service availability notifications that is to be created.", "description": "Entity body in the request contains a subscription to the MEC service availability notifications that is to be created.",
"headers": { "headers": {
"location": { "location": {
"description": "The resource URI of the created resource", "description": "The resource URI of the created resource",
...@@ -1485,6 +1516,15 @@ ...@@ -1485,6 +1516,15 @@
} }
}, },
"requestBodies": { "requestBodies": {
"ApplicationsConfirmTermination": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AppTerminationConfirmation"
}
}
}
},
"ApplicationsDnsRule": { "ApplicationsDnsRule": {
"content": { "content": {
"application/json": { "application/json": {
......
...@@ -4,7 +4,7 @@ servers: ...@@ -4,7 +4,7 @@ servers:
- url: 'https://127.0.0.1:8081/mec_app_support/v1' - url: 'https://127.0.0.1:8081/mec_app_support/v1'
info: info:
title: MEC Application Support API title: MEC Application Support API
version: 2.0.9 version: 2.0.11
description: The ETSI MEC ISG MEC011 MEC Application Support API described using OpenAPI description: The ETSI MEC ISG MEC011 MEC Application Support API described using OpenAPI
license: license:
name: ETSI Forge copyright notice name: ETSI Forge copyright notice
...@@ -231,6 +231,8 @@ paths: ...@@ -231,6 +231,8 @@ paths:
responses: responses:
'204': '204':
description: No Content description: No Content
'400':
$ref: '#/components/responses/Error.400'
'401': '401':
$ref: '#/components/responses/Error.401' $ref: '#/components/responses/Error.401'
'403': '403':
...@@ -241,6 +243,8 @@ paths: ...@@ -241,6 +243,8 @@ paths:
$ref: '#/components/responses/Error.409' $ref: '#/components/responses/Error.409'
'429': '429':
$ref: '#/components/responses/Error.429' $ref: '#/components/responses/Error.429'
requestBody:
$ref: '#/components/requestBodies/ApplicationsConfirmTermination'
'/timing/timing_caps': '/timing/timing_caps':
get: get:
description: >- description: >-
...@@ -279,6 +283,15 @@ components: ...@@ -279,6 +283,15 @@ components:
schemas: schemas:
Empty: Empty:
description: Empty schema description: Empty schema
AppTerminationConfirmation:
description: >-
This type represents the information that the MEC application instance provides to the MEC platform when informing it that the application has completed its application level related terminate/stop actions, e.g. retention of application state in the case of stop.
type: object
required:
- operationAction
properties:
operationAction:
$ref: '#/components/schemas/OperationActionType'
AppTerminationNotification.Links: AppTerminationNotification.Links:
description: >- description: >-
Object containing hyperlinks related to the resource. Object containing hyperlinks related to the resource.
...@@ -309,11 +322,14 @@ components: ...@@ -309,11 +322,14 @@ components:
type: object type: object
required: required:
- notificationType - notificationType
- operationAction
- maxGracefulTimeout - maxGracefulTimeout
- _links - _links
properties: properties:
notificationType: notificationType:
$ref: '#/components/schemas/AppTerminationNotification.NotificationType' $ref: '#/components/schemas/AppTerminationNotification.NotificationType'
operationAction:
$ref: '#/components/schemas/OperationActionType'
maxGracefulTimeout: maxGracefulTimeout:
$ref: '#/components/schemas/AppTerminationNotification.MaxGracefulTimeout' $ref: '#/components/schemas/AppTerminationNotification.MaxGracefulTimeout'
_links: _links:
...@@ -532,6 +548,13 @@ components: ...@@ -532,6 +548,13 @@ components:
properties: properties:
_links: _links:
$ref: '#/components/schemas/MecAppSuptApiSubscriptionLinkList.Links' $ref: '#/components/schemas/MecAppSuptApiSubscriptionLinkList.Links'
OperationActionType:
description: Operation that is being performed on the MEC application instance.
type: string
enum:
- STOPPING
- TERMINATING
example: 'TERMINATING'
ProblemDetails: ProblemDetails:
type: object type: object
properties: properties:
...@@ -829,10 +852,10 @@ components: ...@@ -829,10 +852,10 @@ components:
enum: enum:
- DROP - DROP
- FORWARD_DECAPSULATED - FORWARD_DECAPSULATED
- FORWARD_AS_IS - FORWARD_ENCAPSULATED
- PASSTHROUGH - PASSTHROUGH
- DUPLICATE_DECAPSULATED - DUPLICATE_DECAPSULATED
- DUPLICATE_AS_IS - DUPLICATE_ENCAPSULATED
example: 'DROP' example: 'DROP'
TrafficRule.FilterType: TrafficRule.FilterType:
description: >- description: >-
...@@ -1144,6 +1167,11 @@ components: ...@@ -1144,6 +1167,11 @@ components:
schema: schema:
$ref: '#/components/schemas/Empty' $ref: '#/components/schemas/Empty'
requestBodies: requestBodies:
ApplicationsConfirmTermination:
content:
application/json:
schema:
$ref: '#/components/schemas/AppTerminationConfirmation'
ApplicationsDnsRule: ApplicationsDnsRule:
content: content:
application/json: application/json:
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
], ],
"info": { "info": {
"title": "MEC Service Management API", "title": "MEC Service Management API",
"version": "2.0.10", "version": "2.0.11",
"description": "The ETSI MEC ISG MEC011 MEC Service Management API described using OpenAPI", "description": "The ETSI MEC ISG MEC011 MEC Service Management API described using OpenAPI",
"license": { "license": {
"name": "ETSI Forge copyright notice", "name": "ETSI Forge copyright notice",
......
...@@ -4,7 +4,7 @@ servers: ...@@ -4,7 +4,7 @@ servers:
- url: 'https://127.0.0.1:8081/mec_service_mgmt/v1' - url: 'https://127.0.0.1:8081/mec_service_mgmt/v1'
info: info:
title: MEC Service Management API title: MEC Service Management API
version: 2.0.10 version: 2.0.11
description: The ETSI MEC ISG MEC011 MEC Service Management API described using OpenAPI description: The ETSI MEC ISG MEC011 MEC Service Management API described using OpenAPI
license: license:
name: ETSI Forge copyright notice name: ETSI Forge copyright notice
......
Markdown is supported
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