hr~ 2 hari lalu
induk
melakukan
f2d37da284

+ 3 - 3
product-web/src/main/resources/application-dev.yml

@@ -35,8 +35,8 @@ logging:
 feign:
   client:
     checklist:
-      url: http://localhost:8084
+      url: ${CHECKLIST_URL:http://localhost:8084}
     order:
-     url: http://localhost:8080
+     url: ${ORDER_URL:http://localhost:8081}
     dict:
-      url: http://localhost:8083
+      url: ${DICT_URL:http://localhost:8082}

+ 9 - 0
product-web/src/main/resources/application-prod.yml

@@ -39,3 +39,12 @@ logging:
   level:
     com.poyee: warn
     com.baomidou.mybatisplus: warn
+
+feign:
+  client:
+    checklist:
+      url: ${CHECKLIST_URL:http://localhost:8084}
+    order:
+      url: ${ORDER_URL:http://localhost:8081}
+    dict:
+      url: ${DICT_URL:http://localhost:8082}

+ 3 - 3
product-web/src/main/resources/application-test.yml

@@ -35,8 +35,8 @@ logging:
 feign:
   client:
     checklist:
-      url: http://localhost:8084
+      url: ${CHECKLIST_URL:http://localhost:8084}
     order:
-      url: http://localhost:8080
+      url: ${ORDER_URL:http://localhost:8081}
     dict:
-      url: http://localhost:8083
+      url: ${DICT_URL:http://localhost:8082}