Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baa-pay-server
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
贺超
baa-pay-server
Commits
76bfdfef
Commit
76bfdfef
authored
Sep 28, 2021
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建项目
parent
91a2b929
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
36 additions
and
27 deletions
+36
-27
README.MD
baa-pay-notice/README.MD
+2
-0
ServerApplication.java
...ice/src/main/java/cn/quant/baa/pay/ServerApplication.java
+4
-7
app.properties
baa-pay-notice/src/main/resources/META-INF/app.properties
+2
-0
banner.txt
baa-pay-notice/src/main/resources/banner.txt
+8
-6
application.yml
baa-pay-notice/src/main/resources/config/application.yml
+5
-1
bootstrap.yml
baa-pay-notice/src/main/resources/config/bootstrap.yml
+1
-3
README.MD
baa-pay-server/README.MD
+2
-0
banner.txt
baa-pay-server/src/main/resources/banner.txt
+8
-6
logback-dev.xml
baa-pay-server/src/main/resources/logback-dev.xml
+2
-2
logback-pro.xml
baa-pay-server/src/main/resources/logback-pro.xml
+2
-2
No files found.
baa-pay-notice/README.MD
0 → 100644
View file @
76bfdfef
#VM启动项
-Denv=DEV -Didc=k8s -Dserver.port=8090 -DNAMESPACE=pay -Dlogging.config=classpath:logback-dev.xml
\ No newline at end of file
baa-pay-notice/src/main/java/cn/quant/baa/pay/ServerApplication.java
View file @
76bfdfef
...
@@ -2,6 +2,7 @@ package cn.quant.baa.pay;
...
@@ -2,6 +2,7 @@ package cn.quant.baa.pay;
import
cn.quant.spring.util.IdentitySequencer
;
import
cn.quant.spring.util.IdentitySequencer
;
import
cn.quant.spring.util.ServerUtils
;
import
cn.quant.spring.util.ServerUtils
;
import
com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
...
@@ -25,16 +26,12 @@ import java.time.format.DateTimeFormatter;
...
@@ -25,16 +26,12 @@ import java.time.format.DateTimeFormatter;
* <p><b>Enable Dubbo Annotation: </b><br/>
* <p><b>Enable Dubbo Annotation: </b><br/>
* <code>@org.springframework.context.annotation.ImportResource(locations = {"classpath:application-dubbo.xml"})</code></p>
* <code>@org.springframework.context.annotation.ImportResource(locations = {"classpath:application-dubbo.xml"})</code></p>
*/
*/
@EnableApolloConfig
@ComponentScan
@ComponentScan
@SpringBootApplication
@SpringBootApplication
@EnableAutoConfiguration
(
exclude
=
{
@EnableAutoConfiguration
// DataSourceAutoConfiguration.class,
// DataSourceTransactionManagerAutoConfiguration.class,
// HibernateJpaAutoConfiguration.class
})
@PropertySource
(
value
=
{
"classpath:config/bootstrap.yml"
@PropertySource
(
value
=
{
"classpath:config/bootstrap.yml"
,
"classpath:config/application.yml"
,
"classpath:config/application.yml"
})
,
"file:${spring.config.file}"
})
public
class
ServerApplication
{
public
class
ServerApplication
{
@Inject
@Inject
...
...
baa-pay-notice/src/main/resources/META-INF/app.properties
0 → 100644
View file @
76bfdfef
app.id
=
baa-pay-notice
apollo.meta
=
http://apollo-dev.quantgroups.com
\ No newline at end of file
baa-pay-notice/src/main/resources/banner.txt
View file @
76bfdfef
___ _ _ _
____ _____ _ _ _ _
/ _ \(_) __ _ _ __ | |__ __ _ ___ / \ _ __ _ __
| _ \ | __ \ | \ | | | | (_)
| | | | |/ _` | '_ \| '_ \ / _` |/ _ \ _____ / _ \ | '_ \| '_ \
| |_) | __ _ __ _| |__) |_ _ _ _ ______| \| | ___ | |_ _ ___ ___
| |_| | | (_| | | | | |_) | (_| | (_) |_____/ ___ \| |_) | |_) |
| _ < / _` |/ _` | ___/ _` | | | |______| . ` |/ _ \| __| |/ __/ _ \
\__\_\_|\__,_|_| |_|_.__/ \__,_|\___/ /_/ \_\ .__/| .__/
| |_) | (_| | (_| | | | (_| | |_| | | |\ | (_) | |_| | (_| __/
|_| |_|
|____/ \__,_|\__,_|_| \__,_|\__, | |_| \_|\___/ \__|_|\___\___|
__/ |
|___/
v${project.version}
v${project.version}
\ No newline at end of file
baa-pay-notice/src/main/resources/config/application.yml
View file @
76bfdfef
...
@@ -59,4 +59,8 @@ spring:
...
@@ -59,4 +59,8 @@ spring:
view
:
view
:
prefix
:
classpath:/view/
prefix
:
classpath:/view/
suffix
:
.jsp
suffix
:
.jsp
static-path-pattern
:
/**
static-path-pattern
:
/**
\ No newline at end of file
messages
:
basename
:
messages, i18n/messages, cn.quant.spring/messages
fallback-to-system-locale
:
true
encoding
:
UTF-8
\ No newline at end of file
baa-pay-notice/src/main/resources/config/bootstrap.yml
View file @
76bfdfef
...
@@ -21,6 +21,4 @@ spring:
...
@@ -21,6 +21,4 @@ spring:
cloud
:
cloud
:
task
:
task
:
initialize
:
initialize
:
enable
:
false
enable
:
false
messages
:
\ No newline at end of file
basename
:
i18n/messages
\ No newline at end of file
baa-pay-server/README.MD
0 → 100644
View file @
76bfdfef
#VM启动项
-Denv=DEV -Didc=k8s -Dserver.port=8090 -DNAMESPACE=pay -Dlogging.config=classpath:logback-dev.xml
\ No newline at end of file
baa-pay-server/src/main/resources/banner.txt
View file @
76bfdfef
___ _ _ _
____ _____ _____
/ _ \(_) __ _ _ __ | |__ __ _ ___ / \ _ __ _ __
| _ \ | __ \ / ____|
| | | | |/ _` | '_ \| '_ \ / _` |/ _ \ _____ / _ \ | '_ \| '_ \
| |_) | __ _ __ _| |__) |_ _ _ _ _____| (___ ___ _ ____ _____ _ __
| |_| | | (_| | | | | |_) | (_| | (_) |_____/ ___ \| |_) | |_) |
| _ < / _` |/ _` | ___/ _` | | | |______\___ \ / _ \ '__\ \ / / _ \ '__|
\__\_\_|\__,_|_| |_|_.__/ \__,_|\___/ /_/ \_\ .__/| .__/
| |_) | (_| | (_| | | | (_| | |_| | ____) | __/ | \ V / __/ |
|_| |_|
|____/ \__,_|\__,_|_| \__,_|\__, | |_____/ \___|_| \_/ \___|_|
__/ |
|___/
v${project.version}
v${project.version}
\ No newline at end of file
baa-pay-server/src/main/resources/logback-dev.xml
View file @
76bfdfef
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
</contextListener>
</contextListener>
<appender
name=
"ROLLINGFILE"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<appender
name=
"ROLLINGFILE"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<file>
${logging.dir}/${project.name}
/${project.name}.log
</file>
<file>
/home/quant_group/logs
/${project.name}.log
</file>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<fileNamePattern>
${logging.dir}/${project.name}
/${project.name}.%d{yyyy-MM-dd}-%i.log
</fileNamePattern>
<fileNamePattern>
/home/quant_group/logs
/${project.name}.%d{yyyy-MM-dd}-%i.log
</fileNamePattern>
<maxHistory>
90
</maxHistory>
<maxHistory>
90
</maxHistory>
<maxFileSize>
512MB
</maxFileSize>
<maxFileSize>
512MB
</maxFileSize>
<totalSizeCap>
10GB
</totalSizeCap>
<totalSizeCap>
10GB
</totalSizeCap>
...
...
baa-pay-server/src/main/resources/logback-pro.xml
View file @
76bfdfef
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</encoder>
</encoder>
</appender>
</appender>
<logger
name=
"cn.quant.baa.pay"
level=
"
WARN
"
/>
<logger
name=
"cn.quant.baa.pay"
level=
"
DEBUG
"
/>
<logger
name=
"javax.activation"
level=
"ERROR"
/>
<logger
name=
"javax.activation"
level=
"ERROR"
/>
<logger
name=
"org.quartz.core"
level=
"ERROR"
/>
<logger
name=
"org.quartz.core"
level=
"ERROR"
/>
<logger
name=
"org.quartz.simpl"
level=
"ERROR"
/>
<logger
name=
"org.quartz.simpl"
level=
"ERROR"
/>
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
<logger
name=
"org.hibernate.engine.QueryParameters"
level=
"ERROR"
/>
<logger
name=
"org.hibernate.engine.QueryParameters"
level=
"ERROR"
/>
<logger
name=
"org.hibernate.SQL"
level=
"ERROR"
/>
<logger
name=
"org.hibernate.SQL"
level=
"ERROR"
/>
<root
level=
"
WARN
"
>
<root
level=
"
DEBUG
"
>
<appender-ref
ref=
"STDOUT"
/>
<appender-ref
ref=
"STDOUT"
/>
<appender-ref
ref=
"ROLLINGFILE"
/>
<appender-ref
ref=
"ROLLINGFILE"
/>
</root>
</root>
...
...
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