Remove unnecessary slf4j dependency (#1975)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
*/
|
*/
|
||||||
package org.eclipse.hawkbit;
|
package org.eclipse.hawkbit;
|
||||||
|
|
||||||
|
import java.io.Serial;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@@ -25,39 +26,34 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
|||||||
@ConfigurationProperties(prefix = "hawkbit.controller")
|
@ConfigurationProperties(prefix = "hawkbit.controller")
|
||||||
public class ControllerPollProperties implements Serializable {
|
public class ControllerPollProperties implements Serializable {
|
||||||
|
|
||||||
|
@Serial
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum polling time that can be configured system wide and by tenant in
|
* Maximum polling time that can be configured system-wide and by tenant in HH:MM:SS notation.
|
||||||
* HH:MM:SS notation.
|
|
||||||
*/
|
*/
|
||||||
private String maxPollingTime = "23:59:59";
|
private String maxPollingTime = "23:59:59";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Minimum polling time that can be configured by a tenant in HH:MM:SS
|
* Minimum polling time that can be configured by a tenant in HH:MM:SS notation.
|
||||||
* notation.
|
|
||||||
*/
|
*/
|
||||||
private String minPollingTime = "00:00:30";
|
private String minPollingTime = "00:00:30";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controller polling time that can be configured system wide and by tenant
|
* Controller polling time that can be configured system-wide and by tenant in HH:MM:SS notation.
|
||||||
* in HH:MM:SS notation.
|
|
||||||
*/
|
*/
|
||||||
private String pollingTime = "00:05:00";
|
private String pollingTime = "00:05:00";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controller polling overdue time that can be configured system wide and by
|
* Controller polling overdue time that can be configured system-wide and by tenant in HH:MM:SS notation.
|
||||||
* tenant in HH:MM:SS notation.
|
|
||||||
*/
|
*/
|
||||||
private String pollingOverdueTime = "00:05:00";
|
private String pollingOverdueTime = "00:05:00";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This configuration value is used to change the polling interval so that
|
* This configuration value is used to change the polling interval so that controller tries to poll at least these
|
||||||
* controller tries to poll at least these many times between the last
|
* many times between the last polling and before start of maintenance window. The polling interval is
|
||||||
* polling and before start of maintenance window. The polling interval is
|
* bounded by configured pollingTime and minPollingTime. The polling interval is modified as per following scheme:
|
||||||
* bounded by configured pollingTime and minPollingTime. The polling
|
* pollingTime(@time=t) = (maintenanceWindowStartTime - t)/maintenanceWindowPollCount.
|
||||||
* interval is modified as per following scheme: pollingTime(@time=t) =
|
|
||||||
* (maintenanceWindowStartTime - t)/maintenanceWindowPollCount.
|
|
||||||
*/
|
*/
|
||||||
private int maintenanceWindowPollCount = 3;
|
private int maintenanceWindowPollCount = 3;
|
||||||
}
|
}
|
||||||
@@ -62,10 +62,6 @@
|
|||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-json</artifactId>
|
<artifactId>spring-boot-starter-json</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.slf4j</groupId>
|
|
||||||
<artifactId>slf4j-api</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-logging</artifactId>
|
<artifactId>spring-boot-starter-logging</artifactId>
|
||||||
@@ -75,7 +71,6 @@
|
|||||||
<artifactId>commons-collections4</artifactId>
|
<artifactId>commons-collections4</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<!-- Test -->
|
<!-- Test -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.eclipse.hawkbit</groupId>
|
<groupId>org.eclipse.hawkbit</groupId>
|
||||||
|
|||||||
Reference in New Issue
Block a user