Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wrr-cat
apollo
提交
25517ac3
apollo
项目概览
wrr-cat
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
25517ac3
编写于
5月 24, 2016
作者:
L
lepdou
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test
上级
f0c6e614
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
18 addition
and
21 deletion
+18
-21
apollo-biz/pom.xml
apollo-biz/pom.xml
+0
-4
apollo-biz/src/main/resources/application.properties
apollo-biz/src/main/resources/application.properties
+0
-12
apollo-common/pom.xml
apollo-common/pom.xml
+1
-1
apollo-common/src/main/java/com/ctrip/framework/apollo/common/datasource/TitanCondition.java
...ip/framework/apollo/common/datasource/TitanCondition.java
+1
-1
apollo-common/src/main/java/com/ctrip/framework/apollo/common/datasource/TitanEntityManager.java
...ramework/apollo/common/datasource/TitanEntityManager.java
+1
-1
apollo-common/src/main/java/com/ctrip/framework/apollo/common/datasource/TitanSettings.java
...rip/framework/apollo/common/datasource/TitanSettings.java
+1
-1
apollo-common/src/main/resources/application-ctrip.properties
...lo-common/src/main/resources/application-ctrip.properties
+0
-0
apollo-common/src/main/resources/application-dev.properties
apollo-common/src/main/resources/application-dev.properties
+0
-0
apollo-common/src/main/resources/application.properties
apollo-common/src/main/resources/application.properties
+14
-1
未找到文件。
apollo-biz/pom.xml
浏览文件 @
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
已删除
100644 → 0
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
25517ac3
文件已移动
apollo-
biz
/src/main/resources/application-dev.properties
→
apollo-
common
/src/main/resources/application-dev.properties
浏览文件 @
25517ac3
文件已移动
apollo-common/src/main/resources/application.properties
浏览文件 @
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
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录