Make properties refreshable
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-08-17 02:15:23 +02:00
parent aace535914
commit c19c211839
@@ -8,4 +8,7 @@ import java.time.ZoneId
@RefreshScope @RefreshScope
@ConfigurationProperties(prefix = "de.twomartens.wahlrecht") @ConfigurationProperties(prefix = "de.twomartens.wahlrecht")
@Schema(description = "Properties, to configure this Application") @Schema(description = "Properties, to configure this Application")
data class ServiceProperties(var defaultTimeZone: ZoneId, var greeting: String) class ServiceProperties {
lateinit var defaultTimeZone: ZoneId
lateinit var greeting: String
}