Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46b1b32708 | ||
|
|
519101023c | ||
|
|
82b4f51390 | ||
|
|
3256939ac7 | ||
|
|
02e4c5318d |
@@ -9,4 +9,4 @@ 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 @ConstructorBinding constructor(val defaultTimeZone: ZoneId, val greeting: String)
|
data class ServiceProperties @ConstructorBinding constructor(var defaultTimeZone: ZoneId, var greeting: String)
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
spring:
|
spring:
|
||||||
config:
|
config:
|
||||||
import:
|
import:
|
||||||
- "classpath:config/wahlrecht.yaml"
|
- "configserver:http://configserver:8888/config"
|
||||||
- "optional:configserver:http://configserver:8888/config"
|
kafka:
|
||||||
|
bootstrap-servers:
|
||||||
|
- kafka:9092
|
||||||
|
|||||||
@@ -28,10 +28,6 @@ spring:
|
|||||||
name: wahlrecht
|
name: wahlrecht
|
||||||
main:
|
main:
|
||||||
banner-mode: off
|
banner-mode: off
|
||||||
kafka:
|
|
||||||
bootstrap-servers:
|
|
||||||
- localhost:9092
|
|
||||||
- kafka:9092
|
|
||||||
profiles:
|
profiles:
|
||||||
default: dev
|
default: dev
|
||||||
data.mongodb:
|
data.mongodb:
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
de.twomartens.wahlrecht:
|
de.twomartens.wahlrecht:
|
||||||
greeting: "Moin %s, you are prod"
|
greeting: "Moin %s, you are stage"
|
||||||
|
|||||||
Reference in New Issue
Block a user