Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-rt-dc
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
qg-rt-dc
Commits
cdd119f0
Commit
cdd119f0
authored
Jun 03, 2019
by
data爬虫-冯 军凯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据库连接配置
parent
54533519
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
170 additions
and
189 deletions
+170
-189
pom.xml
pom.xml
+162
-162
QgDataDcApplication.java
...main/java/cn/quantgroup/qgdatadc/QgDataDcApplication.java
+7
-21
pom.xml
qg-data-service/pom.xml
+1
-1
QgDataServiceApplication.java
...cn/quantgroup/qgdataservice/QgDataServiceApplication.java
+0
-5
No files found.
pom.xml
View file @
cdd119f0
This diff is collapsed.
Click to expand it.
qg-data-dc/src/main/java/cn/quantgroup/qgdatadc/QgDataDcApplication.java
View file @
cdd119f0
package
cn
.
quantgroup
.
qgdatadc
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.serializer.SerializerFeature
;
import
com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig
;
import
com.ctrip.framework.apollo.spring.config.ApolloPropertySourceInitializer
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.domain.EntityScan
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
import
org.springframework.cache.annotation.EnableCaching
;
import
org.springframework.context.annotation.EnableAspectJAutoProxy
;
import
org.springframework.data.jpa.repository.config.EnableJpaRepositories
;
import
org.springframework.scheduling.annotation.EnableAsync
;
import
org.springframework.transaction.annotation.EnableTransactionManagement
;
//@EnableJpaRepositories(basePackages = {"cn.quantgroup.qgrtdc.repository.jpa"})
//@EntityScan(basePackages = {"cn.quantgroup.qgrtdc.repository.jpa.entity"})
@EnableTransactionManagement
@EnableConfigurationProperties
@EnableCaching
@EnableAsync
@EnableAspectJAutoProxy
//
@EnableTransactionManagement
//
@EnableConfigurationProperties
//
@EnableCaching
//
@EnableAsync
//
@EnableAspectJAutoProxy
@Slf4j
@EnableApolloConfig
//
@EnableApolloConfig
@SpringBootApplication
public
class
QgDataDcApplication
{
public
static
void
main
(
String
[]
args
)
{
JSON
.
DEFAULT_GENERATE_FEATURE
|=
SerializerFeature
.
WriteEnumUsingToString
.
getMask
();
SpringApplication
springApplication
=
new
SpringApplication
(
QgDataDcApplication
.
class
);
springApplication
.
addInitializers
(
new
ApolloPropertySourceInitializer
());
springApplication
.
run
(
args
);
SpringApplication
.
run
(
QgDataDcApplication
.
class
,
args
);
log
.
info
(
"QUANTGROUP-数据实时清洗-系统启动完成 ^_^ "
);
}
...
...
qg-data-service/pom.xml
View file @
cdd119f0
...
...
@@ -5,7 +5,7 @@
<groupId>
cn.quantgroup
</groupId>
<artifactId>
qg-data-service
</artifactId>
<version>
1.0.
0
-SNAPSHOT
</version>
<version>
1.0.
1
-SNAPSHOT
</version>
<packaging>
jar
</packaging>
<name>
qg-data-service
</name>
...
...
qg-data-service/src/main/java/cn/quantgroup/qgdataservice/QgDataServiceApplication.java
View file @
cdd119f0
package
cn
.
quantgroup
.
qgdataservice
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
import
org.springframework.cache.annotation.EnableCaching
;
import
org.springframework.context.annotation.EnableAspectJAutoProxy
;
import
org.springframework.scheduling.annotation.EnableAsync
;
@SpringBootApplication
public
class
QgDataServiceApplication
{
...
...
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