【修改】去除请求跟踪和tomcat信息监控的后端

【修改】各端口配置完备
This commit is contained in:
zer0Black
2022-04-10 21:30:27 +08:00
parent 9c9cef0a9c
commit 37dc530462
5 changed files with 16 additions and 12 deletions
@@ -91,13 +91,13 @@ public class WebMvcConfiguration implements WebMvcConfigurer {
converters.add(jackson2HttpMessageConverter); converters.add(jackson2HttpMessageConverter);
} }
/** // /**
* SpringBootAdmin的Httptrace不见了 // * SpringBootAdmin的Httptrace不见了
* https://blog.csdn.net/u013810234/article/details/110097201 // * https://blog.csdn.net/u013810234/article/details/110097201
*/ // */
@Bean // @Bean
public InMemoryHttpTraceRepository getInMemoryHttpTrace(){ // public InMemoryHttpTraceRepository getInMemoryHttpTrace(){
return new InMemoryHttpTraceRepository(); // return new InMemoryHttpTraceRepository();
} // }
} }
@@ -7,7 +7,7 @@ server:
include-stacktrace: ALWAYS include-stacktrace: ALWAYS
include-message: ALWAYS include-message: ALWAYS
servlet: servlet:
context-path: /jero-boot context-path: /
compression: compression:
enabled: true enabled: true
min-response-size: 1024 min-response-size: 1024
@@ -1,5 +1,5 @@
server: server:
port: 9999 port: 8080
spring: spring:
application: application:
name: jero-gateway name: jero-gateway
@@ -48,7 +48,7 @@ spring:
statuses: BAD_GATEWAY,BAD_REQUEST statuses: BAD_GATEWAY,BAD_REQUEST
#指定哪些方法的请求需要进行重试逻辑,默认值是 GET 方法 #指定哪些方法的请求需要进行重试逻辑,默认值是 GET 方法
methods: GET,POST methods: GET,POST
# hystrix 信号量隔离,3秒后自动超时 # hystrix 信号量隔离,10秒后自动超时
hystrix: hystrix:
enabled: true enabled: true
shareSecurityContext: true shareSecurityContext: true
@@ -12,6 +12,10 @@ spring:
environment: local environment: local
security: security:
user: user:
name: "admin" name: "admin"
password: "admin" password: "admin"
application: application:
+1 -1
View File
@@ -3,7 +3,7 @@
*/ */
window._CONFIG = {} window._CONFIG = {}
window._CONFIG['domianURL'] = '/jero-boot' // 路由转发 devServer window._CONFIG['domianURL'] = '/jero-boot' // 路由转发 devServer
window._CONFIG['domianWebSocketURL'] = 'http://localhost:9999' window._CONFIG['domianWebSocketURL'] = 'http://localhost:8080'
// 单点登录地址 // 单点登录地址
window._CONFIG['staticDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/download' window._CONFIG['staticDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/download'
window._CONFIG['pdfDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/pdf/pdfPreviewIframe' window._CONFIG['pdfDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/pdf/pdfPreviewIframe'