From 318ca81df04cf3adadcd11d3adeb9c61848369a7 Mon Sep 17 00:00:00 2001 From: Szakalakamaka Date: Mon, 19 Oct 2020 13:07:17 +0200 Subject: [PATCH] testing spring cloud --- src/main/resources/application-DEV.properties | 10 ++++++++++ src/main/resources/application-PROD.properties | 10 ++++++++++ src/main/resources/application.properties | 1 - 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/application-DEV.properties create mode 100644 src/main/resources/application-PROD.properties diff --git a/src/main/resources/application-DEV.properties b/src/main/resources/application-DEV.properties new file mode 100644 index 0000000..74b730a --- /dev/null +++ b/src/main/resources/application-DEV.properties @@ -0,0 +1,10 @@ +#environment: +server.port = 8097 +spring.application.name = klaus +eureka.client.service-url.defaultZone=http://netflix:eureka@eureka:8761/eureka/ + +#logging: +spring.output.ansi.enabled = always +logging.level.root=DEBUG +logging.level.org.springframework.web=DEBUG +logging.level.com.release11=DEBUG diff --git a/src/main/resources/application-PROD.properties b/src/main/resources/application-PROD.properties new file mode 100644 index 0000000..b637467 --- /dev/null +++ b/src/main/resources/application-PROD.properties @@ -0,0 +1,10 @@ +#environment: +server.port = 8097 +spring.application.name = klaus +eureka.client.service-url.defaultZone=http://netflix:eureka@eureka:8761/eureka/ + +#logging: +spring.output.ansi.enabled = always +logging.level.root=INFO +logging.level.org.springframework.web=INFO +logging.level.com.release11=INFO diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 9c529e7..13246af 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -2,7 +2,6 @@ server.port = 8097 spring.application.name = klaus -spring.profiles.active = DEV eureka.client.service-url.defaultZone=http://netflix:eureka@localhost:8761/eureka/ #logging: