mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 04:16:51 +08:00
配置文件放到nacos
This commit is contained in:
@@ -25,26 +25,11 @@
|
||||
<version>${xboe.version}</version>
|
||||
</dependency>
|
||||
<!-- end -->
|
||||
<dependency>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-ooxml</artifactId>
|
||||
<version>4.0.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
<version>5.8.16</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.xboe</groupId>
|
||||
<artifactId>xboe-api</artifactId>
|
||||
<version>${xboe.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.xboe</groupId>
|
||||
<artifactId>xboe-module-scorm</artifactId>
|
||||
<version>${xboe.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.xboe</groupId>
|
||||
<artifactId>xboe-core</artifactId>
|
||||
@@ -65,12 +50,29 @@
|
||||
<artifactId>xboe-module-idconfig</artifactId>
|
||||
<version>${xboe.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.xboe</groupId>
|
||||
<artifactId>xboe-module-scorm</artifactId>
|
||||
<version>${xboe.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.xboe</groupId>
|
||||
<artifactId>xboe-module-es</artifactId>
|
||||
<version>${xboe.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-ooxml</artifactId>
|
||||
<version>4.0.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
<version>5.8.16</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>it.sauronsoftware</groupId>
|
||||
<artifactId>jave</artifactId>
|
||||
@@ -83,14 +85,7 @@
|
||||
<artifactId>java-jwt</artifactId>
|
||||
<version>3.18.3</version>
|
||||
</dependency>
|
||||
<!--
|
||||
<dependency>
|
||||
<groupId>org.bitbucket.b_c</groupId>
|
||||
<artifactId>jose4j</artifactId>
|
||||
<version>0.7.9</version>
|
||||
</dependency>
|
||||
-->
|
||||
<!-- apache commons -->
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
|
||||
@@ -8,6 +8,18 @@ spring:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 192.168.0.101:8848
|
||||
config:
|
||||
server-addr: 192.168.0.101:8848
|
||||
namespace: ${spring.profiles.active}
|
||||
shared-configs:
|
||||
- dataId: boe-server-all
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
- dataId: boe-server-all-dev
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
file-extension: yaml
|
||||
|
||||
jpa:
|
||||
show-sql: true
|
||||
hibernate:
|
||||
|
||||
20
servers/boe-server-all/src/main/resources/bootstrap.yml
Normal file
20
servers/boe-server-all/src/main/resources/bootstrap.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
application:
|
||||
name: boe-server-all
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 192.168.0.101:8848
|
||||
config:
|
||||
server-addr: 192.168.0.101:8848
|
||||
namespace: dev
|
||||
shared-configs:
|
||||
- dataId: boe-server-all
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
- dataId: boe-server-all-dev
|
||||
group: DEFAULT_GROUP
|
||||
refresh: true
|
||||
file-extension: yaml
|
||||
Reference in New Issue
Block a user