Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
api-tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
NFV - Network Functions Virtualisation
api-tests
Commits
7d24d2cb
Commit
7d24d2cb
authored
4 years ago
by
Najam UI Hassan
Browse files
Options
Downloads
Patches
Plain Diff
templating added
parent
da1ef090
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!199
Merge "3.3.1 dev" into "release 3" master
,
!193
Merge 2.7.1 dev into Master, for TST010ed271 publication
,
!117
SOL002 VNF Indicator - Implementation of deltas between v2.7.1 and v2.6.1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SOL002/VNFIndicator-API/Subscriptions.robot
+2
-1
2 additions, 1 deletion
SOL002/VNFIndicator-API/Subscriptions.robot
SOL002/VNFIndicator-API/jsons/subscriptions.json
+3
-3
3 additions, 3 deletions
SOL002/VNFIndicator-API/jsons/subscriptions.json
with
5 additions
and
4 deletions
SOL002/VNFIndicator-API/Subscriptions.robot
+
2
−
1
View file @
7d24d2cb
...
...
@@ -217,7 +217,8 @@ Send Post Request for VNF Indicator Subscription
Log
Trying
to
create
a
new
subscription
Set
Headers
{"Accept":
"${ACCEPT_JSON}"}
Set
Headers
{"Content-Type":
"${CONTENT_TYPE_JSON}"}
${body}=
Get
File
jsons/subscriptions.json
${template}=
Get
File
jsons/subscriptions.json
${body}=
Format
String
${template}
callback_uri=${callback_uri}
callback_endpoint=${callback_endpoint}
Run
Keyword
If
${AUTH_USAGE}
==
1
Set
Headers
{"Authorization":
"${AUTHORIZATION}"}
POST
${apiRoot}/${apiName}/${apiVersion}/subscriptions
${body}
${output}=
Output
response
...
...
This diff is collapsed.
Click to expand it.
SOL002/VNFIndicator-API/jsons/subscriptions.json
+
3
−
3
View file @
7d24d2cb
{
"callbackUri"
:
"http://127.0.0.1/subscribe"
}
\ No newline at end of file
{{
"callbackUri"
:
"{callback_uri}{callback_endpoint}"
}}
\ No newline at end of file
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