commit | 22af001143ce57a678a248438326351493b5748f | [log] [tgz] |
---|---|---|
author | Marc De Leenheer <marc@opennetworking.org> | Mon Oct 30 20:55:20 2017 -0700 |
committer | Marc De Leenheer <marc@opennetworking.org> | Mon Oct 30 20:55:20 2017 -0700 |
tree | ddbba20432104340725573e80a0ebb82d47afd00 | |
parent | f88a1380756c13e3d208518596710f91a4c198d1 [diff] |
Fix json deserialization Change-Id: I2aa308ecfa97fabd14655a34811e052ba2317802
diff --git a/local/ce-fabric/src/main/java/org/opencord/ce/local/fabric/CarrierEthernetFabricManager.java b/local/ce-fabric/src/main/java/org/opencord/ce/local/fabric/CarrierEthernetFabricManager.java index 66fb6db..e048f7b 100644 --- a/local/ce-fabric/src/main/java/org/opencord/ce/local/fabric/CarrierEthernetFabricManager.java +++ b/local/ce-fabric/src/main/java/org/opencord/ce/local/fabric/CarrierEthernetFabricManager.java
@@ -246,7 +246,7 @@ // Build URL and perform post WebTarget target = client.target("http://" + publicIp + ":" + port + "/onos/v1/network/configuration/"); - Response response = target.request().post(Entity.entity(json, MediaType.APPLICATION_JSON_TYPE)); + Response response = target.request().post(Entity.entity(json.toString(), MediaType.APPLICATION_JSON_TYPE)); response.close(); }