Add boostrap and eureka-client samples

This commit is contained in:
Dave Syer
2016-01-26 10:52:56 +00:00
parent 5bc072b0ac
commit 7e6d1790f7
12 changed files with 313 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
package demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @author Dave Syer
*/
@SpringBootApplication
public class BootstrapClientApplication {
public static void main(String[] args) {
SpringApplication.run(BootstrapClientApplication.class, args);
}
}

View File

@@ -0,0 +1,5 @@
server:
display-name: SAMPLE
spring:
application:
name: client

View File

@@ -0,0 +1,8 @@
spring:
config:
# N.B. you don't normally want to do this in a real app. It switches
# off the local application.yml:
name: sample
logging:
level:
org.springframework.boot: DEBUG

View File

@@ -0,0 +1,4 @@
server:
port: 8686
tomcat:
max-threads: 2