Rename platform->cloud

This commit is contained in:
Dave Syer
2014-08-29 12:52:52 +01:00
parent 500a32a21a
commit 8471d14a18
84 changed files with 40 additions and 40 deletions

View File

@@ -0,0 +1,18 @@
package sample;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@ComponentScan
@EnableAutoConfiguration
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}

View File

@@ -0,0 +1,9 @@
info:
component: Config Samples
endpoints:
restart:
enabled: true
logging:
levels:
org.springframework.boot.env.PropertySourcesLoader: TRACE
org.springframework.web: DEBUG

View File

@@ -0,0 +1,6 @@
spring:
application:
name: bar
platform:
config:
uri: http://localhost:${config.port:8888}