diff options
Diffstat (limited to 'aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java')
-rw-r--r-- | aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java b/aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java index 5a90bc5..a973250 100644 --- a/aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java +++ b/aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java @@ -378,7 +378,7 @@ public abstract class BulkConsumer extends RESTAPI { String bodyStr = gson.toJson(bodyObj); bulkOperation.setRawReq(bodyStr); - if (bulkOperation.getHttpMethod().equals(HttpMethod.PUT_EDGE)) { + if (bulkOperation.getHttpMethod().equals(HttpMethod.PUT_EDGE) || bulkOperation.getHttpMethod().equals(HttpMethod.DELETE_EDGE)) { Introspector obj; try { obj = loader.unmarshal("relationship", bodyStr, org.onap.aai.restcore.MediaType.getEnum(inputMediaType)); |