Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
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
openSource
apollo
Commits
25517ac3
Commit
25517ac3
authored
May 24, 2016
by
lepdou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
f0c6e614
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
18 additions
and
22 deletions
+18
-22
pom.xml
apollo-biz/pom.xml
+0
-4
application.properties
apollo-biz/src/main/resources/application.properties
+0
-12
pom.xml
apollo-common/pom.xml
+1
-1
TitanCondition.java
...ip/framework/apollo/common/datasource/TitanCondition.java
+1
-1
TitanEntityManager.java
...ramework/apollo/common/datasource/TitanEntityManager.java
+1
-1
TitanSettings.java
...rip/framework/apollo/common/datasource/TitanSettings.java
+1
-1
application-ctrip.properties
...lo-common/src/main/resources/application-ctrip.properties
+0
-0
application-dev.properties
apollo-common/src/main/resources/application-dev.properties
+0
-0
application.properties
apollo-common/src/main/resources/application.properties
+14
-2
No files found.
apollo-biz/pom.xml
View file @
25517ac3
...
...
@@ -18,10 +18,6 @@
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo-common
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-jpa
</artifactId>
</dependency>
<!-- eureka -->
<dependency>
<groupId>
org.springframework.cloud
</groupId>
...
...
apollo-biz/src/main/resources/application.properties
deleted
100644 → 0
View file @
f0c6e614
# DataSource
spring.datasource.testWhileIdle
=
true
spring.datasource.testOnBorrow
=
true
spring.datasource.validationQuery
=
SELECT 1
# Naming strategy
spring.jpa.hibernate.naming_strategy
=
org.hibernate.cfg.EJB3NamingStrategy
spring.jpa.hibernate.globally_quoted_identifiers
=
true
spring.jpa.properties.hibernate.globally_quoted_identifiers
=
true
# Tomcat configuration
server.tomcat.accept-count
=
1024
apollo-common/pom.xml
View file @
25517ac3
...
...
@@ -36,7 +36,7 @@
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-
aop
</artifactId>
<artifactId>
spring-boot-starter-
data-jpa
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.data
</groupId>
...
...
apollo-
biz/src/main/java/com/ctrip/framework/apollo/biz
/datasource/TitanCondition.java
→
apollo-
common/src/main/java/com/ctrip/framework/apollo/common
/datasource/TitanCondition.java
View file @
25517ac3
package
com
.
ctrip
.
framework
.
apollo
.
biz
.
datasource
;
package
com
.
ctrip
.
framework
.
apollo
.
common
.
datasource
;
import
org.springframework.context.annotation.Condition
;
import
org.springframework.context.annotation.ConditionContext
;
...
...
apollo-
biz/src/main/java/com/ctrip/framework/apollo/biz
/datasource/TitanEntityManager.java
→
apollo-
common/src/main/java/com/ctrip/framework/apollo/common
/datasource/TitanEntityManager.java
View file @
25517ac3
package
com
.
ctrip
.
framework
.
apollo
.
biz
.
datasource
;
package
com
.
ctrip
.
framework
.
apollo
.
common
.
datasource
;
import
java.lang.reflect.Method
;
...
...
apollo-
biz/src/main/java/com/ctrip/framework/apollo/biz
/datasource/TitanSettings.java
→
apollo-
common/src/main/java/com/ctrip/framework/apollo/common
/datasource/TitanSettings.java
View file @
25517ac3
package
com
.
ctrip
.
framework
.
apollo
.
biz
.
datasource
;
package
com
.
ctrip
.
framework
.
apollo
.
common
.
datasource
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Component
;
...
...
apollo-
biz
/src/main/resources/application-ctrip.properties
→
apollo-
common
/src/main/resources/application-ctrip.properties
View file @
25517ac3
File moved
apollo-
biz
/src/main/resources/application-dev.properties
→
apollo-
common
/src/main/resources/application-dev.properties
View file @
25517ac3
File moved
apollo-common/src/main/resources/application.properties
View file @
25517ac3
spring.http.converters.preferred-json-mapper
=
gson
\ No newline at end of file
spring.http.converters.preferred-json-mapper
=
gson
# DataSource
spring.datasource.testWhileIdle
=
true
spring.datasource.testOnBorrow
=
true
spring.datasource.validationQuery
=
SELECT 1
# Naming strategy
spring.jpa.hibernate.naming_strategy
=
org.hibernate.cfg.EJB3NamingStrategy
spring.jpa.hibernate.globally_quoted_identifiers
=
true
spring.jpa.properties.hibernate.globally_quoted_identifiers
=
true
# Tomcat configuration
server.tomcat.accept-count
=
1024
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