Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
武汉红喜
whatsmars
提交
e4998f01
W
whatsmars
项目概览
武汉红喜
/
whatsmars
通知
3
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
whatsmars
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
e4998f01
编写于
12月 02, 2018
作者:
武汉红喜
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
db.hongxi.org
上级
ff6ed32e
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
20 addition
and
20 deletion
+20
-20
whatsmars-dbrouter/src/main/resources/dbcp-config.properties
whatsmars-dbrouter/src/main/resources/dbcp-config.properties
+1
-1
whatsmars-dbrouter/src/main/resources/spring-datasource-dynamic.xml
...dbrouter/src/main/resources/spring-datasource-dynamic.xml
+2
-2
whatsmars-earth/profile/development.properties
whatsmars-earth/profile/development.properties
+2
-2
whatsmars-earth/profile/production.properties
whatsmars-earth/profile/production.properties
+2
-2
whatsmars-earth/profile/test.properties
whatsmars-earth/profile/test.properties
+2
-2
whatsmars-sharding-jdbc/src/main/resources/application.yml
whatsmars-sharding-jdbc/src/main/resources/application.yml
+4
-4
whatsmars-spring-boot/src/main/resources/application.yml
whatsmars-spring-boot/src/main/resources/application.yml
+6
-6
whatsmars-spring-boot/src/main/resources/spring/dubbo_consumer.xml
...-spring-boot/src/main/resources/spring/dubbo_consumer.xml
+1
-1
未找到文件。
whatsmars-dbrouter/src/main/resources/dbcp-config.properties
浏览文件 @
e4998f01
...
...
@@ -31,4 +31,4 @@ dbcp.minEvictableIdleTimeMillis=600000
##dbcp.testWhileIdle=false
whatsmars.jdbc.mysql.username
=
root
whatsmars.jdbc.mysql.password
=
root
whatsmars.jdbc.mysql.password
=
n36bxXMnHina
whatsmars-dbrouter/src/main/resources/spring-datasource-dynamic.xml
浏览文件 @
e4998f01
...
...
@@ -11,7 +11,7 @@
<bean
id=
"dataSource1"
class=
"org.apache.commons.dbcp.BasicDataSource"
>
<property
name=
"driverClassName"
value=
"com.mysql.jdbc.Driver"
></property>
<property
name=
"url"
value=
"jdbc:mysql://
localhost
:3306/demo_ds_0?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true"
></property>
<property
name=
"url"
value=
"jdbc:mysql://
db.hongxi.org
:3306/demo_ds_0?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true"
></property>
<property
name=
"username"
value=
"${whatsmars.jdbc.mysql.username}"
></property>
<property
name=
"password"
value=
"${whatsmars.jdbc.mysql.password}"
></property>
<property
name=
"maxActive"
value=
"${dbcp.maxActive}"
></property>
...
...
@@ -25,7 +25,7 @@
<bean
id=
"dataSource2"
class=
"org.apache.commons.dbcp.BasicDataSource"
>
<property
name=
"driverClassName"
value=
"com.mysql.jdbc.Driver"
></property>
<property
name=
"url"
value=
"jdbc:mysql://
localhost
:3306/demo_ds_1?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true"
></property>
<property
name=
"url"
value=
"jdbc:mysql://
db.hongxi.org
:3306/demo_ds_1?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true"
></property>
<property
name=
"username"
value=
"${whatsmars.jdbc.mysql.username}"
></property>
<property
name=
"password"
value=
"${whatsmars.jdbc.mysql.password}"
></property>
<property
name=
"maxActive"
value=
"${dbcp.maxActive}"
></property>
...
...
whatsmars-earth/profile/development.properties
浏览文件 @
e4998f01
whatsmars.log4j.logger.path
=
/data/logs
whatsmars.log4j.logger.level
=
debug
whatsmars.jdbc.mysql.url
=
jdbc:mysql://
localhost
:3306/test
whatsmars.jdbc.mysql.url
=
jdbc:mysql://
db.hongxi.org
:3306/test
whatsmars.jdbc.mysql.username
=
root
whatsmars.jdbc.mysql.password
=
root
whatsmars.jdbc.mysql.password
=
n36bxXMnHina
##��̨����ϵͳcookie
whatsmars.admin.cookie.security.key
=
H32ClbJteGTjbZSL
...
...
whatsmars-earth/profile/production.properties
浏览文件 @
e4998f01
whatsmars.jdbc.mysql.url
=
jdbc:mysql://
localhost
:3306/test
whatsmars.jdbc.mysql.url
=
jdbc:mysql://
db.hongxi.org
:3306/test
whatsmars.jdbc.mysql.username
=
root
whatsmars.jdbc.mysql.password
=
root
whatsmars.jdbc.mysql.password
=
n36bxXMnHina
##��ҵ����
bjxizhan.quartz.cluster.mysql.url
=
jdbc:mysql://255.254.253.252:3306/quartz
...
...
whatsmars-earth/profile/test.properties
浏览文件 @
e4998f01
whatsmars.log4j.logger.path
=
/data/logs
whatsmars.log4j.logger.level
=
debug
whatsmars.jdbc.mysql.url
=
jdbc:mysql://
localhost
:3306/test
whatsmars.jdbc.mysql.url
=
jdbc:mysql://
db.hongxi.org
:3306/test
whatsmars.jdbc.mysql.username
=
root
whatsmars.jdbc.mysql.password
=
root
whatsmars.jdbc.mysql.password
=
n36bxXMnHina
##��̨����ϵͳcookie
whatsmars.admin.cookie.security.key
=
H32ClbJteGTjbZSL
...
...
whatsmars-sharding-jdbc/src/main/resources/application.yml
浏览文件 @
e4998f01
...
...
@@ -14,15 +14,15 @@ sharding:
ds_0
:
type
:
org.apache.commons.dbcp.BasicDataSource
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://
localhost
:3306/demo_ds_0
url
:
jdbc:mysql://
db.hongxi.org
:3306/demo_ds_0
username
:
root
password
:
root
password
:
n36bxXMnHina
ds_1
:
type
:
org.apache.commons.dbcp.BasicDataSource
driver-class-name
:
com.mysql.jdbc.Driver
url
:
jdbc:mysql://
localhost
:3306/demo_ds_1
url
:
jdbc:mysql://
db.hongxi.org
:3306/demo_ds_1
username
:
root
password
:
root
password
:
n36bxXMnHina
config
:
sharding
:
default-database-strategy
:
...
...
whatsmars-spring-boot/src/main/resources/application.yml
浏览文件 @
e4998f01
...
...
@@ -41,9 +41,9 @@ pagehelper:
spring
:
profiles
:
dev
datasource
:
url
:
jdbc:mysql://
127.0.0.1
:3306/test?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
url
:
jdbc:mysql://
db.hongxi.org
:3306/test?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
username
:
root
password
:
root
password
:
n36bxXMnHina
driver-class-name
:
com.mysql.jdbc.Driver
tomcat
:
min-idle
:
10
...
...
@@ -76,9 +76,9 @@ server:
spring
:
profiles
:
test
datasource
:
url
:
jdbc:mysql://
127.0.0.1:3306/wely
?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
url
:
jdbc:mysql://
db.hongxi.org:3306/test
?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
username
:
root
password
:
root
password
:
n36bxXMnHina
driver-class-name
:
com.mysql.jdbc.Driver
tomcat
:
min-idle
:
10
...
...
@@ -107,9 +107,9 @@ server:
spring
:
profiles
:
prod
datasource
:
url
:
jdbc:mysql://
127.0.0.1:3306/wely
?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
url
:
jdbc:mysql://
db.hongxi.org:3306/test
?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
username
:
root
password
:
root
password
:
n36bxXMnHina
driver-class-name
:
com.mysql.jdbc.Driver
tomcat
:
min-idle
:
10
...
...
whatsmars-spring-boot/src/main/resources/spring/dubbo_consumer.xml
浏览文件 @
e4998f01
...
...
@@ -5,6 +5,6 @@
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd"
default-autowire=
"byName"
>
<!--
dubbo,motan等服务化框架的注解配置做的不是很好,适合用xml配置
-->
<!--
推荐注解方式,xml作为备用方式
-->
</beans>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录