diff --git a/sample.groovy b/sample.groovy new file mode 100644 index 00000000..4f8198db --- /dev/null +++ b/sample.groovy @@ -0,0 +1,11 @@ +package demo + +@Grab('org.springframework.platform:spring-platform-config-client:1.0.0.BUILD-SNAPSHOT') +@Grab('spring-boot-starter-actuator') +@RestController +class Application { + @RequestMapping("/") + String home() { + "Hello World" + } +} \ No newline at end of file diff --git a/spring-platform-config-sample/src/main/resources/application.yml b/spring-platform-config-sample/src/main/resources/application.yml index 53923f63..8e65496b 100644 --- a/spring-platform-config-sample/src/main/resources/application.yml +++ b/spring-platform-config-sample/src/main/resources/application.yml @@ -2,4 +2,8 @@ info: component: Config Samples endpoints: restart: - enabled: true \ No newline at end of file + enabled: true +logging: + levels: + org.springframework.boot.env.PropertySourcesLoader: TRACE + org.springframework.web: DEBUG \ No newline at end of file diff --git a/spring-platform-config-sample/src/main/resources/logback.xml b/spring-platform-config-sample/src/main/resources/logback.xml deleted file mode 100644 index df17a071..00000000 --- a/spring-platform-config-sample/src/main/resources/logback.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - -