Return an index of invalid bulk operation if there are missing parameters on request 54/136954/3
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Tue, 9 Jan 2024 18:28:36 +0000 (19:28 +0100)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Wed, 10 Jan 2024 13:07:41 +0000 (14:07 +0100)
commit1d77fc5b646f3c3a9a0f14dba5218d7f866e48ba
treeace6828cfa3d5b97a26a7df3584a0be6a7ae87c2
parent8c73a2f4ebf8067e630ce7525183f75bbf8a9bce
Return an index of invalid bulk operation if there are missing parameters on request

Catch AAIException on AAI Bulk poplulateIntrospectors method to prepare an exception body with failing operation number.

Issue-ID: AAI-3722
Change-Id: I38b2e1c802ae7f2843cda5c188365890a86f65af
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
aai-resources/src/main/java/org/onap/aai/rest/bulk/BulkSingleTransactionConsumer.java
aai-resources/src/test/java/org/onap/aai/rest/bulk/BulkSingleTransactionConsumerTest.java
aai-resources/src/test/resources/payloads/bulk/single-transaction/put-complex-with-missing-properties.json [new file with mode: 0644]