diff options
author | priyanshu <pagarwal@amdocs.com> | 2018-07-16 19:25:05 +0530 |
---|---|---|
committer | priyanshu <pagarwal@amdocs.com> | 2018-07-16 19:25:07 +0530 |
commit | 7e78cd19bbb2b0730fafc0b328a71c69f5730e16 (patch) | |
tree | 24b4b72ef67f64304bfee867076517c37896db5b /workflow-bdd/features | |
parent | 39c01dd3ccb69f53d2e9350994e25f6e64412aa4 (diff) |
Workflow Docker containers
1. Implemented workflow init container.
2. Implemented workflow backend container.
3. Added a placeholder for frontend module container.
4. Modifiled directory structure and POM files.
5. Added a ReadMe with sample commands to detail how to run the containers.
Change-Id: Ib110fcc104ce72ff28fce514a1475a032cc2d82b
Issue-ID: SDC-1482
Signed-off-by: priyanshu <pagarwal@amdocs.com>
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Signed-off-by: priyanshu <pagarwal@amdocs.com>
Diffstat (limited to 'workflow-bdd/features')
-rw-r--r-- | workflow-bdd/features/Version_Create_Update.feature | 28 | ||||
-rw-r--r-- | workflow-bdd/features/Version_State.feature | 30 | ||||
-rw-r--r-- | workflow-bdd/features/Workflow_Create_Update.feature | 27 |
3 files changed, 0 insertions, 85 deletions
diff --git a/workflow-bdd/features/Version_Create_Update.feature b/workflow-bdd/features/Version_Create_Update.feature deleted file mode 100644 index 2cb05804..00000000 --- a/workflow-bdd/features/Version_Create_Update.feature +++ /dev/null @@ -1,28 +0,0 @@ -Feature: Workflow Versions - - Background: Init - Given I want to create a Workflow - - Scenario: Create and get version - When I want to create input data - Then I want to update the input property "description" with value "workflow version description" - Then I want to create for path "/workflows/{item.id}/versions" with the input data from the context - Then I want to copy to property "versionId" from response data path "id" - Then I want to get path "/workflows/{item.id}/versions/{versionId}" - Then I want to check that property "id" in the response equals to value of saved property "versionId" - - When I want to get path "/workflows/{item.id}/versions" - Then I want to check that element in the response list with "id" equals to value of saved property "versionId" exists - - - Scenario: Update version - When I want to create input data - Then I want to update the input property "description" with value "workflow version description" - Then I want to create for path "/workflows/{item.id}/versions" with the input data from the context - Then I want to copy to property "versionId" from response data path "id" - - Then I want to update the input property "description" with value "workflow version description updated" - Then I want to set property "desc" to value "workflow version description updated" - Then I want to update for path "/workflows/{item.id}/versions/{versionId}" with the input data from the context - Then I want to get path "/workflows/{item.id}/versions/{versionId}" - Then I want to check that property "description" in the response equals to value of saved property "desc"
\ No newline at end of file diff --git a/workflow-bdd/features/Version_State.feature b/workflow-bdd/features/Version_State.feature deleted file mode 100644 index 8c1e13fd..00000000 --- a/workflow-bdd/features/Version_State.feature +++ /dev/null @@ -1,30 +0,0 @@ -Feature: Workflow Version State - - Background: Create workflow and first version - Given I want to create a Workflow - And I want to update the input property "description" with value "workflow version description" - And I want to create for path "/workflows/{item.id}/versions" with the input data from the context - And I want to copy to property "item.versionId" from response data path "id" - - Scenario: Get state after creation - When I want to get path "/workflows/{item.id}/versions/{item.versionId}/state" - Then I want to check property "name" for value "DRAFT" - And I want to check property "nextStates[0]" for value "CERTIFIED" - - Scenario: Update state to current state - Then I want the following to fail with response status code 422 - When I want to update the input property "name" with value "DRAFT" - And I want to create for path "/workflows/{item.id}/versions/{item.versionId}/state" with the input data from the context - - Scenario: Update state - DRAFT to CERTIFIED - When I want to update the input property "name" with value "CERTIFIED" - And I want to create for path "/workflows/{item.id}/versions/{item.versionId}/state" with the input data from the context - Then I want to get path "/workflows/{item.id}/versions/{item.versionId}/state" - And I want to check property "name" for value "CERTIFIED" - And I want to check property "nextStates" to have length 0 - - Scenario: Update state when CERTIFIED - When I want to update the input property "name" with value "CERTIFIED" - And I want to create for path "/workflows/{item.id}/versions/{item.versionId}/state" with the input data from the context - When I want the following to fail with response status code 422 - Then I want to create for path "/workflows/{item.id}/versions/{item.versionId}/state" with the input data from the context
\ No newline at end of file diff --git a/workflow-bdd/features/Workflow_Create_Update.feature b/workflow-bdd/features/Workflow_Create_Update.feature deleted file mode 100644 index 04a64bf8..00000000 --- a/workflow-bdd/features/Workflow_Create_Update.feature +++ /dev/null @@ -1,27 +0,0 @@ -Feature: Workflow Example File - - Scenario: Create and get workflow - When I want to create input data - Then I want to update the input property "name" with a random value - Then I want to update the input property "description" with value "workflow desc" - Then I want to update the input property "category" with value "workflow category" - - Then I want to create for path "/workflows" with the input data from the context - Then I want to copy to property "workflowId" from response data path "id" - When I want to get path "/workflows" - Then I want to check that element in the response list with "id" equals to value of saved property "workflowId" exists - - - Scenario: Update workflow - When I want to create input data - Then I want to update the input property "name" with a random value - Then I want to update the input property "description" with value "workflow desc" - Then I want to update the input property "category" with value "workflow category" - Then I want to create for path "/workflows" with the input data from the context - Then I want to copy to property "workflowId" from response data path "id" - - Then I want to update the input property "description" with value "workflow desc updated" - Then I want to set property "desc" to value "workflow desc updated" - Then I want to update for path "/workflows/{workflowId}" with the input data from the context - Then I want to get path "/workflows/{workflowId}" - Then I want to check that property "description" in the response equals to value of saved property "desc" |