Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Pig
提交
ca38a27a
P
Pig
项目概览
int
/
Pig
上一次同步 大约 1 年
通知
8
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Pig
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ca38a27a
编写于
5月 13, 2020
作者:
pig_冷冷
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
💚
https://gitee.com/log4j/pig/issues/I1H08L
配置文件名称 修改 pig-upms-biz.yml
上级
7926b39a
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
2 addition
and
2 deletion
+2
-2
db/pig_config.sql
db/pig_config.sql
+1
-1
pom.xml
pom.xml
+1
-1
未找到文件。
db/pig_config.sql
浏览文件 @
ca38a27a
...
...
@@ -41,7 +41,7 @@ INSERT INTO `config_info` VALUES (2, 'pig-auth-dev.yml', 'DEFAULT_GROUP', '# 数
INSERT
INTO
`config_info`
VALUES
(
3
,
'pig-codegen-dev.yml'
,
'DEFAULT_GROUP'
,
'## spring security 配置
\n
security:
\n
oauth2:
\n
client:
\n
client-id: ENC(27v1agvAug87ANOVnbKdsw==)
\n
client-secret: ENC(VbnkopxrwgbFVKp+UxJ2pg==)
\n
scope: server
\n\n
# 数据源配置
\n
spring:
\n
datasource:
\n
type: com.zaxxer.hikari.HikariDataSource
\n
driver-class-name: com.mysql.cj.jdbc.Driver
\n
username: root
\n
password: root
\n
url: jdbc:mysql://pig-mysql:3306/pig_codegen?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
\n
resources:
\n
static-locations: classpath:/static/,classpath:/views/
\n\n
# 直接放行URL
\n
ignore:
\n
urls:
\n
- /v2/api-docs
\n
- /actuator/**
\n
'
,
'abc702838b34d11b46e96143ccd9f367'
,
'2019-11-29 16:32:12'
,
'2019-11-29 16:32:12'
,
NULL
,
'127.0.0.1'
,
''
,
''
,
'代码生成配置'
,
NULL
,
NULL
,
'yaml'
,
NULL
);
INSERT
INTO
`config_info`
VALUES
(
4
,
'pig-gateway-dev.yml'
,
'DEFAULT_GROUP'
,
'spring:
\n
cloud:
\n
gateway:
\n
locator:
\n
enabled: true
\n
routes:
\n
# 认证中心
\n
- id: pig-auth
\n
uri: lb://pig-auth
\n
predicates:
\n
- Path=/auth/**
\n
filters:
\n
# 验证码处理
\n
- ValidateCodeGatewayFilter
\n
# 前端密码解密
\n
- PasswordDecoderFilter
\n
#UPMS 模块
\n
- id: pig-upms-biz
\n
uri: lb://pig-upms-biz
\n
predicates:
\n
- Path=/admin/**
\n
filters:
\n
# 限流配置
\n
- name: RequestRateLimiter
\n
args:
\n
key-resolver:
\'
#{@remoteAddrKeyResolver}
\'\n
redis-rate-limiter.replenishRate: 10
\n
redis-rate-limiter.burstCapacity: 20
\n
# 降级配置
\n
- name: Hystrix
\n
args:
\n
name: default
\n
fallbackUri:
\'
forward:/fallback
\'\n
# 代码生成模块
\n
- id: pig-codegen
\n
uri: lb://pig-codegen
\n
predicates:
\n
- Path=/gen/**
\n\n\n
security:
\n
encode:
\n
# 前端密码密钥,必须16位
\n
key:
\'
thanks,pig4cloud
\'\n\n
# 不校验验证码终端
\n
ignore:
\n
clients:
\n
- test
\n
'
,
'32ce953f48c958bb869a7e3e442a4a11'
,
'2019-11-29 16:32:42'
,
'2019-11-29 16:32:42'
,
NULL
,
'127.0.0.1'
,
''
,
''
,
'网关配置'
,
NULL
,
NULL
,
'yaml'
,
NULL
);
INSERT
INTO
`config_info`
VALUES
(
5
,
'pig-monitor-dev.yml'
,
'DEFAULT_GROUP'
,
'spring:
\n
# 安全配置
\n
security:
\n
user:
\n
name: ENC(8Hk2ILNJM8UTOuW/Xi75qg==) # pig
\n
password: ENC(o6cuPFfUevmTbkmBnE67Ow====) # pig
\n
'
,
'85509c6f8c67c364dc78301896274f26'
,
'2019-11-29 16:33:05'
,
'2019-11-29 16:33:05'
,
NULL
,
'127.0.0.1'
,
''
,
''
,
'监控配置'
,
NULL
,
NULL
,
'yaml'
,
NULL
);
INSERT
INTO
`config_info`
VALUES
(
6
,
'pig-upms-biz.yml'
,
'DEFAULT_GROUP'
,
'security:
\n
oauth2:
\n
client:
\n
client-id: ENC(imENTO7M8bLO38LFSIxnzw==)
\n
client-secret: ENC(i3cDFhs26sa2Ucrfz2hnQw==)
\n
scope: server
\n\n
# 数据源
\n
spring:
\n
datasource:
\n
type: com.zaxxer.hikari.HikariDataSource
\n
driver-class-name: com.mysql.cj.jdbc.Driver
\n
username: root
\n
password: root
\n
url: jdbc:mysql://pig-mysql:3306/pig?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
\n
'
,
'3248f7cf9ea2ce40cd41cd664ec32ae0'
,
'2019-11-29 16:52:32'
,
'2020-03-14 16:24:24'
,
NULL
,
'172.17.0.125'
,
''
,
''
,
'统一权限'
,
'null'
,
'null'
,
'yaml'
,
'null'
);
INSERT
INTO
`config_info`
VALUES
(
6
,
'pig-upms-biz
-dev
.yml'
,
'DEFAULT_GROUP'
,
'security:
\n
oauth2:
\n
client:
\n
client-id: ENC(imENTO7M8bLO38LFSIxnzw==)
\n
client-secret: ENC(i3cDFhs26sa2Ucrfz2hnQw==)
\n
scope: server
\n\n
# 数据源
\n
spring:
\n
datasource:
\n
type: com.zaxxer.hikari.HikariDataSource
\n
driver-class-name: com.mysql.cj.jdbc.Driver
\n
username: root
\n
password: root
\n
url: jdbc:mysql://pig-mysql:3306/pig?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
\n
'
,
'3248f7cf9ea2ce40cd41cd664ec32ae0'
,
'2019-11-29 16:52:32'
,
'2020-03-14 16:24:24'
,
NULL
,
'172.17.0.125'
,
''
,
''
,
'统一权限'
,
'null'
,
'null'
,
'yaml'
,
'null'
);
COMMIT
;
-- ----------------------------
...
...
pom.xml
浏览文件 @
ca38a27a
...
...
@@ -24,7 +24,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-cloud-dependencies-parent
</artifactId>
<version>
Hoxton.SR
3
</version>
<version>
Hoxton.SR
4
</version>
</parent>
<groupId>
com.pig4cloud
</groupId>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录