CORD GUI - Logging of REST calls to XOS..
Change-Id: I5c1052dcddb9cbdccc5220fe1e758176a7fc201f
Showing
1 changed file
with
2 additions
and
0 deletions
| ... | @@ -64,6 +64,7 @@ public class XosManagerRestUtils { | ... | @@ -64,6 +64,7 @@ public class XosManagerRestUtils { |
| 64 | this.xosServerAddress = xosServerAddress; | 64 | this.xosServerAddress = xosServerAddress; |
| 65 | this.xosServerPort = xosServerPort; | 65 | this.xosServerPort = xosServerPort; |
| 66 | this.baseUri = baseUri; | 66 | this.baseUri = baseUri; |
| 67 | + log.info("XMRU:: {}:{}/{}", xosServerAddress, xosServerPort, baseUri); | ||
| 67 | } | 68 | } |
| 68 | 69 | ||
| 69 | // build the base URL from the pieces we know... | 70 | // build the base URL from the pieces we know... |
| ... | @@ -93,6 +94,7 @@ public class XosManagerRestUtils { | ... | @@ -93,6 +94,7 @@ public class XosManagerRestUtils { |
| 93 | Client client = Client.create(); | 94 | Client client = Client.create(); |
| 94 | client.addFilter(new HTTPBasicAuthFilter(AUTH_USER, AUTH_PASS)); | 95 | client.addFilter(new HTTPBasicAuthFilter(AUTH_USER, AUTH_PASS)); |
| 95 | WebResource resource = client.resource(baseUrl() + uri); | 96 | WebResource resource = client.resource(baseUrl() + uri); |
| 97 | + log.info("XOS REST CALL>> {}", resource); | ||
| 96 | return resource.accept(UTF_8).type(UTF_8); | 98 | return resource.accept(UTF_8).type(UTF_8); |
| 97 | } | 99 | } |
| 98 | 100 | ... | ... |
-
Please register or login to post a comment