Commit 608fed97 authored by Etienne Charlier's avatar Etienne Charlier
Browse files

Rollback workflow changes made to allow multiple upload per resource. state...

Rollback workflow changes made to allow multiple upload per resource. state UPLOADING_XMI reinstated
parent 32f45009
......@@ -60,7 +60,10 @@ public class PaasageModelController extends GenericApiController<PaasageModel, P
passageModelStateConfigForUsers = new StateMachineConfig<>();
passageModelStateConfigForUsers.configure(PaasageModel.State.CREATED)
.permit(PaasageModel.Action.UPLOAD_XMI, PaasageModel.State.READY_TO_REASON);
.permit(PaasageModel.Action.UPLOAD_XMI, PaasageModel.State.UPLOADING_XMI);
passageModelStateConfigForUsers.configure(PaasageModel.State.UPLOADING_XMI)
.permit(PaasageModel.Action.XMI_UPLOADED, PaasageModel.State.READY_TO_REASON);
passageModelStateConfigForUsers.configure(PaasageModel.State.READY_TO_REASON)
.ignore(PaasageModel.Action.NO_ACTION)
......
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