Skip to content

Commit

Permalink
Change location of upstream service
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-cattermole committed Oct 3, 2019
1 parent e2ccc55 commit fc9643b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Contact create(Contact contact) throws ConstraintViolationException, ValidationE
validator.validateContact(contact);

//Create client service instance to make REST requests to upstream service
ResteasyWebTarget target = client.target("http://csc8104-areas.eastus.cloudapp.azure.com");
ResteasyWebTarget target = client.target("http://csc8104-states.b9ad.pro-us-east-1.openshiftapps.com");
AreaService service = target.proxy(AreaService.class);

try {
Expand Down Expand Up @@ -171,7 +171,7 @@ Contact update(Contact contact) throws ConstraintViolationException, ValidationE
validator.validateContact(contact);

// Set client target location and define the proxy API class
ResteasyWebTarget target = client.target("http://csc8104-areas.eastus.cloudapp.azure.com");
ResteasyWebTarget target = client.target("http://csc8104-states.b9ad.pro-us-east-1.openshiftapps.com");
AreaService service = target.proxy(AreaService.class);

try {
Expand Down

0 comments on commit fc9643b

Please sign in to comment.