Refactoring of query and tests

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
This commit is contained in:
Jonathan Philip Knoblauch
2016-10-28 11:17:23 +02:00
committed by Kai Zimmermann
parent 812e613438
commit 979c2a21d6
4 changed files with 63 additions and 71 deletions

View File

@@ -154,10 +154,10 @@ public interface RolloutGroupManagement {
/**
* Count targets of rollout group.
*
* @param rolloutGroup
* the rollout group for the count
* @param rolloutGroupId
* the rollout group id for the count
* @return the target rollout group count
*/
@PreAuthorize(SpringEvalExpressions.HAS_AUTH_ROLLOUT_MANAGEMENT_READ)
Long countTargetsOfRolloutsGroup(@NotNull RolloutGroup rolloutGroup);
}
Long countTargetsOfRolloutsGroup(@NotNull Long rolloutGroupId);
}