Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
api-tests
Commits
00a07d81
Commit
00a07d81
authored
Jun 28, 2019
by
AHMADABB
Browse files
Sol005 High level Code
parent
78f7b8ac
Changes
19
Hide whitespace changes
Inline
Side-by-side
SOL005/NSLifecycleManagement-API/CancelOperationTask.robot
View file @
00a07d81
...
...
@@ -17,13 +17,13 @@ Post Cancel operation task Not Found
[
Setup
]
Check Cancel not supported
POST Cancel operation task
Check HTTP Response Status Code Is
404
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
Post Cancel operation task Conflict
Depends on test failure
Check resource FAILED_TEMP
POST Cancel operation task
Check HTTP Response Status Code Is
409
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
PUT Cancel operation task - Method not implemented
PUT Cancel operation task
...
...
SOL005/NSLifecycleManagement-API/ContinueOperationTask.robot
View file @
00a07d81
...
...
@@ -17,13 +17,13 @@ Post Continue operation task Not Found
[
Setup
]
Check Continue not supported
POST Continue operation task
Check HTTP Response Status Code Is
404
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
Post Continue operation task Conflict
Depends on test failure
Check resource FAILED_TEMP
POST Continue operation task
Check HTTP Response Status Code Is
409
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
PUT Continue operation task - Method not implemented
PUT Continue operation task
...
...
SOL005/NSLifecycleManagement-API/CreateNSInstanceWorkflow.robot
View file @
00a07d81
...
...
@@ -12,7 +12,7 @@ NS Instance Creation
POST New nsInstance
Check HTTP Response Status Code Is
201
Check HTTP Response Header Contains
Location
Check HTTP Response Body Json Schema Is
NsIdentifierCreationNotification
.schema.json
Check HTTP Response Body Json Schema Is
NsIdentifierCreationNotification
Check resource not_instantiated
\ No newline at end of file
SOL005/NSLifecycleManagement-API/DeleteNSInstanceWorkflow.robot
View file @
00a07d81
...
...
@@ -12,7 +12,7 @@ NS Instance Deletion
Check resource not_instantiated
DELETE IndividualNSInstance
Check HTTP Response Status Code Is
204
Check HTTP Response Body Json Schema Is
NsIdentifierDeletionNotification
.schema.json
Check HTTP Response Body Json Schema Is
NsIdentifierDeletionNotification
\ No newline at end of file
SOL005/NSLifecycleManagement-API/FailOperationTask.robot
View file @
00a07d81
...
...
@@ -17,13 +17,13 @@ Post Fail operation task Not Found
[
Setup
]
Check Fail not supported
POST Fail operation task
Check HTTP Response Status Code Is
404
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
Post Fail operation task Conflict
Depends on test failure
Check resource FAILED_TEMP
POST Fail operation task
Check HTTP Response Status Code Is
409
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
PUT Fail operation task - Method not implemented
PUT Fail operation task
...
...
SOL005/NSLifecycleManagement-API/HealNSTask.robot
View file @
00a07d81
...
...
@@ -18,7 +18,7 @@ Heal a NSInstance Conflict
POST Heal NSInstance
Check HTTP Response Status Code Is
409
Check HTTP Response Header Contains
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
GET Heal NSInstance- Method not implemented
GET Heal NSInstance
...
...
SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot
View file @
00a07d81
...
...
@@ -16,7 +16,7 @@ Get Information about an individual NS Instance
GET IndividualNSInstance
Check HTTP Response Status Code Is
200
Check HTTP Response Header ContentType is
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
NsInstance
.schema.json
Check HTTP Response Body Json Schema Is
NsInstance
PUT Individual NSInstance - Method not implemented
PUT IndividualNSInstance
...
...
@@ -35,4 +35,4 @@ DELETE Individual NSInstance Conflict
DELETE IndividualNSInstance
Check HTTP Response Status Code Is
409
Check HTTP Response Header ContentType is
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
SOL005/NSLifecycleManagement-API/IndividualNSLCMOccurences.robot
View file @
00a07d81
...
...
@@ -27,7 +27,7 @@ Get stauts information about Individual NS LCM OP OCC
GET Individual NS LCN OP Occurence
Check HTTP Response Status Code Is
200
Check HTTP Response Header ContentType is
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
NsLcmOpOcc
.schema.json
Check HTTP Response Body Json Schema Is
NsLcmOpOcc
\ No newline at end of file
SOL005/NSLifecycleManagement-API/IndividualSubscription.robot
View file @
00a07d81
...
...
@@ -16,7 +16,7 @@ Post Individual Subscription - Method not implemented
Get Information about an individual subscription
GET Individual subscription
Check HTTP Response Status Code Is
200
Check HTTP Response Body Json Schema Is
subscription
.schema.json
Check HTTP Response Body Json Schema Is
subscription
PUT an individual subscription - Method not implemented
PUT Individual Subscription
...
...
SOL005/NSLifecycleManagement-API/InstantiateNSTask.robot
View file @
00a07d81
...
...
@@ -17,8 +17,7 @@ Instantiate a nsInstance Conflict
[
Setup
]
Check resource instantiated
POST Instatiate nsInstance
Check HTTP Response Status Code Is
409
Check HTTP Response Header Contains
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
GET Instantiate NSInstance - Method not implemented
GET Instantiate NSInstance
...
...
SOL005/NSLifecycleManagement-API/NSInstances.robot
View file @
00a07d81
...
...
@@ -11,26 +11,22 @@ Create a new NsInstance
POST New nsInstance
Check HTTP Response Status Code Is
201
Check HTTP Response Header Contains
Location
Check HTTP Response Header ContentType is
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
NsInstance.schema.json
Check HTTP Response Body Json Schema Is
NsInstance
Get information about multiple NS instances
GET NsInstances
Check HTTP Response Status Code Is
200
Check HTTP Response Header ContentType is
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
NsInstances.schema.json
Check HTTP Response Body Json Schema Is
NsInstances
Get information about multiple NS instances Bad Request Invalid attribute-based filtering parameters
GET NsInstance Invalid Attribute-Based filtering parameter
Check HTTP Response Status Code Is
400
Check HTTP Response Header ContentType is
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
Get information about multiple NS instances Bad Request Invalid attribute selector
GET NsInstance Invalid Attribute Selector
Check HTTP Response Status Code Is
400
Check HTTP Response Header ContentType is
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
PUT NSInstances - Method not implemented
PUT NSInstances
...
...
SOL005/NSLifecycleManagement-API/NSLCMOccurences.robot
View file @
00a07d81
...
...
@@ -26,16 +26,15 @@ DELETE stauts information about multiple NS LCM OP OCC - Method not implemented
Get stauts information about multiple NS LCM OP OCC
GET NS LCN OP Occurences
Check HTTP Response Status Code Is
200
Check HTTP Response Header ContentType is
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
NsLcmOpOccs.schema.json
Check HTTP Response Body Json Schema Is
NsLcmOpOccs
Get stauts information about multiple NS LCM OP OCC Bad Request Invalid attribute-based filtering parameters
GET NS LCN OP Occurences Invalid attribute-based filtering parameters
Check HTTP Response Status Code Is
400
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
Get stauts information about multiple NS LCM OP OCC Bad Request Invalid attribute selector
GET NS LCN OP Occurences Invalid attribute selector
Check HTTP Response Status Code Is
400
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
\ No newline at end of file
SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot
View file @
00a07d81
...
...
@@ -135,7 +135,8 @@ Check HTTP Response Header Contains
Log
Header is present
Check HTTP Response Body Json Schema Is
[
Arguments
]
${schema}
[
Arguments
]
${input}
${schema}
=
Catenate
${input}
.schema.json
Validate Json
${schema}
${response[0]['body']}
Log
Json Schema Validation OK
...
...
SOL005/NSLifecycleManagement-API/RetryOperationTask.robot
View file @
00a07d81
...
...
@@ -18,13 +18,13 @@ Post Retry operation task Not Found
[
Setup
]
Check retry not supported
POST Retry operation task
Check HTTP Response Status Code Is
404
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
Post Retry operation task Conflict
Depends on test failure
Check resource FAILED_TEMP
POST Retry operation task
Check HTTP Response Status Code Is
409
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
PUT Retry operation task - Method not implemented
PUT Retry operation task
...
...
SOL005/NSLifecycleManagement-API/RollbackOperationTask.robot
View file @
00a07d81
...
...
@@ -18,13 +18,13 @@ Post Rollback operation task Not Found
[
Setup
]
Check Rollback not supported
POST Rollback operation task
Check HTTP Response Status Code Is
404
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
Post Rollback operation task Conflict
Depends on test failure
Check resource FAILED_TEMP
POST Rollback operation task
Check HTTP Response Status Code Is
409
Check HTTP Response Body Json Schema Is
ProblemDetails
.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
PUT Rollback operation task - Method not implemented
PUT Rollback operation task
...
...
SOL005/NSLifecycleManagement-API/ScaleNSTask.robot
View file @
00a07d81
...
...
@@ -17,8 +17,7 @@ Instantiate a nsInstance Conflict
[
Setup
]
Check resource not_instantiated
POST scale nsInstance
Check HTTP Response Status Code Is
409
Check HTTP Response Header Contains
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
GET Scale NSInstance- Method not implemented
GET scale NSInstance
...
...
SOL005/NSLifecycleManagement-API/Subscriptions.robot
View file @
00a07d81
...
...
@@ -11,32 +11,29 @@ Create a new subscription
POST subscriptions
Check HTTP Response Status Code Is
201
Check HTTP Response Header Contains
Location
Check HTTP Response Header ContentType is
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
subscription.schema.json
Check HTTP Response Body Json Schema Is
subscription
Create a new Subscription - DUPLICATION
POST subscriptions DUPLICATION
Check HTTP Response Status Code Is
201
Check HTTP Response Header Contains
Location
Check HTTP Response Header ContentType is
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
subscription.schema.json
Check HTTP Response Body Json Schema Is
subscription
Create a new Subscription - NO-DUPLICATION
POST subscriptions NO DUPLICATION
Check HTTP Response Status Code Is
201
Check HTTP Response Header Contains
Location
Check HTTP Response Header ContentType is
${CONTENT_TYPE}
GET Subscriptions
GET Subscriptions
Check HTTP Response Status Code Is
200
Check HTTP Response Body Json Schema Is
subscriptions
.schema.json
Check HTTP Response Body Json Schema Is
subscriptions
GET Subscription - Filter
GET Subscriptions with filter
Check HTTP Response Status Code Is
200
Check HTTP Response Body Json Schema Is
subscriptions
.schema.json
Check HTTP Response Body Json Schema Is
subscriptions
PUT subscriptions - Method not implemented
PUT subscriptions
...
...
SOL005/NSLifecycleManagement-API/TerminateNSTask.robot
View file @
00a07d81
...
...
@@ -17,8 +17,7 @@ Terminate a NSInstance Conflict
[
Setup
]
Check resource not_instantiated
POST Terminate NSInstance
Check HTTP Response Status Code Is
409
Check HTTP Response Header Contains
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
GET Terminate NSInstance- Method not implemented
GET Terminate NSInstance
...
...
SOL005/NSLifecycleManagement-API/UpdateNSTask.robot
View file @
00a07d81
...
...
@@ -17,8 +17,7 @@ Update a NSInstance Conflict
[
Setup
]
Check resource not_instantiated
POST Update NSInstance
Check HTTP Response Status Code Is
409
Check HTTP Response Header Contains
${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
Check HTTP Response Body Json Schema Is
ProblemDetails
GET Update NSInstance- Method not implemented
GET Update NSInstance
...
...
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