Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yudao-cloud
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
hblj
yudao-cloud
Commits
5aea2cd8
提交
5aea2cd8
authored
5月 13, 2019
作者:
YunaiV
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 后端:整理 pom 文件
上级
4c923fb2
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
178 行增加
和
88 行删除
+178
-88
pom.xml
product/product-application/pom.xml
+9
-12
pom.xml
product/product-service-api/pom.xml
+3
-5
pom.xml
product/product-service-impl/pom.xml
+30
-13
application.yaml
...t-service-impl/src/main/resources/config/application.yaml
+1
-1
pom.xml
promotion/promotion-service-impl/pom.xml
+4
-0
file.conf
...otion/promotion-service-impl/src/main/resources/file.conf
+69
-0
registry.conf
...n/promotion-service-impl/src/main/resources/registry.conf
+14
-0
pom.xml
system/system-sdk/pom.xml
+1
-11
pom.xml
system/system-service-api/pom.xml
+0
-5
pom.xml
system/system-service-impl/pom.xml
+1
-0
pom.xml
user/pom.xml
+1
-3
pom.xml
user/user-application/pom.xml
+8
-8
pom.xml
user/user-sdk/pom.xml
+6
-16
pom.xml
user/user-service-api/pom.xml
+3
-0
pom.xml
user/user-service-impl/pom.xml
+26
-11
DatabaseConfiguration.java
...n/iocoder/mall/user/biz/config/DatabaseConfiguration.java
+2
-3
没有找到文件。
product/product-application/pom.xml
浏览文件 @
5aea2cd8
...
...
@@ -12,6 +12,7 @@
<artifactId>
product-application
</artifactId>
<dependencies>
<!-- Mall 相关 -->
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
common-framework
</artifactId>
...
...
@@ -37,29 +38,18 @@
<artifactId>
user-sdk
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<!--<dependency>-->
<!--<groupId>cn.iocoder.mall</groupId>-->
<!--<artifactId>user-sdk</artifactId>-->
<!--<version>1.0-SNAPSHOT</version>-->
<!--</dependency>-->
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
system-sdk
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<!-- Web 相关 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
...
...
@@ -69,6 +59,13 @@
<artifactId>
swagger-bootstrap-ui
</artifactId>
</dependency>
<!-- 测试相关 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
...
...
product/product-service-api/pom.xml
浏览文件 @
5aea2cd8
...
...
@@ -12,17 +12,14 @@
<artifactId>
product-service-api
</artifactId>
<dependencies>
<!-- Mall 相关 -->
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
common-framework
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
javax.validation
</groupId>
<artifactId>
validation-api
</artifactId>
</dependency>
<!-- 工具类相关 -->
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
<!-- use mapstruct-jdk8 for Java 8 or higher -->
...
...
@@ -31,6 +28,7 @@
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct-jdk8
</artifactId>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
...
...
product/product-service-impl/pom.xml
浏览文件 @
5aea2cd8
...
...
@@ -12,30 +12,55 @@
<artifactId>
product-service-impl
</artifactId>
<dependencies>
<!-- Mall 相关 -->
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
product-service-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<!-- DB 相关 -->
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-tx
</artifactId>
</dependency>
<dependency>
<groupId>
org.
mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<groupId>
org.
springframework
</groupId>
<artifactId>
spring-jdbc
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-jdbc
</artifactId>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid-spring-boot-starter
</artifactId>
</dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
</dependency>
<!-- RPC 相关 -->
<dependency>
<groupId>
org.apache.dubbo
</groupId>
<artifactId>
dubbo
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.dubbo
</groupId>
<artifactId>
dubbo-spring-boot-starter
</artifactId>
</dependency>
<!-- MQ 相关 -->
<dependency>
<groupId>
org.apache.rocketmq
</groupId>
<artifactId>
rocketmq-spring-boot-starter
</artifactId>
</dependency>
<!-- Registry 和 Config 相关 -->
<dependency>
<groupId>
org.apache.curator
</groupId>
<artifactId>
curator-framework
</artifactId>
...
...
@@ -44,21 +69,13 @@
<groupId>
org.apache.curator
</groupId>
<artifactId>
curator-recipes
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.dubbo
</groupId>
<artifactId>
dubbo-spring-boot-starter
</artifactId>
</dependency>
<!-- 工具类相关 -->
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.rocketmq
</groupId>
<artifactId>
rocketmq-spring-boot-starter
</artifactId>
</dependency>
</dependencies>
<build>
...
...
product/product-service-impl/src/main/resources/config/application.yaml
浏览文件 @
5aea2cd8
...
...
@@ -7,7 +7,7 @@ spring:
password
:
${MALL_MYSQL_PASSWORD}
# mybatis
mybatis
:
mybatis
-plus
:
config-location
:
classpath:mybatis-config.xml
mapper-locations
:
classpath:mapper/*.xml
type-aliases-package
:
cn.iocoder.mall.product.dataobject
...
...
promotion/promotion-service-impl/pom.xml
浏览文件 @
5aea2cd8
...
...
@@ -103,6 +103,10 @@
<groupId>
io.seata
</groupId>
<artifactId>
seata-dubbo
</artifactId>
</dependency>
<dependency>
<groupId>
io.seata
</groupId>
<artifactId>
seata-discovery-zk
</artifactId>
</dependency>
<!-- test -->
<dependency>
...
...
promotion/promotion-service-impl/src/main/resources/file.conf
0 → 100644
浏览文件 @
5aea2cd8
transport
{
# tcp udt unix-domain-socket
type
=
"TCP"
#NIO NATIVE
server
=
"NIO"
#enable heartbeat
heartbeat
=
true
#thread factory for netty
thread
-
factory
{
boss
-
thread
-
prefix
=
"NettyBoss"
worker
-
thread
-
prefix
=
"NettyServerNIOWorker"
server
-
executor
-
thread
-
prefix
=
"NettyServerBizHandler"
share
-
boss
-
worker
=
false
client
-
selector
-
thread
-
prefix
=
"NettyClientSelector"
client
-
selector
-
thread
-
size
=
1
client
-
worker
-
thread
-
prefix
=
"NettyClientWorkerThread"
# netty boss thread size,will not be used for UDT
boss
-
thread
-
size
=
1
#auto default pin or 8
worker
-
thread
-
size
=
8
}
}
service
{
#vgroup->rgroup
vgroup_mapping
.
my_test_tx_group
=
"default"
#only support single node
default
.
grouplist
=
"180.167.213.26:8091"
#degrade current not support
enableDegrade
=
false
#disable
disable
=
false
}
client
{
async
.
commit
.
buffer
.
limit
=
10000
lock
{
retry
.
internal
=
10
retry
.
times
=
30
}
}
## transaction log store
store
{
## store mode: file、db
mode
=
"file"
## file store
file
{
dir
=
"file_store/data"
# branch session size , if exceeded first try compress lockkey, still exceeded throws exceptions
max
-
branch
-
session
-
size
=
16384
# globe session size , if exceeded throws exceptions
max
-
global
-
session
-
size
=
512
# file buffer size , if exceeded allocate new buffer
file
-
write
-
buffer
-
cache
-
size
=
16384
# when recover batch read size
session
.
reload
.
read_size
=
100
}
## database store
db
{
driver_class
=
""
url
=
""
user
=
""
password
=
""
}
}
promotion/promotion-service-impl/src/main/resources/registry.conf
0 → 100644
浏览文件 @
5aea2cd8
registry
{
type
=
"file"
file
{
name
=
"file.conf"
}
zk
{
cluster
=
"default"
serverAddr
=
"192.168.88.10:2181"
session
.
timeout
=
6000
connect
.
timeout
=
2000
}
}
system/system-sdk/pom.xml
浏览文件 @
5aea2cd8
...
...
@@ -30,27 +30,17 @@
<groupId>
javax.servlet
</groupId>
<artifactId>
servlet-api
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-webmvc
</artifactId>
</dependency>
<!-- 工具类相关 -->
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
</dependency>
<!-- RPC 相关 -->
<dependency>
<groupId>
org.apache.dubbo
</groupId>
<artifactId>
dubbo
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.dubbo
</groupId>
<artifactId>
dubbo-spring-boot-starter
</artifactId>
</dependency>
</dependencies>
...
...
system/system-service-api/pom.xml
浏览文件 @
5aea2cd8
...
...
@@ -20,11 +20,6 @@
</dependency>
<!-- 工具类相关 -->
<dependency>
<groupId>
javax.validation
</groupId>
<artifactId>
validation-api
</artifactId>
</dependency>
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
<!-- use mapstruct-jdk8 for Java 8 or higher -->
...
...
system/system-service-impl/pom.xml
浏览文件 @
5aea2cd8
...
...
@@ -36,6 +36,7 @@
<groupId>
com.alibaba
</groupId>
<artifactId>
druid-spring-boot-starter
</artifactId>
</dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
...
...
user/pom.xml
浏览文件 @
5aea2cd8
...
...
@@ -18,5 +18,4 @@
<module>
user-service-impl
</module>
</modules>
</project>
\ No newline at end of file
</project>
user/user-application/pom.xml
浏览文件 @
5aea2cd8
...
...
@@ -12,10 +12,10 @@
<artifactId>
user-application
</artifactId>
<properties>
<org.mapstruct.version>
1.3.0.Final
</org.mapstruct.version>
</properties>
<dependencies>
<!-- Mall 相关 -->
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
common-framework
</artifactId>
...
...
@@ -26,7 +26,6 @@
<artifactId>
mall-spring-boot
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
user-service-api
</artifactId>
...
...
@@ -48,17 +47,12 @@
<version>
1.0-SNAPSHOT
</version>
</dependency>
<!-- Web 相关 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
...
...
@@ -68,6 +62,12 @@
<artifactId>
swagger-bootstrap-ui
</artifactId>
</dependency>
<!-- 测试相关 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
...
...
user/user-sdk/pom.xml
浏览文件 @
5aea2cd8
...
...
@@ -11,6 +11,7 @@
<artifactId>
user-sdk
</artifactId>
<dependencies>
<!-- Mall 相关 -->
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
common-framework
</artifactId>
...
...
@@ -22,34 +23,23 @@
<version>
1.0-SNAPSHOT
</version>
</dependency>
<!-- Web 相关 -->
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
5.1.5.RELEASE
</version>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-webmvc
</artifactId>
<version>
5.1.5.RELEASE
</version>
<groupId>
javax.servlet
</groupId>
<artifactId>
servlet-api
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-webmvc
</artifactId>
<version>
5.1.5.RELEASE
</version>
</dependency>
<!-- RPC 相关 -->
<dependency>
<groupId>
org.apache.dubbo
</groupId>
<artifactId>
dubbo
</artifactId>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
servlet-api
</artifactId>
<version>
2.5
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
...
...
user/user-service-api/pom.xml
浏览文件 @
5aea2cd8
...
...
@@ -11,12 +11,14 @@
<artifactId>
user-service-api
</artifactId>
<dependencies>
<!-- Mall 相关 -->
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
common-framework
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<!-- 工具类相关 -->
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
<!-- use mapstruct-jdk8 for Java 8 or higher -->
...
...
@@ -25,6 +27,7 @@
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct-jdk8
</artifactId>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
...
...
user/user-service-impl/pom.xml
浏览文件 @
5aea2cd8
...
...
@@ -8,26 +8,28 @@
<version>
1.0-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<properties>
<org.mapstruct.version>
1.3.0.Final
</org.mapstruct.version>
</properties>
<artifactId>
user-service-impl
</artifactId>
<dependencies>
<!-- Mall 相关 -->
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
user-service-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<!-- DB 相关 -->
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-tx
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework
.boot
</groupId>
<artifactId>
spring-
boot-starter-
jdbc
</artifactId>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-jdbc
</artifactId>
</dependency>
<dependency>
...
...
@@ -35,21 +37,34 @@
<artifactId>
mybatis-spring-boot-starter
</artifactId>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid-spring-boot-starter
</artifactId>
</dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
</dependency>
<!-- RPC 相关 -->
<dependency>
<groupId>
org.apache.dubbo
</groupId>
<artifactId>
dubbo
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.
curator
</groupId>
<artifactId>
curator-framework
</artifactId>
<groupId>
org.apache.
dubbo
</groupId>
<artifactId>
dubbo-spring-boot-starter
</artifactId>
</dependency>
<!-- Registry 和 Config 相关 -->
<dependency>
<groupId>
org.apache.curator
</groupId>
<artifactId>
curator-recipes
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.
dubbo
</groupId>
<artifactId>
dubbo-spring-boot-starter
</artifactId>
<groupId>
org.apache.
curator
</groupId>
<artifactId>
curator-framework
</artifactId>
</dependency>
</dependencies>
...
...
user/user-service-impl/src/main/java/cn/iocoder/mall/user/biz/config/DatabaseConfiguration.java
浏览文件 @
5aea2cd8
...
...
@@ -9,6 +9,6 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableTransactionManagement
(
proxyTargetClass
=
true
)
// 启动事务管理。为什么使用 proxyTargetClass 参数,参见 https://blog.csdn.net/huang_550/article/details/76492600
public
class
DatabaseConfiguration
{
// 数据源,使用
HikariCP
// 数据源,使用
Druid
}
\ No newline at end of file
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论