Align dynamic action behaviour with the static ones (#1764)

Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2024-07-12 08:30:46 +03:00
committed by GitHub
parent 8e82a9252f
commit 9b9bc7ee00
3 changed files with 69 additions and 51 deletions

View File

@@ -497,6 +497,14 @@ public interface DeploymentManagement {
@PreAuthorize(SpringEvalExpressions.HAS_AUTH_READ_TARGET)
long startScheduledActionsByRolloutGroupParent(long rolloutId, long distributionSetId, Long rolloutGroupParentId);
/**
* Handles the target assignments. Shall be part of same group
*
* @param rolloutGroupActions rollouts group actions part of a same group
*/
@PreAuthorize(SpringEvalExpressions.HAS_AUTH_READ_TARGET)
void startScheduledActions(final List<Action> rolloutGroupActions);
/**
* Returns {@link DistributionSet} that is assigned to given {@link Target}.
*