diff --git a/.gradle/4.6/fileChanges/last-build.bin b/.gradle/4.6/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/.gradle/4.6/fileChanges/last-build.bin differ diff --git a/.gradle/4.6/fileContent/annotation-processors.bin b/.gradle/4.6/fileContent/annotation-processors.bin new file mode 100644 index 0000000..8471640 Binary files /dev/null and b/.gradle/4.6/fileContent/annotation-processors.bin differ diff --git a/.gradle/4.6/fileContent/fileContent.lock b/.gradle/4.6/fileContent/fileContent.lock new file mode 100644 index 0000000..2225bbb Binary files /dev/null and b/.gradle/4.6/fileContent/fileContent.lock differ diff --git a/.gradle/4.6/fileHashes/fileHashes.bin b/.gradle/4.6/fileHashes/fileHashes.bin new file mode 100644 index 0000000..ca293fb Binary files /dev/null and b/.gradle/4.6/fileHashes/fileHashes.bin differ diff --git a/.gradle/4.6/fileHashes/fileHashes.lock b/.gradle/4.6/fileHashes/fileHashes.lock new file mode 100644 index 0000000..7d3feb8 Binary files /dev/null and b/.gradle/4.6/fileHashes/fileHashes.lock differ diff --git a/.gradle/4.6/fileHashes/resourceHashesCache.bin b/.gradle/4.6/fileHashes/resourceHashesCache.bin new file mode 100644 index 0000000..361e94f Binary files /dev/null and b/.gradle/4.6/fileHashes/resourceHashesCache.bin differ diff --git a/.gradle/4.6/taskHistory/taskHistory.bin b/.gradle/4.6/taskHistory/taskHistory.bin new file mode 100644 index 0000000..8cddcea Binary files /dev/null and b/.gradle/4.6/taskHistory/taskHistory.bin differ diff --git a/.gradle/4.6/taskHistory/taskHistory.lock b/.gradle/4.6/taskHistory/taskHistory.lock new file mode 100644 index 0000000..fd9d58d Binary files /dev/null and b/.gradle/4.6/taskHistory/taskHistory.lock differ diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000..5a84979 Binary files /dev/null and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/.gradle/buildOutputCleanup/cache.properties b/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..25b3290 --- /dev/null +++ b/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Tue Feb 19 16:26:32 CST 2019 +gradle.version=4.6 diff --git a/.gradle/buildOutputCleanup/outputFiles.bin b/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000..777b13e Binary files /dev/null and b/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/.gradle/vcsWorkingDirs/gc.properties b/.gradle/vcsWorkingDirs/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..6a4a6fe --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 0000000..189dc65 --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,30 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..bc8d0a3 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml new file mode 100644 index 0000000..e96534f --- /dev/null +++ b/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..15b2d2a --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,1010 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + true + + + + + + + + true + + + + + + + + true + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1550537387734 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Spring + + + + + + + + + + + + + + + 1.8 + + + + + + + + FlyCloud|fly + + + + + + + + Gradle: junit:junit:4.12 + + + + + + + + \ No newline at end of file diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..25f4727 --- /dev/null +++ b/build.gradle @@ -0,0 +1,46 @@ +buildscript { + repositories { + mavenLocal() + maven { url "http://maven.aliyun.com/nexus/content/groups/public/" } + maven { url "https://oss.sonatype.org/content/groups/public/" } + maven { url "https://repo.spring.io/libs-milestone/" } + jcenter() + mavenCentral() + } + dependencies { + classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") + //classpath "se.transmode.gradle:gradle-docker:${transmodeGradleDockerVersion}" + } +} +allprojects { + apply plugin: 'java' + apply plugin: 'org.springframework.boot' + apply plugin: 'idea' + + group = 'com.fly' + version = '1.0-SNAPSHOT' + sourceCompatibility = 1.8 + + repositories { + mavenLocal() + maven { url "http://maven.aliyun.com/nexus/content/groups/public/" } + maven { url "https://oss.sonatype.org/content/groups/public/" } + maven { url "https://repo.spring.io/libs-milestone/" } + jcenter() + mavenCentral() + } + + dependencies { + testCompile "org.springframework.boot:spring-boot-starter-test" + } + + dependencyManagement { + imports { + mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}" + } + } + //这里一定得要。在多模块下,不然编译失败,因为不会把信赖模块给打包。 + jar { + enabled = true + } +} diff --git a/build/libs/FlyCloud-1.0-SNAPSHOT.jar b/build/libs/FlyCloud-1.0-SNAPSHOT.jar new file mode 100644 index 0000000..dd5bf27 Binary files /dev/null and b/build/libs/FlyCloud-1.0-SNAPSHOT.jar differ diff --git a/build/tmp/jar/MANIFEST.MF b/build/tmp/jar/MANIFEST.MF new file mode 100644 index 0000000..59499bc --- /dev/null +++ b/build/tmp/jar/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0 + diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..b1efebb --- /dev/null +++ b/gradle.properties @@ -0,0 +1,8 @@ +## dependency versions. +springBootVersion=1.5.8.RELEASE +springCloudVersion=Edgware.RELEASE +### docker configuration +#gradle docker plugin version +#transmodeGradleDockerVersion=1.2 +#This configuration is for docker container environment to access the local machine host,in Chinese is "宿主机" ip. +#hostMachineIp=10.40.20.54 diff --git a/lib_common/build.gradle b/lib_common/build.gradle new file mode 100644 index 0000000..004e33d --- /dev/null +++ b/lib_common/build.gradle @@ -0,0 +1,17 @@ +dependencies { + compile 'org.springframework.cloud:spring-cloud-starter-eureka' + compile 'org.springframework.cloud:spring-cloud-starter-config' + compile 'org.springframework.boot:spring-boot-starter-web' + compile 'org.springframework.cloud:spring-cloud-starter-feign' + compile 'org.springframework.boot:spring-boot-starter-actuator' + compile 'org.springframework.cloud:spring-cloud-starter-hystrix-dashboard' + compile 'org.springframework.cloud:spring-cloud-starter-hystrix' + compile 'org.springframework.cloud:spring-cloud-starter-zipkin' + compile 'io.springfox:springfox-swagger2:2.7.0' + compile 'io.springfox:springfox-swagger-ui:2.7.0' + compile 'mysql:mysql-connector-java' + compile 'org.springframework.boot:spring-boot-starter-data-jpa' + compile 'org.springframework.cloud:spring-cloud-starter-oauth2' + compile 'org.springframework.boot:spring-boot-starter-amqp' + compile 'com.alibaba:fastjson:1.2.31' +} diff --git a/lib_common/build/classes/java/main/com/fly/common/annotation/SysLogger.class b/lib_common/build/classes/java/main/com/fly/common/annotation/SysLogger.class new file mode 100644 index 0000000..5edee83 Binary files /dev/null and b/lib_common/build/classes/java/main/com/fly/common/annotation/SysLogger.class differ diff --git a/lib_common/build/classes/java/main/com/fly/common/dto/RespDTO.class b/lib_common/build/classes/java/main/com/fly/common/dto/RespDTO.class new file mode 100644 index 0000000..fd64c03 Binary files /dev/null and b/lib_common/build/classes/java/main/com/fly/common/dto/RespDTO.class differ diff --git a/lib_common/build/classes/java/main/com/fly/common/exception/CommonException.class b/lib_common/build/classes/java/main/com/fly/common/exception/CommonException.class new file mode 100644 index 0000000..664a5c5 Binary files /dev/null and b/lib_common/build/classes/java/main/com/fly/common/exception/CommonException.class differ diff --git a/lib_common/build/classes/java/main/com/fly/common/exception/ErrorCode.class b/lib_common/build/classes/java/main/com/fly/common/exception/ErrorCode.class new file mode 100644 index 0000000..c6baa94 Binary files /dev/null and b/lib_common/build/classes/java/main/com/fly/common/exception/ErrorCode.class differ diff --git a/lib_common/out/production/classes/com/fly/common/annotation/SysLogger.class b/lib_common/out/production/classes/com/fly/common/annotation/SysLogger.class new file mode 100644 index 0000000..5edee83 Binary files /dev/null and b/lib_common/out/production/classes/com/fly/common/annotation/SysLogger.class differ diff --git a/lib_common/out/production/classes/com/fly/common/dto/RespDTO.class b/lib_common/out/production/classes/com/fly/common/dto/RespDTO.class new file mode 100644 index 0000000..fd64c03 Binary files /dev/null and b/lib_common/out/production/classes/com/fly/common/dto/RespDTO.class differ diff --git a/lib_common/out/production/classes/com/fly/common/exception/CommonException.class b/lib_common/out/production/classes/com/fly/common/exception/CommonException.class new file mode 100644 index 0000000..664a5c5 Binary files /dev/null and b/lib_common/out/production/classes/com/fly/common/exception/CommonException.class differ diff --git a/lib_common/out/production/classes/com/fly/common/exception/ErrorCode.class b/lib_common/out/production/classes/com/fly/common/exception/ErrorCode.class new file mode 100644 index 0000000..c6baa94 Binary files /dev/null and b/lib_common/out/production/classes/com/fly/common/exception/ErrorCode.class differ diff --git a/lib_common/src/main/java/com/fly/common/annotation/SysLogger.java b/lib_common/src/main/java/com/fly/common/annotation/SysLogger.java new file mode 100644 index 0000000..4375aa2 --- /dev/null +++ b/lib_common/src/main/java/com/fly/common/annotation/SysLogger.java @@ -0,0 +1,17 @@ +package com.fly.common.annotation; + +import java.lang.annotation.*; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Target(ElementType.METHOD) +@Retention(RetentionPolicy.RUNTIME) +@Documented +public @interface SysLogger { + String value() default ""; +} diff --git a/lib_common/src/main/java/com/fly/common/dto/RespDTO.java b/lib_common/src/main/java/com/fly/common/dto/RespDTO.java new file mode 100644 index 0000000..63e2cd3 --- /dev/null +++ b/lib_common/src/main/java/com/fly/common/dto/RespDTO.java @@ -0,0 +1,32 @@ +package com.fly.common.dto; + +import java.io.Serializable; +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class RespDTO implements Serializable{ + + + public int code = 0; + public String error = ""; + public T data; + + public static RespDTO onSuc(Object data) { + RespDTO resp = new RespDTO(); + resp.data = data; + return resp; + } + + @Override + public String toString() { + return "RespDTO{" + + "code=" + code + + ", error='" + error + '\'' + + ", data=" + data + + '}'; + } +} diff --git a/lib_common/src/main/java/com/fly/common/exception/CommonException.java b/lib_common/src/main/java/com/fly/common/exception/CommonException.java new file mode 100644 index 0000000..3734043 --- /dev/null +++ b/lib_common/src/main/java/com/fly/common/exception/CommonException.java @@ -0,0 +1,37 @@ +package com.fly.common.exception; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class CommonException extends RuntimeException { + + private ErrorCode errorCode; + + public CommonException(ErrorCode errorCode) { + super(errorCode.getMsg()); + this.errorCode = errorCode; + } + + public CommonException(ErrorCode errorCode, String msg) { + super(msg); + this.errorCode = errorCode; + } + + public ErrorCode getErrorCode() { + return errorCode; + } + + + public int getCode() { + return errorCode.getCode(); + } + + public String getMsg() { + return errorCode.getMsg(); + } + +} diff --git a/lib_common/src/main/java/com/fly/common/exception/ErrorCode.java b/lib_common/src/main/java/com/fly/common/exception/ErrorCode.java new file mode 100644 index 0000000..68ac8f3 --- /dev/null +++ b/lib_common/src/main/java/com/fly/common/exception/ErrorCode.java @@ -0,0 +1,47 @@ +package com.fly.common.exception; + +/** + * Description: <通用错误码>
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public enum ErrorCode { + + OK(0, ""), + FAIL(-1, "操作失败"), + RPC_ERROR(-2,"远程调度失败"), + USER_NOT_FOUND(1000,"用户不存在"), + USER_PASSWORD_ERROR(1001,"密码错误"), + GET_TOKEN_FAIL(1002,"获取token失败"), + TOKEN_IS_NOT_MATCH_USER(1003,"请使用自己的token进行接口请求"), + + BLOG_IS_NOT_EXIST(2001,"该内容不存在"); + private int code; + private String msg; + + + ErrorCode(int code, String msg) { + this.code = code; + this.msg = msg; + } + + + public int getCode() { + return code; + } + + public String getMsg() { + return msg; + } + + public static ErrorCode codeOf(int code) { + for (ErrorCode state : values()) { + if (state.getCode() == code) { + return state; + } + } + return null; + } +} diff --git a/logs/admin-service-pro.log b/logs/admin-service-pro.log new file mode 100644 index 0000000..d610c12 --- /dev/null +++ b/logs/admin-service-pro.log @@ -0,0 +1,2209 @@ +2019-02-19 10:06:34.201 INFO 7212 --- [main] AdminServiceApplication : The following profiles are active: pro +2019-02-19 10:06:34.222 INFO 7212 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@14b030a0: startup date [Tue Feb 19 10:06:34 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 +2019-02-19 10:06:34.980 WARN 7212 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration +2019-02-19 10:06:34.983 ERROR 7212 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Destroy method on bean with name 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory' threw an exception + +java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@14b030a0: startup date [Tue Feb 19 10:06:34 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 + at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414) + at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97) + at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) + at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) + at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:556) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at AdminServiceApplication.main(AdminServiceApplication.java:29) + +2019-02-19 10:06:34.990 INFO 7212 --- [main] utoConfigurationReportLoggingInitializer : + +Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. +2019-02-19 10:06:34.998 ERROR 7212 --- [main] o.s.boot.SpringApplication : Application startup failed + +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:556) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:185) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:272) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:92) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at AdminServiceApplication.main(AdminServiceApplication.java:29) +Caused by: java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at java.lang.ClassLoader.defineClass1(Native Method) + at java.lang.ClassLoader.defineClass(ClassLoader.java:763) + at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) + at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) + at java.net.URLClassLoader.access$100(URLClassLoader.java:73) + at java.net.URLClassLoader$1.run(URLClassLoader.java:368) + at java.net.URLClassLoader$1.run(URLClassLoader.java:362) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:361) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + at de.codecentric.boot.admin.config.AdminServerImportSelector.selectImports(AdminServerImportSelector.java:31) + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:547) + ... 14 common frames omitted +Caused by: java.lang.ClassNotFoundException: org.springframework.cloud.netflix.zuul.ZuulConfiguration + at java.net.URLClassLoader.findClass(URLClassLoader.java:381) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + ... 28 common frames omitted + +2019-02-19 10:08:44.852 INFO 10560 --- [main] AdminServiceApplication : The following profiles are active: pro +2019-02-19 10:08:44.873 INFO 10560 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@18230356: startup date [Tue Feb 19 10:08:44 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@51dcb805 +2019-02-19 10:08:45.616 WARN 10560 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration +2019-02-19 10:08:45.618 ERROR 10560 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Destroy method on bean with name 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory' threw an exception + +java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@18230356: startup date [Tue Feb 19 10:08:44 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@51dcb805 + at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414) + at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97) + at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) + at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) + at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:556) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at AdminServiceApplication.main(AdminServiceApplication.java:29) + +2019-02-19 10:08:45.627 INFO 10560 --- [main] utoConfigurationReportLoggingInitializer : + +Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. +2019-02-19 10:08:45.634 ERROR 10560 --- [main] o.s.boot.SpringApplication : Application startup failed + +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:556) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:185) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:272) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:92) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at AdminServiceApplication.main(AdminServiceApplication.java:29) +Caused by: java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at java.lang.ClassLoader.defineClass1(Native Method) + at java.lang.ClassLoader.defineClass(ClassLoader.java:763) + at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) + at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) + at java.net.URLClassLoader.access$100(URLClassLoader.java:73) + at java.net.URLClassLoader$1.run(URLClassLoader.java:368) + at java.net.URLClassLoader$1.run(URLClassLoader.java:362) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:361) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + at de.codecentric.boot.admin.config.AdminServerImportSelector.selectImports(AdminServerImportSelector.java:31) + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:547) + ... 14 common frames omitted +Caused by: java.lang.ClassNotFoundException: org.springframework.cloud.netflix.zuul.ZuulConfiguration + at java.net.URLClassLoader.findClass(URLClassLoader.java:381) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + ... 28 common frames omitted + +2019-02-19 10:19:59.020 INFO 14936 --- [main] AdminServiceApplication : The following profiles are active: pro +2019-02-19 10:19:59.040 INFO 14936 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@422c3c7a: startup date [Tue Feb 19 10:19:59 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 +2019-02-19 10:20:00.161 WARN 14936 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration +2019-02-19 10:20:00.165 ERROR 14936 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Destroy method on bean with name 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory' threw an exception + +java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@422c3c7a: startup date [Tue Feb 19 10:19:59 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 + at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414) + at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97) + at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) + at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) + at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:556) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at AdminServiceApplication.main(AdminServiceApplication.java:29) + +2019-02-19 10:20:00.177 INFO 14936 --- [main] utoConfigurationReportLoggingInitializer : + +Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. +2019-02-19 10:20:00.187 ERROR 14936 --- [main] o.s.boot.SpringApplication : Application startup failed + +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:556) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:185) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:272) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:92) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at AdminServiceApplication.main(AdminServiceApplication.java:29) +Caused by: java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at java.lang.ClassLoader.defineClass1(Native Method) + at java.lang.ClassLoader.defineClass(ClassLoader.java:763) + at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) + at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) + at java.net.URLClassLoader.access$100(URLClassLoader.java:73) + at java.net.URLClassLoader$1.run(URLClassLoader.java:368) + at java.net.URLClassLoader$1.run(URLClassLoader.java:362) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:361) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + at de.codecentric.boot.admin.config.AdminServerImportSelector.selectImports(AdminServerImportSelector.java:31) + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:547) + ... 14 common frames omitted +Caused by: java.lang.ClassNotFoundException: org.springframework.cloud.netflix.zuul.ZuulConfiguration + at java.net.URLClassLoader.findClass(URLClassLoader.java:381) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + ... 28 common frames omitted + +2019-02-19 10:34:03.759 INFO 15476 --- [main] AdminServiceApplication : The following profiles are active: pro +2019-02-19 10:34:03.777 INFO 15476 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@18230356: startup date [Tue Feb 19 10:34:03 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@51dcb805 +2019-02-19 10:34:04.577 WARN 15476 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration +2019-02-19 10:34:04.580 ERROR 15476 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Destroy method on bean with name 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory' threw an exception + +java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@18230356: startup date [Tue Feb 19 10:34:03 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@51dcb805 + at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414) + at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97) + at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) + at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) + at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:556) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at AdminServiceApplication.main(AdminServiceApplication.java:29) + +2019-02-19 10:34:04.594 INFO 15476 --- [main] utoConfigurationReportLoggingInitializer : + +Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. +2019-02-19 10:34:04.603 ERROR 15476 --- [main] o.s.boot.SpringApplication : Application startup failed + +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:556) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:185) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:272) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:92) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at AdminServiceApplication.main(AdminServiceApplication.java:29) +Caused by: java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at java.lang.ClassLoader.defineClass1(Native Method) + at java.lang.ClassLoader.defineClass(ClassLoader.java:763) + at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) + at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) + at java.net.URLClassLoader.access$100(URLClassLoader.java:73) + at java.net.URLClassLoader$1.run(URLClassLoader.java:368) + at java.net.URLClassLoader$1.run(URLClassLoader.java:362) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:361) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + at de.codecentric.boot.admin.config.AdminServerImportSelector.selectImports(AdminServerImportSelector.java:31) + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:547) + ... 14 common frames omitted +Caused by: java.lang.ClassNotFoundException: org.springframework.cloud.netflix.zuul.ZuulConfiguration + at java.net.URLClassLoader.findClass(URLClassLoader.java:381) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + ... 28 common frames omitted + +2019-02-19 10:42:09.081 INFO 1796 --- [main] com.fly.admin.AdminServiceApplication : The following profiles are active: pro +2019-02-19 10:42:09.100 INFO 1796 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@422c3c7a: startup date [Tue Feb 19 10:42:09 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 +2019-02-19 10:42:09.830 WARN 1796 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.fly.admin.AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration +2019-02-19 10:42:09.832 ERROR 1796 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Destroy method on bean with name 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory' threw an exception + +java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@422c3c7a: startup date [Tue Feb 19 10:42:09 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 + at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414) + at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97) + at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) + at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) + at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:556) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at com.fly.admin.AdminServiceApplication.main(AdminServiceApplication.java:29) + +2019-02-19 10:42:09.841 INFO 1796 --- [main] utoConfigurationReportLoggingInitializer : + +Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. +2019-02-19 10:42:09.864 ERROR 1796 --- [main] o.s.boot.SpringApplication : Application startup failed + +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.fly.admin.AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:556) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:185) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:272) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:92) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at com.fly.admin.AdminServiceApplication.main(AdminServiceApplication.java:29) +Caused by: java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at java.lang.ClassLoader.defineClass1(Native Method) + at java.lang.ClassLoader.defineClass(ClassLoader.java:763) + at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) + at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) + at java.net.URLClassLoader.access$100(URLClassLoader.java:73) + at java.net.URLClassLoader$1.run(URLClassLoader.java:368) + at java.net.URLClassLoader$1.run(URLClassLoader.java:362) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:361) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + at de.codecentric.boot.admin.config.AdminServerImportSelector.selectImports(AdminServerImportSelector.java:31) + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:547) + ... 14 common frames omitted +Caused by: java.lang.ClassNotFoundException: org.springframework.cloud.netflix.zuul.ZuulConfiguration + at java.net.URLClassLoader.findClass(URLClassLoader.java:381) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + ... 28 common frames omitted + +2019-02-19 10:44:15.956 INFO 13288 --- [main] com.fly.admin.AdminServiceApplication : The following profiles are active: pro +2019-02-19 10:44:15.975 INFO 13288 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@422c3c7a: startup date [Tue Feb 19 10:44:15 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 +2019-02-19 10:44:16.721 WARN 13288 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.fly.admin.AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration +2019-02-19 10:44:16.723 ERROR 13288 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Destroy method on bean with name 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory' threw an exception + +java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@422c3c7a: startup date [Tue Feb 19 10:44:15 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 + at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414) + at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97) + at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) + at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) + at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:556) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at com.fly.admin.AdminServiceApplication.main(AdminServiceApplication.java:29) + +2019-02-19 10:44:16.732 INFO 13288 --- [main] utoConfigurationReportLoggingInitializer : + +Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. +2019-02-19 10:44:16.740 ERROR 13288 --- [main] o.s.boot.SpringApplication : Application startup failed + +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.fly.admin.AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:556) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:185) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:272) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:92) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at com.fly.admin.AdminServiceApplication.main(AdminServiceApplication.java:29) +Caused by: java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at java.lang.ClassLoader.defineClass1(Native Method) + at java.lang.ClassLoader.defineClass(ClassLoader.java:763) + at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) + at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) + at java.net.URLClassLoader.access$100(URLClassLoader.java:73) + at java.net.URLClassLoader$1.run(URLClassLoader.java:368) + at java.net.URLClassLoader$1.run(URLClassLoader.java:362) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:361) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + at de.codecentric.boot.admin.config.AdminServerImportSelector.selectImports(AdminServerImportSelector.java:31) + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:547) + ... 14 common frames omitted +Caused by: java.lang.ClassNotFoundException: org.springframework.cloud.netflix.zuul.ZuulConfiguration + at java.net.URLClassLoader.findClass(URLClassLoader.java:381) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + ... 28 common frames omitted + +2019-02-19 10:50:07.794 INFO 15664 --- [main] com.fly.admin.AdminServiceApplication : The following profiles are active: pro +2019-02-19 10:50:07.813 INFO 15664 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@422c3c7a: startup date [Tue Feb 19 10:50:07 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 +2019-02-19 10:50:08.543 WARN 15664 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.fly.admin.AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration +2019-02-19 10:50:08.545 ERROR 15664 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Destroy method on bean with name 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory' threw an exception + +java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@422c3c7a: startup date [Tue Feb 19 10:50:07 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 + at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414) + at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97) + at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) + at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) + at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:556) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at com.fly.admin.AdminServiceApplication.main(AdminServiceApplication.java:29) + +2019-02-19 10:50:08.554 INFO 15664 --- [main] utoConfigurationReportLoggingInitializer : + +Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. +2019-02-19 10:50:08.562 ERROR 15664 --- [main] o.s.boot.SpringApplication : Application startup failed + +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.fly.admin.AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:556) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:185) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:272) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:92) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at com.fly.admin.AdminServiceApplication.main(AdminServiceApplication.java:29) +Caused by: java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at java.lang.ClassLoader.defineClass1(Native Method) + at java.lang.ClassLoader.defineClass(ClassLoader.java:763) + at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) + at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) + at java.net.URLClassLoader.access$100(URLClassLoader.java:73) + at java.net.URLClassLoader$1.run(URLClassLoader.java:368) + at java.net.URLClassLoader$1.run(URLClassLoader.java:362) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:361) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + at de.codecentric.boot.admin.config.AdminServerImportSelector.selectImports(AdminServerImportSelector.java:31) + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:547) + ... 14 common frames omitted +Caused by: java.lang.ClassNotFoundException: org.springframework.cloud.netflix.zuul.ZuulConfiguration + at java.net.URLClassLoader.findClass(URLClassLoader.java:381) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + ... 28 common frames omitted + +2019-02-19 12:27:53.604 INFO 17056 --- [main] com.fly.admin.AdminServiceApplication : The following profiles are active: pro +2019-02-19 12:27:53.703 INFO 17056 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@422c3c7a: startup date [Tue Feb 19 12:27:53 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 +2019-02-19 12:27:54.678 WARN 17056 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.fly.admin.AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration +2019-02-19 12:27:54.690 ERROR 17056 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Destroy method on bean with name 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory' threw an exception + +java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@422c3c7a: startup date [Tue Feb 19 12:27:53 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 + at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414) + at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97) + at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) + at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) + at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:556) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at com.fly.admin.AdminServiceApplication.main(AdminServiceApplication.java:29) + +2019-02-19 12:27:54.713 INFO 17056 --- [main] utoConfigurationReportLoggingInitializer : + +Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. +2019-02-19 12:27:54.722 ERROR 17056 --- [main] o.s.boot.SpringApplication : Application startup failed + +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.fly.admin.AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:556) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:185) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:272) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:92) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at com.fly.admin.AdminServiceApplication.main(AdminServiceApplication.java:29) +Caused by: java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at java.lang.ClassLoader.defineClass1(Native Method) + at java.lang.ClassLoader.defineClass(ClassLoader.java:763) + at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) + at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) + at java.net.URLClassLoader.access$100(URLClassLoader.java:73) + at java.net.URLClassLoader$1.run(URLClassLoader.java:368) + at java.net.URLClassLoader$1.run(URLClassLoader.java:362) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:361) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + at de.codecentric.boot.admin.config.AdminServerImportSelector.selectImports(AdminServerImportSelector.java:31) + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:547) + ... 14 common frames omitted +Caused by: java.lang.ClassNotFoundException: org.springframework.cloud.netflix.zuul.ZuulConfiguration + at java.net.URLClassLoader.findClass(URLClassLoader.java:381) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + ... 28 common frames omitted + +2019-02-19 14:21:50.188 INFO 15256 --- [main] com.fly.admin.AdminServiceApplication : The following profiles are active: pro +2019-02-19 14:21:50.241 INFO 15256 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@422c3c7a: startup date [Tue Feb 19 14:21:50 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 +2019-02-19 14:21:51.097 WARN 15256 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.fly.admin.AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration +2019-02-19 14:21:51.110 ERROR 15256 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Destroy method on bean with name 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory' threw an exception + +java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@422c3c7a: startup date [Tue Feb 19 14:21:50 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@625732 + at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414) + at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97) + at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) + at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) + at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:556) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at com.fly.admin.AdminServiceApplication.main(AdminServiceApplication.java:29) + +2019-02-19 14:21:51.134 INFO 15256 --- [main] utoConfigurationReportLoggingInitializer : + +Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. +2019-02-19 14:21:51.141 ERROR 15256 --- [main] o.s.boot.SpringApplication : Application startup failed + +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.fly.admin.AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:556) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:185) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:272) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:92) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at com.fly.admin.AdminServiceApplication.main(AdminServiceApplication.java:29) +Caused by: java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at java.lang.ClassLoader.defineClass1(Native Method) + at java.lang.ClassLoader.defineClass(ClassLoader.java:763) + at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) + at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) + at java.net.URLClassLoader.access$100(URLClassLoader.java:73) + at java.net.URLClassLoader$1.run(URLClassLoader.java:368) + at java.net.URLClassLoader$1.run(URLClassLoader.java:362) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:361) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + at de.codecentric.boot.admin.config.AdminServerImportSelector.selectImports(AdminServerImportSelector.java:31) + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:547) + ... 14 common frames omitted +Caused by: java.lang.ClassNotFoundException: org.springframework.cloud.netflix.zuul.ZuulConfiguration + at java.net.URLClassLoader.findClass(URLClassLoader.java:381) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + ... 28 common frames omitted + +2019-02-19 14:36:51.724 INFO 13784 --- [main] com.fly.admin.AdminServiceApplication : The following profiles are active: pro +2019-02-19 14:36:51.744 INFO 13784 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@58359ebd: startup date [Tue Feb 19 14:36:51 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@66498326 +2019-02-19 14:36:52.510 WARN 13784 --- [main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.fly.admin.AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration +2019-02-19 14:36:52.512 ERROR 13784 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Destroy method on bean with name 'org.springframework.boot.autoconfigure.internalCachingMetadataReaderFactory' threw an exception + +java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@58359ebd: startup date [Tue Feb 19 14:36:51 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@66498326 + at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:414) + at org.springframework.context.support.ApplicationListenerDetector.postProcessBeforeDestruction(ApplicationListenerDetector.java:97) + at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:253) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:961) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) + at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.destroySingletons(FactoryBeanRegistrySupport.java:230) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:968) + at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1030) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:556) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at com.fly.admin.AdminServiceApplication.main(AdminServiceApplication.java:29) + +2019-02-19 14:36:52.521 INFO 13784 --- [main] utoConfigurationReportLoggingInitializer : + +Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled. +2019-02-19 14:36:52.530 ERROR 13784 --- [main] o.s.boot.SpringApplication : Application startup failed + +org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.fly.admin.AdminServiceApplication]; nested exception is java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:556) + at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:185) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:308) + at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:272) + at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:92) + at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687) + at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525) + at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) + at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) + at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) + at com.fly.admin.AdminServiceApplication.main(AdminServiceApplication.java:29) +Caused by: java.lang.NoClassDefFoundError: org/springframework/cloud/netflix/zuul/ZuulConfiguration + at java.lang.ClassLoader.defineClass1(Native Method) + at java.lang.ClassLoader.defineClass(ClassLoader.java:763) + at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) + at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) + at java.net.URLClassLoader.access$100(URLClassLoader.java:73) + at java.net.URLClassLoader$1.run(URLClassLoader.java:368) + at java.net.URLClassLoader$1.run(URLClassLoader.java:362) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:361) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + at de.codecentric.boot.admin.config.AdminServerImportSelector.selectImports(AdminServerImportSelector.java:31) + at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:547) + ... 14 common frames omitted +Caused by: java.lang.ClassNotFoundException: org.springframework.cloud.netflix.zuul.ZuulConfiguration + at java.net.URLClassLoader.findClass(URLClassLoader.java:381) + at java.lang.ClassLoader.loadClass(ClassLoader.java:424) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) + at java.lang.ClassLoader.loadClass(ClassLoader.java:357) + ... 28 common frames omitted + +2019-02-19 14:48:18.536 INFO 8088 --- [main] com.fly.admin.AdminServiceApplication : The following profiles are active: pro +2019-02-19 14:48:18.557 INFO 8088 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@18230356: startup date [Tue Feb 19 14:48:18 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@120f102b +2019-02-19 14:48:19.661 INFO 8088 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'counterFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.netflix.zuul.ZuulServerAutoConfiguration$ZuulMetricsConfiguration; factoryMethodName=counterFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/netflix/zuul/ZuulServerAutoConfiguration$ZuulMetricsConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.netflix.zuul.ZuulServerAutoConfiguration$ZuulCounterFactoryConfiguration; factoryMethodName=counterFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/netflix/zuul/ZuulServerAutoConfiguration$ZuulCounterFactoryConfiguration.class]] +2019-02-19 14:48:19.794 INFO 8088 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'zuulRefreshRoutesListener' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.netflix.zuul.ZuulServerAutoConfiguration; factoryMethodName=zuulRefreshRoutesListener; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/netflix/zuul/ZuulServerAutoConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=de.codecentric.boot.admin.config.RevereseZuulProxyConfiguration; factoryMethodName=zuulRefreshRoutesListener; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [de/codecentric/boot/admin/config/RevereseZuulProxyConfiguration.class]] +2019-02-19 14:48:19.972 INFO 8088 --- [main] o.s.cloud.context.scope.GenericScope : BeanFactory id=a1679086-aa08-3a4e-bc8c-f34ace377f17 +2019-02-19 14:48:19.990 INFO 8088 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring +2019-02-19 14:48:20.137 INFO 8088 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.netflix.metrics.MetricsInterceptorConfiguration$MetricsRestTemplateConfiguration' of type [org.springframework.cloud.netflix.metrics.MetricsInterceptorConfiguration$MetricsRestTemplateConfiguration$$EnhancerBySpringCGLIB$$c5397210] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2019-02-19 14:48:20.303 INFO 8088 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$af26cecc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2019-02-19 14:48:21.085 INFO 8088 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 9998 (http) +2019-02-19 14:48:21.113 INFO 8088 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2019-02-19 14:48:21.115 INFO 8088 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.23 +2019-02-19 14:48:21.623 INFO 8088 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2019-02-19 14:48:21.624 INFO 8088 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3067 ms +2019-02-19 14:48:22.353 INFO 8088 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/*] +2019-02-19 14:48:22.354 INFO 8088 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*] +2019-02-19 14:48:22.355 INFO 8088 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*] +2019-02-19 14:48:22.355 INFO 8088 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*] +2019-02-19 14:48:22.355 INFO 8088 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*] +2019-02-19 14:48:22.356 INFO 8088 --- [localhost-startStop-1] .s.DelegatingFilterProxyRegistrationBean : Mapping filter: 'springSecurityFilterChain' to: [/*] +2019-02-19 14:48:22.356 INFO 8088 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*] +2019-02-19 14:48:22.356 INFO 8088 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*] +2019-02-19 14:48:22.356 INFO 8088 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'turbineStreamServlet' to [/turbine.stream] +2019-02-19 14:48:22.358 INFO 8088 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'proxyStreamServlet' to [/proxy.stream] +2019-02-19 14:48:22.358 INFO 8088 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/] +2019-02-19 14:48:22.358 INFO 8088 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'zuulServlet' to [/zuul/*] +2019-02-19 14:48:22.836 INFO 8088 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : jolokia: No access restrictor found, access to any MBean is allowed +2019-02-19 14:48:23.498 INFO 8088 --- [main] o.s.ui.freemarker.SpringTemplateLoader : SpringTemplateLoader for FreeMarker: using resource loader [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@18230356: startup date [Tue Feb 19 14:48:18 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@120f102b] and template loader path [classpath:/templates/] +2019-02-19 14:48:23.499 INFO 8088 --- [main] o.s.w.s.v.f.FreeMarkerConfigurer : ClassTemplateLoader for Spring macros added to FreeMarker configuration +2019-02-19 14:48:23.563 WARN 8088 --- [main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources. +2019-02-19 14:48:23.563 INFO 8088 --- [main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. +2019-02-19 14:48:23.568 INFO 8088 --- [main] c.netflix.config.DynamicPropertyFactory : DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@70b2fa10 +2019-02-19 14:48:24.139 WARN 8088 --- [main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources. +2019-02-19 14:48:24.139 INFO 8088 --- [main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. +2019-02-19 14:48:24.396 INFO 8088 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@18230356: startup date [Tue Feb 19 14:48:18 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@120f102b +2019-02-19 14:48:24.572 INFO 8088 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hystrix/{path}]}" onto public java.lang.String org.springframework.cloud.netflix.hystrix.dashboard.HystrixDashboardController.monitor(java.lang.String,org.springframework.ui.Model,org.springframework.web.context.request.WebRequest) +2019-02-19 14:48:24.573 INFO 8088 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hystrix]}" onto public java.lang.String org.springframework.cloud.netflix.hystrix.dashboard.HystrixDashboardController.home(org.springframework.ui.Model,org.springframework.web.context.request.WebRequest) +2019-02-19 14:48:24.576 INFO 8088 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest) +2019-02-19 14:48:24.576 INFO 8088 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) +2019-02-19 14:48:24.584 INFO 8088 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/turbine/clusters],methods=[GET]}" onto public java.util.Map spring.boot.admin.turbine.web.TurbineController.getClusters() +2019-02-19 14:48:24.586 INFO 8088 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/applications/{id}],methods=[GET]}" onto public org.springframework.http.ResponseEntity de.codecentric.boot.admin.registry.web.RegistryController.get(java.lang.String) +2019-02-19 14:48:24.587 INFO 8088 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/applications],methods=[POST]}" onto public org.springframework.http.ResponseEntity de.codecentric.boot.admin.registry.web.RegistryController.register(de.codecentric.boot.admin.model.Application,org.springframework.web.util.UriComponentsBuilder) +2019-02-19 14:48:24.587 INFO 8088 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/applications/{id}],methods=[DELETE]}" onto public org.springframework.http.ResponseEntity de.codecentric.boot.admin.registry.web.RegistryController.unregister(java.lang.String) +2019-02-19 14:48:24.587 INFO 8088 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/applications],methods=[GET]}" onto public java.util.Collection de.codecentric.boot.admin.registry.web.RegistryController.applications(java.lang.String) +2019-02-19 14:48:24.590 INFO 8088 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/journal],produces=[application/json]}" onto public java.util.Collection de.codecentric.boot.admin.journal.web.JournalController.getJournal() +2019-02-19 14:48:24.590 INFO 8088 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/journal],produces=[text/event-stream]}" onto public org.springframework.web.servlet.mvc.method.annotation.SseEmitter de.codecentric.boot.admin.journal.web.JournalController.getJournalEvents() +2019-02-19 14:48:24.686 INFO 8088 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Root mapping to handler of type [class org.springframework.web.servlet.mvc.ParameterizableViewController] +2019-02-19 14:48:24.720 WARN 8088 --- [main] o.s.w.s.r.ResourceHttpRequestHandler : Locations list is empty. No resources will be served unless a custom ResourceResolver is configured as an alternative to PathResourceResolver. +2019-02-19 14:48:24.721 WARN 8088 --- [main] o.s.w.s.r.ResourceHttpRequestHandler : Locations list is empty. No resources will be served unless a custom ResourceResolver is configured as an alternative to PathResourceResolver. +2019-02-19 14:48:24.723 INFO 8088 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] +2019-02-19 14:48:24.723 INFO 8088 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] +2019-02-19 14:48:24.723 INFO 8088 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/all-modules.css] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] +2019-02-19 14:48:24.724 INFO 8088 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/all-modules.js] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] +2019-02-19 14:48:24.824 INFO 8088 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] +2019-02-19 14:48:25.848 INFO 8088 --- [main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/css/**'], Ant [pattern='/js/**'], Ant [pattern='/images/**'], Ant [pattern='/webjars/**'], Ant [pattern='/**/favicon.ico'], Ant [pattern='/error']]], [] +2019-02-19 14:48:25.849 INFO 8088 --- [main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: org.springframework.boot.actuate.autoconfigure.ManagementWebSecurityAutoConfiguration$LazyEndpointPathRequestMatcher@5ec6a1b6, [] +2019-02-19 14:48:26.021 INFO 8088 --- [main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@e1a150c, org.springframework.security.web.context.SecurityContextPersistenceFilter@63d0e8d, org.springframework.security.web.header.HeaderWriterFilter@41f40dfa, org.springframework.security.web.authentication.logout.LogoutFilter@362cf66, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@1d2d4d7a, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@23f8036d, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@29532e91, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@26d7cb0d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@527d5e48, org.springframework.security.web.session.SessionManagementFilter@3dad535f, org.springframework.security.web.access.ExceptionTranslationFilter@20a946d9, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@56402642] +2019-02-19 14:48:26.030 INFO 8088 --- [main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/**']]], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1868ed54, org.springframework.security.web.context.SecurityContextPersistenceFilter@40d10264, org.springframework.security.web.header.HeaderWriterFilter@2773504f, org.springframework.security.web.authentication.logout.LogoutFilter@5366575d, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1b6cad77, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6edd4fe2, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@53918b5e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@131777e8, org.springframework.security.web.session.SessionManagementFilter@497921d0, org.springframework.security.web.access.ExceptionTranslationFilter@67593f7b, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@256a5df0] +2019-02-19 14:48:26.914 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String) +2019-02-19 14:48:26.915 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map) +2019-02-19 14:48:26.916 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:26.916 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/logfile || /logfile.json],methods=[GET || HEAD]}" onto public void org.springframework.boot.actuate.endpoint.mvc.LogFileMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws javax.servlet.ServletException,java.io.IOException +2019-02-19 14:48:26.917 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:26.918 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException +2019-02-19 14:48:26.918 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/jolokia/**]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.actuate.endpoint.mvc.JolokiaMvcEndpoint.handle(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception +2019-02-19 14:48:26.921 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String) +2019-02-19 14:48:26.921 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:26.922 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/features || /features.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:26.922 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:26.923 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/hystrix.stream/**]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.cloud.netflix.endpoint.ServletWrappingEndpoint.handle(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception +2019-02-19 14:48:26.923 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/archaius || /archaius.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:26.924 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:26.926 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:26.929 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.context.environment.EnvironmentManagerMvcEndpoint.value(java.util.Map) +2019-02-19 14:48:26.931 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env/reset],methods=[POST]}" onto public java.util.Map org.springframework.cloud.context.environment.EnvironmentManagerMvcEndpoint.reset() +2019-02-19 14:48:26.933 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:26.934 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/service-registry/instance-status],methods=[POST]}" onto public org.springframework.http.ResponseEntity org.springframework.cloud.client.serviceregistry.endpoint.ServiceRegistryEndpoint.setStatus(java.lang.String) +2019-02-19 14:48:26.934 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/service-registry/instance-status],methods=[GET]}" onto public org.springframework.http.ResponseEntity org.springframework.cloud.client.serviceregistry.endpoint.ServiceRegistryEndpoint.getStatus() +2019-02-19 14:48:26.935 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal) +2019-02-19 14:48:26.936 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/refresh || /refresh.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke() +2019-02-19 14:48:26.936 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public org.springframework.http.ResponseEntity org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String) +2019-02-19 14:48:26.937 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:26.938 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:26.938 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/routes || /routes.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:26.939 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String) +2019-02-19 14:48:26.939 INFO 8088 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 14:48:28.019 INFO 8088 --- [main] o.s.c.n.zuul.ZuulFilterInitializer : Starting filter initializer +2019-02-19 14:48:28.174 INFO 8088 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'updateTaskScheduler' +2019-02-19 14:48:28.228 INFO 8088 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/turbine/clusters],methods=[GET]}" onto public java.util.Map spring.boot.admin.turbine.web.TurbineController.getClusters() +2019-02-19 14:48:28.229 INFO 8088 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/applications/{id}],methods=[GET]}" onto public org.springframework.http.ResponseEntity de.codecentric.boot.admin.registry.web.RegistryController.get(java.lang.String) +2019-02-19 14:48:28.229 INFO 8088 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/applications],methods=[POST]}" onto public org.springframework.http.ResponseEntity de.codecentric.boot.admin.registry.web.RegistryController.register(de.codecentric.boot.admin.model.Application,org.springframework.web.util.UriComponentsBuilder) +2019-02-19 14:48:28.229 INFO 8088 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/applications/{id}],methods=[DELETE]}" onto public org.springframework.http.ResponseEntity de.codecentric.boot.admin.registry.web.RegistryController.unregister(java.lang.String) +2019-02-19 14:48:28.230 INFO 8088 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/applications],methods=[GET]}" onto public java.util.Collection de.codecentric.boot.admin.registry.web.RegistryController.applications(java.lang.String) +2019-02-19 14:48:28.230 INFO 8088 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/journal],produces=[application/json]}" onto public java.util.Collection de.codecentric.boot.admin.journal.web.JournalController.getJournal() +2019-02-19 14:48:28.230 INFO 8088 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/journal],produces=[text/event-stream]}" onto public org.springframework.web.servlet.mvc.method.annotation.SseEmitter de.codecentric.boot.admin.journal.web.JournalController.getJournalEvents() +2019-02-19 14:48:28.350 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup +2019-02-19 14:48:28.361 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'environmentManager' has been autodetected for JMX exposure +2019-02-19 14:48:28.364 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'configurationPropertiesRebinder' has been autodetected for JMX exposure +2019-02-19 14:48:28.365 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'refreshEndpoint' has been autodetected for JMX exposure +2019-02-19 14:48:28.366 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'serviceRegistryEndpoint' has been autodetected for JMX exposure +2019-02-19 14:48:28.367 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'zuulEndpoint' has been autodetected for JMX exposure +2019-02-19 14:48:28.368 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'refreshScope' has been autodetected for JMX exposure +2019-02-19 14:48:28.370 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'environmentManager': registering with JMX server as MBean [org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager] +2019-02-19 14:48:28.407 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'serviceRegistryEndpoint': registering with JMX server as MBean [org.springframework.cloud.client.serviceregistry.endpoint:name=serviceRegistryEndpoint,type=ServiceRegistryEndpoint] +2019-02-19 14:48:28.414 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'refreshScope': registering with JMX server as MBean [org.springframework.cloud.context.scope.refresh:name=refreshScope,type=RefreshScope] +2019-02-19 14:48:28.430 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'zuulEndpoint': registering with JMX server as MBean [org.springframework.cloud.netflix.zuul:name=zuulEndpoint,type=RoutesEndpoint] +2019-02-19 14:48:28.433 WARN 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with key 'zuulEndpoint' has been registered as an MBean but has no exposed attributes or operations +2019-02-19 14:48:28.435 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'configurationPropertiesRebinder': registering with JMX server as MBean [org.springframework.cloud.context.properties:name=configurationPropertiesRebinder,context=18230356,type=ConfigurationPropertiesRebinder] +2019-02-19 14:48:28.440 INFO 8088 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'refreshEndpoint': registering with JMX server as MBean [org.springframework.cloud.endpoint:name=refreshEndpoint,type=RefreshEndpoint] +2019-02-19 14:48:28.663 INFO 8088 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : jolokia: No access restrictor found, access to any MBean is allowed +2019-02-19 14:48:28.668 INFO 8088 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : jolokia: jolokia:type=Config is already registered. Adding it with jolokia:type=Config,uuid=8abe4cab-dc7e-48c4-a7c9-463e1263aaac, but you should revise your setup in order to either use a qualifier or ensure, that only a single agent gets registered (otherwise history functionality might not work) +2019-02-19 14:48:28.668 INFO 8088 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : jolokia: Cannot register (legacy) MBean handler for config store with name jmx4perl:type=Config since it already exists. This is the case if another agent has been already started within the same JVM. The registration is skipped. +2019-02-19 14:48:28.668 INFO 8088 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : jolokia: Jolokia Discovery MBean registration is skipped because there is already one registered. +2019-02-19 14:48:28.735 INFO 8088 --- [main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 0 +2019-02-19 14:48:28.754 INFO 8088 --- [main] o.s.c.n.turbine.SpringAggregatorFactory : Could not find monitors: [] +2019-02-19 14:48:28.920 INFO 8088 --- [main] c.n.t.monitor.cluster.ClusterMonitor : Registering event handler for cluster monitor: StaticListener_For_Aggregator +2019-02-19 14:48:28.922 INFO 8088 --- [main] c.n.t.handler.TurbineDataDispatcher : + +Just added and starting handler tuple: StaticListener_For_Aggregator +2019-02-19 14:48:28.922 INFO 8088 --- [main] c.n.t.monitor.cluster.ClusterMonitor : All event handlers for cluster monitor: [StaticListener_For_Aggregator] +2019-02-19 14:48:28.922 INFO 8088 --- [main] c.n.t.monitor.cluster.ClusterMonitor : Starting up the cluster monitor for default_agg +2019-02-19 14:48:28.925 INFO 8088 --- [main] c.n.t.discovery.InstanceObservable : Starting InstanceObservable at frequency: 60000 millis +2019-02-19 14:48:28.926 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 14:48:28.926 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 14:48:28.926 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 14:48:28.926 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 14:48:28.934 INFO 8088 --- [main] o.s.c.n.eureka.InstanceInfoFactory : Setting initial instance status as: STARTING +2019-02-19 14:48:28.993 INFO 8088 --- [main] com.netflix.discovery.DiscoveryClient : Initializing Eureka in region us-east-1 +2019-02-19 14:48:29.045 INFO 8088 --- [main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON encoding codec LegacyJacksonJson +2019-02-19 14:48:29.046 INFO 8088 --- [main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON decoding codec LegacyJacksonJson +2019-02-19 14:48:29.194 INFO 8088 --- [main] c.n.d.provider.DiscoveryJerseyProvider : Using XML encoding codec XStreamXml +2019-02-19 14:48:29.194 INFO 8088 --- [main] c.n.d.provider.DiscoveryJerseyProvider : Using XML decoding codec XStreamXml +2019-02-19 14:48:29.418 INFO 8088 --- [main] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 14:48:29.488 INFO 8088 --- [main] com.netflix.discovery.DiscoveryClient : Disable delta property : false +2019-02-19 14:48:29.489 INFO 8088 --- [main] com.netflix.discovery.DiscoveryClient : Single vip registry refresh property : null +2019-02-19 14:48:29.489 INFO 8088 --- [main] com.netflix.discovery.DiscoveryClient : Force full registry fetch : false +2019-02-19 14:48:29.489 INFO 8088 --- [main] com.netflix.discovery.DiscoveryClient : Application is null : false +2019-02-19 14:48:29.489 INFO 8088 --- [main] com.netflix.discovery.DiscoveryClient : Registered Applications size is zero : true +2019-02-19 14:48:29.489 INFO 8088 --- [main] com.netflix.discovery.DiscoveryClient : Application version is -1: true +2019-02-19 14:48:29.489 INFO 8088 --- [main] com.netflix.discovery.DiscoveryClient : Getting all instance registry info from the eureka server +2019-02-19 14:48:29.646 INFO 8088 --- [main] com.netflix.discovery.DiscoveryClient : The response status is 200 +2019-02-19 14:48:29.647 INFO 8088 --- [main] com.netflix.discovery.DiscoveryClient : Starting heartbeat executor: renew interval is: 30 +2019-02-19 14:48:29.649 INFO 8088 --- [main] c.n.discovery.InstanceInfoReplicator : InstanceInfoReplicator onDemand update allowed rate per min is 4 +2019-02-19 14:48:29.652 INFO 8088 --- [main] com.netflix.discovery.DiscoveryClient : Discovery Client initialized at timestamp 1550558909652 with initial instances count: 7 +2019-02-19 14:48:29.719 INFO 8088 --- [main] o.s.c.n.e.s.EurekaServiceRegistry : Registering application admin-service with eureka with status UP +2019-02-19 14:48:29.720 INFO 8088 --- [main] com.netflix.discovery.DiscoveryClient : Saw local status change event StatusChangeEvent [timestamp=1550558909720, current=UP, previous=STARTING] +2019-02-19 14:48:29.722 INFO 8088 --- [DiscoveryClient-InstanceInfoReplicator-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_ADMIN-SERVICE/DESKTOP-NFQ5HUN:admin-service:9998: registering service... +2019-02-19 14:48:29.727 INFO 8088 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=3f553ac1, name=BLOG-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:8763/, healthUrl=http://DESKTOP-NFQ5HUN:8763/health, serviceUrl=http://DESKTOP-NFQ5HUN:8763/] registered +2019-02-19 14:48:29.750 INFO 8088 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=c154e593, name=UAA-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:9999/, healthUrl=http://DESKTOP-NFQ5HUN:9999/health, serviceUrl=http://DESKTOP-NFQ5HUN:9999/] registered +2019-02-19 14:48:29.751 INFO 8088 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=367b3dfe, name=MONITOR-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:8766/, healthUrl=http://DESKTOP-NFQ5HUN:8766/health, serviceUrl=http://DESKTOP-NFQ5HUN:8766/] registered +2019-02-19 14:48:29.753 INFO 8088 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=a261752a, name=GATEWAY-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:5000/, healthUrl=http://DESKTOP-NFQ5HUN:5000/health, serviceUrl=http://DESKTOP-NFQ5HUN:5000/] registered +2019-02-19 14:48:29.755 INFO 8088 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=0dd5bdda, name=LOGGER-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:9997/, healthUrl=http://DESKTOP-NFQ5HUN:9997/health, serviceUrl=http://DESKTOP-NFQ5HUN:9997/] registered +2019-02-19 14:48:29.756 INFO 8088 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=196166ac, name=ZIPKIN-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:9411/, healthUrl=http://DESKTOP-NFQ5HUN:9411/health, serviceUrl=http://DESKTOP-NFQ5HUN:9411/] registered +2019-02-19 14:48:29.757 INFO 8088 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=8b08fa7f, name=USER-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:8762/, healthUrl=http://DESKTOP-NFQ5HUN:8762/health, serviceUrl=http://DESKTOP-NFQ5HUN:8762/] registered +2019-02-19 14:48:29.809 INFO 8088 --- [DiscoveryClient-InstanceInfoReplicator-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_ADMIN-SERVICE/DESKTOP-NFQ5HUN:admin-service:9998 - registration status: 204 +2019-02-19 14:48:29.873 INFO 8088 --- [main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 2147483647 +2019-02-19 14:48:29.877 INFO 8088 --- [main] ration$HystrixMetricsPollerConfiguration : Starting poller +2019-02-19 14:48:29.967 INFO 8088 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 9998 (http) +2019-02-19 14:48:29.968 INFO 8088 --- [main] .s.c.n.e.s.EurekaAutoServiceRegistration : Updating port to 9998 +2019-02-19 14:48:29.977 INFO 8088 --- [main] com.fly.admin.AdminServiceApplication : Started AdminServiceApplication in 15.39 seconds (JVM running for 17.069) +2019-02-19 14:48:30.641 INFO 8088 --- [RMI TCP Connection(1)-192.168.0.189] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 14:48:32.304 INFO 8088 --- [RMI TCP Connection(1)-192.168.0.189] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 14:48:36.149 INFO 8088 --- [updateTask1] d.c.boot.admin.registry.StatusUpdater : Couldn't retrieve status for Application [id=c154e593, name=UAA-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:9999/, healthUrl=http://DESKTOP-NFQ5HUN:9999/health, serviceUrl=http://DESKTOP-NFQ5HUN:9999/] + +org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://DESKTOP-NFQ5HUN:9999/health": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666) + at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:628) + at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:549) + at de.codecentric.boot.admin.web.client.ApplicationOperations.doGet(ApplicationOperations.java:68) + at de.codecentric.boot.admin.web.client.ApplicationOperations.getHealth(ApplicationOperations.java:58) + at de.codecentric.boot.admin.registry.StatusUpdater.queryStatus(StatusUpdater.java:111) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatus(StatusUpdater.java:65) + at de.codecentric.boot.admin.registry.StatusUpdateApplicationListener$1.run(StatusUpdateApplicationListener.java:47) + at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) + at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) + at java.util.concurrent.FutureTask.run(FutureTask.java:266) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) + at java.lang.Thread.run(Thread.java:745) +Caused by: java.net.SocketTimeoutException: Read timed out + at java.net.SocketInputStream.socketRead0(Native Method) + at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) + at java.net.SocketInputStream.read(SocketInputStream.java:170) + at java.net.SocketInputStream.read(SocketInputStream.java:141) + at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) + at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) + at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) + at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) + at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) + at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165) + at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) + at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89) + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53) + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:652) + ... 15 common frames omitted + +2019-02-19 14:48:41.153 INFO 8088 --- [updateTask1] d.c.boot.admin.registry.StatusUpdater : Couldn't retrieve status for Application [id=367b3dfe, name=MONITOR-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:8766/, healthUrl=http://DESKTOP-NFQ5HUN:8766/health, serviceUrl=http://DESKTOP-NFQ5HUN:8766/] + +org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://DESKTOP-NFQ5HUN:8766/health": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666) + at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:628) + at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:549) + at de.codecentric.boot.admin.web.client.ApplicationOperations.doGet(ApplicationOperations.java:68) + at de.codecentric.boot.admin.web.client.ApplicationOperations.getHealth(ApplicationOperations.java:58) + at de.codecentric.boot.admin.registry.StatusUpdater.queryStatus(StatusUpdater.java:111) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatus(StatusUpdater.java:65) + at de.codecentric.boot.admin.registry.StatusUpdateApplicationListener$1.run(StatusUpdateApplicationListener.java:47) + at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) + at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) + at java.util.concurrent.FutureTask.run(FutureTask.java:266) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) + at java.lang.Thread.run(Thread.java:745) +Caused by: java.net.SocketTimeoutException: Read timed out + at java.net.SocketInputStream.socketRead0(Native Method) + at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) + at java.net.SocketInputStream.read(SocketInputStream.java:170) + at java.net.SocketInputStream.read(SocketInputStream.java:141) + at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) + at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) + at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) + at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) + at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) + at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165) + at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) + at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89) + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53) + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:652) + ... 15 common frames omitted + +2019-02-19 14:48:46.157 INFO 8088 --- [updateTask1] d.c.boot.admin.registry.StatusUpdater : Couldn't retrieve status for Application [id=a261752a, name=GATEWAY-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:5000/, healthUrl=http://DESKTOP-NFQ5HUN:5000/health, serviceUrl=http://DESKTOP-NFQ5HUN:5000/] + +org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://DESKTOP-NFQ5HUN:5000/health": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666) + at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:628) + at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:549) + at de.codecentric.boot.admin.web.client.ApplicationOperations.doGet(ApplicationOperations.java:68) + at de.codecentric.boot.admin.web.client.ApplicationOperations.getHealth(ApplicationOperations.java:58) + at de.codecentric.boot.admin.registry.StatusUpdater.queryStatus(StatusUpdater.java:111) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatus(StatusUpdater.java:65) + at de.codecentric.boot.admin.registry.StatusUpdateApplicationListener$1.run(StatusUpdateApplicationListener.java:47) + at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) + at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) + at java.util.concurrent.FutureTask.run(FutureTask.java:266) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) + at java.lang.Thread.run(Thread.java:745) +Caused by: java.net.SocketTimeoutException: Read timed out + at java.net.SocketInputStream.socketRead0(Native Method) + at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) + at java.net.SocketInputStream.read(SocketInputStream.java:170) + at java.net.SocketInputStream.read(SocketInputStream.java:141) + at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) + at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) + at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) + at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) + at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) + at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165) + at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) + at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89) + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53) + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:652) + ... 15 common frames omitted + +2019-02-19 14:48:54.008 INFO 8088 --- [updateTask1] d.c.boot.admin.registry.StatusUpdater : Couldn't retrieve status for Application [id=196166ac, name=ZIPKIN-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:9411/, healthUrl=http://DESKTOP-NFQ5HUN:9411/health, serviceUrl=http://DESKTOP-NFQ5HUN:9411/] + +org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://DESKTOP-NFQ5HUN:9411/health": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666) + at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:628) + at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:549) + at de.codecentric.boot.admin.web.client.ApplicationOperations.doGet(ApplicationOperations.java:68) + at de.codecentric.boot.admin.web.client.ApplicationOperations.getHealth(ApplicationOperations.java:58) + at de.codecentric.boot.admin.registry.StatusUpdater.queryStatus(StatusUpdater.java:111) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatus(StatusUpdater.java:65) + at de.codecentric.boot.admin.registry.StatusUpdateApplicationListener$1.run(StatusUpdateApplicationListener.java:47) + at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) + at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) + at java.util.concurrent.FutureTask.run(FutureTask.java:266) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) + at java.lang.Thread.run(Thread.java:745) +Caused by: java.net.SocketTimeoutException: Read timed out + at java.net.SocketInputStream.socketRead0(Native Method) + at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) + at java.net.SocketInputStream.read(SocketInputStream.java:170) + at java.net.SocketInputStream.read(SocketInputStream.java:141) + at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) + at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) + at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) + at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) + at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) + at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165) + at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) + at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89) + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53) + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:652) + ... 15 common frames omitted + +2019-02-19 14:48:59.012 INFO 8088 --- [updateTask1] d.c.boot.admin.registry.StatusUpdater : Couldn't retrieve status for Application [id=8b08fa7f, name=USER-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:8762/, healthUrl=http://DESKTOP-NFQ5HUN:8762/health, serviceUrl=http://DESKTOP-NFQ5HUN:8762/] + +org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://DESKTOP-NFQ5HUN:8762/health": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666) + at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:628) + at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:549) + at de.codecentric.boot.admin.web.client.ApplicationOperations.doGet(ApplicationOperations.java:68) + at de.codecentric.boot.admin.web.client.ApplicationOperations.getHealth(ApplicationOperations.java:58) + at de.codecentric.boot.admin.registry.StatusUpdater.queryStatus(StatusUpdater.java:111) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatus(StatusUpdater.java:65) + at de.codecentric.boot.admin.registry.StatusUpdateApplicationListener$1.run(StatusUpdateApplicationListener.java:47) + at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) + at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) + at java.util.concurrent.FutureTask.run(FutureTask.java:266) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) + at java.lang.Thread.run(Thread.java:745) +Caused by: java.net.SocketTimeoutException: Read timed out + at java.net.SocketInputStream.socketRead0(Native Method) + at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) + at java.net.SocketInputStream.read(SocketInputStream.java:170) + at java.net.SocketInputStream.read(SocketInputStream.java:141) + at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) + at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) + at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) + at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) + at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) + at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165) + at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) + at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89) + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53) + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:652) + ... 15 common frames omitted + +2019-02-19 14:48:59.671 INFO 8088 --- [DiscoveryClient-CacheRefreshExecutor-0] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=f6e112d2, name=ADMIN-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:9998/, healthUrl=http://DESKTOP-NFQ5HUN:9998/health, serviceUrl=http://DESKTOP-NFQ5HUN:9998/] registered +2019-02-19 14:49:06.918 INFO 8088 --- [http-nio-9998-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring FrameworkServlet 'dispatcherServlet' +2019-02-19 14:49:06.918 INFO 8088 --- [http-nio-9998-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started +2019-02-19 14:49:06.963 INFO 8088 --- [http-nio-9998-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 44 ms +2019-02-19 14:49:07.233 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/turbine/stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.233 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.233 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.233 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.234 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.234 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.234 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.234 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.234 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.234 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.234 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.234 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.234 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.234 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.234 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.234 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.235 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.235 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.235 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.235 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.235 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.235 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.235 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.235 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.235 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.236 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.237 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.237 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.237 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.237 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.237 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.237 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.237 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.237 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.237 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.237 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.237 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.237 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.238 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.239 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.240 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.241 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.242 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.242 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.242 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.242 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.242 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.242 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.242 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.242 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.242 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.242 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.242 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:07.242 INFO 8088 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 14:49:28.926 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 14:49:28.926 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 14:49:28.927 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 14:49:28.927 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 14:50:28.926 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 14:50:28.926 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 14:50:28.926 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 14:50:28.926 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 14:51:28.927 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 14:51:28.930 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 14:51:28.931 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 14:51:28.931 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 14:52:28.928 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 14:52:28.928 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 14:52:28.928 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 14:52:28.929 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 14:53:28.928 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 14:53:28.928 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 14:53:28.928 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 14:53:28.928 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 14:53:29.491 INFO 8088 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 14:53:39.995 INFO 8088 --- [http-nio-9998-exec-5] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 14:53:42.982 INFO 8088 --- [http-nio-9998-exec-5] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 14:54:28.928 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 14:54:28.928 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 14:54:28.928 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 14:54:28.928 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 14:55:28.929 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 14:55:28.929 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 14:55:28.929 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 14:55:28.929 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 14:56:28.930 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 14:56:28.930 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 14:56:28.930 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 14:56:28.930 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 14:57:28.930 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 14:57:28.930 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 14:57:28.931 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 14:57:28.931 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 14:58:28.930 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 14:58:28.930 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 14:58:28.930 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 14:58:28.930 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 14:58:29.493 INFO 8088 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 14:58:40.095 INFO 8088 --- [http-nio-9998-exec-1] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 14:58:45.010 INFO 8088 --- [updateTask1] d.c.boot.admin.registry.StatusUpdater : Couldn't retrieve status for Application [id=f6e112d2, name=ADMIN-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:9998/, healthUrl=http://DESKTOP-NFQ5HUN:9998/health, serviceUrl=http://DESKTOP-NFQ5HUN:9998/] + +org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://DESKTOP-NFQ5HUN:9998/health": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666) + at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:628) + at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:549) + at de.codecentric.boot.admin.web.client.ApplicationOperations.doGet(ApplicationOperations.java:68) + at de.codecentric.boot.admin.web.client.ApplicationOperations.getHealth(ApplicationOperations.java:58) + at de.codecentric.boot.admin.registry.StatusUpdater.queryStatus(StatusUpdater.java:111) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatus(StatusUpdater.java:65) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatusForAllApplications(StatusUpdater.java:58) + at de.codecentric.boot.admin.registry.StatusUpdateApplicationListener$2.run(StatusUpdateApplicationListener.java:60) + at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) + at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) + at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) + at java.lang.Thread.run(Thread.java:745) +Caused by: java.net.SocketTimeoutException: Read timed out + at java.net.SocketInputStream.socketRead0(Native Method) + at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) + at java.net.SocketInputStream.read(SocketInputStream.java:170) + at java.net.SocketInputStream.read(SocketInputStream.java:141) + at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) + at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) + at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) + at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) + at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) + at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165) + at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) + at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89) + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53) + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:652) + ... 16 common frames omitted + +2019-02-19 14:58:45.095 INFO 8088 --- [http-nio-9998-exec-1] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 14:59:29.108 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 14:59:29.109 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 14:59:29.109 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 14:59:29.109 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:00:29.109 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:00:29.109 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:00:29.109 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:00:29.109 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:01:29.109 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:01:29.109 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:01:29.109 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:01:29.109 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:02:29.110 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:02:29.110 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:02:29.110 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:02:29.110 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:03:29.111 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:03:29.111 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:03:29.112 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:03:29.112 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:03:29.494 INFO 8088 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 15:03:59.992 INFO 8088 --- [http-nio-9998-exec-1] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 15:04:00.301 INFO 8088 --- [http-nio-9998-exec-1] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 15:04:29.112 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:04:29.112 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:04:29.113 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:04:29.114 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:05:29.112 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:05:29.112 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:05:29.112 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:05:29.113 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:06:29.112 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:06:29.112 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:06:29.112 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:06:29.112 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:07:29.113 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:07:29.113 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:07:29.114 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:07:29.114 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:08:29.113 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:08:29.113 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:08:29.113 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:08:29.113 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:08:29.496 INFO 8088 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 15:09:19.991 INFO 8088 --- [http-nio-9998-exec-7] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 15:09:20.984 INFO 8088 --- [http-nio-9998-exec-7] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 15:09:29.118 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:09:29.119 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:09:29.119 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:09:29.119 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:10:19.171 INFO 8088 --- [updateTask1] d.c.boot.admin.registry.StatusUpdater : Couldn't retrieve status for Application [id=196166ac, name=ZIPKIN-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:9411/, healthUrl=http://DESKTOP-NFQ5HUN:9411/health, serviceUrl=http://DESKTOP-NFQ5HUN:9411/] + +org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://DESKTOP-NFQ5HUN:9411/health": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666) + at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:628) + at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:549) + at de.codecentric.boot.admin.web.client.ApplicationOperations.doGet(ApplicationOperations.java:68) + at de.codecentric.boot.admin.web.client.ApplicationOperations.getHealth(ApplicationOperations.java:58) + at de.codecentric.boot.admin.registry.StatusUpdater.queryStatus(StatusUpdater.java:111) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatus(StatusUpdater.java:65) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatusForAllApplications(StatusUpdater.java:58) + at de.codecentric.boot.admin.registry.StatusUpdateApplicationListener$2.run(StatusUpdateApplicationListener.java:60) + at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) + at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) + at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) + at java.lang.Thread.run(Thread.java:745) +Caused by: java.net.SocketTimeoutException: Read timed out + at java.net.SocketInputStream.socketRead0(Native Method) + at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) + at java.net.SocketInputStream.read(SocketInputStream.java:170) + at java.net.SocketInputStream.read(SocketInputStream.java:141) + at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) + at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) + at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) + at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) + at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) + at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165) + at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) + at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89) + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53) + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:652) + ... 16 common frames omitted + +2019-02-19 15:10:24.176 INFO 8088 --- [updateTask1] d.c.boot.admin.registry.StatusUpdater : Couldn't retrieve status for Application [id=8b08fa7f, name=USER-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:8762/, healthUrl=http://DESKTOP-NFQ5HUN:8762/health, serviceUrl=http://DESKTOP-NFQ5HUN:8762/] + +org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://DESKTOP-NFQ5HUN:8762/health": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666) + at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:628) + at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:549) + at de.codecentric.boot.admin.web.client.ApplicationOperations.doGet(ApplicationOperations.java:68) + at de.codecentric.boot.admin.web.client.ApplicationOperations.getHealth(ApplicationOperations.java:58) + at de.codecentric.boot.admin.registry.StatusUpdater.queryStatus(StatusUpdater.java:111) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatus(StatusUpdater.java:65) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatusForAllApplications(StatusUpdater.java:58) + at de.codecentric.boot.admin.registry.StatusUpdateApplicationListener$2.run(StatusUpdateApplicationListener.java:60) + at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) + at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) + at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) + at java.lang.Thread.run(Thread.java:745) +Caused by: java.net.SocketTimeoutException: Read timed out + at java.net.SocketInputStream.socketRead0(Native Method) + at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) + at java.net.SocketInputStream.read(SocketInputStream.java:170) + at java.net.SocketInputStream.read(SocketInputStream.java:141) + at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) + at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) + at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) + at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) + at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) + at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165) + at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) + at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89) + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53) + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:652) + ... 16 common frames omitted + +2019-02-19 15:10:29.118 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:10:29.118 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:10:29.118 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:10:29.119 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:11:29.119 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:11:29.120 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:11:29.120 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:11:29.120 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:12:29.119 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:12:29.119 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:12:29.119 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:12:29.119 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:13:29.120 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:13:29.120 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:13:29.120 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:13:29.120 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:13:29.496 INFO 8088 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 15:14:20.026 INFO 8088 --- [http-nio-9998-exec-4] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 15:14:20.233 INFO 8088 --- [http-nio-9998-exec-4] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 15:14:29.121 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:14:29.121 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:14:29.121 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:14:29.121 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:15:29.122 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:15:29.122 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:15:29.122 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:15:29.122 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:16:29.124 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:16:29.124 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:16:29.124 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:16:29.124 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:17:29.125 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:17:29.125 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:17:29.125 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:17:29.125 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:18:29.125 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:18:29.125 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:18:29.125 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:18:29.125 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:18:29.498 INFO 8088 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 15:19:20.013 INFO 8088 --- [http-nio-9998-exec-5] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 15:19:20.224 INFO 8088 --- [http-nio-9998-exec-5] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 15:19:29.126 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:19:29.126 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:19:29.126 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:19:29.127 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:20:29.127 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:20:29.127 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:20:29.127 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:20:29.127 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:21:29.127 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:21:29.127 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:21:29.127 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:21:29.128 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:22:29.127 INFO 8088 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:22:29.127 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:22:29.128 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:22:29.128 INFO 8088 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:23:35.503 INFO 16908 --- [main] com.fly.admin.AdminServiceApplication : The following profiles are active: pro +2019-02-19 15:23:35.529 INFO 16908 --- [main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1fcb4808: startup date [Tue Feb 19 15:23:35 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@1e6454ec +2019-02-19 15:23:37.217 INFO 16908 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'counterFactory' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.netflix.zuul.ZuulServerAutoConfiguration$ZuulMetricsConfiguration; factoryMethodName=counterFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/netflix/zuul/ZuulServerAutoConfiguration$ZuulMetricsConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.netflix.zuul.ZuulServerAutoConfiguration$ZuulCounterFactoryConfiguration; factoryMethodName=counterFactory; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/netflix/zuul/ZuulServerAutoConfiguration$ZuulCounterFactoryConfiguration.class]] +2019-02-19 15:23:37.248 INFO 16908 --- [main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'zuulRefreshRoutesListener' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.cloud.netflix.zuul.ZuulServerAutoConfiguration; factoryMethodName=zuulRefreshRoutesListener; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/cloud/netflix/zuul/ZuulServerAutoConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=de.codecentric.boot.admin.config.RevereseZuulProxyConfiguration; factoryMethodName=zuulRefreshRoutesListener; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [de/codecentric/boot/admin/config/RevereseZuulProxyConfiguration.class]] +2019-02-19 15:23:37.436 INFO 16908 --- [main] o.s.cloud.context.scope.GenericScope : BeanFactory id=a1679086-aa08-3a4e-bc8c-f34ace377f17 +2019-02-19 15:23:37.455 INFO 16908 --- [main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring +2019-02-19 15:23:37.607 INFO 16908 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.netflix.metrics.MetricsInterceptorConfiguration$MetricsRestTemplateConfiguration' of type [org.springframework.cloud.netflix.metrics.MetricsInterceptorConfiguration$MetricsRestTemplateConfiguration$$EnhancerBySpringCGLIB$$24005542] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2019-02-19 15:23:37.840 INFO 16908 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$dedb1fe] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2019-02-19 15:23:44.213 INFO 16908 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 9998 (http) +2019-02-19 15:23:44.255 INFO 16908 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +2019-02-19 15:23:44.257 INFO 16908 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.23 +2019-02-19 15:23:46.329 INFO 16908 --- [localhost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +2019-02-19 15:23:46.331 INFO 16908 --- [localhost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 10802 ms +2019-02-19 15:23:47.000 INFO 16908 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/*] +2019-02-19 15:23:47.001 INFO 16908 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*] +2019-02-19 15:23:47.001 INFO 16908 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*] +2019-02-19 15:23:47.001 INFO 16908 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*] +2019-02-19 15:23:47.001 INFO 16908 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*] +2019-02-19 15:23:47.003 INFO 16908 --- [localhost-startStop-1] .s.DelegatingFilterProxyRegistrationBean : Mapping filter: 'springSecurityFilterChain' to: [/*] +2019-02-19 15:23:47.003 INFO 16908 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*] +2019-02-19 15:23:47.004 INFO 16908 --- [localhost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*] +2019-02-19 15:23:47.004 INFO 16908 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'turbineStreamServlet' to [/turbine.stream] +2019-02-19 15:23:47.005 INFO 16908 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'proxyStreamServlet' to [/proxy.stream] +2019-02-19 15:23:47.005 INFO 16908 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/] +2019-02-19 15:23:47.006 INFO 16908 --- [localhost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'zuulServlet' to [/zuul/*] +2019-02-19 15:23:48.047 INFO 16908 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : jolokia: No access restrictor found, access to any MBean is allowed +2019-02-19 15:23:49.931 INFO 16908 --- [main] o.s.ui.freemarker.SpringTemplateLoader : SpringTemplateLoader for FreeMarker: using resource loader [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1fcb4808: startup date [Tue Feb 19 15:23:35 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@1e6454ec] and template loader path [classpath:/templates/] +2019-02-19 15:23:49.932 INFO 16908 --- [main] o.s.w.s.v.f.FreeMarkerConfigurer : ClassTemplateLoader for Spring macros added to FreeMarker configuration +2019-02-19 15:23:50.295 WARN 16908 --- [main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources. +2019-02-19 15:23:50.295 INFO 16908 --- [main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. +2019-02-19 15:23:50.304 INFO 16908 --- [main] c.netflix.config.DynamicPropertyFactory : DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@b0f2d91 +2019-02-19 15:23:52.557 WARN 16908 --- [main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources. +2019-02-19 15:23:52.558 INFO 16908 --- [main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. +2019-02-19 15:23:52.832 INFO 16908 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1fcb4808: startup date [Tue Feb 19 15:23:35 CST 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@1e6454ec +2019-02-19 15:23:53.014 INFO 16908 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hystrix/{path}]}" onto public java.lang.String org.springframework.cloud.netflix.hystrix.dashboard.HystrixDashboardController.monitor(java.lang.String,org.springframework.ui.Model,org.springframework.web.context.request.WebRequest) +2019-02-19 15:23:53.015 INFO 16908 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/hystrix]}" onto public java.lang.String org.springframework.cloud.netflix.hystrix.dashboard.HystrixDashboardController.home(org.springframework.ui.Model,org.springframework.web.context.request.WebRequest) +2019-02-19 15:23:53.019 INFO 16908 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest) +2019-02-19 15:23:53.019 INFO 16908 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) +2019-02-19 15:23:53.027 INFO 16908 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/turbine/clusters],methods=[GET]}" onto public java.util.Map spring.boot.admin.turbine.web.TurbineController.getClusters() +2019-02-19 15:23:53.029 INFO 16908 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/applications/{id}],methods=[GET]}" onto public org.springframework.http.ResponseEntity de.codecentric.boot.admin.registry.web.RegistryController.get(java.lang.String) +2019-02-19 15:23:53.029 INFO 16908 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/applications],methods=[POST]}" onto public org.springframework.http.ResponseEntity de.codecentric.boot.admin.registry.web.RegistryController.register(de.codecentric.boot.admin.model.Application,org.springframework.web.util.UriComponentsBuilder) +2019-02-19 15:23:53.029 INFO 16908 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/applications/{id}],methods=[DELETE]}" onto public org.springframework.http.ResponseEntity de.codecentric.boot.admin.registry.web.RegistryController.unregister(java.lang.String) +2019-02-19 15:23:53.030 INFO 16908 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/applications],methods=[GET]}" onto public java.util.Collection de.codecentric.boot.admin.registry.web.RegistryController.applications(java.lang.String) +2019-02-19 15:23:53.032 INFO 16908 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/journal],produces=[application/json]}" onto public java.util.Collection de.codecentric.boot.admin.journal.web.JournalController.getJournal() +2019-02-19 15:23:53.032 INFO 16908 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/api/journal],produces=[text/event-stream]}" onto public org.springframework.web.servlet.mvc.method.annotation.SseEmitter de.codecentric.boot.admin.journal.web.JournalController.getJournalEvents() +2019-02-19 15:23:53.147 INFO 16908 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Root mapping to handler of type [class org.springframework.web.servlet.mvc.ParameterizableViewController] +2019-02-19 15:23:53.190 WARN 16908 --- [main] o.s.w.s.r.ResourceHttpRequestHandler : Locations list is empty. No resources will be served unless a custom ResourceResolver is configured as an alternative to PathResourceResolver. +2019-02-19 15:23:53.191 WARN 16908 --- [main] o.s.w.s.r.ResourceHttpRequestHandler : Locations list is empty. No resources will be served unless a custom ResourceResolver is configured as an alternative to PathResourceResolver. +2019-02-19 15:23:53.193 INFO 16908 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] +2019-02-19 15:23:53.194 INFO 16908 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] +2019-02-19 15:23:53.195 INFO 16908 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/all-modules.css] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] +2019-02-19 15:23:53.196 INFO 16908 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/all-modules.js] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] +2019-02-19 15:23:53.306 INFO 16908 --- [main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] +2019-02-19 15:23:54.975 INFO 16908 --- [main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/css/**'], Ant [pattern='/js/**'], Ant [pattern='/images/**'], Ant [pattern='/webjars/**'], Ant [pattern='/**/favicon.ico'], Ant [pattern='/error']]], [] +2019-02-19 15:23:54.975 INFO 16908 --- [main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: org.springframework.boot.actuate.autoconfigure.ManagementWebSecurityAutoConfiguration$LazyEndpointPathRequestMatcher@40013051, [] +2019-02-19 15:23:55.158 INFO 16908 --- [main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: org.springframework.security.web.util.matcher.AnyRequestMatcher@1, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@527d5e48, org.springframework.security.web.context.SecurityContextPersistenceFilter@69a76b74, org.springframework.security.web.header.HeaderWriterFilter@2548fc01, org.springframework.security.web.authentication.logout.LogoutFilter@7809b43a, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@5e020dd1, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@68f69ca3, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7e691624, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@23e9dd78, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@407b41e6, org.springframework.security.web.session.SessionManagementFilter@5f67181f, org.springframework.security.web.access.ExceptionTranslationFilter@2b41b8bb, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@620572db] +2019-02-19 15:23:55.169 INFO 16908 --- [main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/**']]], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@131777e8, org.springframework.security.web.context.SecurityContextPersistenceFilter@6edd4fe2, org.springframework.security.web.header.HeaderWriterFilter@497921d0, org.springframework.security.web.authentication.logout.LogoutFilter@1b6cad77, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1fca53a7, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@53918b5e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5366575d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@45790cb, org.springframework.security.web.session.SessionManagementFilter@40d10264, org.springframework.security.web.access.ExceptionTranslationFilter@2773504f, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@1868ed54] +2019-02-19 15:23:56.794 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/hystrix.stream/**]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.cloud.netflix.endpoint.ServletWrappingEndpoint.handle(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception +2019-02-19 15:23:56.794 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.context.environment.EnvironmentManagerMvcEndpoint.value(java.util.Map) +2019-02-19 15:23:56.795 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env/reset],methods=[POST]}" onto public java.util.Map org.springframework.cloud.context.environment.EnvironmentManagerMvcEndpoint.reset() +2019-02-19 15:23:56.796 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.796 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/archaius || /archaius.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.796 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.798 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal) +2019-02-19 15:23:56.799 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/refresh || /refresh.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke() +2019-02-19 15:23:56.803 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String) +2019-02-19 15:23:56.803 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map) +2019-02-19 15:23:56.803 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.804 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String) +2019-02-19 15:23:56.804 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.805 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String) +2019-02-19 15:23:56.805 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.806 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.806 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.809 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.809 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/service-registry/instance-status],methods=[POST]}" onto public org.springframework.http.ResponseEntity org.springframework.cloud.client.serviceregistry.endpoint.ServiceRegistryEndpoint.setStatus(java.lang.String) +2019-02-19 15:23:56.810 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/service-registry/instance-status],methods=[GET]}" onto public org.springframework.http.ResponseEntity org.springframework.cloud.client.serviceregistry.endpoint.ServiceRegistryEndpoint.getStatus() +2019-02-19 15:23:56.810 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/routes || /routes.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.811 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/logfile || /logfile.json],methods=[GET || HEAD]}" onto public void org.springframework.boot.actuate.endpoint.mvc.LogFileMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws javax.servlet.ServletException,java.io.IOException +2019-02-19 15:23:56.811 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/features || /features.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.812 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.812 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() +2019-02-19 15:23:56.813 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/jolokia/**]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.actuate.endpoint.mvc.JolokiaMvcEndpoint.handle(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception +2019-02-19 15:23:56.814 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public org.springframework.http.ResponseEntity org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String) +2019-02-19 15:23:56.814 INFO 16908 --- [main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException +2019-02-19 15:23:57.892 INFO 16908 --- [main] o.s.c.n.zuul.ZuulFilterInitializer : Starting filter initializer +2019-02-19 15:23:58.031 INFO 16908 --- [main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'updateTaskScheduler' +2019-02-19 15:23:58.083 INFO 16908 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/turbine/clusters],methods=[GET]}" onto public java.util.Map spring.boot.admin.turbine.web.TurbineController.getClusters() +2019-02-19 15:23:58.084 INFO 16908 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/applications/{id}],methods=[GET]}" onto public org.springframework.http.ResponseEntity de.codecentric.boot.admin.registry.web.RegistryController.get(java.lang.String) +2019-02-19 15:23:58.084 INFO 16908 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/applications],methods=[POST]}" onto public org.springframework.http.ResponseEntity de.codecentric.boot.admin.registry.web.RegistryController.register(de.codecentric.boot.admin.model.Application,org.springframework.web.util.UriComponentsBuilder) +2019-02-19 15:23:58.084 INFO 16908 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/applications/{id}],methods=[DELETE]}" onto public org.springframework.http.ResponseEntity de.codecentric.boot.admin.registry.web.RegistryController.unregister(java.lang.String) +2019-02-19 15:23:58.084 INFO 16908 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/applications],methods=[GET]}" onto public java.util.Collection de.codecentric.boot.admin.registry.web.RegistryController.applications(java.lang.String) +2019-02-19 15:23:58.085 INFO 16908 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/journal],produces=[application/json]}" onto public java.util.Collection de.codecentric.boot.admin.journal.web.JournalController.getJournal() +2019-02-19 15:23:58.085 INFO 16908 --- [main] d.c.boot.admin.web.PrefixHandlerMapping : Mapped "{[/api/journal],produces=[text/event-stream]}" onto public org.springframework.web.servlet.mvc.method.annotation.SseEmitter de.codecentric.boot.admin.journal.web.JournalController.getJournalEvents() +2019-02-19 15:23:58.206 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup +2019-02-19 15:23:58.218 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'environmentManager' has been autodetected for JMX exposure +2019-02-19 15:23:58.222 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'configurationPropertiesRebinder' has been autodetected for JMX exposure +2019-02-19 15:23:58.222 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'refreshEndpoint' has been autodetected for JMX exposure +2019-02-19 15:23:58.223 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'serviceRegistryEndpoint' has been autodetected for JMX exposure +2019-02-19 15:23:58.225 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'zuulEndpoint' has been autodetected for JMX exposure +2019-02-19 15:23:58.225 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'refreshScope' has been autodetected for JMX exposure +2019-02-19 15:23:58.227 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'environmentManager': registering with JMX server as MBean [org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager] +2019-02-19 15:23:58.266 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'serviceRegistryEndpoint': registering with JMX server as MBean [org.springframework.cloud.client.serviceregistry.endpoint:name=serviceRegistryEndpoint,type=ServiceRegistryEndpoint] +2019-02-19 15:23:58.273 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'refreshScope': registering with JMX server as MBean [org.springframework.cloud.context.scope.refresh:name=refreshScope,type=RefreshScope] +2019-02-19 15:23:58.287 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'zuulEndpoint': registering with JMX server as MBean [org.springframework.cloud.netflix.zuul:name=zuulEndpoint,type=RoutesEndpoint] +2019-02-19 15:23:58.289 WARN 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Bean with key 'zuulEndpoint' has been registered as an MBean but has no exposed attributes or operations +2019-02-19 15:23:58.291 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'configurationPropertiesRebinder': registering with JMX server as MBean [org.springframework.cloud.context.properties:name=configurationPropertiesRebinder,context=1fcb4808,type=ConfigurationPropertiesRebinder] +2019-02-19 15:23:58.294 INFO 16908 --- [main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'refreshEndpoint': registering with JMX server as MBean [org.springframework.cloud.endpoint:name=refreshEndpoint,type=RefreshEndpoint] +2019-02-19 15:23:58.550 INFO 16908 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : jolokia: No access restrictor found, access to any MBean is allowed +2019-02-19 15:23:58.559 INFO 16908 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : jolokia: jolokia:type=Config is already registered. Adding it with jolokia:type=Config,uuid=60127e76-b04b-47e2-aa03-a46466932a30, but you should revise your setup in order to either use a qualifier or ensure, that only a single agent gets registered (otherwise history functionality might not work) +2019-02-19 15:23:58.560 INFO 16908 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : jolokia: Cannot register (legacy) MBean handler for config store with name jmx4perl:type=Config since it already exists. This is the case if another agent has been already started within the same JVM. The registration is skipped. +2019-02-19 15:23:58.560 INFO 16908 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : jolokia: Jolokia Discovery MBean registration is skipped because there is already one registered. +2019-02-19 15:23:58.659 INFO 16908 --- [main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 0 +2019-02-19 15:23:58.663 INFO 16908 --- [main] o.s.c.n.turbine.SpringAggregatorFactory : Could not find monitors: [] +2019-02-19 15:23:58.799 INFO 16908 --- [main] c.n.t.monitor.cluster.ClusterMonitor : Registering event handler for cluster monitor: StaticListener_For_Aggregator +2019-02-19 15:23:58.801 INFO 16908 --- [main] c.n.t.handler.TurbineDataDispatcher : + +Just added and starting handler tuple: StaticListener_For_Aggregator +2019-02-19 15:23:58.801 INFO 16908 --- [main] c.n.t.monitor.cluster.ClusterMonitor : All event handlers for cluster monitor: [StaticListener_For_Aggregator] +2019-02-19 15:23:58.801 INFO 16908 --- [main] c.n.t.monitor.cluster.ClusterMonitor : Starting up the cluster monitor for default_agg +2019-02-19 15:23:58.804 INFO 16908 --- [main] c.n.t.discovery.InstanceObservable : Starting InstanceObservable at frequency: 60000 millis +2019-02-19 15:23:58.804 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:23:58.804 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:23:58.804 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:23:58.804 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:23:58.812 INFO 16908 --- [main] o.s.c.n.eureka.InstanceInfoFactory : Setting initial instance status as: STARTING +2019-02-19 15:23:58.938 INFO 16908 --- [main] com.netflix.discovery.DiscoveryClient : Initializing Eureka in region us-east-1 +2019-02-19 15:23:59.000 INFO 16908 --- [main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON encoding codec LegacyJacksonJson +2019-02-19 15:23:59.000 INFO 16908 --- [main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON decoding codec LegacyJacksonJson +2019-02-19 15:23:59.313 INFO 16908 --- [main] c.n.d.provider.DiscoveryJerseyProvider : Using XML encoding codec XStreamXml +2019-02-19 15:23:59.314 INFO 16908 --- [main] c.n.d.provider.DiscoveryJerseyProvider : Using XML decoding codec XStreamXml +2019-02-19 15:23:59.562 INFO 16908 --- [main] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 15:23:59.672 INFO 16908 --- [main] com.netflix.discovery.DiscoveryClient : Disable delta property : false +2019-02-19 15:23:59.672 INFO 16908 --- [main] com.netflix.discovery.DiscoveryClient : Single vip registry refresh property : null +2019-02-19 15:23:59.672 INFO 16908 --- [main] com.netflix.discovery.DiscoveryClient : Force full registry fetch : false +2019-02-19 15:23:59.672 INFO 16908 --- [main] com.netflix.discovery.DiscoveryClient : Application is null : false +2019-02-19 15:23:59.672 INFO 16908 --- [main] com.netflix.discovery.DiscoveryClient : Registered Applications size is zero : true +2019-02-19 15:23:59.673 INFO 16908 --- [main] com.netflix.discovery.DiscoveryClient : Application version is -1: true +2019-02-19 15:23:59.673 INFO 16908 --- [main] com.netflix.discovery.DiscoveryClient : Getting all instance registry info from the eureka server +2019-02-19 15:23:59.790 INFO 16908 --- [main] com.netflix.discovery.DiscoveryClient : The response status is 200 +2019-02-19 15:23:59.793 INFO 16908 --- [main] com.netflix.discovery.DiscoveryClient : Starting heartbeat executor: renew interval is: 30 +2019-02-19 15:23:59.795 INFO 16908 --- [main] c.n.discovery.InstanceInfoReplicator : InstanceInfoReplicator onDemand update allowed rate per min is 4 +2019-02-19 15:23:59.797 INFO 16908 --- [main] com.netflix.discovery.DiscoveryClient : Discovery Client initialized at timestamp 1550561039797 with initial instances count: 8 +2019-02-19 15:23:59.860 INFO 16908 --- [main] o.s.c.n.e.s.EurekaServiceRegistry : Registering application admin-service with eureka with status UP +2019-02-19 15:23:59.860 INFO 16908 --- [main] com.netflix.discovery.DiscoveryClient : Saw local status change event StatusChangeEvent [timestamp=1550561039860, current=UP, previous=STARTING] +2019-02-19 15:23:59.862 INFO 16908 --- [DiscoveryClient-InstanceInfoReplicator-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_ADMIN-SERVICE/DESKTOP-NFQ5HUN:admin-service:9998: registering service... +2019-02-19 15:23:59.868 INFO 16908 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=3f553ac1, name=BLOG-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:8763/, healthUrl=http://DESKTOP-NFQ5HUN:8763/health, serviceUrl=http://DESKTOP-NFQ5HUN:8763/] registered +2019-02-19 15:23:59.877 INFO 16908 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=c154e593, name=UAA-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:9999/, healthUrl=http://DESKTOP-NFQ5HUN:9999/health, serviceUrl=http://DESKTOP-NFQ5HUN:9999/] registered +2019-02-19 15:23:59.878 INFO 16908 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=367b3dfe, name=MONITOR-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:8766/, healthUrl=http://DESKTOP-NFQ5HUN:8766/health, serviceUrl=http://DESKTOP-NFQ5HUN:8766/] registered +2019-02-19 15:23:59.879 INFO 16908 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=f6e112d2, name=ADMIN-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:9998/, healthUrl=http://DESKTOP-NFQ5HUN:9998/health, serviceUrl=http://DESKTOP-NFQ5HUN:9998/] registered +2019-02-19 15:23:59.880 INFO 16908 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=a261752a, name=GATEWAY-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:5000/, healthUrl=http://DESKTOP-NFQ5HUN:5000/health, serviceUrl=http://DESKTOP-NFQ5HUN:5000/] registered +2019-02-19 15:23:59.881 INFO 16908 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=0dd5bdda, name=LOGGER-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:9997/, healthUrl=http://DESKTOP-NFQ5HUN:9997/health, serviceUrl=http://DESKTOP-NFQ5HUN:9997/] registered +2019-02-19 15:23:59.882 INFO 16908 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=196166ac, name=ZIPKIN-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:9411/, healthUrl=http://DESKTOP-NFQ5HUN:9411/health, serviceUrl=http://DESKTOP-NFQ5HUN:9411/] registered +2019-02-19 15:23:59.883 INFO 16908 --- [main] d.c.b.a.registry.ApplicationRegistry : New Application Application [id=8b08fa7f, name=USER-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:8762/, healthUrl=http://DESKTOP-NFQ5HUN:8762/health, serviceUrl=http://DESKTOP-NFQ5HUN:8762/] registered +2019-02-19 15:23:59.946 INFO 16908 --- [main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 2147483647 +2019-02-19 15:23:59.950 INFO 16908 --- [main] ration$HystrixMetricsPollerConfiguration : Starting poller +2019-02-19 15:23:59.950 INFO 16908 --- [DiscoveryClient-InstanceInfoReplicator-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_ADMIN-SERVICE/DESKTOP-NFQ5HUN:admin-service:9998 - registration status: 204 +2019-02-19 15:24:00.045 INFO 16908 --- [main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 9998 (http) +2019-02-19 15:24:00.046 INFO 16908 --- [main] .s.c.n.e.s.EurekaAutoServiceRegistration : Updating port to 9998 +2019-02-19 15:24:00.056 INFO 16908 --- [main] com.fly.admin.AdminServiceApplication : Started AdminServiceApplication in 32.77 seconds (JVM running for 37.64) +2019-02-19 15:24:00.476 INFO 16908 --- [RMI TCP Connection(1)-192.168.0.189] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 15:24:00.487 INFO 16908 --- [http-nio-9998-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring FrameworkServlet 'dispatcherServlet' +2019-02-19 15:24:00.487 INFO 16908 --- [http-nio-9998-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started +2019-02-19 15:24:00.533 INFO 16908 --- [http-nio-9998-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 46 ms +2019-02-19 15:24:00.552 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/turbine/stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.552 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.552 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.552 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.552 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.552 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.552 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.552 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/f6e112d2/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.553 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/0dd5bdda/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.554 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/a261752a/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.555 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/3f553ac1/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.556 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.575 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/c154e593/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.576 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/367b3dfe/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.577 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/196166ac/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/health/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/env/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/metrics/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/dump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/jolokia/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/info/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/configprops/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/trace/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/logfile/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/refresh/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/flyway/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/liquibase/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/heapdump/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/loggers/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/auditevents/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/hystrix.stream/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.578 INFO 16908 --- [http-nio-9998-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping : Mapped URL path [/api/applications/8b08fa7f/activiti/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController] +2019-02-19 15:24:00.602 INFO 16908 --- [http-nio-9998-exec-1] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 15:24:01.171 INFO 16908 --- [RMI TCP Connection(1)-192.168.0.189] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 15:24:01.202 INFO 16908 --- [http-nio-9998-exec-1] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 15:24:58.826 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:24:58.826 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:24:58.826 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:24:58.826 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:25:58.827 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:25:58.828 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:25:58.828 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:25:58.828 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:26:58.827 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:26:58.827 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:26:58.828 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:26:58.828 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:27:58.828 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:27:58.828 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:27:58.828 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:27:58.828 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:28:58.828 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:28:58.828 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:28:58.828 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:28:58.828 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:28:59.676 INFO 16908 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 15:29:20.072 INFO 16908 --- [http-nio-9998-exec-8] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 15:29:20.909 INFO 16908 --- [http-nio-9998-exec-8] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 15:29:58.829 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:29:58.829 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:29:58.829 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:29:58.829 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:30:58.830 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:30:58.830 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:30:58.830 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:30:58.831 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:31:58.830 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:31:58.830 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:31:58.830 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:31:58.830 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:32:58.831 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:32:58.831 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:32:58.831 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:32:58.831 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:33:58.831 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:33:58.831 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:33:58.831 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:33:58.831 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:33:59.679 INFO 16908 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 15:34:20.073 INFO 16908 --- [http-nio-9998-exec-3] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 15:34:20.855 INFO 16908 --- [http-nio-9998-exec-3] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 15:34:58.831 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:34:58.831 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:34:58.831 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:34:58.831 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:35:15.062 INFO 16908 --- [updateTask1] d.c.boot.admin.registry.StatusUpdater : Couldn't retrieve status for Application [id=3f553ac1, name=BLOG-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:8763/, healthUrl=http://DESKTOP-NFQ5HUN:8763/health, serviceUrl=http://DESKTOP-NFQ5HUN:8763/] + +org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://DESKTOP-NFQ5HUN:8763/health": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666) + at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:628) + at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:549) + at de.codecentric.boot.admin.web.client.ApplicationOperations.doGet(ApplicationOperations.java:68) + at de.codecentric.boot.admin.web.client.ApplicationOperations.getHealth(ApplicationOperations.java:58) + at de.codecentric.boot.admin.registry.StatusUpdater.queryStatus(StatusUpdater.java:111) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatus(StatusUpdater.java:65) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatusForAllApplications(StatusUpdater.java:58) + at de.codecentric.boot.admin.registry.StatusUpdateApplicationListener$2.run(StatusUpdateApplicationListener.java:60) + at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) + at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) + at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) + at java.lang.Thread.run(Thread.java:745) +Caused by: java.net.SocketTimeoutException: Read timed out + at java.net.SocketInputStream.socketRead0(Native Method) + at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) + at java.net.SocketInputStream.read(SocketInputStream.java:170) + at java.net.SocketInputStream.read(SocketInputStream.java:141) + at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) + at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) + at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) + at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) + at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) + at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165) + at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) + at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89) + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53) + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:652) + ... 16 common frames omitted + +2019-02-19 15:35:58.832 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:36:25.351 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:36:25.351 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:36:25.351 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:36:58.832 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:36:58.832 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:36:58.832 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:36:58.833 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:37:58.833 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:37:58.833 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:37:58.833 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:37:58.833 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:38:58.834 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:38:58.834 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:38:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:38:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:38:59.681 INFO 16908 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 15:39:40.081 INFO 16908 --- [http-nio-9998-exec-9] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 15:39:40.853 INFO 16908 --- [http-nio-9998-exec-9] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 15:39:58.834 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:39:58.834 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:39:58.834 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:39:58.834 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:40:58.835 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:40:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:40:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:40:58.836 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:41:58.835 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:41:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:41:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:41:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:42:58.835 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:42:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:42:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:42:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:43:58.835 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:43:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:43:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:43:58.835 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:43:59.682 INFO 16908 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 15:44:40.072 INFO 16908 --- [http-nio-9998-exec-4] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 15:44:40.307 INFO 16908 --- [http-nio-9998-exec-4] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 15:44:58.836 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:44:58.836 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:44:58.836 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:44:58.836 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:45:58.836 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:45:58.836 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:45:58.836 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:45:58.836 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:46:58.837 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:46:58.837 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:46:58.837 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:46:58.837 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:47:58.838 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:47:58.838 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:47:58.838 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:47:58.838 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:48:58.839 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:48:58.839 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:48:58.839 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:48:58.839 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:48:59.686 INFO 16908 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 15:49:25.173 INFO 16908 --- [updateTask1] d.c.boot.admin.registry.StatusUpdater : Couldn't retrieve status for Application [id=367b3dfe, name=MONITOR-SERVICE, managementUrl=http://DESKTOP-NFQ5HUN:8766/, healthUrl=http://DESKTOP-NFQ5HUN:8766/health, serviceUrl=http://DESKTOP-NFQ5HUN:8766/] + +org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://DESKTOP-NFQ5HUN:8766/health": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666) + at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:628) + at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:549) + at de.codecentric.boot.admin.web.client.ApplicationOperations.doGet(ApplicationOperations.java:68) + at de.codecentric.boot.admin.web.client.ApplicationOperations.getHealth(ApplicationOperations.java:58) + at de.codecentric.boot.admin.registry.StatusUpdater.queryStatus(StatusUpdater.java:111) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatus(StatusUpdater.java:65) + at de.codecentric.boot.admin.registry.StatusUpdater.updateStatusForAllApplications(StatusUpdater.java:58) + at de.codecentric.boot.admin.registry.StatusUpdateApplicationListener$2.run(StatusUpdateApplicationListener.java:60) + at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) + at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) + at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) + at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) + at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) + at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) + at java.lang.Thread.run(Thread.java:745) +Caused by: java.net.SocketTimeoutException: Read timed out + at java.net.SocketInputStream.socketRead0(Native Method) + at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) + at java.net.SocketInputStream.read(SocketInputStream.java:170) + at java.net.SocketInputStream.read(SocketInputStream.java:141) + at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) + at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) + at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) + at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) + at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) + at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) + at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165) + at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) + at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89) + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53) + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:652) + ... 16 common frames omitted + +2019-02-19 15:49:40.082 INFO 16908 --- [http-nio-9998-exec-9] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 15:49:40.412 INFO 16908 --- [http-nio-9998-exec-9] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 15:49:58.839 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:49:58.839 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:49:58.839 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:49:58.839 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:50:58.840 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:50:58.840 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:50:58.840 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:50:58.840 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:51:58.840 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:51:58.840 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:51:58.840 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:51:58.840 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:52:58.841 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:52:58.841 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:52:58.841 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:52:58.841 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:53:58.842 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:53:58.842 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:53:58.842 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:53:58.842 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:53:59.690 INFO 16908 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 15:54:40.089 INFO 16908 --- [http-nio-9998-exec-4] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 15:54:40.721 INFO 16908 --- [http-nio-9998-exec-4] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 15:54:58.843 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:54:58.843 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:54:58.844 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:54:58.844 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:55:58.843 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:55:58.876 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:55:58.877 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:55:58.877 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:56:58.844 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:56:58.844 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:56:58.844 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:56:58.857 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:57:58.845 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:57:58.845 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:57:58.845 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:57:58.845 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:58:58.846 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:58:58.847 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:58:58.847 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:58:58.856 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 15:58:59.691 INFO 16908 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 15:59:58.846 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 15:59:58.846 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 15:59:58.846 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 15:59:58.847 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:00:00.103 INFO 16908 --- [http-nio-9998-exec-8] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 16:00:00.562 INFO 16908 --- [http-nio-9998-exec-8] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 16:00:58.847 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:00:58.871 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:00:58.871 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:00:58.871 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:01:58.848 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:01:58.857 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:01:58.857 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:01:58.858 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:02:58.848 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:02:58.848 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:02:58.848 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:02:58.848 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:03:58.848 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:03:58.848 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:03:58.848 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:03:58.848 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:03:59.693 INFO 16908 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 16:04:58.850 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:04:58.850 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:04:58.852 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:04:58.852 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:05:00.532 INFO 16908 --- [http-nio-9998-exec-3] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 16:05:02.512 INFO 16908 --- [http-nio-9998-exec-3] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 16:05:58.850 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:05:58.852 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:05:58.852 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:05:58.852 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:06:58.856 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:06:58.856 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:06:58.856 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:06:58.856 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:07:58.856 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:07:59.025 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:07:59.025 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:07:59.025 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:08:58.856 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:08:58.856 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:08:58.864 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:08:58.864 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:08:59.724 INFO 16908 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 16:09:58.857 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:09:58.857 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:09:58.857 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:09:58.857 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:10:20.117 INFO 16908 --- [http-nio-9998-exec-7] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 16:10:20.665 INFO 16908 --- [http-nio-9998-exec-7] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 16:10:58.858 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:10:58.858 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:10:58.858 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:10:58.882 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:11:58.858 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:11:58.858 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:11:58.858 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:11:58.858 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:12:58.859 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:12:58.859 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:12:58.859 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:12:58.859 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:13:58.860 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:13:58.860 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:13:58.860 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:13:58.860 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:13:59.745 INFO 16908 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 16:14:58.861 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:14:58.861 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:14:58.861 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:14:58.861 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:15:20.165 INFO 16908 --- [http-nio-9998-exec-2] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 16:15:20.732 INFO 16908 --- [http-nio-9998-exec-2] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 16:15:58.862 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:15:58.862 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:15:58.862 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:15:58.862 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:16:58.862 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:16:58.886 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:16:58.886 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:16:58.886 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:17:58.862 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:17:58.872 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:17:58.872 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:17:58.872 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:18:58.863 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:18:58.863 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:18:58.863 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:18:58.864 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:18:59.747 INFO 16908 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 16:19:58.875 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:19:58.898 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:19:58.899 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:19:58.899 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:20:40.189 INFO 16908 --- [http-nio-9998-exec-6] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 16:20:40.698 INFO 16908 --- [http-nio-9998-exec-6] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 16:20:58.875 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:20:58.915 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:20:58.915 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:20:58.915 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:21:58.876 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:21:58.885 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:21:58.885 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:21:58.886 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:22:58.877 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:22:58.906 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:22:58.906 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:22:58.907 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:23:58.877 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:23:58.877 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:23:58.877 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:23:58.878 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:23:59.766 INFO 16908 --- [AsyncResolver-bootstrap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration +2019-02-19 16:24:58.881 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:24:58.910 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:24:58.910 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:24:58.910 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 +2019-02-19 16:25:41.313 INFO 16908 --- [http-nio-9998-exec-1] c.c.c.ConfigServicePropertySourceLocator : Fetching config from server at: http://localhost:8769 +2019-02-19 16:25:42.583 INFO 16908 --- [http-nio-9998-exec-1] c.c.c.ConfigServicePropertySourceLocator : Located environment: name=admin-service, profiles=[pro], label=null, version=null, state=null +2019-02-19 16:25:58.878 INFO 16908 --- [Timer-0] o.s.c.n.t.CommonsInstanceDiscovery : No apps configured, returning an empty instance list +2019-02-19 16:25:58.892 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Retrieved hosts from InstanceDiscovery: 0 +2019-02-19 16:25:58.892 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Found hosts that have been previously terminated: 0 +2019-02-19 16:25:58.892 INFO 16908 --- [Timer-0] c.n.t.discovery.InstanceObservable : Hosts up:0, hosts down: 0 diff --git a/moudle_admin/build.gradle b/moudle_admin/build.gradle new file mode 100644 index 0000000..22ffed2 --- /dev/null +++ b/moudle_admin/build.gradle @@ -0,0 +1,21 @@ +dependencies { + compile 'org.springframework.cloud:spring-cloud-starter-config' + compile 'org.springframework.cloud:spring-cloud-starter-turbine' + compile 'org.springframework.cloud:spring-cloud-starter-hystrix-dashboard' + compile 'org.springframework.cloud:spring-cloud-starter-hystrix' + + compile 'org.springframework.boot:spring-boot-starter-actuator' + compile 'org.springframework.boot:spring-boot-starter-security' + compile 'de.codecentric:spring-boot-admin-server-ui:1.5.7' + compile 'de.codecentric:spring-boot-admin-server-ui-turbine:1.5.7' + compile 'de.codecentric:spring-boot-admin-server-ui-hystrix:1.5.7' + compile 'de.codecentric:spring-boot-admin-server-ui-login:1.5.0' + compile 'de.codecentric:spring-boot-admin-server-ui-activiti:1.5.0' + + compile 'org.jolokia:jolokia-core' +} +jar { + manifest { + attributes 'Main-Class': 'com.fly.admin.AdminServiceApplication' + } +} \ No newline at end of file diff --git a/moudle_admin/out/production/classes/META-INF/com.fly.moudle_admin.main.kotlin_module b/moudle_admin/out/production/classes/META-INF/com.fly.moudle_admin.main.kotlin_module new file mode 100644 index 0000000..8fb6019 Binary files /dev/null and b/moudle_admin/out/production/classes/META-INF/com.fly.moudle_admin.main.kotlin_module differ diff --git a/moudle_admin/out/production/classes/com/fly/admin/AdminServiceApplication$SecurityConfig.class b/moudle_admin/out/production/classes/com/fly/admin/AdminServiceApplication$SecurityConfig.class new file mode 100644 index 0000000..519202e Binary files /dev/null and b/moudle_admin/out/production/classes/com/fly/admin/AdminServiceApplication$SecurityConfig.class differ diff --git a/moudle_admin/out/production/classes/com/fly/admin/AdminServiceApplication.class b/moudle_admin/out/production/classes/com/fly/admin/AdminServiceApplication.class new file mode 100644 index 0000000..76c61b6 Binary files /dev/null and b/moudle_admin/out/production/classes/com/fly/admin/AdminServiceApplication.class differ diff --git a/moudle_admin/out/production/resources/bootstrap.yml b/moudle_admin/out/production/resources/bootstrap.yml new file mode 100644 index 0000000..4299436 --- /dev/null +++ b/moudle_admin/out/production/resources/bootstrap.yml @@ -0,0 +1,16 @@ +spring: + application: + name: admin-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro + + + + + + + diff --git a/moudle_admin/out/production/resources/logback-spring.xml b/moudle_admin/out/production/resources/logback-spring.xml new file mode 100644 index 0000000..1536cc5 --- /dev/null +++ b/moudle_admin/out/production/resources/logback-spring.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/moudle_admin/src/main/java/com/fly/admin/AdminServiceApplication.java b/moudle_admin/src/main/java/com/fly/admin/AdminServiceApplication.java new file mode 100644 index 0000000..3f8396a --- /dev/null +++ b/moudle_admin/src/main/java/com/fly/admin/AdminServiceApplication.java @@ -0,0 +1,62 @@ +package com.fly.admin; + +import de.codecentric.boot.admin.config.EnableAdminServer; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.netflix.hystrix.EnableHystrix; +import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard; +import org.springframework.cloud.netflix.turbine.EnableTurbine; +import org.springframework.context.annotation.Configuration; +import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; +import org.springframework.security.config.annotation.web.builders.HttpSecurity; +import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@SpringBootApplication +@EnableTurbine +@EnableHystrixDashboard +@EnableHystrix +@EnableAdminServer +public class AdminServiceApplication { + + public static void main(String[] args) { + SpringApplication.run(AdminServiceApplication.class, args); + } + + @Configuration + public static class SecurityConfig extends WebSecurityConfigurerAdapter { + @Override + protected void configure(HttpSecurity http) throws Exception { + // Page with login form is served as /login.html and does a POST on /login + http.formLogin().loginPage("/login.html").loginProcessingUrl("/login").permitAll(); + // The UI does a POST on /logout on logout + http.logout().logoutUrl("/logout"); + // The ui currently doesn't support csrf + http.csrf().disable(); + + // Requests for the login page and the static assets are allowed + http.authorizeRequests() + .antMatchers("/login.html", "/**/*.css", "/img/**", "/third-party/**") + .permitAll(); + // ... and any other request needs to be authorized + http.authorizeRequests().antMatchers("/**").authenticated(); + + // Enable so that the clients can authenticate via HTTP basic for registering + http.httpBasic(); + } + } + + @Autowired + public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { + auth + .inMemoryAuthentication() + .withUser("admin").password("123456").roles("USER"); + } + // end::configuration-spring-security[] +} diff --git a/moudle_admin/src/main/resources/bootstrap.yml b/moudle_admin/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..4299436 --- /dev/null +++ b/moudle_admin/src/main/resources/bootstrap.yml @@ -0,0 +1,16 @@ +spring: + application: + name: admin-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro + + + + + + + diff --git a/moudle_admin/src/main/resources/logback-spring.xml b/moudle_admin/src/main/resources/logback-spring.xml new file mode 100644 index 0000000..1536cc5 --- /dev/null +++ b/moudle_admin/src/main/resources/logback-spring.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/moudle_blog/build.gradle b/moudle_blog/build.gradle new file mode 100644 index 0000000..ef7a875 --- /dev/null +++ b/moudle_blog/build.gradle @@ -0,0 +1,8 @@ +dependencies { + compile project(':lib_common') +} +jar { + manifest { + attributes 'Main-Class': 'com.fly.blog.BlogServiceApplication' + } +} \ No newline at end of file diff --git a/moudle_blog/out/production/classes/com/fly/blog/BlogServiceApplication.class b/moudle_blog/out/production/classes/com/fly/blog/BlogServiceApplication.class new file mode 100644 index 0000000..0bbc617 Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/BlogServiceApplication.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/aop/SysLoggerAspect.class b/moudle_blog/out/production/classes/com/fly/blog/aop/SysLoggerAspect.class new file mode 100644 index 0000000..bbfd095 Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/aop/SysLoggerAspect.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/client/UserServiceClient.class b/moudle_blog/out/production/classes/com/fly/blog/client/UserServiceClient.class new file mode 100644 index 0000000..d6bfb5e Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/client/UserServiceClient.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/client/hystrix/UserServiceHystrix.class b/moudle_blog/out/production/classes/com/fly/blog/client/hystrix/UserServiceHystrix.class new file mode 100644 index 0000000..60248d5 Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/client/hystrix/UserServiceHystrix.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/config/GlobalMethodSecurityConfiguration.class b/moudle_blog/out/production/classes/com/fly/blog/config/GlobalMethodSecurityConfiguration.class new file mode 100644 index 0000000..e6648f5 Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/config/GlobalMethodSecurityConfiguration.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/config/JwtConfiguration.class b/moudle_blog/out/production/classes/com/fly/blog/config/JwtConfiguration.class new file mode 100644 index 0000000..978d436 Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/config/JwtConfiguration.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/config/RabbitConfig.class b/moudle_blog/out/production/classes/com/fly/blog/config/RabbitConfig.class new file mode 100644 index 0000000..a3a1d4d Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/config/RabbitConfig.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/config/ResourceServerConfiguration.class b/moudle_blog/out/production/classes/com/fly/blog/config/ResourceServerConfiguration.class new file mode 100644 index 0000000..70d604d Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/config/ResourceServerConfiguration.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/config/SwaggerConfig.class b/moudle_blog/out/production/classes/com/fly/blog/config/SwaggerConfig.class new file mode 100644 index 0000000..817740c Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/config/SwaggerConfig.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/dao/BlogDao.class b/moudle_blog/out/production/classes/com/fly/blog/dao/BlogDao.class new file mode 100644 index 0000000..466c632 Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/dao/BlogDao.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/dto/BlogDetailDTO.class b/moudle_blog/out/production/classes/com/fly/blog/dto/BlogDetailDTO.class new file mode 100644 index 0000000..55b994a Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/dto/BlogDetailDTO.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/entity/Blog.class b/moudle_blog/out/production/classes/com/fly/blog/entity/Blog.class new file mode 100644 index 0000000..83d57cb Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/entity/Blog.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/entity/SysLog.class b/moudle_blog/out/production/classes/com/fly/blog/entity/SysLog.class new file mode 100644 index 0000000..6b85162 Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/entity/SysLog.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/entity/User.class b/moudle_blog/out/production/classes/com/fly/blog/entity/User.class new file mode 100644 index 0000000..33331a0 Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/entity/User.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/exception/CommonExceptionHandler.class b/moudle_blog/out/production/classes/com/fly/blog/exception/CommonExceptionHandler.class new file mode 100644 index 0000000..f91acf0 Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/exception/CommonExceptionHandler.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/service/BlogService.class b/moudle_blog/out/production/classes/com/fly/blog/service/BlogService.class new file mode 100644 index 0000000..71b7c58 Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/service/BlogService.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/service/LoggerService.class b/moudle_blog/out/production/classes/com/fly/blog/service/LoggerService.class new file mode 100644 index 0000000..816fa2d Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/service/LoggerService.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/util/HttpUtils.class b/moudle_blog/out/production/classes/com/fly/blog/util/HttpUtils.class new file mode 100644 index 0000000..ed7f7a4 Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/util/HttpUtils.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/util/UserUtils.class b/moudle_blog/out/production/classes/com/fly/blog/util/UserUtils.class new file mode 100644 index 0000000..ee14047 Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/util/UserUtils.class differ diff --git a/moudle_blog/out/production/classes/com/fly/blog/web/BlogController.class b/moudle_blog/out/production/classes/com/fly/blog/web/BlogController.class new file mode 100644 index 0000000..6222a7d Binary files /dev/null and b/moudle_blog/out/production/classes/com/fly/blog/web/BlogController.class differ diff --git a/moudle_blog/out/production/resources/bootstrap.yml b/moudle_blog/out/production/resources/bootstrap.yml new file mode 100644 index 0000000..fcf67cc --- /dev/null +++ b/moudle_blog/out/production/resources/bootstrap.yml @@ -0,0 +1,29 @@ +spring: + application: + name: blog-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro +# zipkin: +# base-url: http://localhost:9411 +# +# datasource: +# driver-class-name: com.mysql.jdbc.Driver +# url: jdbc:mysql://localhost:3306/sys_blog?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 +# username: root +# password: 123456 +# jpa: +# hibernate: +# ddl-auto: update +# show-sql: true +# +# rabbitmq: +# host: localhost +# port: 5672 +# username: guest +# password: guest +# publisher-confirms: true +# virtual-host: / \ No newline at end of file diff --git a/moudle_blog/out/production/resources/public.cert b/moudle_blog/out/production/resources/public.cert new file mode 100644 index 0000000..bfb6145 --- /dev/null +++ b/moudle_blog/out/production/resources/public.cert @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjuyo7NI2wdwKkvHxHHlo +J374F2mUKhxVzIFjnf9TJWKC5OqQm5IbcnsiLHp6w3ElGOgyXBJhiqZPJ6GhTq16 +4/XsxSMVRlnmWuggSdDpVIGoYoeGuLFhLXI10IHYvN0pIAynR741HCwp1lYHOabq +C4S/lvi9jQSbU+mAz3eq9iGLwAPV/WDkbcQL1PX4yjQ4JN81qzu81zJXlN8KhgR4 +oRbyl3FPLYOaxwIRddFKgkBeS0qiQMDaXDmDf8AU5EUEeUwZoWoFarkcPg6jbQ87 +Sr0vMLYApKBN6GJObNzZfDmNJ0GbBZvYc0zUib+A5vPStBEtszGuyb2K9jtlCyJi +qQIDAQAB +-----END PUBLIC KEY----- diff --git a/moudle_blog/src/main/java/com/fly/blog/BlogServiceApplication.java b/moudle_blog/src/main/java/com/fly/blog/BlogServiceApplication.java new file mode 100644 index 0000000..b8996a4 --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/BlogServiceApplication.java @@ -0,0 +1,27 @@ +package com.fly.blog; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.netflix.eureka.EnableEurekaClient; +import org.springframework.cloud.netflix.feign.EnableFeignClients; +import org.springframework.cloud.netflix.hystrix.EnableHystrix; +import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard; + +/** + * Description: <>
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@SpringBootApplication +@EnableEurekaClient +@EnableFeignClients +@EnableHystrixDashboard +@EnableHystrix +public class BlogServiceApplication { + + public static void main(String[] args) { + SpringApplication.run(BlogServiceApplication.class, args); + } +} diff --git a/moudle_blog/src/main/java/com/fly/blog/aop/SysLoggerAspect.java b/moudle_blog/src/main/java/com/fly/blog/aop/SysLoggerAspect.java new file mode 100644 index 0000000..841baf0 --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/aop/SysLoggerAspect.java @@ -0,0 +1,76 @@ +package com.fly.blog.aop; + +import com.alibaba.fastjson.JSON; +import com.fly.blog.entity.SysLog; +import com.fly.blog.util.HttpUtils; +import com.fly.blog.util.UserUtils; +import com.fly.blog.service.LoggerService; +import com.fly.common.annotation.SysLogger; +import org.apache.commons.lang.StringUtils; +import org.aspectj.lang.JoinPoint; +import org.aspectj.lang.annotation.Aspect; +import org.aspectj.lang.annotation.Before; +import org.aspectj.lang.annotation.Pointcut; +import org.aspectj.lang.reflect.MethodSignature; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import java.lang.reflect.Method; +import java.util.Date; + +/** + * Description: <>
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Aspect +@Component +public class SysLoggerAspect { + @Autowired + private LoggerService loggerService; + + @Pointcut("@annotation(com.fly.common.annotation.SysLogger)") + public void loggerPointCut() { + + } + + @Before("loggerPointCut()") + public void saveSysLog(JoinPoint joinPoint) { + MethodSignature signature = (MethodSignature) joinPoint.getSignature(); + Method method = signature.getMethod(); + + SysLog sysLog = new SysLog(); + SysLogger sysLogger = method.getAnnotation(SysLogger.class); + if (sysLogger != null) { + //注解上的描述 + sysLog.setOperation(sysLogger.value()); + } + //请求的方法名 + String className = joinPoint.getTarget().getClass().getName(); + String methodName = signature.getName(); + sysLog.setMethod(className + "." + methodName + "()"); + //请求的参数 + Object[] args = joinPoint.getArgs(); + String params = ""; + for (Object o : args) { + params += JSON.toJSONString(o); + } + if (!StringUtils.isEmpty(params)) { + sysLog.setParams(params); + } + //设置IP地址 + sysLog.setIp(HttpUtils.getIpAddress()); + //用户名 + String username = UserUtils.getCurrentPrinciple(); + if (!StringUtils.isEmpty(username)) { + sysLog.setUsername(username); + } + sysLog.setCreateDate(new Date()); + //保存系统日志 + loggerService.log(sysLog); + } + +} + diff --git a/moudle_blog/src/main/java/com/fly/blog/client/UserServiceClient.java b/moudle_blog/src/main/java/com/fly/blog/client/UserServiceClient.java new file mode 100644 index 0000000..c7a7d45 --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/client/UserServiceClient.java @@ -0,0 +1,28 @@ +package com.fly.blog.client; + +import com.fly.blog.entity.User; +import com.fly.blog.client.hystrix.UserServiceHystrix; +import com.fly.common.dto.RespDTO; +import org.springframework.cloud.netflix.feign.FeignClient; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestHeader; + + + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@FeignClient(value = "user-service",fallback = UserServiceHystrix.class ) +public interface UserServiceClient { + + @PostMapping(value = "/user/{username}") + RespDTO getUser(@RequestHeader(value = "Authorization") String token, @PathVariable("username") String username); +} + + + diff --git a/moudle_blog/src/main/java/com/fly/blog/client/hystrix/UserServiceHystrix.java b/moudle_blog/src/main/java/com/fly/blog/client/hystrix/UserServiceHystrix.java new file mode 100644 index 0000000..041b2aa --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/client/hystrix/UserServiceHystrix.java @@ -0,0 +1,24 @@ +package com.fly.blog.client.hystrix; + +import com.fly.blog.client.UserServiceClient; +import com.fly.blog.entity.User; +import com.fly.common.dto.RespDTO; +import org.springframework.stereotype.Component; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Component +public class UserServiceHystrix implements UserServiceClient { + + @Override + public RespDTO getUser(String token, String username) { + System.out.println(token); + System.out.println(username); + return null; + } +} diff --git a/moudle_blog/src/main/java/com/fly/blog/config/GlobalMethodSecurityConfiguration.java b/moudle_blog/src/main/java/com/fly/blog/config/GlobalMethodSecurityConfiguration.java new file mode 100644 index 0000000..6622830 --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/config/GlobalMethodSecurityConfiguration.java @@ -0,0 +1,17 @@ +package com.fly.blog.config; + +import org.springframework.context.annotation.Configuration; +import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +@EnableGlobalMethodSecurity(prePostEnabled = true) +public class GlobalMethodSecurityConfiguration { + +} diff --git a/moudle_blog/src/main/java/com/fly/blog/config/JwtConfiguration.java b/moudle_blog/src/main/java/com/fly/blog/config/JwtConfiguration.java new file mode 100644 index 0000000..7aa9468 --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/config/JwtConfiguration.java @@ -0,0 +1,49 @@ +package com.fly.blog.config; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.core.io.ClassPathResource; +import org.springframework.core.io.Resource; +import org.springframework.security.oauth2.provider.token.TokenStore; +import org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter; +import org.springframework.security.oauth2.provider.token.store.JwtTokenStore; +import org.springframework.util.FileCopyUtils; + +import java.io.IOException; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +public class JwtConfiguration { + @Autowired + JwtAccessTokenConverter jwtAccessTokenConverter; + + @Bean + @Qualifier("tokenStore") + public TokenStore tokenStore() { + + System.out.println("Created JwtTokenStore"); + return new JwtTokenStore(jwtAccessTokenConverter); + } + + @Bean + protected JwtAccessTokenConverter jwtTokenEnhancer() { + JwtAccessTokenConverter converter = new JwtAccessTokenConverter(); + Resource resource = new ClassPathResource("public.cert"); + String publicKey ; + try { + publicKey = new String(FileCopyUtils.copyToByteArray(resource.getInputStream())); + } catch (IOException e) { + throw new RuntimeException(e); + } + converter.setVerifierKey(publicKey); + return converter; + } +} diff --git a/moudle_blog/src/main/java/com/fly/blog/config/RabbitConfig.java b/moudle_blog/src/main/java/com/fly/blog/config/RabbitConfig.java new file mode 100644 index 0000000..66a9b48 --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/config/RabbitConfig.java @@ -0,0 +1,40 @@ +package com.fly.blog.config; + + +import org.springframework.amqp.core.Binding; +import org.springframework.amqp.core.BindingBuilder; +import org.springframework.amqp.core.Queue; +import org.springframework.amqp.core.TopicExchange; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +public class RabbitConfig { + + + public final static String queueName = "spring-boot"; + + @Bean + Queue queue() { + return new Queue(queueName, false); + } + + @Bean + TopicExchange exchange() { + return new TopicExchange("spring-boot-exchange"); + } + + @Bean + Binding binding(Queue queue, TopicExchange exchange) { + return BindingBuilder.bind(queue).to(exchange).with(queueName); + } + + +} diff --git a/moudle_blog/src/main/java/com/fly/blog/config/ResourceServerConfiguration.java b/moudle_blog/src/main/java/com/fly/blog/config/ResourceServerConfiguration.java new file mode 100644 index 0000000..f7dbdac --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/config/ResourceServerConfiguration.java @@ -0,0 +1,44 @@ +package com.fly.blog.config; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Configuration; +import org.springframework.security.config.annotation.web.builders.HttpSecurity; +import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer; +import org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter; +import org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer; +import org.springframework.security.oauth2.provider.token.TokenStore; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +@EnableResourceServer +public class ResourceServerConfiguration extends ResourceServerConfigurerAdapter{ + Logger log = LoggerFactory.getLogger(ResourceServerConfiguration.class); + + @Override + public void configure(HttpSecurity http) throws Exception { + http + .csrf().disable() + .authorizeRequests() + .regexMatchers(".*swagger.*",".*v2.*",".*webjars.*").permitAll() + .antMatchers("/**").authenticated(); +// .antMatchers("/**").permitAll(); + } + + + @Override + public void configure(ResourceServerSecurityConfigurer resources) throws Exception { + log.info("Configuring ResourceServerSecurityConfigurer "); + resources.resourceId("user-service").tokenStore(tokenStore); + } + + @Autowired + TokenStore tokenStore; +} diff --git a/moudle_blog/src/main/java/com/fly/blog/config/SwaggerConfig.java b/moudle_blog/src/main/java/com/fly/blog/config/SwaggerConfig.java new file mode 100644 index 0000000..83296a9 --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/config/SwaggerConfig.java @@ -0,0 +1,64 @@ +package com.fly.blog.config; + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import springfox.documentation.builders.ApiInfoBuilder; +import springfox.documentation.builders.ParameterBuilder; +import springfox.documentation.builders.PathSelectors; +import springfox.documentation.builders.RequestHandlerSelectors; +import springfox.documentation.schema.ModelRef; +import springfox.documentation.service.ApiInfo; +import springfox.documentation.service.Parameter; +import springfox.documentation.spi.DocumentationType; +import springfox.documentation.spring.web.plugins.Docket; +import springfox.documentation.swagger2.annotations.EnableSwagger2; +import java.util.ArrayList; +import java.util.List; + + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +@EnableSwagger2 +public class SwaggerConfig { + /** + * 全局参数 + * + * @return + */ + private List parameter() { + List params = new ArrayList<>(); + params.add(new ParameterBuilder().name("Authorization") + .description("Authorization Bearer token") + .modelRef(new ModelRef("string")) + .parameterType("header") + .required(false).build()); + return params; + } + + @Bean + public Docket sysApi() { + return new Docket(DocumentationType.SWAGGER_2) + .apiInfo(apiInfo()) + .select() + .apis(RequestHandlerSelectors.basePackage("com.forezp.web")) + .paths(PathSelectors.any()) + .build().globalOperationParameters(parameter()); + } + + private ApiInfo apiInfo() { + return new ApiInfoBuilder() + .title(" blog-service api ") + .description("blog-service 微服务") + .termsOfServiceUrl("") + .contact("forezp") + .version("1.0") + .build(); + } + +} diff --git a/moudle_blog/src/main/java/com/fly/blog/dao/BlogDao.java b/moudle_blog/src/main/java/com/fly/blog/dao/BlogDao.java new file mode 100644 index 0000000..7726e7d --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/dao/BlogDao.java @@ -0,0 +1,19 @@ +package com.fly.blog.dao; + +import com.fly.blog.entity.Blog; +import org.springframework.data.jpa.repository.JpaRepository; + +import java.util.List; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public interface BlogDao extends JpaRepository { + + List findByUsername(String username); + +} diff --git a/moudle_blog/src/main/java/com/fly/blog/dto/BlogDetailDTO.java b/moudle_blog/src/main/java/com/fly/blog/dto/BlogDetailDTO.java new file mode 100644 index 0000000..9ac8909 --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/dto/BlogDetailDTO.java @@ -0,0 +1,32 @@ +package com.fly.blog.dto; + +import com.fly.blog.entity.Blog; +import com.fly.blog.entity.User; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class BlogDetailDTO { + private Blog blog; + private User user; + + public Blog getBlog() { + return blog; + } + + public void setBlog(Blog blog) { + this.blog = blog; + } + + public User getUser() { + return user; + } + + public void setUser(User user) { + this.user = user; + } +} diff --git a/moudle_blog/src/main/java/com/fly/blog/entity/Blog.java b/moudle_blog/src/main/java/com/fly/blog/entity/Blog.java new file mode 100644 index 0000000..97b09ac --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/entity/Blog.java @@ -0,0 +1,63 @@ +package com.fly.blog.entity; + +import java.io.Serializable; +import javax.persistence.*; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Entity +public class Blog implements Serializable { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + @Column(nullable = false) + private String username; + + @Column + private String title; + + @Column + private String suject; + + + public Blog() { + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getSuject() { + return suject; + } + + public void setSuject(String suject) { + this.suject = suject; + } +} diff --git a/moudle_blog/src/main/java/com/fly/blog/entity/SysLog.java b/moudle_blog/src/main/java/com/fly/blog/entity/SysLog.java new file mode 100644 index 0000000..b97fafa --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/entity/SysLog.java @@ -0,0 +1,84 @@ +package com.fly.blog.entity; + +import java.util.Date; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class SysLog { + + private Long id; + //用户名 + private String username; + //用户操作 + private String operation; + //请求方法 + private String method; + //请求参数 + private String params; + //IP地址 + private String ip; + //创建时间 + private Date createDate; + + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getOperation() { + return operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + public String getMethod() { + return method; + } + + public void setMethod(String method) { + this.method = method; + } + + public String getParams() { + return params; + } + + public void setParams(String params) { + this.params = params; + } + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public Date getCreateDate() { + return createDate; + } + + public void setCreateDate(Date createDate) { + this.createDate = createDate; + } +} diff --git a/moudle_blog/src/main/java/com/fly/blog/entity/User.java b/moudle_blog/src/main/java/com/fly/blog/entity/User.java new file mode 100644 index 0000000..09b0cbc --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/entity/User.java @@ -0,0 +1,44 @@ +package com.fly.blog.entity; + +import javax.persistence.Column; +import javax.persistence.GeneratedValue; +import javax.persistence.GenerationType; +import javax.persistence.Id; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class User { + + private Long id; + private String username; + private String password; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } +} diff --git a/moudle_blog/src/main/java/com/fly/blog/exception/CommonExceptionHandler.java b/moudle_blog/src/main/java/com/fly/blog/exception/CommonExceptionHandler.java new file mode 100644 index 0000000..d4efea6 --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/exception/CommonExceptionHandler.java @@ -0,0 +1,31 @@ +package com.fly.blog.exception; + +import com.fly.common.dto.RespDTO; +import com.fly.common.exception.CommonException; +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.ControllerAdvice; +import org.springframework.web.bind.annotation.ExceptionHandler; +import org.springframework.web.bind.annotation.ResponseBody; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@ControllerAdvice +@ResponseBody +public class CommonExceptionHandler { + + @ExceptionHandler(CommonException.class) + public ResponseEntity handleException(Exception e) { + RespDTO resp = new RespDTO(); + CommonException taiChiException = (CommonException) e; + resp.code = taiChiException.getCode(); + resp.error = e.getMessage(); + return new ResponseEntity(resp, HttpStatus.OK); + } + +} diff --git a/moudle_blog/src/main/java/com/fly/blog/service/BlogService.java b/moudle_blog/src/main/java/com/fly/blog/service/BlogService.java new file mode 100644 index 0000000..90a57ea --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/service/BlogService.java @@ -0,0 +1,58 @@ +package com.fly.blog.service; + + +import com.fly.blog.client.UserServiceClient; +import com.fly.blog.dao.BlogDao; +import com.fly.blog.dto.BlogDetailDTO; +import com.fly.blog.entity.Blog; +import com.fly.blog.entity.User; +import com.fly.blog.util.UserUtils; +import com.fly.common.dto.RespDTO; +import com.fly.common.exception.CommonException; +import com.fly.common.exception.ErrorCode; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Service +public class BlogService { + + @Autowired + BlogDao blogDao; + + @Autowired + UserServiceClient userServiceClient; + + public Blog postBlog(Blog blog) { + return blogDao.save(blog); + } + + public List findBlogs(String username) { + return blogDao.findByUsername(username); + } + + + public BlogDetailDTO findBlogDetail(Long id) { + Blog blog = blogDao.findOne(id); + if (null == blog) { + throw new CommonException(ErrorCode.BLOG_IS_NOT_EXIST); + } + RespDTO respDTO = userServiceClient.getUser(UserUtils.getCurrentToken(), blog.getUsername()); + if (respDTO==null) { + throw new CommonException(ErrorCode.RPC_ERROR); + } + BlogDetailDTO blogDetailDTO = new BlogDetailDTO(); + blogDetailDTO.setBlog(blog); + blogDetailDTO.setUser(respDTO.data); + return blogDetailDTO; + } + +} diff --git a/moudle_blog/src/main/java/com/fly/blog/service/LoggerService.java b/moudle_blog/src/main/java/com/fly/blog/service/LoggerService.java new file mode 100644 index 0000000..b7d7dea --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/service/LoggerService.java @@ -0,0 +1,26 @@ +package com.fly.blog.service; + +import com.alibaba.fastjson.JSON; +import com.fly.blog.config.RabbitConfig; +import com.fly.blog.entity.SysLog; +import org.springframework.amqp.core.AmqpTemplate; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Service +public class LoggerService { + + @Autowired + private AmqpTemplate rabbitTemplate; + + public void log(SysLog sysLog){ + rabbitTemplate.convertAndSend(RabbitConfig.queueName, JSON.toJSONString(sysLog)); + } +} diff --git a/moudle_blog/src/main/java/com/fly/blog/util/HttpUtils.java b/moudle_blog/src/main/java/com/fly/blog/util/HttpUtils.java new file mode 100644 index 0000000..6cda9d9 --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/util/HttpUtils.java @@ -0,0 +1,101 @@ +package com.fly.blog.util; + + +import org.springframework.web.context.request.RequestContextHolder; +import org.springframework.web.context.request.ServletRequestAttributes; + +import javax.servlet.http.HttpServletRequest; +import java.util.Enumeration; +import java.util.LinkedHashMap; +import java.util.Map; + +/** + * Description: <>
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class HttpUtils { + + + /** + * 尝试获取当前请求的HttpServletRequest实例 + * + * @return HttpServletRequest + */ + public static HttpServletRequest getHttpServletRequest() { + try { + return ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); + } catch (Exception e) { + return null; + } + } + + + public static Map getHeaders(HttpServletRequest request) { + Map map = new LinkedHashMap<>(); + Enumeration enumeration = request.getHeaderNames(); + while (enumeration.hasMoreElements()) { + String key = enumeration.nextElement(); + String value = request.getHeader(key); + map.put(key, value); + } + return map; + } + + /** + * 获取请求客户端的真实ip地址 + * + * @param request 请求对象 + * @return ip地址 + */ + public static String getIpAddress(HttpServletRequest request) { + + // 获取请求主机IP地址,如果通过代理进来,则透过防火墙获取真实IP地址 + String ip = request.getHeader("X-Forwarded-For"); + + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("Proxy-Client-IP"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("WL-Proxy-Client-IP"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("HTTP_CLIENT_IP"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("HTTP_X_FORWARDED_FOR"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getRemoteAddr(); + } + } else if (ip.length() > 15) { + String[] ips = ip.split(","); + for (int index = 0; index < ips.length; index++) { + String strIp = (String) ips[index]; + if (!("unknown".equalsIgnoreCase(strIp))) { + ip = strIp; + break; + } + } + } + return ip; + } + + /** + * 获取请求客户端的真实ip地址 + * + * @param + * @return ip地址 + */ + public static String getIpAddress() { + // 获取请求主机IP地址,如果通过代理进来,则透过防火墙获取真实IP地址 + return getIpAddress(getHttpServletRequest()); + } + + + + +} diff --git a/moudle_blog/src/main/java/com/fly/blog/util/UserUtils.java b/moudle_blog/src/main/java/com/fly/blog/util/UserUtils.java new file mode 100644 index 0000000..dfcf021 --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/util/UserUtils.java @@ -0,0 +1,86 @@ +package com.fly.blog.util; + + +import org.springframework.security.core.Authentication; +import org.springframework.security.core.authority.SimpleGrantedAuthority; +import org.springframework.security.core.context.SecurityContextHolder; + +import java.util.List; + +/** + * Description: <>
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class UserUtils { + + private static final String AUTHORIZATION = "authorization"; + + /** + * 获取当前请求的token + * + * @return + */ + public static String getCurrentToken() { + return HttpUtils.getHeaders(HttpUtils.getHttpServletRequest()).get(AUTHORIZATION); + } + + /** + * 获取当前请求的用户Id + * + * @return + */ + public static String getCurrentPrinciple() { + return (String) SecurityContextHolder.getContext().getAuthentication().getPrincipal(); + } + + /** + * 判读当前token用户是否为接口所需的参数username + * + * @param username + * @return + */ + public static boolean isMyself(String username) { + return username.equals(getCurrentPrinciple()); + } + + /** + * 获取当前请求Authentication + * + * @return + */ + public static Authentication getCurrentAuthentication() { + return SecurityContextHolder.getContext().getAuthentication(); + } + + /** + * 获取当前请求的权限信息 + * + * @return + */ + public static List getCurrentAuthorities() { + return (List) SecurityContextHolder.getContext().getAuthentication().getAuthorities(); + } + + /** + * @param role + * @return + */ + public static boolean hasRole(String role) { + if (!role.startsWith("ROLE_")) { + role = "ROLE_" + role; + } + boolean hasRole = false; + List list = getCurrentAuthorities(); + for (SimpleGrantedAuthority s : list) { + if (role.equals(s.getAuthority())) { + hasRole = true; + break; + } + } + return hasRole; + } + +} diff --git a/moudle_blog/src/main/java/com/fly/blog/web/BlogController.java b/moudle_blog/src/main/java/com/fly/blog/web/BlogController.java new file mode 100644 index 0000000..00ca7b1 --- /dev/null +++ b/moudle_blog/src/main/java/com/fly/blog/web/BlogController.java @@ -0,0 +1,62 @@ +package com.fly.blog.web; + +import com.fly.blog.entity.Blog; +import com.fly.blog.util.UserUtils; +import com.fly.blog.service.BlogService; +import com.fly.common.annotation.SysLogger; +import com.fly.common.dto.RespDTO; +import com.fly.common.exception.CommonException; +import com.fly.common.exception.ErrorCode; +import io.swagger.annotations.ApiOperation; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +import java.util.List; + +/** + * Description: <>
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@RestController +@RequestMapping("/blog") +public class BlogController { + + @Autowired + BlogService blogService; + + @ApiOperation(value = "发布博客", notes = "发布博客") + @PreAuthorize("hasRole('USER')") + @PostMapping("") + @SysLogger("postBlog") + public RespDTO postBlog(@RequestBody Blog blog){ + //字段判读省略 + Blog blog1= blogService.postBlog(blog); + return RespDTO.onSuc(blog1); + } + + @ApiOperation(value = "根据用户id获取所有的blog", notes = "根据用户id获取所有的blog") + @PreAuthorize("hasAuthority('ROLE_USER')") + @GetMapping("/{username}") + @SysLogger("getBlogs") + public RespDTO getBlogs(@PathVariable String username){ + //字段判读省略 + if(UserUtils.isMyself(username)) { + List blogs = blogService.findBlogs(username); + return RespDTO.onSuc(blogs); + }else { + throw new CommonException(ErrorCode.TOKEN_IS_NOT_MATCH_USER); + } + } + + @ApiOperation(value = "获取博文的详细信息", notes = "获取博文的详细信息") + @PreAuthorize("hasAuthority('ROLE_USER')") + @GetMapping("/{id}/detail") + @SysLogger("getBlogDetail") + public RespDTO getBlogDetail(@PathVariable Long id){ + return RespDTO.onSuc(blogService.findBlogDetail(id)); + } +} diff --git a/moudle_blog/src/main/resources/bootstrap.yml b/moudle_blog/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..fcf67cc --- /dev/null +++ b/moudle_blog/src/main/resources/bootstrap.yml @@ -0,0 +1,29 @@ +spring: + application: + name: blog-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro +# zipkin: +# base-url: http://localhost:9411 +# +# datasource: +# driver-class-name: com.mysql.jdbc.Driver +# url: jdbc:mysql://localhost:3306/sys_blog?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 +# username: root +# password: 123456 +# jpa: +# hibernate: +# ddl-auto: update +# show-sql: true +# +# rabbitmq: +# host: localhost +# port: 5672 +# username: guest +# password: guest +# publisher-confirms: true +# virtual-host: / \ No newline at end of file diff --git a/moudle_blog/src/main/resources/public.cert b/moudle_blog/src/main/resources/public.cert new file mode 100644 index 0000000..bfb6145 --- /dev/null +++ b/moudle_blog/src/main/resources/public.cert @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjuyo7NI2wdwKkvHxHHlo +J374F2mUKhxVzIFjnf9TJWKC5OqQm5IbcnsiLHp6w3ElGOgyXBJhiqZPJ6GhTq16 +4/XsxSMVRlnmWuggSdDpVIGoYoeGuLFhLXI10IHYvN0pIAynR741HCwp1lYHOabq +C4S/lvi9jQSbU+mAz3eq9iGLwAPV/WDkbcQL1PX4yjQ4JN81qzu81zJXlN8KhgR4 +oRbyl3FPLYOaxwIRddFKgkBeS0qiQMDaXDmDf8AU5EUEeUwZoWoFarkcPg6jbQ87 +Sr0vMLYApKBN6GJObNzZfDmNJ0GbBZvYc0zUib+A5vPStBEtszGuyb2K9jtlCyJi +qQIDAQAB +-----END PUBLIC KEY----- diff --git a/moudle_config/build.gradle b/moudle_config/build.gradle new file mode 100644 index 0000000..3b1c7c5 --- /dev/null +++ b/moudle_config/build.gradle @@ -0,0 +1,12 @@ +dependencies { + compile 'org.springframework.cloud:spring-cloud-config-server' + compile 'org.springframework.cloud:spring-cloud-starter-bus-amqp' + compile 'org.springframework.boot:spring-boot-starter-actuator' + compile 'org.springframework.boot:spring-boot-starter-aop' + compile 'org.springframework.retry:spring-retry' +} +jar { + manifest { + attributes 'Main-Class': 'com.fly.config.ConfigServerApplication' + } +} \ No newline at end of file diff --git a/moudle_config/out/production/classes/com/fly/config/ConfigServerApplication.class b/moudle_config/out/production/classes/com/fly/config/ConfigServerApplication.class new file mode 100644 index 0000000..0153082 Binary files /dev/null and b/moudle_config/out/production/classes/com/fly/config/ConfigServerApplication.class differ diff --git a/moudle_config/out/production/resources/application.yml b/moudle_config/out/production/resources/application.yml new file mode 100644 index 0000000..6545167 --- /dev/null +++ b/moudle_config/out/production/resources/application.yml @@ -0,0 +1,34 @@ +# remote git +#spring: +# cloud: +# config: +# server: +# git: +# uri: https://git.coding.net/xiaoantimes/xiaoantimes-taichi +# searchPaths: backend/repo +# username: 124746406@qq.com +# password: +# label: master + +# ---native +spring: + cloud: + config: + server: + native: + search-locations: classpath:/shared + profiles: + active: native + application: + name: config-server + +# port +server: + port: 8769 + +management: + security: + enabled: false + + + diff --git a/moudle_config/out/production/resources/shared/admin-service-pro.yml b/moudle_config/out/production/resources/shared/admin-service-pro.yml new file mode 100644 index 0000000..6faa4db --- /dev/null +++ b/moudle_config/out/production/resources/shared/admin-service-pro.yml @@ -0,0 +1,27 @@ +server: + port: 9998 +security: + user: + name: admin + password: 123456 +management: + security: + enabled: false + +spring: + boot: + admin: + routes: + endpoints: env,metrics,dump,jolokia,info,configprops,trace,logfile,refresh,flyway,liquibase,heapdump,loggers,auditevents,hystrix.stream,activiti + turbine: + clusters: default + location: monitor-service + +eureka: + instance: + metadata-map: + user.name: admin + user.password: 123456 + +logging: + file: "logs/admin-service-pro.log" \ No newline at end of file diff --git a/moudle_config/out/production/resources/shared/application.yml b/moudle_config/out/production/resources/shared/application.yml new file mode 100644 index 0000000..349a274 --- /dev/null +++ b/moudle_config/out/production/resources/shared/application.yml @@ -0,0 +1,38 @@ +#logging: +# level: +# org.springframework.security: INFO + +#hystrix: +# command: +# default: +# execution: +# isolation: +# thread: +# timeoutInMilliseconds: 10000 + +eureka: + client: + serviceUrl: + defaultZone: http://localhost:8761/eureka/ + +#endpoints: +# health: +# sensitive: false +# enabled: true +# actuator: +# enabled: true +# sensitive: false +# beans: +# sensitive: false +# enabled: true + + +management: + security: + enabled: false + +feign: + hystrix: + enabled: true + + diff --git a/moudle_config/out/production/resources/shared/blog-service-pro.yml b/moudle_config/out/production/resources/shared/blog-service-pro.yml new file mode 100644 index 0000000..b00e0df --- /dev/null +++ b/moudle_config/out/production/resources/shared/blog-service-pro.yml @@ -0,0 +1,24 @@ +server: + port: 8763 + +spring: + zipkin: + base-url: http://localhost:9411 + + datasource: + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://localhost:3306/sys-blog?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 + username: root + password: 123456 + jpa: + hibernate: + ddl-auto: update + show-sql: true + + rabbitmq: + host: localhost + port: 5672 + username: guest + password: guest + publisher-confirms: true + virtual-host: / \ No newline at end of file diff --git a/moudle_config/out/production/resources/shared/gateway-service-pro.yml b/moudle_config/out/production/resources/shared/gateway-service-pro.yml new file mode 100644 index 0000000..3a8ea54 --- /dev/null +++ b/moudle_config/out/production/resources/shared/gateway-service-pro.yml @@ -0,0 +1,31 @@ +hystrix: + command: + default: + execution: + isolation: + thread: + timeoutInMilliseconds: 20000 + +ribbon: + ReadTimeout: 20000 + ConnectTimeout: 20000 + +zuul: + host: + connect-timeout-millis: 20000 + socket-timeout-millis: 20000 + + routes: + user-service: + path: /userapi/** + serviceId: user-service + sensitiveHeaders: + + blog-service: + path: /blogapi/** + serviceId: blog-service + sensitiveHeaders: + +server: + port: 5000 + diff --git a/moudle_config/out/production/resources/shared/logger-service-pro.yml b/moudle_config/out/production/resources/shared/logger-service-pro.yml new file mode 100644 index 0000000..efccbd6 --- /dev/null +++ b/moudle_config/out/production/resources/shared/logger-service-pro.yml @@ -0,0 +1,21 @@ +spring: + datasource: + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://localhost:3306/sys-log?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 + username: root + password: 123456 + jpa: + hibernate: + ddl-auto: update + show-sql: true + + rabbitmq: + host: localhost + port: 5672 + username: guest + password: guest + publisher-confirms: true + virtual-host: / + +server: + port: 9997 \ No newline at end of file diff --git a/moudle_config/out/production/resources/shared/monitor-service-pro.yml b/moudle_config/out/production/resources/shared/monitor-service-pro.yml new file mode 100644 index 0000000..453c61d --- /dev/null +++ b/moudle_config/out/production/resources/shared/monitor-service-pro.yml @@ -0,0 +1,12 @@ +server: + port: 8766 +security.basic.enabled: false +turbine: + aggregator: + clusterConfig: default + appConfig: user-service , blog-service + clusterNameExpression: new String("default") + +management: + security: + enabled: false \ No newline at end of file diff --git a/moudle_config/out/production/resources/shared/uaa-service-pro.yml b/moudle_config/out/production/resources/shared/uaa-service-pro.yml new file mode 100644 index 0000000..f808c16 --- /dev/null +++ b/moudle_config/out/production/resources/shared/uaa-service-pro.yml @@ -0,0 +1,12 @@ +spring: + datasource: + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://localhost:3306/sys-user?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 + username: root + password: 123456 + jpa: + hibernate: + ddl-auto: update + show-sql: true +server: + port: 9999 diff --git a/moudle_config/out/production/resources/shared/user-service-pro.yml b/moudle_config/out/production/resources/shared/user-service-pro.yml new file mode 100644 index 0000000..8ba4c49 --- /dev/null +++ b/moudle_config/out/production/resources/shared/user-service-pro.yml @@ -0,0 +1,30 @@ +server: + port: 8762 + + +spring: + zipkin: + base-url: http://localhost:9411 + +# rabbitmq: +# host: localhost +# port: 5672 + datasource: + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://localhost:3306/sys-user?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 + username: root + password: 123456 + jpa: + hibernate: + ddl-auto: update + show-sql: true + + rabbitmq: + host: localhost + port: 5672 + username: guest + password: guest + publisher-confirms: true + virtual-host: / + +foo: foo version 1 \ No newline at end of file diff --git a/moudle_config/out/production/resources/shared/zipkin-service-pro.yml b/moudle_config/out/production/resources/shared/zipkin-service-pro.yml new file mode 100644 index 0000000..435ed84 --- /dev/null +++ b/moudle_config/out/production/resources/shared/zipkin-service-pro.yml @@ -0,0 +1,2 @@ +server: + port: 9411 \ No newline at end of file diff --git a/moudle_config/src/main/java/com/fly/config/ConfigServerApplication.java b/moudle_config/src/main/java/com/fly/config/ConfigServerApplication.java new file mode 100644 index 0000000..6acd97f --- /dev/null +++ b/moudle_config/src/main/java/com/fly/config/ConfigServerApplication.java @@ -0,0 +1,20 @@ +package com.fly.config; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.config.server.EnableConfigServer; +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@SpringBootApplication +@EnableConfigServer +public class ConfigServerApplication { + + public static void main(String[] args) { + SpringApplication.run(ConfigServerApplication.class, args); + } +} diff --git a/moudle_config/src/main/resources/application.yml b/moudle_config/src/main/resources/application.yml new file mode 100644 index 0000000..6545167 --- /dev/null +++ b/moudle_config/src/main/resources/application.yml @@ -0,0 +1,34 @@ +# remote git +#spring: +# cloud: +# config: +# server: +# git: +# uri: https://git.coding.net/xiaoantimes/xiaoantimes-taichi +# searchPaths: backend/repo +# username: 124746406@qq.com +# password: +# label: master + +# ---native +spring: + cloud: + config: + server: + native: + search-locations: classpath:/shared + profiles: + active: native + application: + name: config-server + +# port +server: + port: 8769 + +management: + security: + enabled: false + + + diff --git a/moudle_config/src/main/resources/shared/admin-service-pro.yml b/moudle_config/src/main/resources/shared/admin-service-pro.yml new file mode 100644 index 0000000..6faa4db --- /dev/null +++ b/moudle_config/src/main/resources/shared/admin-service-pro.yml @@ -0,0 +1,27 @@ +server: + port: 9998 +security: + user: + name: admin + password: 123456 +management: + security: + enabled: false + +spring: + boot: + admin: + routes: + endpoints: env,metrics,dump,jolokia,info,configprops,trace,logfile,refresh,flyway,liquibase,heapdump,loggers,auditevents,hystrix.stream,activiti + turbine: + clusters: default + location: monitor-service + +eureka: + instance: + metadata-map: + user.name: admin + user.password: 123456 + +logging: + file: "logs/admin-service-pro.log" \ No newline at end of file diff --git a/moudle_config/src/main/resources/shared/application.yml b/moudle_config/src/main/resources/shared/application.yml new file mode 100644 index 0000000..349a274 --- /dev/null +++ b/moudle_config/src/main/resources/shared/application.yml @@ -0,0 +1,38 @@ +#logging: +# level: +# org.springframework.security: INFO + +#hystrix: +# command: +# default: +# execution: +# isolation: +# thread: +# timeoutInMilliseconds: 10000 + +eureka: + client: + serviceUrl: + defaultZone: http://localhost:8761/eureka/ + +#endpoints: +# health: +# sensitive: false +# enabled: true +# actuator: +# enabled: true +# sensitive: false +# beans: +# sensitive: false +# enabled: true + + +management: + security: + enabled: false + +feign: + hystrix: + enabled: true + + diff --git a/moudle_config/src/main/resources/shared/blog-service-pro.yml b/moudle_config/src/main/resources/shared/blog-service-pro.yml new file mode 100644 index 0000000..b00e0df --- /dev/null +++ b/moudle_config/src/main/resources/shared/blog-service-pro.yml @@ -0,0 +1,24 @@ +server: + port: 8763 + +spring: + zipkin: + base-url: http://localhost:9411 + + datasource: + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://localhost:3306/sys-blog?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 + username: root + password: 123456 + jpa: + hibernate: + ddl-auto: update + show-sql: true + + rabbitmq: + host: localhost + port: 5672 + username: guest + password: guest + publisher-confirms: true + virtual-host: / \ No newline at end of file diff --git a/moudle_config/src/main/resources/shared/gateway-service-pro.yml b/moudle_config/src/main/resources/shared/gateway-service-pro.yml new file mode 100644 index 0000000..3a8ea54 --- /dev/null +++ b/moudle_config/src/main/resources/shared/gateway-service-pro.yml @@ -0,0 +1,31 @@ +hystrix: + command: + default: + execution: + isolation: + thread: + timeoutInMilliseconds: 20000 + +ribbon: + ReadTimeout: 20000 + ConnectTimeout: 20000 + +zuul: + host: + connect-timeout-millis: 20000 + socket-timeout-millis: 20000 + + routes: + user-service: + path: /userapi/** + serviceId: user-service + sensitiveHeaders: + + blog-service: + path: /blogapi/** + serviceId: blog-service + sensitiveHeaders: + +server: + port: 5000 + diff --git a/moudle_config/src/main/resources/shared/logger-service-pro.yml b/moudle_config/src/main/resources/shared/logger-service-pro.yml new file mode 100644 index 0000000..efccbd6 --- /dev/null +++ b/moudle_config/src/main/resources/shared/logger-service-pro.yml @@ -0,0 +1,21 @@ +spring: + datasource: + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://localhost:3306/sys-log?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 + username: root + password: 123456 + jpa: + hibernate: + ddl-auto: update + show-sql: true + + rabbitmq: + host: localhost + port: 5672 + username: guest + password: guest + publisher-confirms: true + virtual-host: / + +server: + port: 9997 \ No newline at end of file diff --git a/moudle_config/src/main/resources/shared/monitor-service-pro.yml b/moudle_config/src/main/resources/shared/monitor-service-pro.yml new file mode 100644 index 0000000..453c61d --- /dev/null +++ b/moudle_config/src/main/resources/shared/monitor-service-pro.yml @@ -0,0 +1,12 @@ +server: + port: 8766 +security.basic.enabled: false +turbine: + aggregator: + clusterConfig: default + appConfig: user-service , blog-service + clusterNameExpression: new String("default") + +management: + security: + enabled: false \ No newline at end of file diff --git a/moudle_config/src/main/resources/shared/uaa-service-pro.yml b/moudle_config/src/main/resources/shared/uaa-service-pro.yml new file mode 100644 index 0000000..f808c16 --- /dev/null +++ b/moudle_config/src/main/resources/shared/uaa-service-pro.yml @@ -0,0 +1,12 @@ +spring: + datasource: + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://localhost:3306/sys-user?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 + username: root + password: 123456 + jpa: + hibernate: + ddl-auto: update + show-sql: true +server: + port: 9999 diff --git a/moudle_config/src/main/resources/shared/user-service-pro.yml b/moudle_config/src/main/resources/shared/user-service-pro.yml new file mode 100644 index 0000000..8ba4c49 --- /dev/null +++ b/moudle_config/src/main/resources/shared/user-service-pro.yml @@ -0,0 +1,30 @@ +server: + port: 8762 + + +spring: + zipkin: + base-url: http://localhost:9411 + +# rabbitmq: +# host: localhost +# port: 5672 + datasource: + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://localhost:3306/sys-user?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 + username: root + password: 123456 + jpa: + hibernate: + ddl-auto: update + show-sql: true + + rabbitmq: + host: localhost + port: 5672 + username: guest + password: guest + publisher-confirms: true + virtual-host: / + +foo: foo version 1 \ No newline at end of file diff --git a/moudle_config/src/main/resources/shared/zipkin-service-pro.yml b/moudle_config/src/main/resources/shared/zipkin-service-pro.yml new file mode 100644 index 0000000..435ed84 --- /dev/null +++ b/moudle_config/src/main/resources/shared/zipkin-service-pro.yml @@ -0,0 +1,2 @@ +server: + port: 9411 \ No newline at end of file diff --git a/moudle_eureka/build.gradle b/moudle_eureka/build.gradle new file mode 100644 index 0000000..666ec6b --- /dev/null +++ b/moudle_eureka/build.gradle @@ -0,0 +1,8 @@ +dependencies { + compile 'org.springframework.cloud:spring-cloud-starter-eureka-server' +} +jar { + manifest { + attributes 'Main-Class': 'com.fly.eureka.EurekaServerApplication' + } +} \ No newline at end of file diff --git a/moudle_eureka/out/production/classes/com/fly/eureka/EurekaServerApplication.class b/moudle_eureka/out/production/classes/com/fly/eureka/EurekaServerApplication.class new file mode 100644 index 0000000..7fb2f0c Binary files /dev/null and b/moudle_eureka/out/production/classes/com/fly/eureka/EurekaServerApplication.class differ diff --git a/moudle_eureka/out/production/resources/application.yml b/moudle_eureka/out/production/resources/application.yml new file mode 100644 index 0000000..718c859 --- /dev/null +++ b/moudle_eureka/out/production/resources/application.yml @@ -0,0 +1,8 @@ +server: + port: 8761 +eureka: + client: + register-with-eureka: false + fetch-registry: false + serviceUrl: + defaultZone: http://localhost:${server.port}/eureka/ \ No newline at end of file diff --git a/moudle_eureka/src/main/java/com/fly/eureka/EurekaServerApplication.java b/moudle_eureka/src/main/java/com/fly/eureka/EurekaServerApplication.java new file mode 100644 index 0000000..e1f7b79 --- /dev/null +++ b/moudle_eureka/src/main/java/com/fly/eureka/EurekaServerApplication.java @@ -0,0 +1,20 @@ +package com.fly.eureka; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@SpringBootApplication +@EnableEurekaServer +public class EurekaServerApplication { + + public static void main(String[] args) { + SpringApplication.run(EurekaServerApplication.class, args); + } +} diff --git a/moudle_eureka/src/main/resources/application.yml b/moudle_eureka/src/main/resources/application.yml new file mode 100644 index 0000000..718c859 --- /dev/null +++ b/moudle_eureka/src/main/resources/application.yml @@ -0,0 +1,8 @@ +server: + port: 8761 +eureka: + client: + register-with-eureka: false + fetch-registry: false + serviceUrl: + defaultZone: http://localhost:${server.port}/eureka/ \ No newline at end of file diff --git a/moudle_gateway/build.gradle b/moudle_gateway/build.gradle new file mode 100644 index 0000000..3bca26d --- /dev/null +++ b/moudle_gateway/build.gradle @@ -0,0 +1,11 @@ +dependencies { + compile 'org.springframework.cloud:spring-cloud-starter-zuul' + compile 'org.springframework.cloud:spring-cloud-starter-config' + compile 'org.springframework.cloud:spring-cloud-starter' + compile 'org.springframework.cloud:spring-cloud-starter-eureka' +} +jar { + manifest { + attributes 'Main-Class': 'com.fly.gateway.GatewayServiceApplication' + } +} \ No newline at end of file diff --git a/moudle_gateway/out/production/classes/com/fly/gateway/GatewayServiceApplication.class b/moudle_gateway/out/production/classes/com/fly/gateway/GatewayServiceApplication.class new file mode 100644 index 0000000..b200cc3 Binary files /dev/null and b/moudle_gateway/out/production/classes/com/fly/gateway/GatewayServiceApplication.class differ diff --git a/moudle_gateway/out/production/resources/bootstrap.yml b/moudle_gateway/out/production/resources/bootstrap.yml new file mode 100644 index 0000000..54f2fbc --- /dev/null +++ b/moudle_gateway/out/production/resources/bootstrap.yml @@ -0,0 +1,12 @@ +spring: + application: + name: gateway-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro + + + diff --git a/moudle_gateway/src/main/java/com/fly/gateway/GatewayServiceApplication.java b/moudle_gateway/src/main/java/com/fly/gateway/GatewayServiceApplication.java new file mode 100644 index 0000000..92c9d2b --- /dev/null +++ b/moudle_gateway/src/main/java/com/fly/gateway/GatewayServiceApplication.java @@ -0,0 +1,23 @@ +package com.fly.gateway; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.netflix.eureka.EnableEurekaClient; +import org.springframework.cloud.netflix.zuul.EnableZuulProxy; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@SpringBootApplication +@EnableZuulProxy +@EnableEurekaClient +public class GatewayServiceApplication { + + public static void main(String[] args) { + SpringApplication.run(GatewayServiceApplication.class, args); + } +} diff --git a/moudle_gateway/src/main/resources/bootstrap.yml b/moudle_gateway/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..54f2fbc --- /dev/null +++ b/moudle_gateway/src/main/resources/bootstrap.yml @@ -0,0 +1,12 @@ +spring: + application: + name: gateway-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro + + + diff --git a/moudle_log/build.gradle b/moudle_log/build.gradle new file mode 100644 index 0000000..24acd40 --- /dev/null +++ b/moudle_log/build.gradle @@ -0,0 +1,14 @@ +dependencies { + compile 'org.springframework.cloud:spring-cloud-starter-eureka' + compile 'org.springframework.cloud:spring-cloud-starter-config' + compile 'org.springframework.boot:spring-boot-starter-actuator' + compile 'org.springframework.boot:spring-boot-starter-data-jpa' + compile 'org.springframework.boot:spring-boot-starter-amqp' + compile 'mysql:mysql-connector-java' + compile 'com.alibaba:fastjson:1.2.31' +} +jar { + manifest { + attributes 'Main-Class': 'com.fly.log.LogServiceApplication' + } +} \ No newline at end of file diff --git a/moudle_log/out/production/classes/com/fly/log/LogServiceApplication.class b/moudle_log/out/production/classes/com/fly/log/LogServiceApplication.class new file mode 100644 index 0000000..8461b8f Binary files /dev/null and b/moudle_log/out/production/classes/com/fly/log/LogServiceApplication.class differ diff --git a/moudle_log/out/production/classes/com/fly/log/config/RabbitConfig.class b/moudle_log/out/production/classes/com/fly/log/config/RabbitConfig.class new file mode 100644 index 0000000..89403fa Binary files /dev/null and b/moudle_log/out/production/classes/com/fly/log/config/RabbitConfig.class differ diff --git a/moudle_log/out/production/classes/com/fly/log/dao/SysLogDAO.class b/moudle_log/out/production/classes/com/fly/log/dao/SysLogDAO.class new file mode 100644 index 0000000..02c8cff Binary files /dev/null and b/moudle_log/out/production/classes/com/fly/log/dao/SysLogDAO.class differ diff --git a/moudle_log/out/production/classes/com/fly/log/entity/SysLog.class b/moudle_log/out/production/classes/com/fly/log/entity/SysLog.class new file mode 100644 index 0000000..695a54f Binary files /dev/null and b/moudle_log/out/production/classes/com/fly/log/entity/SysLog.class differ diff --git a/moudle_log/out/production/classes/com/fly/log/rabbit/Receiver.class b/moudle_log/out/production/classes/com/fly/log/rabbit/Receiver.class new file mode 100644 index 0000000..cad6eaf Binary files /dev/null and b/moudle_log/out/production/classes/com/fly/log/rabbit/Receiver.class differ diff --git a/moudle_log/out/production/classes/com/fly/log/rabbit/Sender.class b/moudle_log/out/production/classes/com/fly/log/rabbit/Sender.class new file mode 100644 index 0000000..f839c73 Binary files /dev/null and b/moudle_log/out/production/classes/com/fly/log/rabbit/Sender.class differ diff --git a/moudle_log/out/production/classes/com/fly/log/rabbit/User.class b/moudle_log/out/production/classes/com/fly/log/rabbit/User.class new file mode 100644 index 0000000..b2dc0f8 Binary files /dev/null and b/moudle_log/out/production/classes/com/fly/log/rabbit/User.class differ diff --git a/moudle_log/out/production/classes/com/fly/log/service/SysLogService.class b/moudle_log/out/production/classes/com/fly/log/service/SysLogService.class new file mode 100644 index 0000000..3855328 Binary files /dev/null and b/moudle_log/out/production/classes/com/fly/log/service/SysLogService.class differ diff --git a/moudle_log/out/production/resources/bootstrap.yml b/moudle_log/out/production/resources/bootstrap.yml new file mode 100644 index 0000000..1c6c5c2 --- /dev/null +++ b/moudle_log/out/production/resources/bootstrap.yml @@ -0,0 +1,27 @@ +spring: + application: + name: logger-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro + + datasource: + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://localhost:3306/sys-log?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 + username: root + password: 123456 + jpa: + hibernate: + ddl-auto: update + show-sql: true + + rabbitmq: + host: localhost + port: 5672 + username: guest + password: guest + publisher-confirms: true + virtual-host: / \ No newline at end of file diff --git a/moudle_log/src/main/java/com/fly/log/LogServiceApplication.java b/moudle_log/src/main/java/com/fly/log/LogServiceApplication.java new file mode 100644 index 0000000..90f2f2d --- /dev/null +++ b/moudle_log/src/main/java/com/fly/log/LogServiceApplication.java @@ -0,0 +1,20 @@ +package com.fly.log; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.netflix.eureka.EnableEurekaClient; +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@SpringBootApplication +@EnableEurekaClient +public class LogServiceApplication { + + public static void main(String[] args) { + SpringApplication.run(LogServiceApplication.class, args); + } +} diff --git a/moudle_log/src/main/java/com/fly/log/config/RabbitConfig.java b/moudle_log/src/main/java/com/fly/log/config/RabbitConfig.java new file mode 100644 index 0000000..03a4306 --- /dev/null +++ b/moudle_log/src/main/java/com/fly/log/config/RabbitConfig.java @@ -0,0 +1,61 @@ +package com.fly.log.config; + + +import com.fly.log.rabbit.Receiver; +import org.springframework.amqp.core.Binding; +import org.springframework.amqp.core.BindingBuilder; +import org.springframework.amqp.core.Queue; +import org.springframework.amqp.core.TopicExchange; +import org.springframework.amqp.rabbit.connection.ConnectionFactory; +import org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer; +import org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +public class RabbitConfig { + + + public final static String queueName = "spring-boot"; + + @Bean + Queue queue() { + return new Queue(queueName, false); + } + + @Bean + TopicExchange exchange() { + return new TopicExchange("spring-boot-exchange"); + } + + @Bean + Binding binding(Queue queue, TopicExchange exchange) { + return BindingBuilder.bind(queue).to(exchange).with(queueName); + } + + @Bean + SimpleMessageListenerContainer container(ConnectionFactory connectionFactory, + MessageListenerAdapter listenerAdapter) { + SimpleMessageListenerContainer container = new SimpleMessageListenerContainer(); + container.setConnectionFactory(connectionFactory); + container.setQueueNames(queueName); + container.setMessageListener(listenerAdapter); + return container; + } + + @Bean + MessageListenerAdapter listenerAdapter(Receiver receiver) { + return new MessageListenerAdapter(receiver, "receiveMessage"); + } + + +} diff --git a/moudle_log/src/main/java/com/fly/log/dao/SysLogDAO.java b/moudle_log/src/main/java/com/fly/log/dao/SysLogDAO.java new file mode 100644 index 0000000..4a0ea1a --- /dev/null +++ b/moudle_log/src/main/java/com/fly/log/dao/SysLogDAO.java @@ -0,0 +1,14 @@ +package com.fly.log.dao; + +import com.fly.log.entity.SysLog; +import org.springframework.data.jpa.repository.JpaRepository; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public interface SysLogDAO extends JpaRepository { +} diff --git a/moudle_log/src/main/java/com/fly/log/entity/SysLog.java b/moudle_log/src/main/java/com/fly/log/entity/SysLog.java new file mode 100644 index 0000000..9f3b55e --- /dev/null +++ b/moudle_log/src/main/java/com/fly/log/entity/SysLog.java @@ -0,0 +1,94 @@ +package com.fly.log.entity; + +import javax.persistence.*; +import java.io.Serializable; +import java.util.Date; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Entity +public class SysLog implements Serializable { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + //用户名 + @Column + private String username; + //用户操作 + @Column + private String operation; + //请求方法 + @Column + private String method; + //请求参数 + @Column + private String params; + //IP地址 + @Column + private String ip; + //创建时间 + @Column + private Date createDate; + public SysLog() { + } + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getOperation() { + return operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + public String getMethod() { + return method; + } + + public void setMethod(String method) { + this.method = method; + } + + public String getParams() { + return params; + } + + public void setParams(String params) { + this.params = params; + } + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public Date getCreateDate() { + return createDate; + } + + public void setCreateDate(Date createDate) { + this.createDate = createDate; + } +} diff --git a/moudle_log/src/main/java/com/fly/log/rabbit/Receiver.java b/moudle_log/src/main/java/com/fly/log/rabbit/Receiver.java new file mode 100644 index 0000000..bdc2266 --- /dev/null +++ b/moudle_log/src/main/java/com/fly/log/rabbit/Receiver.java @@ -0,0 +1,33 @@ +package com.fly.log.rabbit; + +import com.alibaba.fastjson.JSON; +import com.fly.log.entity.SysLog; +import com.fly.log.service.SysLogService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import java.util.concurrent.CountDownLatch; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Component +public class Receiver { + + private CountDownLatch latch = new CountDownLatch(1); + + @Autowired + SysLogService sysLogService; + public void receiveMessage(String message) { + System.out.println("Received <" + message + ">"); + SysLog sysLog= JSON.parseObject(message,SysLog.class); + sysLogService.saveLogger(sysLog); + latch.countDown(); + } + + +} \ No newline at end of file diff --git a/moudle_log/src/main/java/com/fly/log/rabbit/Sender.java b/moudle_log/src/main/java/com/fly/log/rabbit/Sender.java new file mode 100644 index 0000000..eefc6a3 --- /dev/null +++ b/moudle_log/src/main/java/com/fly/log/rabbit/Sender.java @@ -0,0 +1,29 @@ +package com.fly.log.rabbit; + +import com.fly.log.config.RabbitConfig; +import org.springframework.amqp.core.AmqpTemplate; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import java.util.Date; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Component +public class Sender { + + @Autowired + private AmqpTemplate rabbitTemplate; + + public void send() { + String context = "hello " + new Date(); + System.out.println("Sender : " + context); + rabbitTemplate.convertAndSend(RabbitConfig.queueName, "Hello from RabbitMQ!"); + } + +} \ No newline at end of file diff --git a/moudle_log/src/main/java/com/fly/log/rabbit/User.java b/moudle_log/src/main/java/com/fly/log/rabbit/User.java new file mode 100644 index 0000000..3d53dcb --- /dev/null +++ b/moudle_log/src/main/java/com/fly/log/rabbit/User.java @@ -0,0 +1,43 @@ +package com.fly.log.rabbit; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class User { + private String username; + private String password; + + + public User(String username, String password) { + this.username = username; + this.password = password; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + @Override + public String toString() { + return "User{" + + "username='" + username + '\'' + + ", password='" + password + '\'' + + '}'; + } +} diff --git a/moudle_log/src/main/java/com/fly/log/service/SysLogService.java b/moudle_log/src/main/java/com/fly/log/service/SysLogService.java new file mode 100644 index 0000000..fe718c1 --- /dev/null +++ b/moudle_log/src/main/java/com/fly/log/service/SysLogService.java @@ -0,0 +1,24 @@ +package com.fly.log.service; + +import com.fly.log.entity.SysLog; +import com.fly.log.dao.SysLogDAO; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +/** + * Description: <>
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Service +public class SysLogService { + + @Autowired + SysLogDAO sysLogDAO; + + public void saveLogger(SysLog sysLog){ + sysLogDAO.save(sysLog); + } +} diff --git a/moudle_log/src/main/resources/bootstrap.yml b/moudle_log/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..1c6c5c2 --- /dev/null +++ b/moudle_log/src/main/resources/bootstrap.yml @@ -0,0 +1,27 @@ +spring: + application: + name: logger-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro + + datasource: + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://localhost:3306/sys-log?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 + username: root + password: 123456 + jpa: + hibernate: + ddl-auto: update + show-sql: true + + rabbitmq: + host: localhost + port: 5672 + username: guest + password: guest + publisher-confirms: true + virtual-host: / \ No newline at end of file diff --git a/moudle_monitor/build.gradle b/moudle_monitor/build.gradle new file mode 100644 index 0000000..83e01cd --- /dev/null +++ b/moudle_monitor/build.gradle @@ -0,0 +1,12 @@ +dependencies { + compile 'org.springframework.boot:spring-boot-starter-actuator' + compile 'org.springframework.cloud:spring-cloud-starter-config' + compile 'org.springframework.cloud:spring-cloud-starter-turbine' + compile 'org.springframework.cloud:spring-cloud-starter-hystrix-dashboard' + compile 'org.springframework.cloud:spring-cloud-starter-hystrix' +} +jar { + manifest { + attributes 'Main-Class': 'com.fly.monitor.MonitorServiceApplication' + } +} \ No newline at end of file diff --git a/moudle_monitor/out/production/classes/com/fly/monitor/MonitorServiceApplication.class b/moudle_monitor/out/production/classes/com/fly/monitor/MonitorServiceApplication.class new file mode 100644 index 0000000..c79a376 Binary files /dev/null and b/moudle_monitor/out/production/classes/com/fly/monitor/MonitorServiceApplication.class differ diff --git a/moudle_monitor/out/production/resources/bootstrap.yml b/moudle_monitor/out/production/resources/bootstrap.yml new file mode 100644 index 0000000..dc15355 --- /dev/null +++ b/moudle_monitor/out/production/resources/bootstrap.yml @@ -0,0 +1,9 @@ +spring: + application: + name: monitor-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro \ No newline at end of file diff --git a/moudle_monitor/src/main/java/com/fly/monitor/MonitorServiceApplication.java b/moudle_monitor/src/main/java/com/fly/monitor/MonitorServiceApplication.java new file mode 100644 index 0000000..a8d1f97 --- /dev/null +++ b/moudle_monitor/src/main/java/com/fly/monitor/MonitorServiceApplication.java @@ -0,0 +1,25 @@ +package com.fly.monitor; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.netflix.hystrix.EnableHystrix; +import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard; +import org.springframework.cloud.netflix.turbine.EnableTurbine; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@SpringBootApplication +@EnableTurbine +@EnableHystrixDashboard +@EnableHystrix +public class MonitorServiceApplication { + + public static void main(String[] args) { + SpringApplication.run(MonitorServiceApplication.class, args); + } +} diff --git a/moudle_monitor/src/main/resources/bootstrap.yml b/moudle_monitor/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..dc15355 --- /dev/null +++ b/moudle_monitor/src/main/resources/bootstrap.yml @@ -0,0 +1,9 @@ +spring: + application: + name: monitor-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro \ No newline at end of file diff --git a/moudle_uaa/build.gradle b/moudle_uaa/build.gradle new file mode 100644 index 0000000..dd0516e --- /dev/null +++ b/moudle_uaa/build.gradle @@ -0,0 +1,14 @@ +dependencies { + compile 'org.springframework.boot:spring-boot-starter-web' + compile 'org.springframework.boot:spring-boot-starter-data-jpa' + compile 'org.springframework.boot:spring-boot-starter-actuator' + compile 'org.springframework.cloud:spring-cloud-starter-config' + compile 'org.springframework.cloud:spring-cloud-starter-oauth2' + compile 'org.springframework.cloud:spring-cloud-starter-eureka' + compile 'mysql:mysql-connector-java' +} +jar { + manifest { + attributes 'Main-Class': 'com.fly.uaa.UaaServiceApplication' + } +} \ No newline at end of file diff --git a/moudle_uaa/out/production/classes/com/fly/uaa/UaaServiceApplication.class b/moudle_uaa/out/production/classes/com/fly/uaa/UaaServiceApplication.class new file mode 100644 index 0000000..88f66ef Binary files /dev/null and b/moudle_uaa/out/production/classes/com/fly/uaa/UaaServiceApplication.class differ diff --git a/moudle_uaa/out/production/classes/com/fly/uaa/config/OAuth2Config.class b/moudle_uaa/out/production/classes/com/fly/uaa/config/OAuth2Config.class new file mode 100644 index 0000000..7d5bc7a Binary files /dev/null and b/moudle_uaa/out/production/classes/com/fly/uaa/config/OAuth2Config.class differ diff --git a/moudle_uaa/out/production/classes/com/fly/uaa/config/WebSecurityConfig$1.class b/moudle_uaa/out/production/classes/com/fly/uaa/config/WebSecurityConfig$1.class new file mode 100644 index 0000000..24d224d Binary files /dev/null and b/moudle_uaa/out/production/classes/com/fly/uaa/config/WebSecurityConfig$1.class differ diff --git a/moudle_uaa/out/production/classes/com/fly/uaa/config/WebSecurityConfig.class b/moudle_uaa/out/production/classes/com/fly/uaa/config/WebSecurityConfig.class new file mode 100644 index 0000000..13c3ceb Binary files /dev/null and b/moudle_uaa/out/production/classes/com/fly/uaa/config/WebSecurityConfig.class differ diff --git a/moudle_uaa/out/production/classes/com/fly/uaa/dao/UserDao.class b/moudle_uaa/out/production/classes/com/fly/uaa/dao/UserDao.class new file mode 100644 index 0000000..b24c897 Binary files /dev/null and b/moudle_uaa/out/production/classes/com/fly/uaa/dao/UserDao.class differ diff --git a/moudle_uaa/out/production/classes/com/fly/uaa/entity/Role.class b/moudle_uaa/out/production/classes/com/fly/uaa/entity/Role.class new file mode 100644 index 0000000..dbf5f19 Binary files /dev/null and b/moudle_uaa/out/production/classes/com/fly/uaa/entity/Role.class differ diff --git a/moudle_uaa/out/production/classes/com/fly/uaa/entity/User.class b/moudle_uaa/out/production/classes/com/fly/uaa/entity/User.class new file mode 100644 index 0000000..575024c Binary files /dev/null and b/moudle_uaa/out/production/classes/com/fly/uaa/entity/User.class differ diff --git a/moudle_uaa/out/production/classes/com/fly/uaa/service/UserServiceDetail.class b/moudle_uaa/out/production/classes/com/fly/uaa/service/UserServiceDetail.class new file mode 100644 index 0000000..714f97e Binary files /dev/null and b/moudle_uaa/out/production/classes/com/fly/uaa/service/UserServiceDetail.class differ diff --git a/moudle_uaa/out/production/resources/bootstrap.yml b/moudle_uaa/out/production/resources/bootstrap.yml new file mode 100644 index 0000000..4ce01f9 --- /dev/null +++ b/moudle_uaa/out/production/resources/bootstrap.yml @@ -0,0 +1,12 @@ +spring: + application: + name: uaa-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro +management: + security: + enabled: false diff --git a/moudle_uaa/out/production/resources/fzp-jwt.jks b/moudle_uaa/out/production/resources/fzp-jwt.jks new file mode 100644 index 0000000..4ff2549 Binary files /dev/null and b/moudle_uaa/out/production/resources/fzp-jwt.jks differ diff --git a/moudle_uaa/out/production/resources/logback-spring.xml b/moudle_uaa/out/production/resources/logback-spring.xml new file mode 100644 index 0000000..c50de1d --- /dev/null +++ b/moudle_uaa/out/production/resources/logback-spring.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/moudle_uaa/src/main/java/com/fly/uaa/UaaServiceApplication.java b/moudle_uaa/src/main/java/com/fly/uaa/UaaServiceApplication.java new file mode 100644 index 0000000..594c97b --- /dev/null +++ b/moudle_uaa/src/main/java/com/fly/uaa/UaaServiceApplication.java @@ -0,0 +1,21 @@ +package com.fly.uaa; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.netflix.eureka.EnableEurekaClient; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@SpringBootApplication +@EnableEurekaClient +public class UaaServiceApplication { + + public static void main(String[] args) { + SpringApplication.run(UaaServiceApplication.class, args); + } +} diff --git a/moudle_uaa/src/main/java/com/fly/uaa/config/OAuth2Config.java b/moudle_uaa/src/main/java/com/fly/uaa/config/OAuth2Config.java new file mode 100644 index 0000000..9027b52 --- /dev/null +++ b/moudle_uaa/src/main/java/com/fly/uaa/config/OAuth2Config.java @@ -0,0 +1,60 @@ +package com.fly.uaa.config; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.core.io.ClassPathResource; +import org.springframework.security.authentication.AuthenticationManager; +import org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer; +import org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter; +import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer; +import org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer; +import org.springframework.security.oauth2.provider.token.TokenStore; +import org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter; +import org.springframework.security.oauth2.provider.token.store.JwtTokenStore; +import org.springframework.security.oauth2.provider.token.store.KeyStoreKeyFactory; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +@EnableAuthorizationServer +public class OAuth2Config extends AuthorizationServerConfigurerAdapter { + @Override + public void configure(ClientDetailsServiceConfigurer clients) throws Exception { + clients.inMemory() + .withClient("uaa-service") + .secret("123456") + .scopes("service") + .autoApprove(true) + .authorizedGrantTypes("implicit","refresh_token", "password", "authorization_code") + .accessTokenValiditySeconds(24*3600);//24小时过期 + } + + @Override + public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception { + endpoints.tokenStore(tokenStore()).tokenEnhancer(jwtTokenEnhancer()).authenticationManager(authenticationManager); + } + + @Autowired + @Qualifier("authenticationManagerBean") + private AuthenticationManager authenticationManager; + + @Bean + public TokenStore tokenStore() { + return new JwtTokenStore(jwtTokenEnhancer()); + } + + @Bean + protected JwtAccessTokenConverter jwtTokenEnhancer() { + KeyStoreKeyFactory keyStoreKeyFactory = new KeyStoreKeyFactory(new ClassPathResource("fzp-jwt.jks"), "fzp123".toCharArray()); + JwtAccessTokenConverter converter = new JwtAccessTokenConverter(); + converter.setKeyPair(keyStoreKeyFactory.getKeyPair("fzp-jwt")); + return converter; + } +} diff --git a/moudle_uaa/src/main/java/com/fly/uaa/config/WebSecurityConfig.java b/moudle_uaa/src/main/java/com/fly/uaa/config/WebSecurityConfig.java new file mode 100644 index 0000000..f2f663e --- /dev/null +++ b/moudle_uaa/src/main/java/com/fly/uaa/config/WebSecurityConfig.java @@ -0,0 +1,64 @@ +package com.fly.uaa.config; + + +import com.fly.uaa.service.UserServiceDetail; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.security.authentication.AuthenticationManager; +import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; +import org.springframework.security.config.annotation.web.builders.HttpSecurity; +import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; +import org.springframework.security.core.AuthenticationException; +import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; +import org.springframework.security.web.AuthenticationEntryPoint; + +import javax.servlet.ServletException; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.io.IOException; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +class WebSecurityConfig extends WebSecurityConfigurerAdapter { + + @Override + @Bean + public AuthenticationManager authenticationManagerBean() throws Exception { + return super.authenticationManagerBean(); + } + + @Override + protected void configure(HttpSecurity http) throws Exception { + //CSRF:因为不再依赖于Cookie,所以你就不需要考虑对CSRF(跨站请求伪造)的防范。 + http + .csrf().disable() + .exceptionHandling() + // .authenticationEntryPoint((request, response, authException) -> response.sendError(HttpServletResponse.SC_UNAUTHORIZED)) + .authenticationEntryPoint(new AuthenticationEntryPoint() { + @Override + public void commence(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, AuthenticationException e) throws IOException, ServletException { + httpServletResponse.sendError(HttpServletResponse.SC_UNAUTHORIZED); + } + }) + .and() + .authorizeRequests() + .antMatchers("/**").authenticated() + .and() + .httpBasic(); + } + + @Autowired + UserServiceDetail userServiceDetail; + @Override + protected void configure(AuthenticationManagerBuilder auth) throws Exception { + auth.userDetailsService(userServiceDetail) + .passwordEncoder(new BCryptPasswordEncoder()); + } +} diff --git a/moudle_uaa/src/main/java/com/fly/uaa/dao/UserDao.java b/moudle_uaa/src/main/java/com/fly/uaa/dao/UserDao.java new file mode 100644 index 0000000..d045679 --- /dev/null +++ b/moudle_uaa/src/main/java/com/fly/uaa/dao/UserDao.java @@ -0,0 +1,17 @@ +package com.fly.uaa.dao; + + +import com.fly.uaa.entity.User; +import org.springframework.data.jpa.repository.JpaRepository; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public interface UserDao extends JpaRepository { + + User findByUsername(String username); +} diff --git a/moudle_uaa/src/main/java/com/fly/uaa/entity/Role.java b/moudle_uaa/src/main/java/com/fly/uaa/entity/Role.java new file mode 100644 index 0000000..c02cc93 --- /dev/null +++ b/moudle_uaa/src/main/java/com/fly/uaa/entity/Role.java @@ -0,0 +1,45 @@ +package com.fly.uaa.entity; + +import org.springframework.security.core.GrantedAuthority; + +import javax.persistence.*; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Entity +public class Role implements GrantedAuthority { + + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + @Column(nullable = false) + private String name; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + @Override + public String getAuthority() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @Override + public String toString() { + return name; + } +} diff --git a/moudle_uaa/src/main/java/com/fly/uaa/entity/User.java b/moudle_uaa/src/main/java/com/fly/uaa/entity/User.java new file mode 100644 index 0000000..efaa21d --- /dev/null +++ b/moudle_uaa/src/main/java/com/fly/uaa/entity/User.java @@ -0,0 +1,94 @@ +package com.fly.uaa.entity; + +import org.springframework.security.core.GrantedAuthority; +import org.springframework.security.core.userdetails.UserDetails; + +import javax.persistence.*; +import java.io.Serializable; +import java.util.Collection; +import java.util.List; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Entity +public class User implements UserDetails, Serializable { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + @Column(nullable = false, unique = true) + private String username; + + @Column + private String password; + + @ManyToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER) + @JoinTable(name = "user_role", joinColumns = @JoinColumn(name = "user_id", referencedColumnName = "id"), + inverseJoinColumns = @JoinColumn(name = "role_id", referencedColumnName = "id")) + private List authorities; + + + public User() { + } + + public Long getId() { + return id; + } + public void setId(Long id) { + this.id = id; + } + + @Override + public Collection getAuthorities() { + return authorities; + } + + public void setAuthorities(List authorities) { + this.authorities = authorities; + } + + @Override + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + @Override + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + @Override + public boolean isAccountNonExpired() { + return true; + } + + @Override + public boolean isAccountNonLocked() { + return true; + } + + @Override + public boolean isCredentialsNonExpired() { + return true; + } + + @Override + public boolean isEnabled() { + return true; + } + + +} diff --git a/moudle_uaa/src/main/java/com/fly/uaa/service/UserServiceDetail.java b/moudle_uaa/src/main/java/com/fly/uaa/service/UserServiceDetail.java new file mode 100644 index 0000000..03bda5d --- /dev/null +++ b/moudle_uaa/src/main/java/com/fly/uaa/service/UserServiceDetail.java @@ -0,0 +1,26 @@ +package com.fly.uaa.service; + + +import com.fly.uaa.dao.UserDao; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.core.userdetails.UserDetails; +import org.springframework.security.core.userdetails.UserDetailsService; +import org.springframework.security.core.userdetails.UsernameNotFoundException; +import org.springframework.stereotype.Service; +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Service +public class UserServiceDetail implements UserDetailsService { + + @Autowired + private UserDao userRepository; + @Override + public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException { + return userRepository.findByUsername(username); + } +} diff --git a/moudle_uaa/src/main/resources/bootstrap.yml b/moudle_uaa/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..4ce01f9 --- /dev/null +++ b/moudle_uaa/src/main/resources/bootstrap.yml @@ -0,0 +1,12 @@ +spring: + application: + name: uaa-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro +management: + security: + enabled: false diff --git a/moudle_uaa/src/main/resources/fzp-jwt.jks b/moudle_uaa/src/main/resources/fzp-jwt.jks new file mode 100644 index 0000000..4ff2549 Binary files /dev/null and b/moudle_uaa/src/main/resources/fzp-jwt.jks differ diff --git a/moudle_uaa/src/main/resources/logback-spring.xml b/moudle_uaa/src/main/resources/logback-spring.xml new file mode 100644 index 0000000..c50de1d --- /dev/null +++ b/moudle_uaa/src/main/resources/logback-spring.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/moudle_user/build.gradle b/moudle_user/build.gradle new file mode 100644 index 0000000..1dd8e08 --- /dev/null +++ b/moudle_user/build.gradle @@ -0,0 +1,8 @@ +dependencies { + compile project(':lib_common') +} +jar { + manifest { + attributes 'Main-Class': 'com.fly.user.UserServiceApplication' + } +} \ No newline at end of file diff --git a/moudle_user/out/production/classes/com/fly/user/UserServiceApplication.class b/moudle_user/out/production/classes/com/fly/user/UserServiceApplication.class new file mode 100644 index 0000000..e00286a Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/UserServiceApplication.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/aop/SysLoggerAspect.class b/moudle_user/out/production/classes/com/fly/user/aop/SysLoggerAspect.class new file mode 100644 index 0000000..5cb362f Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/aop/SysLoggerAspect.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/client/AuthServiceClient.class b/moudle_user/out/production/classes/com/fly/user/client/AuthServiceClient.class new file mode 100644 index 0000000..7be8a5d Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/client/AuthServiceClient.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/client/hystrix/AuthServiceHystrix.class b/moudle_user/out/production/classes/com/fly/user/client/hystrix/AuthServiceHystrix.class new file mode 100644 index 0000000..f0464b2 Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/client/hystrix/AuthServiceHystrix.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/config/GlobalMethodSecurityConfiguration.class b/moudle_user/out/production/classes/com/fly/user/config/GlobalMethodSecurityConfiguration.class new file mode 100644 index 0000000..852c415 Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/config/GlobalMethodSecurityConfiguration.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/config/JwtConfiguration.class b/moudle_user/out/production/classes/com/fly/user/config/JwtConfiguration.class new file mode 100644 index 0000000..6586488 Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/config/JwtConfiguration.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/config/RabbitConfig.class b/moudle_user/out/production/classes/com/fly/user/config/RabbitConfig.class new file mode 100644 index 0000000..dba8848 Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/config/RabbitConfig.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/config/ResourceServerConfiguration.class b/moudle_user/out/production/classes/com/fly/user/config/ResourceServerConfiguration.class new file mode 100644 index 0000000..7781ee3 Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/config/ResourceServerConfiguration.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/config/SwaggerConfig.class b/moudle_user/out/production/classes/com/fly/user/config/SwaggerConfig.class new file mode 100644 index 0000000..f40835c Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/config/SwaggerConfig.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/dao/UserDao.class b/moudle_user/out/production/classes/com/fly/user/dao/UserDao.class new file mode 100644 index 0000000..ffce154 Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/dao/UserDao.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/dto/LoginDTO.class b/moudle_user/out/production/classes/com/fly/user/dto/LoginDTO.class new file mode 100644 index 0000000..44feba7 Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/dto/LoginDTO.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/entity/JWT.class b/moudle_user/out/production/classes/com/fly/user/entity/JWT.class new file mode 100644 index 0000000..a524833 Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/entity/JWT.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/entity/SysLog.class b/moudle_user/out/production/classes/com/fly/user/entity/SysLog.class new file mode 100644 index 0000000..b5e7e0a Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/entity/SysLog.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/entity/User.class b/moudle_user/out/production/classes/com/fly/user/entity/User.class new file mode 100644 index 0000000..98cb250 Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/entity/User.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/exception/CommonExceptionHandler.class b/moudle_user/out/production/classes/com/fly/user/exception/CommonExceptionHandler.class new file mode 100644 index 0000000..4c07f66 Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/exception/CommonExceptionHandler.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/service/LoggerService.class b/moudle_user/out/production/classes/com/fly/user/service/LoggerService.class new file mode 100644 index 0000000..e6b8c7b Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/service/LoggerService.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/service/UserService.class b/moudle_user/out/production/classes/com/fly/user/service/UserService.class new file mode 100644 index 0000000..16f86bf Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/service/UserService.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/util/BPwdEncoderUtils.class b/moudle_user/out/production/classes/com/fly/user/util/BPwdEncoderUtils.class new file mode 100644 index 0000000..6221a19 Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/util/BPwdEncoderUtils.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/util/HttpUtils.class b/moudle_user/out/production/classes/com/fly/user/util/HttpUtils.class new file mode 100644 index 0000000..a5139bb Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/util/HttpUtils.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/util/UserUtils.class b/moudle_user/out/production/classes/com/fly/user/util/UserUtils.class new file mode 100644 index 0000000..3bf13bd Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/util/UserUtils.class differ diff --git a/moudle_user/out/production/classes/com/fly/user/web/UserController.class b/moudle_user/out/production/classes/com/fly/user/web/UserController.class new file mode 100644 index 0000000..19452ce Binary files /dev/null and b/moudle_user/out/production/classes/com/fly/user/web/UserController.class differ diff --git a/moudle_user/out/production/resources/bootstrap.yml b/moudle_user/out/production/resources/bootstrap.yml new file mode 100644 index 0000000..25e02e7 --- /dev/null +++ b/moudle_user/out/production/resources/bootstrap.yml @@ -0,0 +1,27 @@ +spring: + application: + name: user-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro + +# datasource: +# driver-class-name: com.mysql.jdbc.Driver +# url: jdbc:mysql://localhost:3306/spring-cloud-auth?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 +# username: root +# password: 123456 +# jpa: +# hibernate: +# ddl-auto: create +# show-sql: true +# +# rabbitmq: +# host: localhost +# port: 5672 +# username: guest +# password: guest +# publisher-confirms: true +# virtual-host: / \ No newline at end of file diff --git a/moudle_user/out/production/resources/public.cert b/moudle_user/out/production/resources/public.cert new file mode 100644 index 0000000..bfb6145 --- /dev/null +++ b/moudle_user/out/production/resources/public.cert @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjuyo7NI2wdwKkvHxHHlo +J374F2mUKhxVzIFjnf9TJWKC5OqQm5IbcnsiLHp6w3ElGOgyXBJhiqZPJ6GhTq16 +4/XsxSMVRlnmWuggSdDpVIGoYoeGuLFhLXI10IHYvN0pIAynR741HCwp1lYHOabq +C4S/lvi9jQSbU+mAz3eq9iGLwAPV/WDkbcQL1PX4yjQ4JN81qzu81zJXlN8KhgR4 +oRbyl3FPLYOaxwIRddFKgkBeS0qiQMDaXDmDf8AU5EUEeUwZoWoFarkcPg6jbQ87 +Sr0vMLYApKBN6GJObNzZfDmNJ0GbBZvYc0zUib+A5vPStBEtszGuyb2K9jtlCyJi +qQIDAQAB +-----END PUBLIC KEY----- diff --git a/moudle_user/src/main/java/com/fly/user/UserServiceApplication.java b/moudle_user/src/main/java/com/fly/user/UserServiceApplication.java new file mode 100644 index 0000000..e80ea8a --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/UserServiceApplication.java @@ -0,0 +1,28 @@ +package com.fly.user; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.netflix.eureka.EnableEurekaClient; +import org.springframework.cloud.netflix.feign.EnableFeignClients; +import org.springframework.cloud.netflix.hystrix.EnableHystrix; +import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@SpringBootApplication +@EnableEurekaClient +@EnableFeignClients +@EnableHystrixDashboard +@EnableHystrix +public class UserServiceApplication { + + public static void main(String[] args) { + SpringApplication.run(UserServiceApplication.class, args); + } + +} diff --git a/moudle_user/src/main/java/com/fly/user/aop/SysLoggerAspect.java b/moudle_user/src/main/java/com/fly/user/aop/SysLoggerAspect.java new file mode 100644 index 0000000..c3a4b98 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/aop/SysLoggerAspect.java @@ -0,0 +1,78 @@ +package com.fly.user.aop; + +import com.alibaba.fastjson.JSON; +import com.fly.common.annotation.SysLogger; +import com.fly.user.util.HttpUtils; +import com.fly.user.util.UserUtils; +import com.fly.user.entity.SysLog; +import com.fly.user.service.LoggerService; +import org.apache.commons.lang.StringUtils; +import org.aspectj.lang.JoinPoint; +import org.aspectj.lang.annotation.Aspect; +import org.aspectj.lang.annotation.Before; +import org.aspectj.lang.annotation.Pointcut; +import org.aspectj.lang.reflect.MethodSignature; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import javax.servlet.http.HttpServletRequest; +import java.lang.reflect.Method; +import java.util.Date; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Aspect +@Component +public class SysLoggerAspect { + @Autowired + private LoggerService loggerService; + + @Pointcut("@annotation(com.fly.common.annotation.SysLogger)") + public void loggerPointCut() { + + } + + @Before("loggerPointCut()") + public void saveSysLog(JoinPoint joinPoint) { + MethodSignature signature = (MethodSignature) joinPoint.getSignature(); + Method method = signature.getMethod(); + + SysLog sysLog = new SysLog(); + SysLogger sysLogger = method.getAnnotation(SysLogger.class); + if(sysLogger != null){ + //注解上的描述 + sysLog.setOperation(sysLogger.value()); + } + //请求的方法名 + String className = joinPoint.getTarget().getClass().getName(); + String methodName = signature.getName(); + sysLog.setMethod(className + "." + methodName + "()"); + //请求的参数 + Object[] args = joinPoint.getArgs(); + String params=""; + + for(Object o:args){ + params+= JSON.toJSONString(o); + } + if(!StringUtils.isEmpty(params)) { + sysLog.setParams(params); + } + //设置IP地址 + sysLog.setIp(HttpUtils.getIpAddress()); + //用户名 + String username = UserUtils.getCurrentPrinciple(); + if(!StringUtils.isEmpty(username)) { + sysLog.setUsername(username); + } + sysLog.setCreateDate(new Date()); + //保存系统日志 + loggerService.log(sysLog); + } + +} + diff --git a/moudle_user/src/main/java/com/fly/user/client/AuthServiceClient.java b/moudle_user/src/main/java/com/fly/user/client/AuthServiceClient.java new file mode 100644 index 0000000..c7d8ecf --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/client/AuthServiceClient.java @@ -0,0 +1,25 @@ +package com.fly.user.client; + +import com.fly.user.client.hystrix.AuthServiceHystrix; +import com.fly.user.entity.JWT; +import org.springframework.cloud.netflix.feign.FeignClient; +import org.springframework.web.bind.annotation.*; + + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@FeignClient(value = "uaa-service",fallback = AuthServiceHystrix.class ) +public interface AuthServiceClient { + + @PostMapping(value = "/oauth/token") + JWT getToken(@RequestHeader(value = "Authorization") String authorization, @RequestParam("grant_type") String type, + @RequestParam("username") String username, @RequestParam("password") String password); +} + + + diff --git a/moudle_user/src/main/java/com/fly/user/client/hystrix/AuthServiceHystrix.java b/moudle_user/src/main/java/com/fly/user/client/hystrix/AuthServiceHystrix.java new file mode 100644 index 0000000..6a39281 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/client/hystrix/AuthServiceHystrix.java @@ -0,0 +1,22 @@ +package com.fly.user.client.hystrix; + + +import com.fly.user.client.AuthServiceClient; +import com.fly.user.entity.JWT; +import org.springframework.stereotype.Component; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Component +public class AuthServiceHystrix implements AuthServiceClient { + @Override + public JWT getToken(String authorization, String type, String username, String password) { + System.out.println("--------opps getToken hystrix---------"); + return null; + } +} diff --git a/moudle_user/src/main/java/com/fly/user/config/GlobalMethodSecurityConfiguration.java b/moudle_user/src/main/java/com/fly/user/config/GlobalMethodSecurityConfiguration.java new file mode 100644 index 0000000..33cf435 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/config/GlobalMethodSecurityConfiguration.java @@ -0,0 +1,17 @@ +package com.fly.user.config; + +import org.springframework.context.annotation.Configuration; +import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +@EnableGlobalMethodSecurity(prePostEnabled = true) +public class GlobalMethodSecurityConfiguration { + +} diff --git a/moudle_user/src/main/java/com/fly/user/config/JwtConfiguration.java b/moudle_user/src/main/java/com/fly/user/config/JwtConfiguration.java new file mode 100644 index 0000000..7483297 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/config/JwtConfiguration.java @@ -0,0 +1,49 @@ +package com.fly.user.config; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.core.io.ClassPathResource; +import org.springframework.core.io.Resource; +import org.springframework.security.oauth2.provider.token.TokenStore; +import org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter; +import org.springframework.security.oauth2.provider.token.store.JwtTokenStore; +import org.springframework.util.FileCopyUtils; + +import java.io.IOException; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +public class JwtConfiguration { + @Autowired + JwtAccessTokenConverter jwtAccessTokenConverter; + + @Bean + @Qualifier("tokenStore") + public TokenStore tokenStore() { + + System.out.println("Created JwtTokenStore"); + return new JwtTokenStore(jwtAccessTokenConverter); + } + + @Bean + protected JwtAccessTokenConverter jwtTokenEnhancer() { + JwtAccessTokenConverter converter = new JwtAccessTokenConverter(); + Resource resource = new ClassPathResource("public.cert"); + String publicKey ; + try { + publicKey = new String(FileCopyUtils.copyToByteArray(resource.getInputStream())); + } catch (IOException e) { + throw new RuntimeException(e); + } + converter.setVerifierKey(publicKey); + return converter; + } +} diff --git a/moudle_user/src/main/java/com/fly/user/config/RabbitConfig.java b/moudle_user/src/main/java/com/fly/user/config/RabbitConfig.java new file mode 100644 index 0000000..1e626b5 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/config/RabbitConfig.java @@ -0,0 +1,43 @@ +package com.fly.user.config; + + +import org.springframework.amqp.core.Binding; +import org.springframework.amqp.core.BindingBuilder; +import org.springframework.amqp.core.Queue; +import org.springframework.amqp.core.TopicExchange; +import org.springframework.amqp.rabbit.connection.ConnectionFactory; +import org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer; +import org.springframework.amqp.rabbit.listener.adapter.MessageListenerAdapter; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +public class RabbitConfig { + + + public final static String queueName = "spring-boot"; + + @Bean + Queue queue() { + return new Queue(queueName, false); + } + + @Bean + TopicExchange exchange() { + return new TopicExchange("spring-boot-exchange"); + } + + @Bean + Binding binding(Queue queue, TopicExchange exchange) { + return BindingBuilder.bind(queue).to(exchange).with(queueName); + } + + +} diff --git a/moudle_user/src/main/java/com/fly/user/config/ResourceServerConfiguration.java b/moudle_user/src/main/java/com/fly/user/config/ResourceServerConfiguration.java new file mode 100644 index 0000000..9cdb392 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/config/ResourceServerConfiguration.java @@ -0,0 +1,44 @@ +package com.fly.user.config; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Configuration; +import org.springframework.security.config.annotation.web.builders.HttpSecurity; +import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer; +import org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter; +import org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer; +import org.springframework.security.oauth2.provider.token.TokenStore; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +@EnableResourceServer +public class ResourceServerConfiguration extends ResourceServerConfigurerAdapter{ + Logger log = LoggerFactory.getLogger(ResourceServerConfiguration.class); + + @Override + public void configure(HttpSecurity http) throws Exception { + http + .csrf().disable() + .authorizeRequests() + .regexMatchers(".*swagger.*",".*v2.*",".*webjars.*","/user/login.*","/user/registry.*","/user/test.*").permitAll() + .antMatchers("/**").authenticated(); +// .antMatchers("/**").permitAll(); + } + + + @Override + public void configure(ResourceServerSecurityConfigurer resources) throws Exception { + log.info("Configuring ResourceServerSecurityConfigurer "); + resources.resourceId("user-service").tokenStore(tokenStore); + } + + @Autowired + TokenStore tokenStore; +} diff --git a/moudle_user/src/main/java/com/fly/user/config/SwaggerConfig.java b/moudle_user/src/main/java/com/fly/user/config/SwaggerConfig.java new file mode 100644 index 0000000..a0f982b --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/config/SwaggerConfig.java @@ -0,0 +1,69 @@ +package com.fly.user.config; + + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import springfox.documentation.builders.ApiInfoBuilder; +import springfox.documentation.builders.ParameterBuilder; +import springfox.documentation.builders.PathSelectors; +import springfox.documentation.builders.RequestHandlerSelectors; +import springfox.documentation.schema.ModelRef; +import springfox.documentation.service.ApiInfo; +import springfox.documentation.service.Parameter; +import springfox.documentation.spi.DocumentationType; +import springfox.documentation.spring.web.plugins.Docket; +import springfox.documentation.swagger2.annotations.EnableSwagger2; + +import java.util.ArrayList; +import java.util.List; + + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Configuration +@EnableSwagger2 +public class SwaggerConfig { + /** + * 全局参数 + * + * @return + */ + private List parameter() { + List params = new ArrayList<>(); + params.add(new ParameterBuilder().name("Authorization") + .description("Authorization Bearer token") + .modelRef(new ModelRef("string")) + .parameterType("header") + .required(false).build()); + return params; + } + + + @Bean + public Docket sysApi() { + return new Docket(DocumentationType.SWAGGER_2) + .apiInfo(apiInfo()) + .select() + .apis(RequestHandlerSelectors.basePackage("com.fly.web")) + .paths(PathSelectors.any()) + .build().globalOperationParameters(parameter()); + //.securitySchemes(newArrayList(oauth())) + // .securityContexts(newArrayList(securityContext())); + } + + private ApiInfo apiInfo() { + return new ApiInfoBuilder() + .title(" user-service api ") + .description("user-service 微服务") + .termsOfServiceUrl("") + .contact("fly") + .version("1.0") + .build(); + } + +} diff --git a/moudle_user/src/main/java/com/fly/user/dao/UserDao.java b/moudle_user/src/main/java/com/fly/user/dao/UserDao.java new file mode 100644 index 0000000..b3c5267 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/dao/UserDao.java @@ -0,0 +1,18 @@ +package com.fly.user.dao; + + +import com.fly.user.entity.User; +import org.springframework.data.jpa.repository.JpaRepository; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ + +public interface UserDao extends JpaRepository { + + User findByUsername(String username); +} diff --git a/moudle_user/src/main/java/com/fly/user/dto/LoginDTO.java b/moudle_user/src/main/java/com/fly/user/dto/LoginDTO.java new file mode 100644 index 0000000..2bc7410 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/dto/LoginDTO.java @@ -0,0 +1,31 @@ +package com.fly.user.dto; + +import com.fly.user.entity.User; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class LoginDTO { + private User user; + private String token; + + public User getUser() { + return user; + } + + public void setUser(User user) { + this.user = user; + } + + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } +} diff --git a/moudle_user/src/main/java/com/fly/user/entity/JWT.java b/moudle_user/src/main/java/com/fly/user/entity/JWT.java new file mode 100644 index 0000000..6c1fe28 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/entity/JWT.java @@ -0,0 +1,77 @@ +package com.fly.user.entity; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class JWT { + private String access_token; + private String token_type; + private String refresh_token; + private int expires_in; + private String scope; + private String jti; + + public String getAccess_token() { + return access_token; + } + + public void setAccess_token(String access_token) { + this.access_token = access_token; + } + + public String getToken_type() { + return token_type; + } + + public void setToken_type(String token_type) { + this.token_type = token_type; + } + + public String getRefresh_token() { + return refresh_token; + } + + public void setRefresh_token(String refresh_token) { + this.refresh_token = refresh_token; + } + + public int getExpires_in() { + return expires_in; + } + + public void setExpires_in(int expires_in) { + this.expires_in = expires_in; + } + + public String getScope() { + return scope; + } + + public void setScope(String scope) { + this.scope = scope; + } + + public String getJti() { + return jti; + } + + public void setJti(String jti) { + this.jti = jti; + } + + @Override + public String toString() { + return "JWT{" + + "access_token='" + access_token + '\'' + + ", token_type='" + token_type + '\'' + + ", refresh_token='" + refresh_token + '\'' + + ", expires_in=" + expires_in + + ", scope='" + scope + '\'' + + ", jti='" + jti + '\'' + + '}'; + } +} diff --git a/moudle_user/src/main/java/com/fly/user/entity/SysLog.java b/moudle_user/src/main/java/com/fly/user/entity/SysLog.java new file mode 100644 index 0000000..6a3f4d7 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/entity/SysLog.java @@ -0,0 +1,84 @@ +package com.fly.user.entity; + +import java.util.Date; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class SysLog { + + private Long id; + //用户名 + private String username; + //用户操作 + private String operation; + //请求方法 + private String method; + //请求参数 + private String params; + //IP地址 + private String ip; + //创建时间 + private Date createDate; + + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getOperation() { + return operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + public String getMethod() { + return method; + } + + public void setMethod(String method) { + this.method = method; + } + + public String getParams() { + return params; + } + + public void setParams(String params) { + this.params = params; + } + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public Date getCreateDate() { + return createDate; + } + + public void setCreateDate(Date createDate) { + this.createDate = createDate; + } +} diff --git a/moudle_user/src/main/java/com/fly/user/entity/User.java b/moudle_user/src/main/java/com/fly/user/entity/User.java new file mode 100644 index 0000000..5629c8a --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/entity/User.java @@ -0,0 +1,50 @@ +package com.fly.user.entity; + +import javax.persistence.*; +import java.io.Serializable; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Entity +public class User implements Serializable { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + @Column(nullable = false, unique = true) + private String username; + + @Column + private String password; + public User() { + } + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } +} diff --git a/moudle_user/src/main/java/com/fly/user/exception/CommonExceptionHandler.java b/moudle_user/src/main/java/com/fly/user/exception/CommonExceptionHandler.java new file mode 100644 index 0000000..317f107 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/exception/CommonExceptionHandler.java @@ -0,0 +1,32 @@ +package com.fly.user.exception; + +import com.fly.common.dto.RespDTO; +import com.fly.common.exception.CommonException; +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.ControllerAdvice; +import org.springframework.web.bind.annotation.ExceptionHandler; +import org.springframework.web.bind.annotation.ResponseBody; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@ControllerAdvice +@ResponseBody +public class CommonExceptionHandler { + + @ExceptionHandler(CommonException.class) + public ResponseEntity handleException(Exception e) { + RespDTO resp = new RespDTO(); + CommonException taiChiException = (CommonException) e; + resp.code = taiChiException.getCode(); + resp.error = e.getMessage(); + + return new ResponseEntity(resp, HttpStatus.OK); + } + +} diff --git a/moudle_user/src/main/java/com/fly/user/service/LoggerService.java b/moudle_user/src/main/java/com/fly/user/service/LoggerService.java new file mode 100644 index 0000000..e1f72ae --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/service/LoggerService.java @@ -0,0 +1,27 @@ +package com.fly.user.service; + +import com.alibaba.fastjson.JSON; +import com.fly.user.entity.SysLog; +import com.fly.user.config.RabbitConfig; +import org.springframework.amqp.core.AmqpTemplate; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.web.bind.annotation.GetMapping; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Service +public class LoggerService { + + @Autowired + private AmqpTemplate rabbitTemplate; + + public void log(SysLog sysLog){ + rabbitTemplate.convertAndSend(RabbitConfig.queueName, JSON.toJSONString(sysLog)); + } +} diff --git a/moudle_user/src/main/java/com/fly/user/service/UserService.java b/moudle_user/src/main/java/com/fly/user/service/UserService.java new file mode 100644 index 0000000..8ced165 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/service/UserService.java @@ -0,0 +1,56 @@ +package com.fly.user.service; + +import com.fly.common.dto.RespDTO; +import com.fly.common.exception.CommonException; +import com.fly.common.exception.ErrorCode; +import com.fly.user.dao.UserDao; +import com.fly.user.dto.LoginDTO; +import com.fly.user.entity.JWT; +import com.fly.user.entity.User; +import com.fly.user.util.BPwdEncoderUtils; +import com.fly.user.client.AuthServiceClient; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@Service +public class UserService { + + @Autowired + UserDao userDao; + @Autowired + AuthServiceClient authServiceClient; + + public User createUser(User user){ + return userDao.save(user); + } + + public User getUserInfo(String username){ + return userDao.findByUsername(username); + } + public RespDTO login(String username , String password){ + User user= userDao.findByUsername(username); + if(null==user){ + throw new CommonException(ErrorCode.USER_NOT_FOUND); + } + if(!BPwdEncoderUtils.matches(password,user.getPassword())){ + throw new CommonException(ErrorCode.USER_PASSWORD_ERROR); + } + + JWT jwt = authServiceClient.getToken("Basic dWFhLXNlcnZpY2U6MTIzNDU2", "password", username, password); + // 获得用户菜单 + if(null==jwt){ + throw new CommonException(ErrorCode.GET_TOKEN_FAIL); + } + LoginDTO loginDTO=new LoginDTO(); + loginDTO.setUser(user); + loginDTO.setToken(jwt.getAccess_token()); + return RespDTO.onSuc(loginDTO); + } +} diff --git a/moudle_user/src/main/java/com/fly/user/util/BPwdEncoderUtils.java b/moudle_user/src/main/java/com/fly/user/util/BPwdEncoderUtils.java new file mode 100644 index 0000000..0f0a282 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/util/BPwdEncoderUtils.java @@ -0,0 +1,35 @@ +package com.fly.user.util; + +import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class BPwdEncoderUtils { + + private static final BCryptPasswordEncoder encoder = new BCryptPasswordEncoder(); + + /** + * 用BCryptPasswordEncoder + * @param password + * @return + */ + public static String BCryptPassword(String password){ + return encoder.encode(password); + } + + /** + * + * @param rawPassword 原始密码 + * @param encodedPassword 加密后的密码 + * @return + */ + public static boolean matches(CharSequence rawPassword, String encodedPassword){ + return encoder.matches(rawPassword,encodedPassword); + } + +} diff --git a/moudle_user/src/main/java/com/fly/user/util/HttpUtils.java b/moudle_user/src/main/java/com/fly/user/util/HttpUtils.java new file mode 100644 index 0000000..d416720 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/util/HttpUtils.java @@ -0,0 +1,99 @@ +package com.fly.user.util; + + + +import org.springframework.web.context.request.RequestContextHolder; +import org.springframework.web.context.request.ServletRequestAttributes; +import javax.servlet.http.HttpServletRequest; +import java.util.Enumeration; +import java.util.LinkedHashMap; +import java.util.Map; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class HttpUtils { + + + /** + * 尝试获取当前请求的HttpServletRequest实例 + * + * @return HttpServletRequest + */ + public static HttpServletRequest getHttpServletRequest() { + try { + return ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); + } catch (Exception e) { + return null; + } + } + + + public static Map getHeaders(HttpServletRequest request) { + Map map = new LinkedHashMap<>(); + Enumeration enumeration = request.getHeaderNames(); + while (enumeration.hasMoreElements()) { + String key = enumeration.nextElement(); + String value = request.getHeader(key); + map.put(key, value); + } + return map; + } + + /** + * 获取请求客户端的真实ip地址 + * + * @param request 请求对象 + * @return ip地址 + */ + public static String getIpAddress(HttpServletRequest request) { + + // 获取请求主机IP地址,如果通过代理进来,则透过防火墙获取真实IP地址 + String ip = request.getHeader("X-Forwarded-For"); + + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("Proxy-Client-IP"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("WL-Proxy-Client-IP"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("HTTP_CLIENT_IP"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getHeader("HTTP_X_FORWARDED_FOR"); + } + if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { + ip = request.getRemoteAddr(); + } + } else if (ip.length() > 15) { + String[] ips = ip.split(","); + for (int index = 0; index < ips.length; index++) { + String strIp = (String) ips[index]; + if (!("unknown".equalsIgnoreCase(strIp))) { + ip = strIp; + break; + } + } + } + return ip; + } + + /** + * 获取请求客户端的真实ip地址 + * + * @param + * @return ip地址 + */ + public static String getIpAddress() { + // 获取请求主机IP地址,如果通过代理进来,则透过防火墙获取真实IP地址 + return getIpAddress(getHttpServletRequest()); + } + + +} diff --git a/moudle_user/src/main/java/com/fly/user/util/UserUtils.java b/moudle_user/src/main/java/com/fly/user/util/UserUtils.java new file mode 100644 index 0000000..9ace008 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/util/UserUtils.java @@ -0,0 +1,82 @@ +package com.fly.user.util; + + +import org.springframework.security.core.Authentication; +import org.springframework.security.core.authority.SimpleGrantedAuthority; +import org.springframework.security.core.context.SecurityContextHolder; +import java.util.List; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +public class UserUtils { + + private static final String AUTHORIZATION = "authorization"; + + /** + * 获取当前请求的token + * @return + */ + public static String getCurrentToken() { + return HttpUtils.getHeaders(HttpUtils.getHttpServletRequest()).get(AUTHORIZATION); + } + + /** + * 获取当前请求的用户Id + * @return + */ + public static String getCurrentPrinciple() { + return (String) SecurityContextHolder.getContext().getAuthentication().getPrincipal(); + } + + /** + * 判读当前token用户是否为接口所需的参数username + * + * @param username + * @return + */ + public static boolean isMyself(String username) { + return username.equals(getCurrentPrinciple()); + } + + /** + * 获取当前请求Authentication + * + * @return + */ + public static Authentication getCurrentAuthentication() { + return SecurityContextHolder.getContext().getAuthentication(); + } + + /** + * 获取当前请求的权限信息 + * @return + */ + public static List getCurrentAuthorities() { + return (List) SecurityContextHolder.getContext().getAuthentication().getAuthorities(); + } + + /** + * @param role + * @return + */ + public static boolean hasRole(String role) { + if (!role.startsWith("ROLE_")) { + role = "ROLE_" + role; + } + boolean hasRole = false; + List list = getCurrentAuthorities(); + for (SimpleGrantedAuthority s : list) { + if (role.equals(s.getAuthority())) { + hasRole = true; + break; + } + } + return hasRole; + } + +} diff --git a/moudle_user/src/main/java/com/fly/user/web/UserController.java b/moudle_user/src/main/java/com/fly/user/web/UserController.java new file mode 100644 index 0000000..8471aa4 --- /dev/null +++ b/moudle_user/src/main/java/com/fly/user/web/UserController.java @@ -0,0 +1,63 @@ +package com.fly.user.web; + +import com.fly.common.annotation.SysLogger; +import com.fly.common.dto.RespDTO; +import com.fly.user.entity.User; +import com.fly.user.service.UserService; +import com.fly.user.util.BPwdEncoderUtils; +import io.swagger.annotations.ApiOperation; +import org.springframework.amqp.core.AmqpTemplate; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.*; + +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@RestController +@RequestMapping("/user") +public class UserController { + + @Autowired + UserService userService; + + @ApiOperation(value = "注册", notes = "username和password为必选项") + @PostMapping("/registry") + @SysLogger("registry") + public User createUser(@RequestBody User user){ + //参数判读省略,判读该用户在数据库是否已经存在省略 + String entryPassword= BPwdEncoderUtils.BCryptPassword(user.getPassword()); + user.setPassword(entryPassword); + return userService.createUser(user); + } + + @ApiOperation(value = "登录", notes = "username和password为必选项") + @PostMapping("/login") + @SysLogger("login") + public RespDTO login(@RequestParam String username , @RequestParam String password){ + //参数判读省略 + return userService.login(username,password); + } + + @ApiOperation(value = "根据用户名获取用户", notes = "根据用户名获取用户") + @PostMapping("/{username}") + @PreAuthorize("hasRole('USER')") + @SysLogger("getUserInfo") + // @PreAuthorize("hasAnyAuthority('ROLE_USER')") + public RespDTO getUserInfo(@PathVariable("username") String username){ + //参数判读省略 + User user= userService.getUserInfo(username); + return RespDTO.onSuc(user); + } + +// @Autowired +// private AmqpTemplate rabbitTemplate; +// @GetMapping("/test") +// public void test(){ +// rabbitTemplate.convertAndSend(RabbitConfig.queueName, "Hello from RabbitMQ!"); +// } +} diff --git a/moudle_user/src/main/resources/bootstrap.yml b/moudle_user/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..25e02e7 --- /dev/null +++ b/moudle_user/src/main/resources/bootstrap.yml @@ -0,0 +1,27 @@ +spring: + application: + name: user-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro + +# datasource: +# driver-class-name: com.mysql.jdbc.Driver +# url: jdbc:mysql://localhost:3306/spring-cloud-auth?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8 +# username: root +# password: 123456 +# jpa: +# hibernate: +# ddl-auto: create +# show-sql: true +# +# rabbitmq: +# host: localhost +# port: 5672 +# username: guest +# password: guest +# publisher-confirms: true +# virtual-host: / \ No newline at end of file diff --git a/moudle_user/src/main/resources/public.cert b/moudle_user/src/main/resources/public.cert new file mode 100644 index 0000000..bfb6145 --- /dev/null +++ b/moudle_user/src/main/resources/public.cert @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjuyo7NI2wdwKkvHxHHlo +J374F2mUKhxVzIFjnf9TJWKC5OqQm5IbcnsiLHp6w3ElGOgyXBJhiqZPJ6GhTq16 +4/XsxSMVRlnmWuggSdDpVIGoYoeGuLFhLXI10IHYvN0pIAynR741HCwp1lYHOabq +C4S/lvi9jQSbU+mAz3eq9iGLwAPV/WDkbcQL1PX4yjQ4JN81qzu81zJXlN8KhgR4 +oRbyl3FPLYOaxwIRddFKgkBeS0qiQMDaXDmDf8AU5EUEeUwZoWoFarkcPg6jbQ87 +Sr0vMLYApKBN6GJObNzZfDmNJ0GbBZvYc0zUib+A5vPStBEtszGuyb2K9jtlCyJi +qQIDAQAB +-----END PUBLIC KEY----- diff --git a/moudle_zipkin/build.gradle b/moudle_zipkin/build.gradle new file mode 100644 index 0000000..54f5675 --- /dev/null +++ b/moudle_zipkin/build.gradle @@ -0,0 +1,12 @@ +dependencies { + compile 'org.springframework.boot:spring-boot-starter-web' + compile 'org.springframework.cloud:spring-cloud-starter-eureka' + compile 'org.springframework.cloud:spring-cloud-starter-config' + compile 'io.zipkin.java:zipkin-server' + compile 'io.zipkin.java:zipkin-autoconfigure-ui' +} +jar { + manifest { + attributes 'Main-Class': 'com.fly.zipkin.ZipkinServiceApplication' + } +} \ No newline at end of file diff --git a/moudle_zipkin/out/production/classes/com/fly/zipkin/ZipkinServiceApplication.class b/moudle_zipkin/out/production/classes/com/fly/zipkin/ZipkinServiceApplication.class new file mode 100644 index 0000000..0062aad Binary files /dev/null and b/moudle_zipkin/out/production/classes/com/fly/zipkin/ZipkinServiceApplication.class differ diff --git a/moudle_zipkin/out/production/resources/bootstrap.yml b/moudle_zipkin/out/production/resources/bootstrap.yml new file mode 100644 index 0000000..fb32c59 --- /dev/null +++ b/moudle_zipkin/out/production/resources/bootstrap.yml @@ -0,0 +1,11 @@ + +spring: + application: + name: zipkin-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro + diff --git a/moudle_zipkin/src/main/java/com/fly/zipkin/ZipkinServiceApplication.java b/moudle_zipkin/src/main/java/com/fly/zipkin/ZipkinServiceApplication.java new file mode 100644 index 0000000..f2cc24f --- /dev/null +++ b/moudle_zipkin/src/main/java/com/fly/zipkin/ZipkinServiceApplication.java @@ -0,0 +1,22 @@ +package com.fly.zipkin; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.netflix.eureka.EnableEurekaClient; +import zipkin.server.EnableZipkinServer; +/** + * Description:
+ * Author:    门心叼龙
+ * Date:     2019/2/19
+ * Version:   V1.0.0
+ * Update:    
+ */ +@SpringBootApplication +@EnableZipkinServer +@EnableEurekaClient +public class ZipkinServiceApplication { + + public static void main(String[] args) { + SpringApplication.run(ZipkinServiceApplication.class, args); + } +} diff --git a/moudle_zipkin/src/main/resources/bootstrap.yml b/moudle_zipkin/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..fb32c59 --- /dev/null +++ b/moudle_zipkin/src/main/resources/bootstrap.yml @@ -0,0 +1,11 @@ + +spring: + application: + name: zipkin-service + cloud: + config: + uri: http://localhost:8769 + fail-fast: true + profiles: + active: pro + diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..662de7f --- /dev/null +++ b/settings.gradle @@ -0,0 +1,13 @@ +rootProject.name = 'FlyCloud' +include 'moudle_eureka' +include 'lib_common' +include 'moudle_config' +include 'moudle_zipkin' +include 'moudle_admin' +include 'moudle_gateway' +include 'moudle_monitor' +include 'moudle_uaa' +include 'moudle_user' +include 'moudle_blog' +include 'moudle_log' + diff --git a/sql/sys-blog.sql b/sql/sys-blog.sql new file mode 100644 index 0000000..37787e8 --- /dev/null +++ b/sql/sys-blog.sql @@ -0,0 +1,36 @@ + + +CREATE DATABASE `sys-blog` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; + +use `sys-blog`; + +/* +Navicat MySQL Data Transfer + +Source Server : SSSS +Source Server Version : 50717 +Source Host : localhost:3306 +Source Database : sys_blog + +Target Server Type : MYSQL +Target Server Version : 50717 +File Encoding : 65001 + +*/ + +SET FOREIGN_KEY_CHECKS=0; + +-- ---------------------------- +-- Table structure for blog +-- ---------------------------- +DROP TABLE IF EXISTS `blog`; +CREATE TABLE `blog` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `suject` varchar(255) DEFAULT NULL, + `title` varchar(255) DEFAULT NULL, + `username` varchar(255) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; + +INSERT INTO `blog` VALUES ('5', '今天天气真好', '一起出去玩啊', 'gxl'); + diff --git a/sql/sys-log.sql b/sql/sys-log.sql new file mode 100644 index 0000000..d6e43b2 --- /dev/null +++ b/sql/sys-log.sql @@ -0,0 +1,35 @@ + +CREATE DATABASE `sys-log` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; + +use `sys-log`; + +/* +Navicat MySQL Data Transfer + +Source Server : SSSS +Source Server Version : 50717 +Source Host : localhost:3306 +Source Database : sys-log + +Target Server Type : MYSQL +Target Server Version : 50717 +File Encoding : 65001 + +*/ + +SET FOREIGN_KEY_CHECKS=0; + +-- ---------------------------- +-- Table structure for sys_log +-- ---------------------------- +DROP TABLE IF EXISTS `sys_log`; +CREATE TABLE `sys_log` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `create_date` datetime DEFAULT NULL, + `ip` varchar(255) DEFAULT NULL, + `method` varchar(255) DEFAULT NULL, + `operation` varchar(255) DEFAULT NULL, + `params` varchar(255) DEFAULT NULL, + `username` varchar(255) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=267 DEFAULT CHARSET=utf8; diff --git a/sql/sys-user.sql b/sql/sys-user.sql new file mode 100644 index 0000000..cc909ac --- /dev/null +++ b/sql/sys-user.sql @@ -0,0 +1,50 @@ + +CREATE DATABASE `sys-user` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; + +use `sys-user`; + +-- ---------------------------- +-- Table structure for role +-- ---------------------------- +DROP TABLE IF EXISTS `role`; +CREATE TABLE `role` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `name` varchar(255) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for user +-- ---------------------------- +DROP TABLE IF EXISTS `user`; +CREATE TABLE `user` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `password` varchar(255) DEFAULT NULL, + `username` varchar(255) NOT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `UK_sb8bbouer5wak8vyiiy4pf2bx` (`username`) +) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8; + +-- ---------------------------- +-- Table structure for user_role +-- ---------------------------- +DROP TABLE IF EXISTS `user_role`; +CREATE TABLE `user_role` ( + `user_id` bigint(20) NOT NULL, + `role_id` bigint(20) NOT NULL, + KEY `FKa68196081fvovjhkek5m97n3y` (`role_id`), + KEY `FK859n2jvi8ivhui0rl0esws6o` (`user_id`), + CONSTRAINT `FK859n2jvi8ivhui0rl0esws6o` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`), + CONSTRAINT `FKa68196081fvovjhkek5m97n3y` FOREIGN KEY (`role_id`) REFERENCES `role` (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + +INSERT INTO `user` VALUES ('1', '$2a$10$rlM./Q4dh5qXYmxFxUqkRetMPf6JewV/Hj/s4qBg/6U1.mzcue2oK', 'gxl'); + + +INSERT INTO `role` VALUES ('1', 'ROLE_USER'); +INSERT INTO `role` VALUES ('2', 'ROLE_ADMIN'); + +INSERT INTO `user_role` VALUES ('1', '1'); +INSERT INTO `user_role` VALUES ('1', '2'); +