Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ETSI MEC Sandbox Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MEC - Multi-access Edge Computing
ETSI MEC Sandbox Frontend
Commits
c5f7596a
Commit
c5f7596a
authored
5 months ago
by
Yann Garcia
Browse files
Options
Downloads
Patches
Plain Diff
Add MEC 016 support
parent
b2f51514
No related branches found
No related tags found
1 merge request
!4
merge MEC021 APi into STF625_TASK4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/api/dai-api.yaml
+3
-153
3 additions, 153 deletions
config/api/dai-api.yaml
with
3 additions
and
153 deletions
config/api/dai-api.yaml
+
3
−
153
View file @
c5f7596a
...
...
@@ -7,10 +7,10 @@ info:
license
:
name
:
BSD-3-Clause
url
:
https://forge.etsi.org/legal-matters
version
:
2.2
.1
version
:
3.1
.1
externalDocs
:
description
:
ETSI GS MEC016 V
2.2
.1 Device application interface
url
:
https://www.etsi.org/deliver/etsi_gs/MEC/001_099/016/0
2
.0
2
.01_60/gs_
MEC
016v0
202
01p.pdf
description
:
ETSI GS MEC016 V
3.1
.1 Device application interface
url
:
https://www.etsi.org/deliver/etsi_gs/MEC/001_099/016/0
3
.0
1
.01_60/gs_
mec
016v0
301
01p.pdf
servers
:
-
url
:
https://localhost/sandboxname/dev_app/v1
tags
:
...
...
@@ -353,88 +353,6 @@ paths:
application/problem+json
:
schema
:
$ref
:
'
#/components/schemas/ProblemDetails'
/subscriptions/{subscriptionId}
:
post
:
tags
:
-
app_term
summary
:
MEC011 Application Termination notification for self termination
description
:
Terminates itself.
operationId
:
mec011AppTerminationPOST
parameters
:
-
name
:
subscriptionId
in
:
path
description
:
"
Refers
to
created
subscription,
where
the
VIS
API
allocates
\
\
a
unique
resource
name
for
this
subscription"
required
:
true
style
:
simple
explode
:
false
schema
:
type
:
string
requestBody
:
description
:
Termination notification details
content
:
application/json
:
schema
:
$ref
:
'
#/components/schemas/AppTerminationNotification'
example
:
notificationType
:
AppTerminationNotification
operationAction
:
TERMINATING
maxGracefulTimeout
:
10
_links
:
subscription
:
href
:
http://mec011Server.example.com/mec_app_support/v2/applications/appId1234/subscriptions/sub123
confirmTermination
:
href
:
http://mec011Server.example.com/mec_app_support/v2/confirm_termination
required
:
true
responses
:
"
204"
:
description
:
No Content
x-swagger-router-controller
:
notifications
delete
:
tags
:
-
unsupported
summary
:
Used to cancel the existing subscription.
description
:
Used to cancel the existing subscription.
operationId
:
individualSubscriptionDELETE
parameters
:
-
name
:
subscriptionId
in
:
path
description
:
"
Refers
to
created
subscription,
where
the
VIS
API
allocates
\
\
a
unique
resource
name
for
this
subscription"
required
:
true
style
:
simple
explode
:
false
schema
:
type
:
string
responses
:
"
204"
:
description
:
No Content
"
401"
:
description
:
"
Unauthorized
:
used
when
the
client
did
not
submit
credentials."
content
:
application/json
:
schema
:
$ref
:
'
#/components/schemas/ProblemDetails'
"
403"
:
description
:
"
Forbidden
:
operation
is
not
allowed
given
the
current
status
\
\
of
the
resource."
content
:
application/json
:
schema
:
$ref
:
'
#/components/schemas/ProblemDetails'
"
404"
:
description
:
"
Not
Found
:
used
when
a
client
provided
a
URI
that
cannot
\
\
be
mapped
to
a
valid
resource
URI."
content
:
application/json
:
schema
:
$ref
:
'
#/components/schemas/ProblemDetails'
"
429"
:
description
:
"
Too
Many
Requests
:
used
when
a
rate
limiter
has
triggered."
content
:
application/json
:
schema
:
$ref
:
'
#/components/schemas/ProblemDetails'
components
:
schemas
:
AddressChangeNotification
:
...
...
@@ -943,70 +861,6 @@ components:
format
:
uri
x-etsi-mec-cardinality
:
0..1
x-etsi-mec-origin-type
:
URI
Links
:
required
:
-
self
type
:
object
properties
:
self
:
$ref
:
'
#/components/schemas/LinkType'
description
:
Hyperlink related to the resource. This shall be only included
in the HTTP responses and in HTTP PUT requests.
x-etsi-mec-cardinality
:
0..1
x-etsi-mec-origin-type
:
Structure (inlined)
LinkType
:
required
:
-
href
type
:
object
properties
:
href
:
type
:
string
description
:
URI referring to a resource
format
:
uri
x-etsi-mec-cardinality
:
"
1"
x-etsi-mec-origin-type
:
Uri
example
:
href
:
http://example.com/aeiou
x-etsi-ref
:
6.5.13
AppTerminationNotification
:
required
:
-
_links
-
maxGracefulTimeout
-
notificationType
-
operationAction
type
:
object
properties
:
notificationType
:
type
:
string
description
:
Shall be set to AppTerminationNotification.
operationAction
:
$ref
:
'
#/components/schemas/OperationActionType'
maxGracefulTimeout
:
type
:
integer
description
:
Maximum timeout value in seconds for graceful termination or
graceful stop of an application instance.
format
:
uint32
_links
:
$ref
:
'
#/components/schemas/AppTerminationNotification__links'
description
:
This type represents the information that the MEC platform notifies
the subscribed application instance about the corresponding application instance
termination/stop.
OperationActionType
:
type
:
string
description
:
Operation that is being performed on the MEC application instance.
enum
:
-
STOPPING
-
TERMINATING
AppTerminationNotification__links
:
required
:
-
subscription
type
:
object
properties
:
subscription
:
$ref
:
'
#/components/schemas/LinkType'
confirmTermination
:
$ref
:
'
#/components/schemas/LinkType'
description
:
Object containing hyperlinks related to the resource.
AppContext_appInfo_userAppInstanceInfo
:
type
:
object
properties
:
...
...
@@ -1115,7 +969,6 @@ components:
$ref
:
'
#/components/schemas/AppContext_appInfo_userAppInstanceInfo'
x-etsi-mec-cardinality
:
1..N
x-etsi-mec-origin-type
:
array (Structure inlined)
description
:
"
"
example
:
appSoftVersion
:
appSoftVersion
appDVersion
:
appDVersion
...
...
@@ -1179,7 +1032,6 @@ components:
format
:
uri
x-etsi-mec-cardinality
:
"
1"
x-etsi-mec-origin-type
:
URI
example
:
null
ApplicationList_appInfo_appCharcs
:
type
:
object
properties
:
...
...
@@ -1292,7 +1144,6 @@ components:
value shall not exceed 32 characters.
x-etsi-mec-cardinality
:
"
1"
x-etsi-mec-origin-type
:
String
description
:
"
"
example
:
appCharcs
:
serviceCont
:
5
...
...
@@ -1492,7 +1343,6 @@ components:
$ref
:
'
#/components/schemas/ApplicationLocationAvailability_appInfo_availableLocations'
x-etsi-mec-cardinality
:
0..N
x-etsi-mec-origin-type
:
array (Structure (inline))
description
:
"
"
example
:
appSoftVersion
:
appSoftVersion
appDVersion
:
appDVersion
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment