🔖 Releasing / Version tags. v4.1
🔖 Releasing / Version tags. v4.1 🔖 Releasing / Version tags. v4.1 🔖 Releasing / Version tags. v4.1 🔖 Releasing / Version tags. v4.1
This commit is contained in:
1 parent
5f53b1da29
commit
42c817a7fe
3 files changed
+9
-4
No files matched your search
@@ -1,2 +0,0 @@
|
||||
-- 更新历史菜单排序避免空指针
|
||||
UPDATE `sys_menu` SET `sort`=1 WHERE ISNULL(`sort`)
|
||||
@@ -0,0 +1,8 @@
|
||||
USE pigxx_config;
|
||||
|
||||
UPDATE `config_info` SET `data_id` = 'application-dev.yml', `group_id` = 'DEFAULT_GROUP', `content` = '# 配置文件加密根密码\njasypt:\n encryptor:\n password: pigx\n algorithm: PBEWithMD5AndDES\n iv-generator-classname: org.jasypt.iv.NoIvGenerator\n\nspring:\n redis:\n host: pigx-redis\n servlet:\n multipart:\n max-file-size: 100MB\n max-request-size: 100MB\n cloud:\n sentinel:\n eager: true\n filter:\n url-patterns: /** \n transport:\n dashboard: pigx-sentinel:5020\n\n# 端点对外暴露\nmanagement:\n endpoints:\n web:\n exposure:\n include: \'*\' \n endpoint:\n health:\n show-details: ALWAYS\n# feign 相关配置\nfeign:\n sentinel:\n enabled: true\n okhttp:\n enabled: true\n httpclient:\n enabled: false\n client:\n config:\n default:\n connectTimeout: 20000\n readTimeout: 20000\n compression:\n request:\n enabled: true\n response:\n enabled: true\n\n#开启灰度\ngray:\n rule:\n enabled: true\n\n# mybatis-plus 配置\nmybatis-plus:\n tenant-enable: ture\n mapper-locations: classpath:/mapper/*Mapper.xml\n global-config:\n banner: false\n db-config:\n db-type: oracle\n id-type: auto\n select-strategy: not_empty\n insert-strategy: not_empty\n update-strategy: not_empty\n type-handlers-package: com.pig4cloud.pigx.common.data.handler\n configuration:\n jdbc-type-for-null: null\n# swagger 全局配置\nswagger:\n enabled: true\n title: PigX Swagger API\n license: Powered By PigX\n licenseUrl: https://pig4cloud.com/\n terms-of-service-url: https://pig4cloud.com/\n contact:\n email: wangiegie@gmail.com\n url: https://pig4cloud.com/about.html\n authorization:\n name: oauth2\n auth-regex: ^.*$\n authorization-scope-list:\n - scope: server\n description: server all\n token-url-list:\n - http://${GATEWAY_HOST:pigx-gateway}:${GATEWAY_PORT:9999}/auth/oauth/token\n\n# oauth2 资源服务器相关配置\nsecurity:\n oauth2:\n client:\n ignore-urls:\n - /error\n - /actuator/**\n - /v2/api-docs\n resource:\n loadBalanced: true\n token-info-uri: http://pigx-auth/oauth/check_token', `md5` = '72abb624f721ae5042c48b5a8b2e8801', `gmt_create` = '2019-04-18 02:10:20', `gmt_modified` = '2021-06-30 13:35:38', `src_user` = '', `src_ip` = '172.16.1.60', `app_name` = '', `tenant_id` = '', `c_desc` = '通用配置文件', `c_use` = 'null', `effect` = 'null', `type` = 'yaml', `c_schema` = 'null' WHERE `id` = 1;
|
||||
UPDATE `config_info` SET `data_id` = 'pigx-auth-dev.yml', `group_id` = 'DEFAULT_GROUP', `content` = '# 数据源\nspring:\n freemarker:\n allow-request-override: false\n allow-session-override: false\n cache: true\n charset: UTF-8\n check-template-location: true\n content-type: text/html\n enabled: true\n expose-request-attributes: false\n expose-session-attributes: false\n expose-spring-macro-helpers: true\n prefer-file-system-access: true\n suffix: .ftl\n template-loader-path: classpath:/templates/', `md5` = '74f53b71c7799aa754da75662378b93c', `gmt_create` = '2019-04-18 02:11:32', `gmt_modified` = '2021-05-07 23:40:38', `src_user` = NULL, `src_ip` = '10.1.1.143', `app_name` = '', `tenant_id` = '', `c_desc` = '认证中心配置文件', `c_use` = 'null', `effect` = 'null', `type` = 'yaml', `c_schema` = 'null' WHERE `id` = 2;
|
||||
|
||||
USE pigxx;
|
||||
-- 更新历史菜单排序避免空指针
|
||||
UPDATE `sys_menu` SET `sort`=1 WHERE ISNULL(`sort`)
|
||||
+1
-2
@@ -46,9 +46,8 @@ public class VersionGrayLoadBalancer implements GrayLoadBalancer {
|
||||
|
||||
/**
|
||||
* 根据serviceId 筛选可用服务
|
||||
*
|
||||
* @param serviceId 服务ID
|
||||
* @param request 当前请求
|
||||
* @param request 当前请求
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user