Skip to content

Commit

Permalink
Fixing port numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
agoncal committed Jul 15, 2016
1 parent 8dba22f commit d69b254
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -82,7 +82,7 @@ private void doFindTopRatedCDs() {
try {
response = ClientBuilder.newClient().target("http://localhost:8080/msTopCDs").request(MediaType.APPLICATION_JSON).get();
} catch (Exception e) {
response = ClientBuilder.newClient().target("http://localhost:8082/msTopCDs").request(MediaType.APPLICATION_JSON).get();
response = ClientBuilder.newClient().target("http://localhost:8081/msTopCDs").request(MediaType.APPLICATION_JSON).get();
}

if (response.getStatus() != Response.Status.OK.getStatusCode())
Expand All @@ -100,7 +100,7 @@ private void doFindTopRatedBooks() {
try {
response = ClientBuilder.newClient().target("http://localhost:8080/msTopBooks").request(MediaType.APPLICATION_JSON).get();
} catch (Exception e) {
response = ClientBuilder.newClient().target("http://localhost:8085/msTopBooks").request(MediaType.APPLICATION_JSON).get();
response = ClientBuilder.newClient().target("http://localhost:8082/msTopBooks").request(MediaType.APPLICATION_JSON).get();
}

if (response.getStatus() != Response.Status.OK.getStatusCode())
Expand Down

0 comments on commit d69b254

Please sign in to comment.