Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
Application package lifecycle and operation granting API
Commits
d92be94c
Commit
d92be94c
authored
Jan 26, 2021
by
Elian Kraja
Browse files
Merge branch 'stf593' into 'develop'
Added callback into subscription endpoint. See merge request
!3
parents
5c6414d7
4a2a92e6
Pipeline
#5789
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
MEC010-2_AppLcm.yaml
View file @
d92be94c
...
...
@@ -218,6 +218,26 @@ paths:
$ref
:
'
#/components/responses/406'
'
429'
:
$ref
:
'
#/components/responses/429'
callbacks
:
notification
:
'
{$request.body#/callbackUri}'
:
post
:
summary
:
'
Callback
POST
used
to
send
a
notification'
description
:
'
Notification
for
informing
the
subscribers
about
operational
state
of
application
instance
resources
or
state
changes
of
an
application
LCM
operation
occurrence.
It
depends
on
subscription
type.'
operationId
:
notificationPOST
requestBody
:
description
:
Subscription notification
required
:
true
content
:
application/json
:
schema
:
oneOf
:
-
$ref
:
'
#/components/schemas/AppInstNotification'
-
$ref
:
'
#/components/schemas/AppLcmOpOccNotification'
responses
:
'
204'
:
$ref
:
'
#/components/responses/204'
get
:
tags
:
-
'
'
...
...
MEC010-2_AppPkgMgmt.yaml
View file @
d92be94c
...
...
@@ -236,7 +236,24 @@ paths:
$ref
:
'
#/components/responses/406'
'
429'
:
$ref
:
'
#/components/responses/429'
callbacks
:
notification
:
'
{$request.body#/subscription.href}'
:
post
:
summary
:
'
Callback
POST
used
to
send
a
notification'
description
:
'
The
notification
is
triggered
when
a
new
application
package
is
onboarded'
operationId
:
notificationPOST
requestBody
:
description
:
Subscription notification
required
:
true
content
:
application/json
:
schema
:
$ref
:
'
#/components/schemas/AppPkgNotification'
responses
:
'
204'
:
$ref
:
'
#/components/responses/204'
get
:
tags
:
-
'
app-pkgm'
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment