Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
11fa2dbd
You need to sign in or sign up before continuing.
Commit
11fa2dbd
authored
Jun 16, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置文件拆分
parent
4a1b313d
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
148 additions
and
157 deletions
+148
-157
application-dev.yml
yifu-auth/src/main/resources/application-dev.yml
+38
-0
application-test.yml
yifu-auth/src/main/resources/application-test.yml
+40
-0
application.yml
yifu-auth/src/main/resources/application.yml
+1
-82
application-dev.yml
yifu-job/yifu-job-biz/src/main/resources/application-dev.yml
+16
-0
application-test.yml
...-job/yifu-job-biz/src/main/resources/application-test.yml
+14
-0
application.yml
yifu-job/yifu-job-biz/src/main/resources/application.yml
+1
-34
application-dev.yml
...isual/yifu-codegen/src/main/resources/application-dev.yml
+19
-0
application-test.yml
...sual/yifu-codegen/src/main/resources/application-test.yml
+18
-0
application.yml
yifu-visual/yifu-codegen/src/main/resources/application.yml
+1
-41
No files found.
yifu-auth/src/main/resources/application-dev.yml
0 → 100644
View file @
11fa2dbd
spring
:
config
:
#import:
# - classpath: application-test.yml
activate
:
on-profile
:
dev
mvc
:
pathmatch
:
matching-strategy
:
ant_path_matcher
redis
:
host
:
127.0.0.1
password
:
'
@yf_2017'
cloud
:
sentinel
:
eager
:
true
transport
:
dashboard
:
yifu-sentinel:5003
# 数据源
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/yifu_upms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
freemarker
:
allow-request-override
:
false
allow-session-override
:
false
cache
:
true
charset
:
UTF-8
check-template-location
:
true
content-type
:
text/html
enabled
:
true
expose-request-attributes
:
false
expose-session-attributes
:
false
expose-spring-macro-helpers
:
true
prefer-file-system-access
:
true
suffix
:
.ftl
template-loader-path
:
classpath:/templates/
yifu-auth/src/main/resources/application-test.yml
0 → 100644
View file @
11fa2dbd
spring
:
config
:
#import:
# - classpath: application-test.yml
activate
:
on-profile
:
test
mvc
:
pathmatch
:
matching-strategy
:
ant_path_matcher
redis
:
host
:
192.168.1.65
port
:
22379
password
:
'
@yf_2017'
cloud
:
sentinel
:
eager
:
true
transport
:
dashboard
:
yifu-sentinel:5003
# 数据源
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
password
:
yf_zsk
#url: jdbc:mysql://127.0.0.1:3306/yifu_upms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://192.168.1.65:22306/yifu_upms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
freemarker
:
allow-request-override
:
false
allow-session-override
:
false
cache
:
true
charset
:
UTF-8
check-template-location
:
true
content-type
:
text/html
enabled
:
true
expose-request-attributes
:
false
expose-session-attributes
:
false
expose-spring-macro-helpers
:
true
prefer-file-system-access
:
true
suffix
:
.ftl
template-loader-path
:
classpath:/templates/
\ No newline at end of file
yifu-auth/src/main/resources/application.yml
View file @
11fa2dbd
...
...
@@ -51,85 +51,4 @@ security:
# Spring 相关
spring
:
application
:
name
:
@
artifactId@
---
spring
:
config
:
#import:
# - classpath: application-test.yml
activate
:
on-profile
:
test
mvc
:
pathmatch
:
matching-strategy
:
ant_path_matcher
redis
:
host
:
192.168.1.65
port
:
22379
password
:
'
@yf_2017'
cloud
:
sentinel
:
eager
:
true
transport
:
dashboard
:
yifu-sentinel:5003
# 数据源
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
password
:
yf_zsk
#url: jdbc:mysql://127.0.0.1:3306/yifu_upms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://192.168.1.65:22306/yifu_upms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
freemarker
:
allow-request-override
:
false
allow-session-override
:
false
cache
:
true
charset
:
UTF-8
check-template-location
:
true
content-type
:
text/html
enabled
:
true
expose-request-attributes
:
false
expose-session-attributes
:
false
expose-spring-macro-helpers
:
true
prefer-file-system-access
:
true
suffix
:
.ftl
template-loader-path
:
classpath:/templates/
---
spring
:
config
:
#import:
# - classpath: application-test.yml
activate
:
on-profile
:
dev
mvc
:
pathmatch
:
matching-strategy
:
ant_path_matcher
redis
:
host
:
127.0.0.1
password
:
'
@yf_2017'
cloud
:
sentinel
:
eager
:
true
transport
:
dashboard
:
yifu-sentinel:5003
# 数据源
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/yifu_upms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
freemarker
:
allow-request-override
:
false
allow-session-override
:
false
cache
:
true
charset
:
UTF-8
check-template-location
:
true
content-type
:
text/html
enabled
:
true
expose-request-attributes
:
false
expose-session-attributes
:
false
expose-spring-macro-helpers
:
true
prefer-file-system-access
:
true
suffix
:
.ftl
template-loader-path
:
classpath:/templates/
name
:
@
artifactId@
\ No newline at end of file
yifu-job/yifu-job-biz/src/main/resources/application-dev.yml
0 → 100644
View file @
11fa2dbd
# 数据源配置
spring
:
redis
:
host
:
127.0.0.1
password
:
'
@yf_2017'
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/yifu_job?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
config
:
activate
:
on-profile
:
dev
yifu-job/yifu-job-biz/src/main/resources/application-test.yml
0 → 100644
View file @
11fa2dbd
# 数据源配置
spring
:
redis
:
host
:
127.0.0.1
password
:
'
@yf_2017'
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/yifu_job?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
config
:
activate
:
on-profile
:
test
\ No newline at end of file
yifu-job/yifu-job-biz/src/main/resources/application.yml
View file @
11fa2dbd
...
...
@@ -79,37 +79,4 @@ springdoc:
#分组名
-
group
:
job
#按包路径匹配
packagesToScan
:
com.yifu.cloud.plus.v1.job.controller
---
# 数据源配置
spring
:
redis
:
host
:
127.0.0.1
password
:
'
@yf_2017'
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/yifu_job?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
config
:
activate
:
on-profile
:
test
---
# 数据源配置
spring
:
redis
:
host
:
127.0.0.1
password
:
'
@yf_2017'
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/yifu_job?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
config
:
activate
:
on-profile
:
dev
packagesToScan
:
com.yifu.cloud.plus.v1.job.controller
\ No newline at end of file
yifu-visual/yifu-codegen/src/main/resources/application-dev.yml
0 → 100644
View file @
11fa2dbd
# 数据源配置
spring
:
config
:
activate
:
on-profile
:
dev
redis
:
host
:
127.0.0.1
port
:
6379
password
:
'
@yf_2017'
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/yifu_codegen?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
web
:
resources
:
static-locations
:
classpath:/static/,classpath:/views/
yifu-visual/yifu-codegen/src/main/resources/application-test.yml
0 → 100644
View file @
11fa2dbd
# 数据源配置
spring
:
config
:
activate
:
on-profile
:
test
redis
:
host
:
192.168.1.65
port
:
22379
password
:
'
@yf_2017'
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/yifu_codegen?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
web
:
resources
:
static-locations
:
classpath:/static/,classpath:/views/
\ No newline at end of file
yifu-visual/yifu-codegen/src/main/resources/application.yml
View file @
11fa2dbd
...
...
@@ -40,44 +40,4 @@ springdoc:
#分组名
-
group
:
codegen
#按包路径匹配
packagesToScan
:
com.yifu.cloud.plus.v1.yifu.codegen.controller
---
# 数据源配置
spring
:
config
:
activate
:
on-profile
:
test
redis
:
host
:
192.168.1.65
port
:
22379
password
:
'
@yf_2017'
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/yifu_codegen?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
web
:
resources
:
static-locations
:
classpath:/static/,classpath:/views/
---
# 数据源配置
spring
:
config
:
activate
:
on-profile
:
dev
redis
:
host
:
127.0.0.1
port
:
6379
password
:
'
@yf_2017'
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
root
password
:
yf_zsk
url
:
jdbc:mysql://192.168.1.65:22306/yifu_codegen?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
web
:
resources
:
static-locations
:
classpath:/static/,classpath:/views/
packagesToScan
:
com.yifu.cloud.plus.v1.yifu.codegen.controller
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment