From 1ae1eb31d37eee7cc4e6d11acdf90d2f20e11c66 Mon Sep 17 00:00:00 2001 From: Adam Cattermole Date: Mon, 30 Oct 2017 17:34:01 +0000 Subject: [PATCH] Move areas upstream service --- .../org/jboss/quickstarts/wfk/contact/ContactService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jboss/quickstarts/wfk/contact/ContactService.java b/src/main/java/org/jboss/quickstarts/wfk/contact/ContactService.java index 4b85c9a8c..c6d04fe34 100644 --- a/src/main/java/org/jboss/quickstarts/wfk/contact/ContactService.java +++ b/src/main/java/org/jboss/quickstarts/wfk/contact/ContactService.java @@ -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://areas-csc8104-states.7e14.starter-us-west-2.openshiftapps.com"); + ResteasyWebTarget target = client.target("http://csc8104-areas.eastus.cloudapp.azure.com"); AreaService service = target.proxy(AreaService.class); try { @@ -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://areas-csc8104-states.7e14.starter-us-west-2.openshiftapps.com"); + ResteasyWebTarget target = client.target("http://csc8104-areas.eastus.cloudapp.azure.com"); AreaService service = target.proxy(AreaService.class); try {