JsonStringConverter in GNPy
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / gnpy / ConnectToGnpyServer.java
index 78980d8ac7f1e21f71e8f64ffb831e6792b26301..a26f1960435e8d5bf9cee14f4e507ddd0717fa75 100644 (file)
@@ -34,7 +34,7 @@ public class ConnectToGnpyServer {
 
     public String returnGnpyResponse(String jsonTxt) throws GnpyException  {
         String jsonRespTxt = null;
-
+        LOG.debug("Sending request {}",jsonTxt);
         try {
             // Send the request to the GNPy
             HttpURLConnection conn = connectToGNPy("POST");
@@ -53,6 +53,7 @@ public class ConnectToGnpyServer {
         } catch (IOException e) {
             throw new GnpyException("In connectToGnpyServer: excpetion",e);
         }
+        LOG.debug("Receiving response {}",jsonRespTxt);
         return jsonRespTxt;
     }