Browse Source

2021-1119
打包部署

zhaoyk 3 years ago
parent
commit
b4838039fc
3 changed files with 38 additions and 34 deletions
  1. 12 8
      pom.xml
  2. 13 13
      src/main/resources/application-dev.yml
  3. 13 13
      src/main/resources/application-test.yml

+ 12 - 8
pom.xml

@@ -29,7 +29,7 @@
                 <enabled>true</enabled>
             </releases>
         </repository>
-        <repository>
+        <!--<repository>
             <id>persagy</id>
             <name>releases Repository</name>
             <url>http://47.93.132.139:8081/nexus/content/repositories/persagy/</url>
@@ -46,7 +46,7 @@
             <id>osgeo</id>
             <name>Open Source Geospatial Foundation Repository</name>
             <url>https://repo.osgeo.org/repository/release/</url>
-        </repository>
+        </repository>-->
     </repositories>
 
     <properties>
@@ -55,24 +55,24 @@
     </properties>
 
     <dependencies>
-        <!--<dependency>
+        <dependency>
             <groupId>javax.servlet</groupId>
             <artifactId>javax.servlet-api</artifactId>
             <version>3.1.0</version>
             <scope>provided</scope>
-        </dependency>-->
+        </dependency>
         <!-- 配置中心(包含注册中心) -->
-        <dependency>
+        <!--<dependency>
             <groupId>com.persagy</groupId>
             <artifactId>integrated-config-client</artifactId>
-        </dependency>
+        </dependency>-->
         <dependency>
             <groupId>com.persagy</groupId>
-            <artifactId>dmp-digital-starter</artifactId>
+            <artifactId>dmp-amqp-starter</artifactId>
         </dependency>
         <dependency>
             <groupId>com.persagy</groupId>
-            <artifactId>dmp-amqp-starter</artifactId>
+            <artifactId>dmp-digital-starter</artifactId>
         </dependency>
         <dependency>
             <groupId>com.persagy</groupId>
@@ -89,6 +89,10 @@
             <artifactId>dmp-mybatis</artifactId>
         </dependency>
         <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+        </dependency>
+        <dependency>
             <groupId>mysql</groupId>
             <artifactId>mysql-connector-java</artifactId>
         </dependency>

+ 13 - 13
src/main/resources/application-dev.yml

@@ -9,12 +9,12 @@ spring:
           username: adm
           password: adm
           url: jdbc:mysql://192.168.0.11/adm?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT
-#  rabbitmq:
-#    host: 192.168.100.93
-#    port: 9936
-#    username: pbsage
-#    password: pbsage123
-#    virtualHost: /test
+  rabbitmq:
+    host: 192.168.100.93
+    port: 9936
+    username: pbsage
+    password: pbsage123
+    virtualHost: /test
 persagy:
   common:
     #    file:
@@ -26,13 +26,13 @@ persagy:
       enabled: false
   adm:
     oldPlatformUrl: http://39.102.40.239
-#  bdtp:
-#    rwd:
-#      service: http://develop.persagy.com/dmp-rwd
-#    file:
-#      service: http://develop.persagy.com/dmp-file
-#    dic:
-#      service: http://develop.persagy.com/dmp-dic
+  bdtp:
+    rwd:
+      service: http://develop.persagy.com/dmp-rwd
+    file:
+      service: http://develop.persagy.com/dmp-file
+    dic:
+      service: http://develop.persagy.com/dmp-dic
 mybatis-plus:
   type-handlers-package: com.persagy.**.typehandler
   configuration:

+ 13 - 13
src/main/resources/application-test.yml

@@ -9,12 +9,12 @@ spring:
           username: root
           password: Bdtp@1qaz@WSX
           url: jdbc:mysql://10.0.0.5:3306/adm-poc?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT
-#  rabbitmq:
-#    host: 82.156.204.212
-#    port: 9936
-#    username: admin
-#    password: bdtp123456
-#    virtualHost: /test
+  rabbitmq:
+    host: 82.156.204.212
+    port: 9936
+    username: admin
+    password: bdtp123456
+    virtualHost: /test
 persagy:
   common:
     #    file:
@@ -26,12 +26,12 @@ persagy:
       enabled: false
   adm:
     oldPlatformUrl: http://39.102.40.239
-#  bdtp:
-#    rwd:
-#      service: http://82.157.151.123/dmp-rwd
-#    file:
-#      service: http://82.157.151.123/dmp-file
-#    dic:
-#      service: http://82.157.151.123/dmp-dic
+  bdtp:
+    rwd:
+      service: http://82.157.151.123/dmp-rwd
+    file:
+      service: http://82.157.151.123/dmp-file
+    dic:
+      service: http://82.157.151.123/dmp-dic
 mybatis-plus:
   type-handlers-package: com.persagy.**.typehandler