Commit 32f45009 authored by Etienne Charlier's avatar Etienne Charlier
Browse files

Accept state transition from DEPLOYING to RUNNING

parent 8c63707c
......@@ -80,11 +80,12 @@ public class PaasageModelController extends GenericApiController<PaasageModel, P
.permit(PaasageModel.Action.CHOOSE_PLAN, PaasageModel.State.READY_TO_DEPLOY);
passageModelStateConfigForUsers.configure(PaasageModel.State.READY_TO_DEPLOY)
.permit(PaasageModel.Action.DEPLOY, PaasageModel.State.DEPLOYING);
.permit(PaasageModel.Action.DEPLOY, PaasageModel.State.DEPLOYING);
passageModelStateConfigForUsers.configure(PaasageModel.State.DEPLOYING)
.ignore(PaasageModel.Action.NO_ACTION)
.permit(PaasageModel.Action.FINISH_DEPLOYMENT, PaasageModel.State.DEPLOYED);
.permit(PaasageModel.Action.FINISH_DEPLOYMENT, PaasageModel.State.DEPLOYED)
.permit(PaasageModel.Action.RUN, PaasageModel.State.RUNNING);
passageModelStateConfigForUsers.configure(PaasageModel.State.DEPLOYED)
.permit(PaasageModel.Action.RUN, PaasageModel.State.RUNNING);
......
#!/bin/bash
SSH_HOST="ceticadmin@192.168.65.100"
SSH_HOST="ec@develop-aws.paasage.cetic.be"
JAR=paasage-frontend-2016.4.0-SNAPSHOT.jar
SERVICE=paasage-frontend
SRC_DIR=./target
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment