Fixed the parsing path for CBA archive 03/87503/1
authorprathamesh morde <prathamesh.morde@bell.ca>
Thu, 9 May 2019 15:30:34 +0000 (11:30 -0400)
committerDan Timoney <dtimoney@att.com>
Sat, 11 May 2019 19:45:25 +0000 (19:45 +0000)
commitd941ac160067b22419b409778d5607e63c53b4b1
treebb1bc204af002a82a38a3e6d7cc717f3eac44ee8
parent364a86215cd6824ff673d53c276899ccef24b4a8
Fixed the parsing path for CBA archive

- Added the parsing path as per the new requirements.
- Error handling logic if the parser fails to find the CBA archive or fails
to store/read cba or csar archive

Change-Id: I33de939cb39f7d9afb68230b226f8ee6d7544fe4
Issue-ID:CCSDK-1318
Signed-off-by: prathamesh morde <prathamesh.morde@bell.ca>
(cherry picked from commit d7b9a92193d96826ae63200a6625ea26679fc811)
ms/sdclistener/application/src/main/java/org/onap/ccsdk/cds/sdclistener/SdcListenerNotificationCallback.java
ms/sdclistener/application/src/main/java/org/onap/ccsdk/cds/sdclistener/service/ListenerService.java
ms/sdclistener/application/src/main/java/org/onap/ccsdk/cds/sdclistener/service/ListenerServiceImpl.java
ms/sdclistener/application/src/main/java/org/onap/ccsdk/cds/sdclistener/util/FileUtil.java
ms/sdclistener/application/src/test/java/org/onap/ccsdk/cds/sdclistener/service/ListenerServiceImplTest.java
ms/sdclistener/application/src/test/resources/service-ServicePnfTest-csar.csar [new file with mode: 0644]
ms/sdclistener/application/src/test/resources/service-Testsvc140.csar [deleted file]
ms/sdclistener/application/src/test/resources/wrong_csar_pattern.csar [new file with mode: 0644]