Create cloud cli command.

Downloads and launches eureka,kafka,configserver,h2 server & hystrix dashboard.
This commit is contained in:
Spencer Gibb
2016-07-05 12:34:18 -06:00
parent 1919c443e8
commit 76749c4683
40 changed files with 1820 additions and 8 deletions

View File

@@ -0,0 +1,26 @@
spring:
application:
name: configserver
profiles:
active: native
cloud:
config:
server:
bootstrap: true
native:
search-locations: classpath:/launcher/, file:./launcher/
server:
port: 8888
management:
context-path: /admin
eureka:
instance:
status-page-url-path: ${management.context-path}/info
info:
artifactId: @project.artifactId@
description: @project.description@
version: @project.version@

View File

@@ -0,0 +1,28 @@
info:
description: Spring Cloud Launcher
eureka:
client:
instance-info-replication-interval-seconds: 5
initial-instance-info-replication-interval-seconds: 5
serviceUrl:
defaultZone: http://localhost:8761/eureka/
endpoints:
restart: enabled
ribbon:
ConnectTimeout: 3000
ReadTimeout: 60000
spring:
datasource:
url: jdbc:h2:tcp://localhost:9096/~/launcher
logging:
level:
kafka: WARN
org.apache.zookeeper: WARN
org.apache.zookeeper.ClientCnxn: ERROR
org.apache.kafka: WARN
org.I0Itec: WARN