Optimize rollout group start (#318)
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
This commit is contained in:
@@ -291,7 +291,7 @@ public interface DeploymentManagement {
|
||||
* rollout group in a specific status
|
||||
*/
|
||||
@PreAuthorize(SpringEvalExpressions.HAS_AUTH_READ_TARGET)
|
||||
List<Action> findActionsByRolloutGroupParentAndStatus(@NotNull Rollout rollout,
|
||||
List<Long> findActionsByRolloutGroupParentAndStatus(@NotNull Rollout rollout,
|
||||
@NotNull RolloutGroup rolloutGroupParent, @NotNull Action.Status actionStatus);
|
||||
|
||||
/**
|
||||
@@ -505,12 +505,12 @@ public interface DeploymentManagement {
|
||||
* Starting an action which is scheduled, e.g. in case of roll out a
|
||||
* scheduled action must be started now.
|
||||
*
|
||||
* @param action
|
||||
* the action to start now.
|
||||
* @param actionId
|
||||
* the the ID of the action to start now.
|
||||
* @return the action which has been started
|
||||
*/
|
||||
@PreAuthorize(SpringEvalExpressions.HAS_AUTH_READ_TARGET)
|
||||
Action startScheduledAction(@NotNull Action action);
|
||||
Action startScheduledAction(@NotNull Long actionId);
|
||||
|
||||
/**
|
||||
* All {@link ActionStatus} entries in the repository.
|
||||
|
||||
Reference in New Issue
Block a user