commit | 248486d4092b6899dc88861a1793253c3223c3eb | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Mon Jun 08 10:56:18 2015 -0700 |
committer | Simon Hunt <simon@onlab.us> | Mon Jun 08 10:56:18 2015 -0700 |
tree | 604aadc0b182bb8c894e3fed0e35ab0ac0f07a94 | |
parent | 423660876e75e7ceb6a0257fc3ef67603428b75e [diff] |
CORD GUI - Logging of REST calls to XOS.. Change-Id: I5c1052dcddb9cbdccc5220fe1e758176a7fc201f
diff --git a/apps/demo/cord-gui/src/main/java/org/onosproject/cord/gui/XosManagerRestUtils.java b/apps/demo/cord-gui/src/main/java/org/onosproject/cord/gui/XosManagerRestUtils.java index daa72d8..376591b 100644 --- a/apps/demo/cord-gui/src/main/java/org/onosproject/cord/gui/XosManagerRestUtils.java +++ b/apps/demo/cord-gui/src/main/java/org/onosproject/cord/gui/XosManagerRestUtils.java
@@ -64,6 +64,7 @@ this.xosServerAddress = xosServerAddress; this.xosServerPort = xosServerPort; this.baseUri = baseUri; + log.info("XMRU:: {}:{}/{}", xosServerAddress, xosServerPort, baseUri); } // build the base URL from the pieces we know... @@ -93,6 +94,7 @@ Client client = Client.create(); client.addFilter(new HTTPBasicAuthFilter(AUTH_USER, AUTH_PASS)); WebResource resource = client.resource(baseUrl() + uri); + log.info("XOS REST CALL>> {}", resource); return resource.accept(UTF_8).type(UTF_8); }