Commit c2587404 authored by mohammad.salama's avatar mohammad.salama

Gatewaty is working and All Services Are Working by Names

parent ff12db53
...@@ -51,26 +51,26 @@ ...@@ -51,26 +51,26 @@
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>
<dependency> <!-- <dependency>-->
<groupId>org.slf4j</groupId> <!-- <groupId>org.slf4j</groupId>-->
<artifactId>slf4j-api</artifactId> <!-- <artifactId>slf4j-api</artifactId>-->
<version>2.0.9</version> <!-- <version>2.0.9</version>-->
</dependency> <!-- </dependency>-->
<dependency> <!-- <dependency>-->
<groupId>ch.qos.logback</groupId> <!-- <groupId>ch.qos.logback</groupId>-->
<artifactId>logback-classic</artifactId> <!-- <artifactId>logback-classic</artifactId>-->
<version>1.4.11</version> <!-- <version>1.4.11</version>-->
</dependency> <!-- </dependency>-->
<dependency> <!-- <dependency>-->
<groupId>ch.qos.logback</groupId> <!-- <groupId>ch.qos.logback</groupId>-->
<artifactId>logback-core</artifactId> <!-- <artifactId>logback-core</artifactId>-->
<version>1.4.11</version> <!-- <version>1.4.11</version>-->
</dependency> <!-- </dependency>-->
<dependency> <!-- <dependency>-->
<groupId>com.google.code.gson</groupId> <!-- <groupId>com.google.code.gson</groupId>-->
<artifactId>gson</artifactId> <!-- <artifactId>gson</artifactId>-->
<version>2.8.9</version> <!-- <version>2.8.9</version>-->
</dependency> <!-- </dependency>-->
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
......
...@@ -18,11 +18,6 @@ public class UserService ...@@ -18,11 +18,6 @@ public class UserService
@Autowired @Autowired
RestTemplate restTemplate; RestTemplate restTemplate;
// String UserDBURL = "http://localhost:8081/users-db/";
// String FlightDBURL = "http://localhost:8081/flights-db/";
// String WeatherURL = "http://localhost:8083/weather/";
//
String UserDBURL = "http://database-service/users-db/"; String UserDBURL = "http://database-service/users-db/";
String FlightDBURL = "http://database-service/flights-db/"; String FlightDBURL = "http://database-service/flights-db/";
String WeatherURL = "http://weather-service/weather/"; String WeatherURL = "http://weather-service/weather/";
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId> <groupId>org.example</groupId>
<artifactId>MicroServices</artifactId> <artifactId>MicroServices</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment