作者 王志平

删除错误推送文件

1 -# 加解密根密码  
2 -jasypt:  
3 - encryptor:  
4 - password: trobs #根密码  
5 -# redis 相关  
6 -spring:  
7 - redis:  
8 - host: trobsqa.aukeyit.com  
9 - port: 6379  
10 - password:  
11 - database: 13  
12 - rabbitmq:  
13 - host: 10.1.1.60  
14 - port: 5672  
15 - username: aukeyit  
16 - password: Aukey@2018  
17 - servlet:  
18 - multipart:  
19 - max-file-size: 1000MB  
20 - max-request-size: 1000MB  
21 - mail:  
22 - host: smtp.exmail.qq.com  
23 - username: AukeyIT@aukeys.com  
24 - password: Aukey2016.  
25 - properties:  
26 - mail.smtp.auth: true  
27 - mail.smtp.starttls.enable: false  
28 - mail.smtp.starttls.required: false  
29 -  
30 -# 暴露监控端点  
31 -management:  
32 - endpoints:  
33 - web:  
34 - exposure:  
35 - include: '*'  
36 -  
37 -# feign 配置  
38 -feign:  
39 - hystrix:  
40 - enabled: true  
41 - okhttp:  
42 - enabled: true  
43 - httpclient:  
44 - enabled: false  
45 - client:  
46 - config:  
47 - feignName:  
48 - connectTimeout: 10000  
49 - readTimeout: 10000  
50 - compression:  
51 - request:  
52 - enabled: true  
53 - response:  
54 - enabled: true  
55 -# hystrix If you need to use ThreadLocal bound variables in your RequestInterceptor`s  
56 -# you will need to either set the thread isolation strategy for Hystrix to `SEMAPHORE or disable Hystrix in Feign.  
57 -hystrix:  
58 - command:  
59 - default:  
60 - execution:  
61 - isolation:  
62 - strategy: SEMAPHORE  
63 - thread:  
64 - timeoutInMilliseconds: 60000  
65 - shareSecurityContext: true  
66 -  
67 -#请求处理的超时时间  
68 -ribbon:  
69 - ReadTimeout: 10000  
70 - ConnectTimeout: 10000  
71 -  
72 -# mybaits-plus配置  
73 -mybatis-plus:  
74 - # MyBatis Mapper所对应的XML文件位置  
75 - mapper-locations: classpath:/mapper/**/*Mapper.xml  
76 - global-config:  
77 - # 自动刷新Mapper对应的XML文件  
78 - refresh: true  
79 - # 关闭MP3.0自带的banner  
80 - banner: false  
81 - db-config:  
82 - # 主键类型 0:数据库ID自增 1.未定义 2.用户输入 3 id_worker 4.uuid 5.id_worker字符串表示  
83 - id-type: 0  
84 - #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"  
85 - field-strategy: 1  
86 - # 默认数据库表下划线命名  
87 - table-underline: true  
88 - # 逻辑删除配置  
89 - # 逻辑删除全局值(1表示已删除,这也是Mybatis Plus的默认配置)  
90 - logic-delete-value: 1  
91 - # 逻辑未删除全局值(0表示未删除,这也是Mybatis Plus的默认配置)  
92 - logic-not-delete-value: 0  
93 - configuration:  
94 - map-underscore-to-camel-case: true  
95 -  
96 -#swagger公共信息  
97 -swagger:  
98 - title: Trobs Swagger API  
99 - description: 益源ERP开放API说明文档  
100 - version: 2.9.2  
101 - license: Powered By Trobs  
102 - licenseUrl: http://www.trobs.com/  
103 - terms-of-service-url: http://www.trobs.com/  
104 - host: trobs.aukeyit.com  
105 - contact:  
106 - name: Aukey IT  
107 - email: tslcarmack@gmail.com  
108 - url: http://www.trobs.com/  
109 - authorization:  
110 - name: Trobs OAuth  
111 - auth-regex: ^.*$  
112 - authorization-scope-list:  
113 - - scope: server  
114 - description: server all  
115 - token-url-list:  
116 - - http://192.168.29.13/auth/oauth/token  
117 -  
118 -## spring security 配置  
119 -security:  
120 - oauth2:  
121 - client:  
122 - # 默认放行url,如果子模块重写这里的配置就会被覆盖  
123 - ignore-urls:  
124 - - '/actuator/**'  
125 - - '/v2/api-docs'  
126 - - '/swagger**'  
127 - - '/swagger**/**'  
128 - - '/webjars/springfox-swagger-ui/**'  
129 - resource:  
130 - loadBalanced: true  
131 - token-info-uri: http://trobs-auth/oauth/check_token  
132 -  
133 -##首页  
134 -trobs:  
135 - index: http://trobs.aukeyit.com  
136 -  
137 -##ftp服务器  
138 -aukey:  
139 - ftp:  
140 - host: 10.1.9.59  
141 - port: 21  
142 - username: yuanli  
143 - password: yuanli@159  
144 - binaryTransfer: true  
145 - localActive: false  
146 -  
147 -##开发环境测试  
148 -my:  
149 - config:  
150 - test: wbtest00008  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(gPFcUOmJm8WqM3k3eSqS0Q==)  
6 - client-secret: ENC(gPFcUOmJm8WqM3k3eSqS0Q==)  
7 - scope: server  
8 - ignore-urls:  
9 - - '/actuator/**'  
10 - - '/v2/api-docs'  
11 - - '/service/**'  
12 - - '/editor-app/**'  
13 - - '/task/view/*'  
14 - - '/process/resource/**'  
15 - - '/modeler.html'  
16 -spring:  
17 - autoconfigure:  
18 - exclude: org.activiti.spring.boot.SecurityAutoConfiguration  
19 - activiti:  
20 - check-process-definitions: false  
21 - datasource:  
22 - type: com.zaxxer.hikari.HikariDataSource  
23 - driver-class-name: com.mysql.cj.jdbc.Driver  
24 - username: trobs  
25 - password: dfU76$N(kp  
26 - url: jdbc:mysql://10.1.1.86:3306/trobs_ac?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true  
1 -# 数据源  
2 -spring:  
3 - datasource:  
4 - type: com.zaxxer.hikari.HikariDataSource  
5 - driver-class-name: com.mysql.cj.jdbc.Driver  
6 - username: trobs  
7 - password: dfU76$N(kp  
8 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8  
9 - freemarker:  
10 - allow-request-override: false  
11 - allow-session-override: false  
12 - cache: true  
13 - charset: UTF-8  
14 - check-template-location: true  
15 - content-type: text/html  
16 - enabled: true  
17 - expose-request-attributes: false  
18 - expose-session-attributes: false  
19 - expose-spring-macro-helpers: true  
20 - prefer-file-system-access: true  
21 - suffix: .ftl  
22 - template-loader-path: classpath:/templates/  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(YnMAwM39eIVYDUqehHSmdP/2Wcy0fGXGI21p4fKaUuZJEj2RssD7nw==)  
6 - client-secret: ENC(YnMAwM39eIVYDUqehHSmdP/2Wcy0fGXGI21p4fKaUuZJEj2RssD7nw==)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(OjrrhBd8+O+pZAfFv0L1FRPimfF/HEJUDrguOhTKLZU=)  
6 - client-secret: ENC(OjrrhBd8+O+pZAfFv0L1FRPimfF/HEJUDrguOhTKLZU=)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs_report?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(O4oY1VNRbO4q6Gnr+SvMYqWQGQyxzpsZlNS/jYekbQtJBPmyHasv4g==)  
6 - client-secret: ENC(O4oY1VNRbO4q6Gnr+SvMYqWQGQyxzpsZlNS/jYekbQtJBPmyHasv4g==)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(ZOiQwLH080UVaC4kvGat3aR7VMJVGcZfXv+blMCMpCdnxh7w9RP6Hg==)  
6 - client-secret: ENC(ZOiQwLH080UVaC4kvGat3aR7VMJVGcZfXv+blMCMpCdnxh7w9RP6Hg==)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(NlpJuAsYk0XcxpCEGP0TXZOfcqSyasSRspEFLWimxbY=)  
6 - client-secret: ENC(NlpJuAsYk0XcxpCEGP0TXZOfcqSyasSRspEFLWimxbY=)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
18 -  
19 -environment:  
20 - test:  
21 - value: sit  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(NlpJuAsYk0XcxpCEGP0TXZOfcqSyasSRspEFLWimxbY=)  
6 - client-secret: ENC(NlpJuAsYk0XcxpCEGP0TXZOfcqSyasSRspEFLWimxbY=)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
18 -  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(fHaeVSlARUVMLLRv0SrFKLN02MiZRIOQlZftJrLXuiY=)  
6 - client-secret: ENC(fHaeVSlARUVMLLRv0SrFKLN02MiZRIOQlZftJrLXuiY=)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(fHaeVSlARUVMLLRv0SrFKLN02MiZRIOQlZftJrLXuiY=)  
6 - client-secret: ENC(fHaeVSlARUVMLLRv0SrFKLN02MiZRIOQlZftJrLXuiY=)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(mCO495FovYwxqNMIob1vl+qiFK/8ftFKV5uJIPEDy4w=)  
6 - client-secret: ENC(mCO495FovYwxqNMIob1vl+qiFK/8ftFKV5uJIPEDy4w=)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(gRXuU96i5d26oRxcLQD4CHMoOaox0fCFhC9aL2iNjlozSnLfqxE0KA==)  
6 - client-secret: ENC(gRXuU96i5d26oRxcLQD4CHMoOaox0fCFhC9aL2iNjlozSnLfqxE0KA==)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
18 -  
19 -environment:  
20 - test:  
21 - value: sit  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(NlpJuAsYk0XcxpCEGP0TXZOfcqSyasSRspEFLWimxbY=)  
6 - client-secret: ENC(NlpJuAsYk0XcxpCEGP0TXZOfcqSyasSRspEFLWimxbY=)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(wQrxSDoLroNh3TlORjKvKiTHIa/4HLpQQ9CbX5RCMlk=)  
6 - client-secret: ENC(wQrxSDoLroNh3TlORjKvKiTHIa/4HLpQQ9CbX5RCMlk=)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(MzmdclxyGCEYwE/dnje59KUobaW91Sjd4myi9GLH+yE=)  
6 - client-secret: ENC(MzmdclxyGCEYwE/dnje59KUobaW91Sjd4myi9GLH+yE=)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(sE4YEEBRxfP2UmSjgtltpq651316A0VtahL04wpYG659AQYATDGy/g==)  
6 - client-secret: ENC(sE4YEEBRxfP2UmSjgtltpq651316A0VtahL04wpYG659AQYATDGy/g==)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(NlpJuAsYk0XcxpCEGP0TXZOfcqSyasSRspEFLWimxbY=)  
6 - client-secret: ENC(NlpJuAsYk0XcxpCEGP0TXZOfcqSyasSRspEFLWimxbY=)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
18 -#微信配置(物流信息推送)  
19 -weixin:  
20 - gettoken: https://qyapi.weixin.qq.com/cgi-bin/gettoken  
21 - sendmessage: https://qyapi.weixin.qq.com/cgi-bin/message/send  
22 - notify:  
23 - head: 消息通知  
24 - culture: 付出 简单 开放  
25 - sysname: 猿人创新 原力ERP  
26 - url: http://trobs.aukeyit.com  
27 - tail: 前往原力  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(9VO7qHAzPkVkSEYMDLVJxA==)  
6 - client-secret: ENC(9VO7qHAzPkVkSEYMDLVJxA==)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
1 -spring:  
2 - cloud:  
3 - gateway:  
4 - locator:  
5 - enabled: true  
6 -  
7 -security:  
8 - encode:  
9 - # 前端密码密钥,必须16位  
10 - key: 'tsourceofbenefit'  
11 -  
12 -# 不校验验证码终端  
13 -ignore:  
14 - clients:  
15 - - test  
16 - swagger-providers:  
17 - - trobs-auth  
18 - - trobs-tx-manager  
1 -spring:  
2 - # 安全配置  
3 - security:  
4 - user:  
5 - name: ENC(rZHA4LW5hHmhLAAzJoFNag==) # trobs  
6 - password: ENC(bjeyh+Aeii3kHXkoo00ZUw==) # trobs  
7 - boot:  
8 - admin:  
9 - ui:  
10 - resource-locations: 'classpath:/ui/,classpath:/static/'  
11 - template-location: 'classpath:/ui/'  
12 - title: 'trobs 服务状态监控'  
13 - brand: 'trobs 服务状态监控'  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(U2RgKK76tZIVR2iCW/KAs2uaZWgNxlheBqKoD1+0KvU=)  
6 - client-secret: ENC(U2RgKK76tZIVR2iCW/KAs2uaZWgNxlheBqKoD1+0KvU=)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs_report?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
18 -  
19 -environment:  
20 - test:  
21 - value: sit  
1 -# 页面配置  
2 -spring:  
3 - mvc:  
4 - static-path-pattern: /**  
5 - resources:  
6 - static-locations: classpath:/static/  
7 -  
8 -  
9 -# LCN 配置  
10 -tm:  
11 - transaction:  
12 - netty:  
13 - delaytime: 5 # 客户端链接最大通讯时间 (秒)  
14 - hearttime: 15 # 客户端心跳时间 (秒)  
15 - redis:  
16 - savemaxtime: 30 # redis 保存时间 (秒)  
17 - socket:  
18 - port: 9998 # 通讯端口  
19 - maxconnection: 1000 #最大链接数  
20 - compensate:  
21 - auto: false #是否自动补偿  
22 - notifyUrl: http://ip:port/path #补偿结果通知(配消息总线里面)  
23 - tryTime: 30 # z再次重试时间间隔  
24 - maxWaitTime: 5000 # 请求超时的最大时间 (毫秒)  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(c5ebVTRN5xEzRooPfOtZ0w==)  
6 - client-secret: ENC(c5ebVTRN5xEzRooPfOtZ0w==)  
7 - scope: server  
8 - # 默认放行url,子模块重写时application-dev.yml中的公共配置会被覆盖,所以要把公共配置中的放行url再写一次  
9 - ignore-urls:  
10 - - '/actuator/**'  
11 - - '/v2/api-docs'  
12 - - '/user/info/*'  
13 - - '/social/info/*'  
14 - - '/social/getsocialbytype/*'  
15 - - '/mobile/*'  
16 - - '/log/save'  
17 - - '/swagger**'  
18 - - '/swagger**/**'  
19 - - '/webjars/springfox-swagger-ui/**'  
20 -  
21 -# 数据源  
22 -spring:  
23 - datasource:  
24 - type: com.zaxxer.hikari.HikariDataSource  
25 - driver-class-name: com.mysql.cj.jdbc.Driver  
26 - username: trobs  
27 - password: dfU76$N(kp  
28 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true  
29 -  
30 -# swagger相关配置,覆盖全局配置  
31 -swagger:  
32 - authorization:  
33 - authorization-scope-list:  
34 - - scope: 'server'  
35 - description: 'server all'  
36 - - scope: 'read'  
37 - description: 'read all'  
38 - - scope: 'write'  
39 - description: 'access all'  
40 -# Logger Config  
41 -logging:  
42 - level:  
43 - com.trob4cloud.trobs.admin.mapper: debug  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(T7fA4fKtYLZSIBZ143ZQt1P+y2ynbKe3)  
6 - client-secret: ENC(T7fA4fKtYLZSIBZ143ZQt1P+y2ynbKe3)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
18 -  
19 -environment:  
20 - test:  
21 - value: sit  
1 -## spring security 配置  
2 -security:  
3 - oauth2:  
4 - client:  
5 - client-id: ENC(T7fA4fKtYLZSIBZ143ZQt1P+y2ynbKe3)  
6 - client-secret: ENC(T7fA4fKtYLZSIBZ143ZQt1P+y2ynbKe3)  
7 - scope: server  
8 -# 数据源配置  
9 -spring:  
10 - datasource:  
11 - type: com.zaxxer.hikari.HikariDataSource  
12 - driver-class-name: com.mysql.cj.jdbc.Driver  
13 - username: trobs  
14 - password: dfU76$N(kp  
15 - url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8  
16 - resources:  
17 - static-locations: classpath:/static/,classpath:/views/  
18 -  
19 -environment:  
20 - test:  
21 - value: sit