package de.cpg.oss.verita.configuration.event_store;

import de.cpg.oss.verita.configuration.VeritaProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = VeritaEventStoreProperties.CONFIG_PREFIX, ignoreUnknownFields = true)
public class VeritaEventStoreProperties {

    public static final String CONFIG_PREFIX = VeritaProperties.CONFIG_PREFIX + ".eventstore";

    private final String username = "admin";

    private final String password = "changeit";

    private final String hostname = "localhost";

    private final int port = 1113;

    private final int maxEventsToLoad = 100;
}

@@ -458,30 +458,24 @@
     private 
-final 
 String usern
@@ -498,30 +498,24 @@
     private 
-final 
 String passw
@@ -545,22 +545,16 @@
 private 
-final 
 String h
@@ -585,30 +585,24 @@
     private 
-final 
 int port = 1
@@ -619,22 +619,16 @@
 private 
-final 
 int maxE

Remove final modifier since it prevents overriding properties