Your Name 3 anos atrás
pai
commit
d163f868e7
2 arquivos alterados com 29 adições e 15 exclusões
  1. 12 12
      pom.xml
  2. 17 3
      src/main/resources/bootstrap.yml

+ 12 - 12
pom.xml

@@ -128,18 +128,18 @@
                     </execution>
                 </executions>
             </plugin>
-            <plugin>
-                <groupId>org.springframework.boot</groupId>
-                <artifactId>spring-boot-maven-plugin</artifactId>
-                <version>2.2.6.RELEASE</version>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>repackage</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
+<!--            <plugin>-->
+<!--                <groupId>org.springframework.boot</groupId>-->
+<!--                <artifactId>spring-boot-maven-plugin</artifactId>-->
+<!--                <version>2.2.6.RELEASE</version>-->
+<!--                <executions>-->
+<!--                    <execution>-->
+<!--                        <goals>-->
+<!--                            <goal>repackage</goal>-->
+<!--                        </goals>-->
+<!--                    </execution>-->
+<!--                </executions>-->
+<!--            </plugin>-->
         </plugins>
         <resources>
             <resource>

+ 17 - 3
src/main/resources/bootstrap.yml

@@ -20,10 +20,22 @@ openfeign:
     #url: ${COLUMNDATAFEIGN_URL:172.16.33.166:8083}
 
   # 测试环境
+#  ESFeign:
+#    url: ${ESFEIGN_URL:172.16.33.162:8011}
+#  ColumnDataFeign:
+#    url: ${COLUMNDATAFEIGN_URL:172.16.33.162:8001}
+
    ESFeign:
-     url: ${ESFEIGN_URL:172.16.33.162:8011}
+    url: ${ESFEIGN_URL:172.16.33.166:8089}
    ColumnDataFeign:
-     url: ${COLUMNDATAFEIGN_URL:172.16.33.162:8001}
+    url: ${COLUMNDATAFEIGN_URL:172.16.33.166:8083}
+
+  # 测试环境
+   #ESFeign:
+     #url: ${ESFEIGN_URL:172.16.33.162:8011}
+   #ColumnDataFeign:
+     #url: ${COLUMNDATAFEIGN_URL:172.16.33.162:8001}
+
 
 #eureka设置
 eureka:
@@ -65,4 +77,6 @@ mybatis:
 
 server:
 #  port: 8015
-   port: 8079
+   port: 8079
+
+