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
c105e2fb
Commit
c105e2fb
authored
Jun 27, 2019
by
AHMADABB
Browse files
Hish level rearengement
parent
91f8fa35
Changes
24
Expand all
Hide whitespace changes
Inline
Side-by-side
SOL005/NSLifecycleManagement-API/CancelOperationTask.robot
View file @
c105e2fb
...
...
@@ -10,35 +10,35 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Cancel operation task
Depends on test
Check resource FAILED_TEMP
Do
POST Cancel operation task
POST Cancel operation task
Check HTTP Response Status Code Is
202
Post Cancel operation task Not Found
[
Setup
]
Check Cancel not supported
Do
POST Cancel operation task
POST Cancel operation task
Check HTTP Response Status Code Is
404
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
Post Cancel operation task Conflict
Depends on test failure
Check resource FAILED_TEMP
Do
POST Cancel operation task
POST Cancel operation task
Check HTTP Response Status Code Is
409
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
PUT Cancel operation task - Method not implemented
Do
PUT Cancel operation task
PUT Cancel operation task
Check HTTP Response Status Code Is
405
PATCH Cancel operation task - Method not implemented
Do
PATCH Cancel operation task
PATCH Cancel operation task
Check HTTP Response Status Code Is
405
DELETE Cancel operation task - Method not implemented
Do
DELETE Cancel operation task
DELETE Cancel operation task
Check HTTP Response Status Code Is
405
GET Cancel operation task - Method not implemented
Do
GET Cancel operation task
GET Cancel operation task
Check HTTP Response Status Code Is
405
...
...
SOL005/NSLifecycleManagement-API/ContinueOperationTask.robot
View file @
c105e2fb
...
...
@@ -10,35 +10,35 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Continue operation task
Depends on test
Check resource FAILED_TEMP
Do
POST Continue operation task
POST Continue operation task
Check HTTP Response Status Code Is
202
Post Continue operation task Not Found
[
Setup
]
Check Continue not supported
Do
POST Continue operation task
POST Continue operation task
Check HTTP Response Status Code Is
404
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
Post Continue operation task Conflict
Depends on test failure
Check resource FAILED_TEMP
Do
POST Continue operation task
POST Continue operation task
Check HTTP Response Status Code Is
409
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
PUT Continue operation task - Method not implemented
Do
PUT Continue operation task
PUT Continue operation task
Check HTTP Response Status Code Is
405
PATCH Continue operation task - Method not implemented
Do
PATCH Continue operation task
PATCH Continue operation task
Check HTTP Response Status Code Is
405
DELETE Continue operation task - Method not implemented
Do
DELETE Continue operation task
DELETE Continue operation task
Check HTTP Response Status Code Is
405
GET Continue operation task - Method not implemented
Do
GET Continue operation task
GET Continue operation task
Check HTTP Response Status Code Is
405
SOL005/NSLifecycleManagement-API/CreateNSInstanceWorkflow.robot
View file @
c105e2fb
...
...
@@ -9,7 +9,7 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
NS Instance Creation
Do
POST New nsInstance
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
...
...
SOL005/NSLifecycleManagement-API/DeleteNSInstanceWorkflow.robot
View file @
c105e2fb
...
...
@@ -10,7 +10,7 @@ Suite Setup Check resource existance
*** Test Cases ***
NS Instance Deletion
Check resource not_instantiated
Do
DELETE IndividualNSInstance
DELETE IndividualNSInstance
Check HTTP Response Status Code Is
204
Check HTTP Response Body Json Schema Is
NsIdentifierDeletionNotification.schema.json
...
...
SOL005/NSLifecycleManagement-API/FailOperationTask.robot
View file @
c105e2fb
...
...
@@ -10,35 +10,35 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Fail operation task
Depends on test
Check resource FAILED_TEMP
Do
POST Fail operation task
POST Fail operation task
Check HTTP Response Status Code Is
202
Post Fail operation task Not Found
[
Setup
]
Check Fail not supported
Do
POST Fail operation task
POST Fail operation task
Check HTTP Response Status Code Is
404
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
Post Fail operation task Conflict
Depends on test failure
Check resource FAILED_TEMP
Do
POST Fail operation task
POST Fail operation task
Check HTTP Response Status Code Is
409
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
PUT Fail operation task - Method not implemented
Do
PUT Fail operation task
PUT Fail operation task
Check HTTP Response Status Code Is
405
PATCH Fail operation task - Method not implemented
Do
PATCH Fail operation task
PATCH Fail operation task
Check HTTP Response Status Code Is
405
DELETE Fail operation task - Method not implemented
Do
DELETE Fail operation task
DELETE Fail operation task
Check HTTP Response Status Code Is
405
GET Fail operation task - Method not implemented
Do
GET Fail operation task
GET Fail operation task
Check HTTP Response Status Code Is
405
...
...
SOL005/NSLifecycleManagement-API/HealNSTask.robot
View file @
c105e2fb
...
...
@@ -9,31 +9,31 @@ Suite Setup Check resource existance
*** Test Cases ***
Heal a NSInstance
Do
POST Heal NSInstance
POST Heal NSInstance
Check HTTP Response Status Code Is
202
Check HTTP Response Header Contains
Location
Heal a NSInstance Conflict
[
Setup
]
Check resource not_instantiated
Do
POST Heal NSInstance
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
GET Heal NSInstance- Method not implemented
Do
GET Heal NSInstance
GET Heal NSInstance
Check HTTP Response Status Code Is
405
PUT Heal NSInstance - Method not implemented
Do
PUT Heal NSInstance
PUT Heal NSInstance
Check HTTP Response Status Code Is
405
PATCH Heal NSInstance - Method not implemented
Do
PATCH Heal NSInstance
PATCH Heal NSInstance
Check HTTP Response Status Code Is
405
DELETE Heal NSInstance - Method not implemented
Do
DELETE Heal NSInstance
DELETE Heal NSInstance
Check HTTP Response Status Code Is
405
\ No newline at end of file
SOL005/NSLifecycleManagement-API/HealNSTaskWorkflow.robot
View file @
c105e2fb
...
...
@@ -11,7 +11,7 @@ Suite Teardown Terminate All Processes kill=true
*** Test Cases ***
Heal Flow of NS lifecycle management operations
Check resource instantiated
Do
POST Heal NSInstance
POST Heal NSInstance
Check HTTP Response Status Code Is
202
Check Operation Occurrence Id
Check Operation Notification Status is
START
...
...
SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot
View file @
c105e2fb
...
...
@@ -9,30 +9,30 @@ Suite Setup Check resource existance
*** Test Cases ***
Post Individual VNFInstance - Method not implemented
Do
POST IndividualNSInstance
POST IndividualNSInstance
Check HTTP Response Status Code Is
405
Get Information about an individual NS Instance
Do
GET IndividualNSInstance
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
PUT Individual NSInstance - Method not implemented
Do
PUT IndividualNSInstance
PUT IndividualNSInstance
Check HTTP Response Status Code Is
405
PATCH Individual NSInstance - Method not implemented
Do
PATCH IndividualNSInstance
PATCH IndividualNSInstance
Check HTTP Response Status Code Is
405
DELETE Individual NSInstance
Do
DELETE IndividualNSInstance
DELETE IndividualNSInstance
Check HTTP Response Status Code Is
204
DELETE Individual NSInstance Conflict
[
Setup
]
Check resource instantiated
Do
DELETE IndividualNSInstance
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
SOL005/NSLifecycleManagement-API/IndividualNSLCMOccurences.robot
View file @
c105e2fb
...
...
@@ -8,23 +8,23 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Individual NS LCM occurences - Method not implemented
Do
POST Individual NS LCM OP Occurence
POST Individual NS LCM OP Occurence
Check HTTP Response Status Code Is
405
PUT stauts information about Individual NS LCM OP OCC - Method not implemented
Do
PUT Individual NS LCM OP Occurence
PUT Individual NS LCM OP Occurence
Check HTTP Response Status Code Is
405
PATCH stauts information about Individual NS LCM OP OCC - Method not implemented
Do
PATCH Individual NS LCM OP Occurence
PATCH Individual NS LCM OP Occurence
Check HTTP Response Status Code Is
405
DELETE stauts information about Individual NS LCM OP OCC - Method not implemented
Do
DELETE Individual NS LCM OP Occurence
DELETE Individual NS LCM OP Occurence
Check HTTP Response Status Code Is
405
Get stauts information about Individual NS LCM OP OCC
Do
GET Individual NS LCN OP Occurence
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
...
...
SOL005/NSLifecycleManagement-API/IndividualSubscription.robot
View file @
c105e2fb
...
...
@@ -10,22 +10,22 @@ Suite Setup Check subscription existance
*** Test Cases ***
Post Individual Subscription - Method not implemented
Do
POST Individual Subscription
POST Individual Subscription
Check HTTP Response Status Code Is
405
Get Information about an individual subscription
Do
GET Individual subscription
GET Individual subscription
Check HTTP Response Status Code Is
200
Check HTTP Response Body Json Schema Is
subscription.schema.json
PUT an individual subscription - Method not implemented
Do
PUT Individual Subscription
PUT Individual Subscription
Check HTTP Response Status Code Is
405
PATCH an individual subscription - Method not implemented
Do
PATCH Individual Subscription
PATCH Individual Subscription
Check HTTP Response Status Code Is
405
DELETE an individual subscription
Do
DELETE Individual Subscription
DELETE Individual Subscription
Check HTTP Response Status Code Is
204
\ No newline at end of file
SOL005/NSLifecycleManagement-API/InstanciateNSTaskWorkflow.robot
View file @
c105e2fb
...
...
@@ -12,7 +12,7 @@ Suite Teardown Terminate All Processes kill=true
Instantiate Flow of NS lifecycle management operations
Check resource existance
Check resource not_instantiated
Do
POST Instatiate nsInstance
POST Instatiate nsInstance
Check HTTP Response Status Code Is
202
Check Operation Occurrence Id
Check Operation Notification Status is
START
...
...
SOL005/NSLifecycleManagement-API/InstantiateNSTask.robot
View file @
c105e2fb
...
...
@@ -9,29 +9,29 @@ Suite Setup Check resource existance
*** Test Cases ***
Instantiate a nsInstance
Do
POST Instatiate nsInstance
POST Instatiate nsInstance
Check HTTP Response Status Code Is
202
Check HTTP Response Header Contains
Location
Instantiate a nsInstance Conflict
[
Setup
]
Check resource instantiated
Do
POST Instatiate nsInstance
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
GET Instantiate NSInstance - Method not implemented
Do
GET Instantiate NSInstance
GET Instantiate NSInstance
Check HTTP Response Status Code Is
405
PUT Instantiate NSInstance - Method not implemented
Do
PUT Instantiate NSInstance
PUT Instantiate NSInstance
Check HTTP Response Status Code Is
405
PATCH Instantiate NSInstance - Method not implemented
Do
PATCH Instantiate NSInstance
PATCH Instantiate NSInstance
Check HTTP Response Status Code Is
405
DELETE Instantiate NSInstance - Method not implemented
Do
DELETE Instantiate NSInstance
DELETE Instantiate NSInstance
Check HTTP Response Status Code Is
405
\ No newline at end of file
SOL005/NSLifecycleManagement-API/NSInstances.robot
View file @
c105e2fb
...
...
@@ -8,38 +8,38 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Create a new NsInstance
Do
POST 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
Get information about multiple NS instances
Do
GET NsInstances
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
Get information about multiple NS instances Bad Request Invalid attribute-based filtering parameters
Do
GET NsInstance Invalid Attribute-Based filtering parameter
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
Get information about multiple NS instances Bad Request Invalid attribute selector
Do
GET NsInstance 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
PUT NSInstances - Method not implemented
Do
PUT NSInstances
PUT NSInstances
Check HTTP Response Status Code Is
405
PATCH NSInstances - Method not implemented
Do
PATCH NSInstances
PATCH NSInstances
Check HTTP Response Status Code Is
405
DELETE NSInstances - Method not implemented
Do
DELETE NSInstances
DELETE NSInstances
Check HTTP Response Status Code Is
405
\ No newline at end of file
SOL005/NSLifecycleManagement-API/NSLCMOccurences.robot
View file @
c105e2fb
...
...
@@ -8,34 +8,34 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post NS LCM occurences - Method not implemented
Do
POST NS LCM OP Occurences
POST NS LCM OP Occurences
Check HTTP Response Status Code Is
405
PUT stauts information about multiple NS LCM OP OCC - Method not implemented
Do
PUT NS LCM OP Occurences
PUT NS LCM OP Occurences
Check HTTP Response Status Code Is
405
PATCH stauts information about multiple NS LCM OP OCC - Method not implemented
Do
PATCH NS LCM OP Occurences
PATCH NS LCM OP Occurences
Check HTTP Response Status Code Is
405
DELETE stauts information about multiple NS LCM OP OCC - Method not implemented
Do
DELETE NS LCM OP Occurences
DELETE NS LCM OP Occurences
Check HTTP Response Status Code Is
405
Get stauts information about multiple NS LCM OP OCC
Do
GET NS LCN OP Occurences
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
Get stauts information about multiple NS LCM OP OCC Bad Request Invalid attribute-based filtering parameters
Do
GET NS LCN OP Occurences 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
Get stauts information about multiple NS LCM OP OCC Bad Request Invalid attribute selector
Do
GET NS LCN OP Occurences 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
\ No newline at end of file
SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot
View file @
c105e2fb
This diff is collapsed.
Click to expand it.
SOL005/NSLifecycleManagement-API/RetryOperationTask.robot
View file @
c105e2fb
...
...
@@ -10,36 +10,36 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Retry operation task
Depends on test
Check resource FAILED_TEMP
Do
POST Retry operation task
POST Retry operation task
Check HTTP Response Status Code Is
202
Check HTTP Response Header Contains
Location
Post Retry operation task Not Found
[
Setup
]
Check retry not supported
Do
POST Retry operation task
POST Retry operation task
Check HTTP Response Status Code Is
404
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
Post Retry operation task Conflict
Depends on test failure
Check resource FAILED_TEMP
Do
POST Retry operation task
POST Retry operation task
Check HTTP Response Status Code Is
409
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
PUT Retry operation task - Method not implemented
Do
PUT Retry operation task
PUT Retry operation task
Check HTTP Response Status Code Is
405
PATCH Retry operation task - Method not implemented
Do
PATCH Retry operation task
PATCH Retry operation task
Check HTTP Response Status Code Is
405
DELETE Retry operation task - Method not implemented
Do
DELETE Retry operation task
DELETE Retry operation task
Check HTTP Response Status Code Is
405
GET Retry operation task - Method not implemented
Do
GET Retry operation task
GET Retry operation task
Check HTTP Response Status Code Is
405
SOL005/NSLifecycleManagement-API/RollbackOperationTask.robot
View file @
c105e2fb
...
...
@@ -10,36 +10,36 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Rollback operation task
Depends on test
Check resource FAILED_TEMP
Do
POST Rollback operation task
POST Rollback operation task
Check HTTP Response Status Code Is
202
Post Rollback operation task Not Found
[
Setup
]
Check Rollback not supported
Do
POST Rollback operation task
POST Rollback operation task
Check HTTP Response Status Code Is
404
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
Post Rollback operation task Conflict
Depends on test failure
Check resource FAILED_TEMP
Do
POST Rollback operation task
POST Rollback operation task
Check HTTP Response Status Code Is
409
Check HTTP Response Body Json Schema Is
ProblemDetails.schema.json
PUT Rollback operation task - Method not implemented
Do
PUT Rollback operation task
PUT Rollback operation task
Check HTTP Response Status Code Is
405
PATCH Rollback operation task - Method not implemented
Do
PATCH Rollback operation task
PATCH Rollback operation task
Check HTTP Response Status Code Is
405
DELETE Rollback operation task - Method not implemented
Do
DELETE Rollback operation task
DELETE Rollback operation task
Check HTTP Response Status Code Is
405
GET Rollback operation task - Method not implemented
Do
GET Rollback operation task
GET Rollback operation task
Check HTTP Response Status Code Is
405
SOL005/NSLifecycleManagement-API/ScaleNSTask.robot
View file @
c105e2fb
...
...
@@ -9,31 +9,31 @@ Suite Setup Check resource existance
*** Test Cases ***
Scale a nsInstance
Do
POST scale nsInstance
POST scale nsInstance
Check HTTP Response Status Code Is
202
Check HTTP Response Header Contains
Location
Instantiate a nsInstance Conflict
[
Setup
]
Check resource not_instantiated
Do
POST scale nsInstance
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
GET Scale NSInstance- Method not implemented
Do
GET scale NSInstance
GET scale NSInstance
Check HTTP Response Status Code Is
405
PUT Scale NSInstance - Method not implemented
Do
PUT scale NSInstance
PUT scale NSInstance
Check HTTP Response Status Code Is
405
PATCH Scale NSInstance - Method not implemented
Do
PATCH scale NSInstance
PATCH scale NSInstance
Check HTTP Response Status Code Is
405
DELETE Scale NSInstance - Method not implemented
Do
DELETE scale NSInstance
DELETE scale NSInstance
Check HTTP Response Status Code Is
405
\ No newline at end of file
SOL005/NSLifecycleManagement-API/ScaleNSTaskWorkflow.robot
View file @
c105e2fb
...
...
@@ -12,7 +12,7 @@ Suite Teardown Terminate All Processes kill=true
Scale Flow of NS lifecycle management operations
Check resource existance
Check resource instantiated
Do
POST scale nsInstance
POST scale nsInstance
Check HTTP Response Status Code Is
202
Check Operation Occurrence Id
Check Operation Notification Status is
START
...
...
SOL005/NSLifecycleManagement-API/Subscriptions.robot
View file @
c105e2fb
...
...
@@ -8,7 +8,7 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Create a new subscription
Do
POST subscriptions
POST subscriptions
Check HTTP Response Status Code Is
201
Check HTTP Response Header Contains
Location
Check HTTP Response Header ContentType is
${CONTENT_TYPE}
...
...
@@ -16,36 +16,36 @@ Create a new subscription
Create a new Subscription - DUPLICATION
Do
POST subscriptions 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
Create a new Subscription - NO-DUPLICATION
Do
POST subscriptions 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
Do
GET Subscriptions