Skip to content

Commit

Permalink
Fix service resolver need to go to service directly not localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
jyeros committed Apr 15, 2024
1 parent 8d30fda commit 3ebfa2b
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public String getServiceUrl(String serviceName) {
serviceMap.put("ts-consign-service", "ts-config-service");
serviceMap.put("ts-payment-service", "ts-config-service");

return "http://localhost:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
return "http://ts-new-gateway:8888/"+ serviceMap.get(serviceName) /*+ environment.getProperty("local.server.port")*/;
}
}

0 comments on commit 3ebfa2b

Please sign in to comment.