Align rollouts and autoassign metrics (#2844)
* Refactor auto-assign locking and metrics * Align rollouts and autoassign metrics Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -12,18 +12,18 @@ package org.eclipse.hawkbit.repository;
|
||||
/**
|
||||
* An interface declaration which contains the check for the auto assignment logic.
|
||||
*/
|
||||
public interface AutoAssignExecutor {
|
||||
public interface AutoAssignHandler {
|
||||
|
||||
/**
|
||||
* Checks all target filter queries with an auto assign distribution set and triggers the check and assignment to targets that don't have
|
||||
* the design DS yet
|
||||
*/
|
||||
void checkAllTargets();
|
||||
void handleAll();
|
||||
|
||||
/**
|
||||
* Method performs an auto assign check for a specific device only
|
||||
*
|
||||
* @param controllerId of the device to check
|
||||
*/
|
||||
void checkSingleTarget(String controllerId);
|
||||
void handleSingleTarget(String controllerId);
|
||||
}
|
||||
@@ -43,4 +43,4 @@ public interface RolloutHandler {
|
||||
*/
|
||||
@PreAuthorize(SpringEvalExpressions.IS_SYSTEM_CODE)
|
||||
void handleAll();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user