Skip to content

Commit

Permalink
去掉 dc3-config,取而代之的是 dc3-profiles,这样更合理一些,同时更便于管理
Browse files Browse the repository at this point in the history
  • Loading branch information
pnoker committed Jun 8, 2021
1 parent df48129 commit 50cdad8
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 350 deletions.
90 changes: 0 additions & 90 deletions dc3-common/dc3-config/pom.xml

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions dc3-common/dc3-config/src/main/resources/banner.txt

This file was deleted.

133 changes: 0 additions & 133 deletions dc3-common/dc3-config/src/main/resources/bootstrap.yml

This file was deleted.

1 change: 0 additions & 1 deletion dc3-common/dc3-config/src/main/resources/license/license

This file was deleted.

This file was deleted.

57 changes: 0 additions & 57 deletions dc3-common/dc3-config/src/main/resources/logback.xml

This file was deleted.

Binary file not shown.
1 change: 0 additions & 1 deletion dc3-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
<modules>
<module>dc3-core</module>
<module>dc3-base</module>
<module>dc3-config</module>
<module>dc3-profiles</module>
<module>dc3-sdk</module>
</modules>
Expand Down
6 changes: 6 additions & 0 deletions dc3-transfer/dc3-rtmp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
<artifactId>dc3-api-rtmp</artifactId>
</dependency>

<!-- Dc3 Common Profiles -->
<dependency>
<groupId>com.dc3</groupId>
<artifactId>dc3-profiles</artifactId>
</dependency>

<!-- Dc3 Common Core -->
<dependency>
<groupId>com.dc3</groupId>
Expand Down
8 changes: 8 additions & 0 deletions dc3-transfer/dc3-rtmp/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ server:
spring:
application:
name: @project.artifactId@
profiles:
active:
- register
- monitor
- server
- mysql
- redis
- feign
main:
allow-bean-definition-overriding: true
mvc:
Expand Down
6 changes: 0 additions & 6 deletions dc3-transfer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@
<artifactId>spring-boot-starter-undertow</artifactId>
</dependency>

<!-- Dc3 Common Config -->
<dependency>
<groupId>com.dc3</groupId>
<artifactId>dc3-config</artifactId>
</dependency>

</dependencies>

<build>
Expand Down
Loading

0 comments on commit 50cdad8

Please sign in to comment.