aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/java
diff options
context:
space:
mode:
authorMaharajh, Robby (rx2202) <rx2202@us.att.com>2017-12-04 15:49:29 -0500
committerMaharajh, Robby (rx2202) <rx2202@us.att.com>2017-12-04 15:49:39 -0500
commitcdc1733ce7f53902d551a7d38c65dc23210d0b70 (patch)
treed09150e28c979541ccda95df5676ae37199afe88 /aai-resources/src/main/java
parent45f302a5f05223d98a23b5ca2dbf6c6fe0f823df (diff)
Add support to bulk api for patch/deletes
reationships Issue-ID: AAI-534 Change-Id: I5334bb047ff1977474cd7b653e61d47ee7e99220 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
Diffstat (limited to 'aai-resources/src/main/java')
-rw-r--r--aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java2
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));