Skip to content

Commit

Permalink
Fails locally. Hope it works on the cloud .. said no one
Browse files Browse the repository at this point in the history
  • Loading branch information
pvepamb1 committed Sep 27, 2019
1 parent 3f3ce0f commit 97f24e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ public class TripitApplication {
public static void main(String[] args) {
SpringApplication.run(TripitApplication.class, args);
}
//@Bean
/*public MovieClient movieClient(RestOperations restOperations) {
return new MovieClient("//movies-ms/movies", restOperations);
}*/

@Bean
public FlightClient flightClient(RestOperations restOperations){
Expand All @@ -33,8 +29,4 @@ public HotelClient hotelClient(RestOperations restOperations) {
return new HotelClient("//hotels-ms/hotels", restOperations);
}

@Bean
public RestOperations restOperations() {
return new RestTemplate();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ public HotelClient(String hotelURL, RestOperations restOperations) {
}

public void create(HotelUI hotel) {
log.debug("Url is {}",hotelURL);
System.out.println(hotelURL);
restOperations.postForEntity(hotelURL, hotel, HotelUI.class);
}

Expand Down

0 comments on commit 97f24e5

Please sign in to comment.