Fixed the parsing path for CBA archive 74/87374/5
authorprathamesh morde <prathamesh.morde@bell.ca>
Thu, 9 May 2019 15:30:34 +0000 (11:30 -0400)
committerprathamesh morde <prathamesh.morde@bell.ca>
Sat, 11 May 2019 03:45:24 +0000 (23:45 -0400)
commitd7b9a92193d96826ae63200a6625ea26679fc811
tree9718025ac73ea9fcd2ee34d4e688317d2e4a4d37
parent0924c4da768d1119a17936933606a38de6526b52
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>
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]