apih allowing requests with the same requestid 29/92229/2
authorPlummer, Brittany <brittany.plummer@att.com>
Mon, 29 Jul 2019 18:33:20 +0000 (14:33 -0400)
committerBenjamin, Max (mb388a) <mb388a@att.com>
Mon, 29 Jul 2019 19:21:08 +0000 (15:21 -0400)
commit5c883e74331d6c08b80107744dd6841124e46087
tree41da13f1d3a48e73c02825ef64fea0e6a348cd79
parent5bc663e5831a87b897d43f0f7fb7ec8bce88e633
apih allowing requests with the same requestid

Updated filters to throw error on duplicate requestId
Added message indicating exception will be thrown
Added unit tests for requestIdFilters
Added access modifier in filter test
Updated CloudApiRequests for successful deletion when
InfraActiveRequest is deleted
Removed changes from CloudApiRequests bean
Updated repository to include deleteByRequestId
Removed unused import from cloudApiRequests
Removed deleteByRequestId from interface
Updated to change type of extended jparepository
Removed repository added for CloudApiRequests
Updated uri check to remove '/' from checked string
Updated returned on failing junit test
Updated access modifiers for logger and createRequestError

Issue-ID: SO-2166
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Change-Id: Id0cee672567b15e0a3eb1acfbdfb967945494500
mso-api-handlers/mso-api-handler-common/src/main/java/org/onap/so/apihandler/filters/RequestIdFilter.java
mso-api-handlers/mso-api-handler-common/src/main/java/org/onap/so/apihandlerinfra/exceptions/DuplicateRequestIdException.java [new file with mode: 0644]
mso-api-handlers/mso-api-handler-common/src/test/java/org/onap/so/apihandler/filters/RequestIdFilterTest.java