[ ] Check if we can get rid of 'DeploymentScenario' and use only the ServiceOrderType enum instead. This is necessary to avoid duplicate enums.
changes to deployment
[ ] change deployer requests to use ORDER_ID - update for local and remote deployers.
[ ] Create ROLLBACK as new ORDER_TYPE.
[ ] In case of deployment error and if rollback is required - create a new rollback order. set parent_order_id as the order which failed. Process rollback response as before.
[ ] Test changes so that nothing breaks.
changes to destroy
[ ] change destroy request to use ORDER_IDs.
[ ] Use common callback methods to process responses from deployer.
changes to retry
[ ] rename all methods and enums to use the word RETRY instead of REDEPLOY
[ ] Rest remains as before.
changes to purge
[ ] no changes expected. Should work with above changes from DESTROY.
changes to modify
[ ] no changes expected. Should work with the above changes from DEPLOY.
changes to recreate
[ ] no changes expected. Should work with the above changes from DEPLOY and DESTROY.
[ ] When MigrateRequest is received - create the workflow and add the service_order with type MIGRATE and WORKFLOW_ID with the activiti process instance ID.
[ ] Deploy and destroy to directly call the 'deploy' and 'destroy' methods on the ServiceDeployApi controller class.
[ ] Extend the deploy and destroy methods with parameters - parentOrderId and workflowId. These parameters must be hidden using @Parameter(hidden = true). This means the parameters are not visible in the REST API. but will be used only by our internal calls.
[ ] Use the parentOrderId and workflowId to generate SERVICE_ORDER entry with extra details but does the same steps as regular deploy and destroy.
common changes
changes to deployment
changes to destroy
changes to retry
changes to purge
changes to modify
changes to recreate
changes to migration workflow
@Parameter(hidden = true)
. This means the parameters are not visible in the REST API. but will be used only by our internal calls.changeServiceLockConfig
service config change