Rename platform->cloud
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
info:
|
||||
component: Config Samples
|
||||
endpoints:
|
||||
restart:
|
||||
enabled: true
|
||||
logging:
|
||||
levels:
|
||||
org.springframework.boot.env.PropertySourcesLoader: TRACE
|
||||
org.springframework.web: DEBUG
|
||||
@@ -0,0 +1,6 @@
|
||||
spring:
|
||||
application:
|
||||
name: bar
|
||||
platform:
|
||||
config:
|
||||
uri: http://localhost:${config.port:8888}
|
||||
Reference in New Issue
Block a user