requs icon indicating copy to clipboard operation
requs copied to clipboard

Requs syntax exception: conditional use case branches

Open antonxt opened this issue 11 years ago • 6 comments

In thindeck project in #64 @yegor256 said that "when" cannot be used to define contitional branches of use case flows. "When" could only be used for exceptional flows.

Therefore, the only way left to define conditions is inside informals, like this (the condition is defined as "If the system detected changes after last pull"):

Repository is "a repository".
Container is "a container".

UC2 where User registers Repository:
    1. The system reads the repo "periodically (every 5 minutes) pulling the changes from repository remote source";
    2. The system redeploys the repo "If the system detected changes after last pull".

UC2.1 where System(a system) redeploys using Repository(a repo):
    1. The system deletes Container(a containers) "terminates all Docker containers of the repo";
    2. The system creates Container(a newContainers).

I think we should avoid informals whenever possible, so I suggest to add some syntax extension to allow conditional branches inside use case definitions.

antonxt avatar Jun 02 '14 10:06 antonxt

I'll find a developer for the task soon...

davvd avatar Jun 04 '14 12:06 davvd

thanks for the report, I topped your acc for 15 mins, payment ID 40419698

davvd avatar Jun 04 '14 12:06 davvd

@yegor256 please proceed, it's yours

davvd avatar Jun 06 '14 07:06 davvd

@davvd assign someone else pls

yegor256 avatar Sep 27 '15 02:09 yegor256

@davvd assign someone else pls

@yegor256 30 points deducted from your rating

davvd avatar Sep 28 '15 08:09 davvd

@davvd assign someone else pls

@yegor256 I will ask somebody else to pick this up

davvd avatar Sep 28 '15 08:09 davvd