Select Git revision
kr-10.feature
-
Diaz de Arcaya Serrano, Josu authoredDiaz de Arcaya Serrano, Josu authored
kr-10.feature 2.73 KiB
Feature: PIACERE Run Time
# The input of this scenario is detailed in the following
# https://git.code.tecnalia.com/piacere/private/t51-iem/iem/-/blob/y2/openapi.json#/deployments/deploy_deployments__post
# The following scenario relates to REQ81, REQ83, REQ84, REQ87
Scenario: Deploy a fresh project which comprises terraform, ansible, and docker
Given a project bundle in the relevant IaC technologies (terraform, ansible, docker-compose), the deployment id, and the required cloud credentials
When the user triggers the deployment
Then the IEM is invoked
And executes the stages of the bundle asyncronously
And the user is notified that the deployment has been accepted
# The input of this scenario is detailed in the following
# https://git.code.tecnalia.com/piacere/private/t51-iem/iem/-/blob/y2/openapi.json#/deployments/read_status_deployment_deployments__deployment_id__get
# The following scenario relates to REQ55, REQ82
Scenario: Query the status of a running project
Given the deployment id of an already existing project
When the user queries the status of the project
Then the IEM is invoked
And the user is notified of the status
# The input of this scenario is detailed in the following
# https://git.code.tecnalia.com/piacere/private/t51-iem/iem/-/blob/y2/openapi.json#/deployments/undeploy_undeploy__post
# The following scenario relates to REQ81, REQ83, REQ84, REQ85
Scenario: Undeploy a project
Given the deployment id of an already existing project and the required cloud credentials
When the user triggers the undeployment
Then the IEM is invoked
And tears down the entire deployment asyncronously
And the user is notified that the undeployment has been accepted
# The input of this scenario is detailed in the following
# https://git.code.tecnalia.com/piacere/private/t51-iem/iem/-/blob/y2/openapi.json#/deployments/read_status_deployment_deployments__deployment_id__get
# The following scenario relates to REQ55, REQ82
Scenario: Query the status of an undeployed project
Given the deployment id of an undeployed project
When the user queries the status of the project
Then the IEM is invoked
And the user is notified of the status
# The input of this scenario is detailed in the following
# https://git.code.tecnalia.com/piacere/private/t51-iem/iem/-/blob/y2/openapi.json#/deployments/deploy_deployments__post
# The following scenario relates to REQ12, REQ81, REQ83, REQ84, REQ87
Scenario: Redeploy a project
Given a project bundle in the relevant IaC technologies (terraform, ansible, docker-compose), the deployment id, and the required cloud credentials
When the user triggers the deployment
Then the IEM is invoked
And executes the stages of the bundle asyncronously
And the user is notified that the deployment has been accepted