Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #188

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

Dev #188

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
1c2fe56
Merge pull request #150 from zhoutaoo/master
zhoutaoo Jun 6, 2020
e951ebc
ignore vscode config file
zhoutaoo Jun 6, 2020
34deca3
减少moudle依赖层级
zhoutaoo Jun 6, 2020
2165feb
减少moudle依赖层级,将organization放置在根目录
zhoutaoo Jun 6, 2020
9ded22b
减少moudle依赖层级,将gateway-admin放置在根目录
zhoutaoo Jun 6, 2020
b476c21
减少moudle依赖层级,将monitor放置在根目录
zhoutaoo Jun 6, 2020
df82892
减少moudle依赖层级,将bus放置在根目录
zhoutaoo Jun 6, 2020
9120239
减少moudle依赖层级,将authorization放置在根目录
zhoutaoo Jun 6, 2020
b2bcbdf
减少moudle依赖层级,将authentication放置在根目录
zhoutaoo Jun 6, 2020
b4bee56
减少moudle依赖层级,将core放置在根目录
zhoutaoo Jun 6, 2020
6e7743d
减少moudle依赖层级,将web放置在根目录
zhoutaoo Jun 6, 2020
910f445
减少moudle依赖层级,将test放置在根目录
zhoutaoo Jun 6, 2020
c1b3f07
减少moudle依赖层级,将auth放置在根目录
zhoutaoo Jun 6, 2020
0a74e03
优化依赖jar包
zhoutaoo Jun 6, 2020
af1458a
升级openfeign版本为正式版本
zhoutaoo Jun 6, 2020
bc353a1
去掉部分应用docker-compose配置文件,只提供基础中间件的docker-compose,应用使用手工启动
zhoutaoo Jun 6, 2020
6453841
精减compose配置文件
zhoutaoo Jun 6, 2020
bb904bb
优化compose配置文件
zhoutaoo Jun 6, 2020
f3066b4
解决pom依赖引发的编译问题
w304807481 Nov 14, 2020
a49e44a
解决pom重复依赖
w304807481 Nov 14, 2020
f06b8be
更像install.sh
w304807481 Dec 7, 2020
1eef5ac
去掉依赖解决repackage failed: Unable to find main class
w304807481 Dec 7, 2020
b5ce1ed
解决common包打包出现编译问题
w304807481 Dec 7, 2020
5991c3a
去掉父POM依赖
w304807481 Dec 7, 2020
84a99b7
解决打包出现编译问题
w304807481 Dec 7, 2020
8f1f9a6
更新install.sh
w304807481 Dec 7, 2020
4b6247b
格式化
w304807481 Dec 9, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ data
logs
target

.settings/

.classpath
.project
.factorypath

68 changes: 0 additions & 68 deletions auth/pom.xml

This file was deleted.

File renamed without changes.
15 changes: 8 additions & 7 deletions auth/authentication-client/pom.xml → base-authclient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-openfeign</artifactId>
<version>2.0.0.RC2</version>
<version>2.1.0.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -55,12 +55,6 @@
<groupId>io.github.openfeign</groupId>
<artifactId>feign-okhttp</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>RELEASE</version>
<scope>provided</scope>
</dependency>
<!--oauth2认证-->
<dependency>
<groupId>io.jsonwebtoken</groupId>
Expand All @@ -79,5 +73,12 @@
<artifactId>mockito-core</artifactId>
<version>1.10.19</version>
</dependency>
<!--使用 lombok 简化 Java 代码-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.10</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
File renamed without changes.
43 changes: 37 additions & 6 deletions auth/authentication-server/pom.xml → base-authentication/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<parent>
<groupId>com.springboot.cloud</groupId>
<artifactId>auth</artifactId>
<artifactId>cloud</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

Expand All @@ -24,18 +24,49 @@
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!--oauth2认证-->
<dependency>
<groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId>
<version>[2.2.4,)</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-jwt</artifactId>
<version>RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-security</artifactId>
</dependency>
<!--Swagger2 - RESTful API文档-->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!--mybatis依赖包-->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.9</version>
</dependency>
<!--数据库-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.18</version>
</dependency>
<!--Redis缓存-->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!--jetcache缓存 -->
<dependency>
Expand Down
File renamed without changes.
File renamed without changes.
42 changes: 41 additions & 1 deletion auth/authorization-server/pom.xml → base-authorization/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<parent>
<groupId>com.springboot.cloud</groupId>
<artifactId>auth</artifactId>
<artifactId>cloud</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

Expand All @@ -24,10 +24,50 @@
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!--oauth2认证-->
<dependency>
<groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId>
<version>[2.2.4,)</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-jwt</artifactId>
<version>RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!--mybatis依赖包-->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.9</version>
</dependency>
<!--数据库-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.18</version>
</dependency>
<!--Redis缓存-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
Expand Down
File renamed without changes.
7 changes: 4 additions & 3 deletions sysadmin/organization/pom.xml → base-organization/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<artifactId>organization</artifactId>
<artifactId>base-organization</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>organization</name>
<name>base-organization</name>
<description>Demo Organization project for Spring Boot</description>

<parent>
<artifactId>sysadmin</artifactId>
<artifactId>webapps</artifactId>
<groupId>com.springboot.cloud</groupId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../webapps/pom.xml</relativePath>
</parent>

<dependencies>
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion center/bus/pom.xml → center-bus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<parent>
<groupId>com.springboot.cloud</groupId>
<artifactId>center</artifactId>
<artifactId>cloud</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ server:
port: ${SERVER_PORT:8071}
spring:
application:
name: bus
name: center-bus
cloud:
nacos:
discovery:
Expand Down
30 changes: 0 additions & 30 deletions center/pom.xml

This file was deleted.

File renamed without changes.
24 changes: 18 additions & 6 deletions common/core/pom.xml → common-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,25 @@
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<parent>
<groupId>com.springboot.cloud</groupId>
<artifactId>common</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<dependencies>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<!--使用 guava-->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>30.0-jre</version>
</dependency>
<!--使用 lombok 简化 Java 代码-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.10</version>
<scope>provided</scope>
</dependency>
<!--Swagger2 - RESTful API文档-->
<dependency>
<groupId>io.springfox</groupId>
Expand Down
File renamed without changes.
18 changes: 12 additions & 6 deletions common/test/pom.xml → common-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<parent>
<groupId>com.springboot.cloud</groupId>
<artifactId>common</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>

<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>5.0.8.RELEASE</version>
</dependency>
<!--测试-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
File renamed without changes.
Loading