Sync property naming convention (#2664)
Co-authored-by: vasilchev <vasil.ilchev@bosch.com>
This commit is contained in:
@@ -44,7 +44,7 @@ import org.springframework.context.ApplicationEventPublisher;
|
||||
@Slf4j
|
||||
public final class EventPublisherHolder {
|
||||
|
||||
@Value("${hawkbit.events.remote-enabled:true}")
|
||||
@Value("${hawkbit.events.remote.enabled:true}")
|
||||
private boolean remoteEventsEnabled;
|
||||
@Value("${hawkbit.events.remote.destination:fanoutEventChannel}")
|
||||
private String fanoutEventChannel;
|
||||
@@ -65,7 +65,7 @@ public final class EventPublisherHolder {
|
||||
@PostConstruct
|
||||
private void validateRemoteEventConfig() {
|
||||
if (remoteEventsEnabled && streamBridge == null) {
|
||||
throw new IllegalStateException("'hawkbit.events.remote-enabled' is true but streamBridge is not configured. Check if 'spring-cloud-starter-stream-rabbit' dependency is included.");
|
||||
throw new IllegalStateException("'hawkbit.events.remote.enabled' is true but streamBridge is not configured. Check if 'spring-cloud-starter-stream-rabbit' dependency is included.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -64,4 +64,4 @@ hawkbit.repository.cluster.lock.refreshOnRemainPercent=10
|
||||
## reduce scheduler tic period to speed up tests
|
||||
hawkbit.repository.cluster.lock.ticPeriodMS=10
|
||||
|
||||
hawkbit.events.remote-enabled=false
|
||||
hawkbit.events.remote.enabled=false
|
||||
@@ -80,4 +80,4 @@ hawkbit.server.security.dos.maxActionsPerTarget=20
|
||||
# Quota - END
|
||||
|
||||
# Properties that are managed by autoconfigure module at runtime and not available during test - END
|
||||
hawkbit.events.remote-enabled=false
|
||||
hawkbit.events.remote.enabled=false
|
||||
Reference in New Issue
Block a user