Commit f109bb9e88dc05ed79d8f084076341b345e7ee0d
1 parent
610a9020
Exists in
dev
1:附件
Showing
6 changed files
with
489 additions
and
0 deletions
Show diff stats
zr-cloud/zr-modules/zr-schsf/doc/nocas/zr-insight/zr-auth-develop.yml
0 → 100644
... | ... | @@ -0,0 +1,17 @@ |
1 | +server: | |
2 | + port: 8003 | |
3 | +spring: | |
4 | + redis: | |
5 | + host: 172.17.56.37 | |
6 | + port: 6379 | |
7 | + #password: | |
8 | + database: 0 | |
9 | + timeout: 3000 | |
10 | +sso: | |
11 | + url: http://portaldev.chinagasholdings.com | |
12 | + client_id: id-cd416ce1-cc70-5158-b8ec-571b8f4da11 | |
13 | + client_secret: secret-d455f7fc-87d3-1362-86cc-3f34041bc | |
14 | +justauth: | |
15 | + client-id: dingickwrp8q0yuedmos | |
16 | + client-secret: VO6-0qJojhy4PqaqauoyMS4tXRH-5qzMF7CpwTPQ4zF5gTIdJO4Rv9jrWVXLlOzm | |
17 | + ignore-check-redirect-uri: true | |
0 | 18 | \ No newline at end of file | ... | ... |
zr-cloud/zr-modules/zr-schsf/doc/nocas/zr-insight/zr-codegen-develop.yml
0 → 100644
... | ... | @@ -0,0 +1,75 @@ |
1 | +server: | |
2 | + port: 8005 | |
3 | +mybatis-plus: | |
4 | + mapper-locations: | |
5 | + - classpath*:mapper/**/*Mapper.xml | |
6 | + type-aliases-package: com.chinagas.modules.codegen.entity | |
7 | + configuration: | |
8 | + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl | |
9 | + log-prefix: SQL | |
10 | +spring: | |
11 | + redis: | |
12 | + host: 172.17.56.37 | |
13 | + port: 6379 | |
14 | + #password: gas*123456 | |
15 | + database: 0 | |
16 | + timeout: 30000 | |
17 | + datasource: | |
18 | + url: "jdbc:mysql://124.71.131.246:13307/market_charge?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true" | |
19 | + username: root | |
20 | + password: Carbon@2024 | |
21 | + druid: | |
22 | + driverClassName: com.mysql.cj.jdbc.Driver | |
23 | + #初始化时建立的连接数 | |
24 | + initialSize: 1 | |
25 | + #最小连接池数量 | |
26 | + minIdle: 1 | |
27 | + #最大连接池数 | |
28 | + maxActive: 20 | |
29 | + # 配置获取连接等待超时的时间 | |
30 | + maxWait: 60000 | |
31 | + # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 | |
32 | + timeBetweenEvictionRunsMillis: 60000 | |
33 | + # 配置一个连接在池中最小生存的时间,单位是毫秒 | |
34 | + minEvictableIdleTimeMillis: 300000 | |
35 | + # 配置一个连接在池中最大生存的时间,单位是毫秒 | |
36 | + maxEvictableIdleTimeMillis: 900000 | |
37 | + # 配置检测连接是否有效 | |
38 | + validationQuery: SELECT 1 FROM DUAL | |
39 | + testWhileIdle: true | |
40 | + testOnBorrow: false | |
41 | + testOnReturn: false | |
42 | + webStatFilter: | |
43 | + enabled: true | |
44 | + statViewServlet: | |
45 | + enabled: true | |
46 | + # 设置白名单,不填则允许所有访问 | |
47 | + allow: | |
48 | + url-pattern: /druid/* | |
49 | + # 控制台管理用户名和密码 | |
50 | + #login-username: root | |
51 | + #login-password: 7614 | |
52 | + filter: | |
53 | + stat: | |
54 | + enabled: true | |
55 | + # 慢SQL记录 | |
56 | + log-slow-sql: true | |
57 | + slow-sql-millis: 1000 | |
58 | + merge-sql: true | |
59 | + #防御sql注入 | |
60 | + wall: | |
61 | + config: | |
62 | + multi-statement-allow: true | |
63 | + | |
64 | +# 代码生成 | |
65 | +codegen: | |
66 | + # 作者 | |
67 | + author: lidwd | |
68 | + # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool | |
69 | + packageName: com.chinagas.modules.zjwjsb | |
70 | + # 自动去除表前缀,默认是false | |
71 | + autoRemovePre: true | |
72 | + # 表前缀(生成类名不会包含表前缀,多个用逗号分隔) | |
73 | + tablePrefix: cc_ | |
74 | + | |
75 | + | ... | ... |
zr-cloud/zr-modules/zr-schsf/doc/nocas/zr-insight/zr-gateway-develop.yml
0 → 100644
... | ... | @@ -0,0 +1,112 @@ |
1 | +server: | |
2 | + port: 8001 | |
3 | +spring: | |
4 | + application: | |
5 | + name: zr-gateway | |
6 | + redis: | |
7 | + host: 172.17.56.37 | |
8 | + port: 6379 | |
9 | + #password: gas*123456 | |
10 | + database: 0 | |
11 | + timeout: 1000 | |
12 | + cloud: | |
13 | + gateway: | |
14 | + # default-filters: | |
15 | + # - DedupeResponseHeader=Access-Control-Allow-Origin, RETAIN_UNIQUE | |
16 | + discovery: | |
17 | + locator: | |
18 | + lowerCaseServiceId: true | |
19 | + enabled: true | |
20 | + globalcors: | |
21 | + cors-configurations: | |
22 | + '[/**]': | |
23 | + allowedHeaders: '*' | |
24 | + allowedMethods: '*' | |
25 | + allowedOrigins: '*' | |
26 | + allowedCredentials: true | |
27 | + add-to-simple-url-handler-mapping: true | |
28 | + routes: | |
29 | + - id: zr-auth | |
30 | + uri: lb://zr-auth | |
31 | + predicates: | |
32 | + - Path=/auth/** | |
33 | + filters: | |
34 | + # 验证码处理 | |
35 | + - CacheRequestFilter | |
36 | + - ValidateCodeFilter | |
37 | + - StripPrefix=1 | |
38 | + - id: zr-system | |
39 | + uri: lb://zr-system | |
40 | + predicates: | |
41 | + - Path=/system/** | |
42 | + filters: | |
43 | + - StripPrefix=1 | |
44 | + - id: zr-job | |
45 | + uri: lb://zr-job | |
46 | + predicates: | |
47 | + - Path=/monitor/** | |
48 | + filters: | |
49 | + - StripPrefix=1 | |
50 | + - id: zr-codegen | |
51 | + uri: lb://zr-codegen | |
52 | + predicates: | |
53 | + - Path=/tool/** | |
54 | + filters: | |
55 | + - StripPrefix=1 | |
56 | + - id: zr-zjwjsb | |
57 | + uri: lb://zr-zjwjsb | |
58 | + predicates: | |
59 | + - Path=/zjwjsb/** | |
60 | + filters: | |
61 | + - StripPrefix=1 | |
62 | + - id: zr-mcsb | |
63 | + uri: lb://zr-mcsb | |
64 | + predicates: | |
65 | + - Path=/mcsb/** | |
66 | + filters: | |
67 | + - StripPrefix=1 | |
68 | + - id: zr-fksb | |
69 | + uri: lb://zr-fksb | |
70 | + predicates: | |
71 | + - Path=/fksb/** | |
72 | + filters: | |
73 | + - StripPrefix=1 | |
74 | + - id: zr-insight | |
75 | + uri: lb://zr-insight | |
76 | + predicates: | |
77 | + - Path=/insight/** | |
78 | + filters: | |
79 | + - StripPrefix=1 | |
80 | + - id: zr-schsf | |
81 | + uri: lb://zr-schsf | |
82 | + predicates: | |
83 | + - Path=/schsf/** | |
84 | + filters: | |
85 | + - StripPrefix=1 | |
86 | +# 安全配置 | |
87 | +security: | |
88 | + # 验证码 | |
89 | + captcha: | |
90 | + enabled: true | |
91 | + type: char | |
92 | + ignore: | |
93 | + whites: | |
94 | + - /auth/ssoLogin | |
95 | + - /auth/logout | |
96 | + - /auth/login | |
97 | + - /auth/dingding/login | |
98 | + - /auth/register | |
99 | + - /*/swagger-ui/* | |
100 | + - /zjwjsb/attachment/download/* | |
101 | + - http://172.26.0.137:7011/services/2F03702000001 | |
102 | + - /*/v2/api-docs | |
103 | + - /csrf | |
104 | + - /mcsb/mcsbFile/download/* | |
105 | + - /fksb/fksbFile/download/* | |
106 | + - /system/openapi/soa | |
107 | + #- /organize/* | |
108 | + - /api/* | |
109 | + - /businessAnalyze/* | |
110 | + | |
111 | + | |
112 | + | ... | ... |
zr-cloud/zr-modules/zr-schsf/doc/nocas/zr-insight/zr-insight-develop.yml
0 → 100644
... | ... | @@ -0,0 +1,94 @@ |
1 | +server: | |
2 | + port: 9001 | |
3 | +mybatis-plus: | |
4 | + mapper-locations: | |
5 | + - classpath*:mapper/**/*Mapper.xml | |
6 | + type-aliases-package: com.chinagas.modules.insight.domain | |
7 | + configuration: | |
8 | + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl | |
9 | + log-prefix: SQL | |
10 | +spring: | |
11 | + devtools: | |
12 | + restart: | |
13 | + enabled: false | |
14 | + thymeleaf: | |
15 | + cache: false | |
16 | + redis: | |
17 | + host: 172.17.56.37 | |
18 | + port: 6379 | |
19 | + #password: gas*123456 | |
20 | + database: 0 | |
21 | + timeout: 30000 | |
22 | + datasource: | |
23 | + dynamic: | |
24 | + primary: zrcloud | |
25 | + druid: | |
26 | + #初始化时建立的连接数 | |
27 | + initialSize: 1 | |
28 | + #最小连接池数量 | |
29 | + minIdle: 1 | |
30 | + #最大连接池数 | |
31 | + maxActive: 20 | |
32 | + # 配置获取连接等待超时的时间 | |
33 | + maxWait: 60000 | |
34 | + # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 | |
35 | + timeBetweenEvictionRunsMillis: 60000 | |
36 | + # 配置一个连接在池中最小生存的时间,单位是毫秒 | |
37 | + minEvictableIdleTimeMillis: 300000 | |
38 | + # 配置一个连接在池中最大生存的时间,单位是毫秒 | |
39 | + maxEvictableIdleTimeMillis: 900000 | |
40 | + # 配置检测连接是否有效 | |
41 | + validationQuery: SELECT 1 FROM DUAL | |
42 | + testWhileIdle: true | |
43 | + testOnBorrow: false | |
44 | + testOnReturn: false | |
45 | + webStatFilter: | |
46 | + enabled: true | |
47 | + statViewServlet: | |
48 | + enabled: true | |
49 | + # 设置白名单,不填则允许所有访问 | |
50 | + allow: | |
51 | + url-pattern: /druid/* | |
52 | + # 控制台管理用户名和密码 | |
53 | + #login-username: root | |
54 | + #login-password: 7614 | |
55 | + filter: | |
56 | + stat: | |
57 | + enabled: true | |
58 | + # 慢SQL记录 | |
59 | + log-slow-sql: true | |
60 | + slow-sql-millis: 1000 | |
61 | + merge-sql: true | |
62 | + #防御sql注入 | |
63 | + wall: | |
64 | + config: | |
65 | + multi-statement-allow: true | |
66 | + datasource: | |
67 | + zrcloud: | |
68 | + url: "jdbc:mysql://124.71.131.246:13307/market_charge?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true" | |
69 | + username: root | |
70 | + password: Carbon@2024 | |
71 | + driverClassName: com.mysql.cj.jdbc.Driver | |
72 | + ysentity: | |
73 | + url: "jdbc:oracle:thin:@vm3-scan.chinagasholdings.com:1521/DEVEBS" | |
74 | + username: ZRCLOUD | |
75 | + password: cg#Hpm230131 | |
76 | + driverClassName: oracle.jdbc.driver.OracleDriver | |
77 | + | |
78 | +SOA: | |
79 | + username: "OSB_PRD_ZRCLOUD" | |
80 | + password: "ZrcdPrdCkvj#36" | |
81 | + systems: | |
82 | + mdm: | |
83 | + url: "http://soa.chinagasholdings.com:7011/services" | |
84 | + operations: "{getPubIntfApi:'2F05002000001'}" | |
85 | + | |
86 | +user: | |
87 | + defaultPassword: Gas#123456789 | |
88 | + defaultRole: 2 | |
89 | + | |
90 | +minio: | |
91 | + endpoint: http://172.17.56.37:9000 | |
92 | + accessKey: minioadmin | |
93 | + secretKey: minioadmin | |
94 | + bucket: miniotest | |
0 | 95 | \ No newline at end of file | ... | ... |
zr-cloud/zr-modules/zr-schsf/doc/nocas/zr-insight/zr-schsf-develop.yml
0 → 100644
... | ... | @@ -0,0 +1,108 @@ |
1 | +server: | |
2 | + port: 8071 | |
3 | +mybatis-plus: | |
4 | + mapper-locations: | |
5 | + - classpath*:mapper/**/*Mapper.xml | |
6 | + type-aliases-package: com.chinagas.modules.schsf.entity,com.chinagas.api.schsf.domain | |
7 | + configuration: | |
8 | + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl | |
9 | + log-prefix: SQL | |
10 | +#logging: | |
11 | + #level: | |
12 | + #root: warn | |
13 | +spring: | |
14 | + redis: | |
15 | + host: 172.17.56.37 | |
16 | + port: 6379 | |
17 | + #password: gas*123456 | |
18 | + database: 0 | |
19 | + timeout: 30000 | |
20 | + datasource: | |
21 | + dynamic: | |
22 | + primary: zrcloud | |
23 | + druid: | |
24 | + #初始化时建立的连接数 | |
25 | + initialSize: 1 | |
26 | + #最小连接池数量 | |
27 | + minIdle: 1 | |
28 | + #最大连接池数 | |
29 | + maxActive: 20 | |
30 | + # 配置获取连接等待超时的时间 | |
31 | + maxWait: 60000 | |
32 | + # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 | |
33 | + timeBetweenEvictionRunsMillis: 60000 | |
34 | + # 配置一个连接在池中最小生存的时间,单位是毫秒 | |
35 | + minEvictableIdleTimeMillis: 300000 | |
36 | + # 配置一个连接在池中最大生存的时间,单位是毫秒 | |
37 | + maxEvictableIdleTimeMillis: 900000 | |
38 | + # 配置检测连接是否有效 | |
39 | + validationQuery: SELECT 1 FROM DUAL | |
40 | + testWhileIdle: true | |
41 | + testOnBorrow: false | |
42 | + testOnReturn: false | |
43 | + webStatFilter: | |
44 | + enabled: true | |
45 | + statViewServlet: | |
46 | + enabled: true | |
47 | + # 设置白名单,不填则允许所有访问 | |
48 | + allow: | |
49 | + url-pattern: /druid/* | |
50 | + # 控制台管理用户名和密码 | |
51 | + #login-username: root | |
52 | + #login-password: 7614 | |
53 | + filter: | |
54 | + stat: | |
55 | + enabled: true | |
56 | + # 慢SQL记录 | |
57 | + log-slow-sql: true | |
58 | + slow-sql-millis: 1000 | |
59 | + merge-sql: true | |
60 | + #防御sql注入 | |
61 | + wall: | |
62 | + config: | |
63 | + multi-statement-allow: true | |
64 | + datasource: | |
65 | + zrcloud: | |
66 | + url: "jdbc:mysql://xxxxxx:xxxxxxxxxx/xxxxxxxxx?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true" | |
67 | + username: xxxxx | |
68 | + password: xxxxxxxx | |
69 | + driverClassName: com.mysql.cj.jdbc.Driver | |
70 | + ysentity: | |
71 | + url: "jdbc:oracle:thin:@vm3-scan.chinagasholdings.com:1521/DEVEBS" | |
72 | + username: ZRCLOUD | |
73 | + password: cg#Hpm230131 | |
74 | + driverClassName: oracle.jdbc.driver.OracleDriver | |
75 | + | |
76 | +SOA: | |
77 | + username: "OSB_PRD_ZRCLOUD" | |
78 | + password: "ZrcdPrdCkvj#36" | |
79 | + systems: | |
80 | + mdm: | |
81 | + url: "http://soa.chinagasholdings.com:7011/services" | |
82 | + operations: "{getPubIntfApi:'2F05002000001'}" | |
83 | + | |
84 | +user: | |
85 | + defaultPassword: Gas#123456789 | |
86 | + defaultRole: 2 | |
87 | + | |
88 | + | |
89 | + | |
90 | +minio: | |
91 | + endpoint: http://172.17.56.37:9000 | |
92 | + accessKey: minioadmin | |
93 | + secretKey: minioadmin | |
94 | + bucket: miniotest | |
95 | + | |
96 | +dingtalk: | |
97 | + corpId: dingf2f9115915afcb54a39a90f97fcb1e09 | |
98 | + agentId: 3129896987 | |
99 | + appKey: dingplin6zezdw81rqjd | |
100 | + appSecret: urDzarTDCpo6A7nJfPiGUJRTGY8O-JO0pvDl0O6wm3Eih6zL92hDdThIdmeKUh2C | |
101 | + callbackUrlHost: | |
102 | + token: 123456 | |
103 | + encodingAesKey: abcdefghijabcdefghijabcdefghijabcdefghij123 | |
104 | + oapiHost: https://oapi.dingtalk.com | |
105 | + deleteCallback: https://oapi.dingtalk.com/call_back/delete_call_back | |
106 | + registerCallback: https://oapi.dingtalk.com/call_back/register_call_back | |
107 | + oaBackgroundUrl: | |
108 | + ssoSecret: | ... | ... |
zr-cloud/zr-modules/zr-schsf/doc/nocas/zr-insight/zr-system-develop.yml
0 → 100644
... | ... | @@ -0,0 +1,83 @@ |
1 | +server: | |
2 | + port: 8002 | |
3 | +mybatis-plus: | |
4 | + mapper-locations: | |
5 | + - classpath*:mapper/**/*Mapper.xml | |
6 | + type-aliases-package: com.chinagas.modules.system.entity,com.chinagas.api.system.domain | |
7 | + configuration: | |
8 | + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl | |
9 | + log-prefix: SQL | |
10 | +spring: | |
11 | + redis: | |
12 | + host: 172.17.56.37 | |
13 | + port: 6379 | |
14 | + #password: gas*123456 | |
15 | + database: 0 | |
16 | + timeout: 30000 | |
17 | + datasource: | |
18 | + dynamic: | |
19 | + primary: zrcloud | |
20 | + druid: | |
21 | + #初始化时建立的连接数 | |
22 | + initialSize: 1 | |
23 | + #最小连接池数量 | |
24 | + minIdle: 1 | |
25 | + #最大连接池数 | |
26 | + maxActive: 20 | |
27 | + # 配置获取连接等待超时的时间 | |
28 | + maxWait: 60000 | |
29 | + # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 | |
30 | + timeBetweenEvictionRunsMillis: 60000 | |
31 | + # 配置一个连接在池中最小生存的时间,单位是毫秒 | |
32 | + minEvictableIdleTimeMillis: 300000 | |
33 | + # 配置一个连接在池中最大生存的时间,单位是毫秒 | |
34 | + maxEvictableIdleTimeMillis: 900000 | |
35 | + # 配置检测连接是否有效 | |
36 | + validationQuery: SELECT 1 FROM DUAL | |
37 | + testWhileIdle: true | |
38 | + testOnBorrow: false | |
39 | + testOnReturn: false | |
40 | + webStatFilter: | |
41 | + enabled: true | |
42 | + statViewServlet: | |
43 | + enabled: true | |
44 | + # 设置白名单,不填则允许所有访问 | |
45 | + allow: | |
46 | + url-pattern: /druid/* | |
47 | + # 控制台管理用户名和密码 | |
48 | + #login-username: root | |
49 | + #login-password: 7614 | |
50 | + filter: | |
51 | + stat: | |
52 | + enabled: true | |
53 | + # 慢SQL记录 | |
54 | + log-slow-sql: true | |
55 | + slow-sql-millis: 1000 | |
56 | + merge-sql: true | |
57 | + #防御sql注入 | |
58 | + wall: | |
59 | + config: | |
60 | + multi-statement-allow: true | |
61 | + datasource: | |
62 | + zrcloud: | |
63 | + url: "jdbc:mysql://124.71.131.246:13307/market_charge?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true" | |
64 | + username: root | |
65 | + password: Carbon@2024 | |
66 | + driverClassName: com.mysql.cj.jdbc.Driver | |
67 | + ysentity: | |
68 | + url: "jdbc:oracle:thin:@vm3-scan.chinagasholdings.com:1521/DEVEBS" | |
69 | + username: ZRCLOUD | |
70 | + password: cg#Hpm230131 | |
71 | + driverClassName: oracle.jdbc.driver.OracleDriver | |
72 | + | |
73 | +SOA: | |
74 | + username: "OSB_PRD_ZRCLOUD" | |
75 | + password: "ZrcdPrdCkvj#36" | |
76 | + systems: | |
77 | + mdm: | |
78 | + url: "http://soa.chinagasholdings.com:7011/services" | |
79 | + operations: "{getPubIntfApi:'2F05002000001'}" | |
80 | + | |
81 | +user: | |
82 | + defaultPassword: Gas#123456789 | |
83 | + defaultRole: 2 | |
0 | 84 | \ No newline at end of file | ... | ... |