Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
antai-sport-http-server
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
antai-sport
antai-sport-http-server
Commits
ba4d9f12
Commit
ba4d9f12
authored
Nov 12, 2022
by
liming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改test环境配置
parent
4b7e4e0d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
12 deletions
+70
-12
application-test.yaml
management-api/src/main/resources/application-test.yaml
+9
-6
logback-spring-test.xml
management-api/src/main/resources/logback-spring-test.xml
+26
-0
application-test.yaml
...ining-leader-api/src/main/resources/application-test.yaml
+9
-6
logback-spring-test.xml
...ing-leader-api/src/main/resources/logback-spring-test.xml
+26
-0
No files found.
management-api/src/main/resources/application-test.yaml
View file @
ba4d9f12
...
...
@@ -6,7 +6,7 @@ spring:
database
:
1
host
:
127.0.0.1
port
:
6379
password
:
ENC(
yKZoKLWfAj6BRglq4C2HWWjsL64maeCm
)
password
:
ENC(
4yi769QrulhSbnefFrKAf6SG6ssIca8i
)
swagger
:
enable
:
true
...
...
@@ -14,11 +14,14 @@ swagger:
aliyun
:
oss
:
region-id
:
cn-beijing
access-key-id
:
LTAI
4Fq5tjMLps5529Vnp7Kz
access-key-secret
:
W1UAzbKf5Ufo6lrFVTe6hicKPoSBSG
access-key-id
:
LTAI
5tJag75RdSQiVopwRdhc
access-key-secret
:
ShrA1zdrCRevavWUU9GwgyIodMFB2F
enabled
:
true
endpoint
:
https://oss-cn-beijing.aliyuncs.com
bucket-name
:
antai-spor
t
cdn-url
:
http
://antai-spor
t.oss-cn-beijing.aliyuncs.com/
bucket-name
:
shanghaijingji-sport-tes
t
cdn-url
:
http
s://shanghaijingji-sport-tes
t.oss-cn-beijing.aliyuncs.com/
simple-match-change-notify-url
:
http://47.100.168.51:3281/api/match/update
\ No newline at end of file
simple-match-change-notify-url
:
http://127.0.0.1:3281/api/match/update
logging
:
config
:
classpath:logback-spring-test.xml
\ No newline at end of file
management-api/src/main/resources/logback-spring-test.xml
0 → 100644
View file @
ba4d9f12
<configuration>
<!--为了防止进程退出时,内存中的数据丢失,请加上此选项-->
<shutdownHook
class=
"ch.qos.logback.core.hook.DelayingShutdownHook"
/>
<appender
name=
"fileAppender"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<!-- daily rollover -->
<fileNamePattern>
/usr/local/project/management-api/logs/logFile.%d{yyyy-MM-dd}-%i.log
</fileNamePattern>
<!-- keep 30 days' worth of history capped at 3GB total size -->
<maxHistory>
30
</maxHistory>
<maxFileSize>
100MB
</maxFileSize>
<totalSizeCap>
3GB
</totalSizeCap>
</rollingPolicy>
<!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder
by default -->
<encoder>
<pattern>
%d %-5level [%thread] %logger{0}: %msg %n
</pattern>
</encoder>
</appender>
<root>
<level
value=
"INFO"
/>
<appender-ref
ref=
"fileAppender"
/>
</root>
</configuration>
team-training-leader-api/src/main/resources/application-test.yaml
View file @
ba4d9f12
...
...
@@ -6,7 +6,7 @@ spring:
database
:
1
host
:
127.0.0.1
port
:
6379
password
:
ENC(
yKZoKLWfAj6BRglq4C2HWWjsL64maeCm
)
password
:
ENC(
4yi769QrulhSbnefFrKAf6SG6ssIca8i
)
swagger
:
enable
:
true
...
...
@@ -14,11 +14,14 @@ swagger:
aliyun
:
oss
:
region-id
:
cn-beijing
access-key-id
:
LTAI
4Fq5tjMLps5529Vnp7Kz
access-key-secret
:
W1UAzbKf5Ufo6lrFVTe6hicKPoSBSG
access-key-id
:
LTAI
5tJag75RdSQiVopwRdhc
access-key-secret
:
ShrA1zdrCRevavWUU9GwgyIodMFB2F
enabled
:
true
endpoint
:
https://oss-cn-beijing.aliyuncs.com
bucket-name
:
antai-spor
t
cdn-url
:
http
://antai-spor
t.oss-cn-beijing.aliyuncs.com/
bucket-name
:
shanghaijingji-sport-tes
t
cdn-url
:
http
s://shanghaijingji-sport-tes
t.oss-cn-beijing.aliyuncs.com/
team-training-change-notify-url
:
http://47.100.168.51:3281/api/teamTraining/update
\ No newline at end of file
team-training-change-notify-url
:
http://127.0.0.1:3281/api/teamTraining/update
logging
:
config
:
classpath:logback-spring-test.xml
\ No newline at end of file
team-training-leader-api/src/main/resources/logback-spring-test.xml
0 → 100644
View file @
ba4d9f12
<configuration>
<!--为了防止进程退出时,内存中的数据丢失,请加上此选项-->
<shutdownHook
class=
"ch.qos.logback.core.hook.DelayingShutdownHook"
/>
<appender
name=
"fileAppender"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<!-- daily rollover -->
<fileNamePattern>
/usr/local/project/team-training-leader-api/logs/logFile.%d{yyyy-MM-dd}-%i.log
</fileNamePattern>
<!-- keep 30 days' worth of history capped at 3GB total size -->
<maxHistory>
30
</maxHistory>
<maxFileSize>
100MB
</maxFileSize>
<totalSizeCap>
3GB
</totalSizeCap>
</rollingPolicy>
<!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder
by default -->
<encoder>
<pattern>
%d %-5level [%thread] %logger{0}: %msg %n
</pattern>
</encoder>
</appender>
<root>
<level
value=
"INFO"
/>
<appender-ref
ref=
"fileAppender"
/>
</root>
</configuration>
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