aboutsummaryrefslogtreecommitdiffstats
path: root/appc-event-listener/appc-event-listener-bundle/src
AgeCommit message (Collapse)AuthorFilesLines
2019-07-30Sonar- Unused Importanushadasari1-1/+0
The imports part of a file should be handled by the Integrated Development Environment (IDE), not manually by the developer. Unused and useless imports should not occur if that is the case. Issue-ID: APPC-1677 Change-Id: Ieb7f01df8fc1f639c232ca47eefa2145fe45d965 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-10Updated to be an instance variablejegadeeshbabu11-1/+3
Removed static keyword Issue-ID: APPC-1636 Change-Id: I507d306f50acc010db4d944a078b4d15f5c719a4 Signed-off-by: jegadeeshbabu1 <jegabab1@in.ibm.com>
2019-06-03Fix for null dmaap return statusPatrick Brady2-1/+5
The setResponse method was returning before actually setting the status values in cases where the status field was not first initialized. This behavior did not make sense since the status field would never be initialized in cases where the OutgoingMessage was generated using the IncomingMessage.toOutgoing(). Change-Id: Ib399daf3644095a2eeffe718d0f6a27473b01ee9 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1619
2019-05-21resolve base64 class not foundTaka Cho1-1/+1
add commons-codec in embedded-dependency in event listener pom file Issue-ID: APPC-1604 Change-Id: I7006ed41d412b1dcf21dd64987a84d1ad04c9093 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-05-13Update message format for vFirewallPatrick Brady5-66/+26
The message format coming from policy has changed. This is the corresponding update for appc to match the message format. Change-Id: I8827e6c372be77dc69c0ee3579a002fde2515848 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1603
2019-04-04added test case to TestController.javaSandeep J1-0/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id6718c61982a477373c8a5af76f7c7d6a61c43c1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-04added test case to InputBodyTest.javaSandeep J1-0/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: I3406fedf206902eba8374dbc47852bc28bfdeccf Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-02added file to test CommonMessage.javaSandeep J1-0/+58
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4cf3a640031a60a34c829ecb039325d6194fa682 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-02added file to test IncomingMessage.javaSandeep J1-0/+44
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id73082a54060af0b9a4ce8f3bda05cde824bf481 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-26Replaced print statement with loggerJegadeesh Babu1-1/+2
Sonar Fix Issue-ID: APPC-1500 Change-Id: I25e885297e3e3881e8164e2bbd6f608f808ac76b Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-21Test coverage for HttpClientUtilJoss Armstrong2-1/+41
Add new test class and increase coverage Issue-ID: APPC-1462 Change-Id: Ie0de18d9c22c3913c5b57bc1f2de2e8758c26ed0 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-21Test coverage in MapperJoss Armstrong2-3/+32
Increased coverage to 98% Issue-ID: APPC-1462 Change-Id: Ie6aa2dc885be4ede947c3f7856f93cf9f1efffa0 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-21Test coverage in LCM ProviderOperationsJoss Armstrong3-4/+38
Added test cases Issue-ID: APPC-1462 Change-Id: I577bcbb1f1ea36fdddbe30b115710588472bd45c Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-21Test coverage in OutgoingMessageJoss Armstrong2-93/+191
Increased coverage to 100% Issue-ID: APPC-1462 Change-Id: I4b2646da01c20e9095c617d1f82c78fae30f2418 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-21Handled interrupted ExceptionJegadeesh Babu1-0/+3
Sonar Bug Fix Issue-ID: APPC-1469 Change-Id: I3f1fe6b620e8b01659e1b927b1f5fb667be20648 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
2019-02-19Test coverage in EventHandlerImplJoss Armstrong2-7/+42
Added test cases for untested code Issue-ID: APPC-1462 Change-Id: I492721a9c40678bb8700d30782cfa5949c1f22e9 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-19Increase coverage in ControllerImplJoss Armstrong2-3/+67
Coverage increased to 94% Issue-ID: APPC-1462 Change-Id: I7e3af44d7627db7d09069c402e5aa47f518fd490 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-19Fix code error in ControllerImpl classJoss Armstrong1-1/+3
Put in correct check for null ListenerClass attribute Issue-ID: APPC-1463 Change-Id: I55cd4327f4718c320e3feaf71db7ac23f59a0986 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-19Test coverage for CommonMessageJoss Armstrong2-36/+60
Increased coverage from 41% to 95% Issue-ID: APPC-1462 Change-Id: I602a0178617f29ab34f7a4ab4400d6e5c442bd9d Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-12Added unit test case for ProviderOperationsLathishbabu Ganesan3-103/+259
Increased the coverage from 0% to 86% Issue-ID: APPC-1404 Change-Id: Ic9fdfe59c4dc60e57bdca1a501ac99a9207eb539 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-07Added unit test cases for Worker classLathishbabu Ganesan1-0/+85
Increased coverage from 0% to 100% Issue-ID: APPC-1402 Change-Id: I2a0a05a29cce79004581f21fd56138485b631f78 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-05listener bundle change for multiple ansibleBalaji, Ramya (rb111y)5-32/+161
Changes to event listener and dependent bundles Issue-ID: APPC-1376 Change-Id: I26e9f6f39caa2a0b0ad46a3a61d21db9f0c05d47 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-10-30Fix capitalization difference in json formatPatrick Brady3-3/+3
The "r" was not capitalized in SubrequestID, but the message policy is sending does have a capital "r". Change-Id: I4a0c11278ea7d81c2fc0fe5a16696d0fd7d48df6 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1224
2018-07-31added test cases to TestMessages.javaSandeep J1-2/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: I230ad0e38a1507e0619d490a3786b97fa6d5db32 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-06-13Update lic header in misc appc properties filesJohn McClung3-4/+1
Modify license header in miscellaneous appc properties files to reflect 2018 changes. Change-Id: I21eb99f680ab4cbddbd7f8abe65720c87e2dbb33 Issue-ID: APPC-998 Signed-off-by: John McClung <jm1364@att.com>
2018-06-11Update license header in misc appc filesJohn McClung1-2/+1
More license header updates to miscellaneous appc files to reflect 2018 changes. Change-Id: I1d1d020792942ffe2d3bbda6eae05c43831ffce1 Issue-ID: APPC-994 Signed-off-by: John McClung <jm1364@att.com>
2018-06-07Update license header in appc-event-listener filesJohn McClung50-97/+47
Modify license header in appc-event-listener java files to reflect 2018 changes. Change-Id: I42fe88bd354f23811699dc84e125bfe34db245aa Issue-ID: APPC-982 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01Fix dmaap adapter lic header and log message typoJohn McClung1-2/+1
Remove ECOMP trademark in license header, and fix typo in log message. Change-Id: Ib0249797edf794c93f9c44ab2ed591a7142c1311 Issue-ID: APPC-935 Signed-off-by: John McClung <jm1364@att.com>
2018-03-22EventHandlerImpl unit testsJakub Dudycz1-30/+103
Improved code coverage. Change-Id: Iee626e206b1fc2ef1047fc4d50b030319afe0403 Issue-ID: APPC-753 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-21LCM package test classes refactorJakub Dudycz10-154/+115
Extracted some methods and fields to util class Change-Id: If2f1f617b53ebfb0cad8e350447aff2177784319 Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-21GenericProviderOperationsRequestFormatter junitsJakub Dudycz1-0/+99
Improved code coverage. Change-Id: I8914eae1327c15339034aa0d6905b36d7a252171 Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-21ProviderOperations unit testsJakub Dudycz3-66/+195
Improved code coverage. Change-Id: I04d0afe9799cc9bce5111173031ba8f9baa3e409 Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-17ResponseStatus unit testsJakub Dudycz1-0/+57
Improved code coverage. Change-Id: I4f522d57b3e6e8d64d42c5e8b957db5a4a1bf07a Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-17InputBody and OutputBody unit testsJakub Dudycz5-36/+248
Improved code coverage. Change-Id: I8b083f3281f0057d14cdfa9ae3c47eb3da99614e Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-17DmaapMessage and its subclasses unit testsJakub Dudycz5-43/+278
Improved code coverage. Change-Id: Iaa8496ce5c7aa5a8fc7ca203baf07ab8b7e55e5d Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-17CommonHeader unit testsJakub Dudycz1-0/+92
Improved code coverage. Change-Id: Ic215cbd9ab6999f8e1d51c2f4d79d0d550057f04 Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-17ActionIdentifiers unit testsJakub Dudycz1-0/+71
Improved code coverage. Change-Id: I3d65411f5f746850a4e83c34f3ef349653e3bc3f Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-16WorkerImpl unit testsJakub Dudycz3-39/+130
Improved code coverage. Change-Id: I1a5170d16d64e95b759a576b56689164036370c1 Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-15Converter unit testsJakub Dudycz4-118/+229
Improved code coverage. Change-Id: Ieff8e92f907a9c45e4c810754d6e3d86e2c5bd0c Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-15AbstractListener unit testsJakub Dudycz4-41/+88
Improved code coverage. Change-Id: I131f8bbbc72e0587572baa340d10fb56f6a1c5bc Issue-ID: APPC-747 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-22modify listeners to only start when props presentRY303T6-39/+165
Change-Id: If4ba1552eb6bc78a95f1b53292752181bc29cb2d Issue-ID: APPC-564 Signed-off-by: RY303T <RY303T@att.com>
2018-01-26Fix in ControllerImplburdziak1-1/+0
Change-Id: I3751c11fe2690d2c9debc6680eba749cd379d257 Issue-ID: APPC-536 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-11Code synch up for appc-event-listener bundleSkip Wonnell5-47/+57
Change-Id: I6362ba99c6e15b78c65a2e3bbcb841c78e8c606c Issue-ID: APPC-382 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-10Remove unused testing fileSkip Wonnell1-24/+0
Change-Id: I1cbd9505046f6f684650bf1a4d9bba83edc68a46 Issue-ID: APPC-305 Signed-off-by: Skip Wonnell <skip@att.com>
2017-12-21enahance Sonar coverage rateTaka2-3/+0
Change-Id: I08fbb09495a400cdfb85489ed2f964d6c63aa737 Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.com>
2017-12-13Fourth part of onap renamePatrick Brady1-1/+1
Some paths within the docker image need to be updated from opt/openecomp to opt/onap Change-Id: I74b32ba6906a0b7c44764485dccef6140c21afa3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13Third part of onap renamePatrick Brady44-0/+0
This part of the commit changes the folder structure on all other folders of appc. Change-Id: I8acfa11cdfcdcd36be0e137245d1dd7324f1abd3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13First part of onap renamePatrick Brady43-133/+133
This is the first commit of the rename. This commit changes refereces to org.openecomp.appc > org.onap.appc that occur within files. The package folder structure is not changed in this commit. Change-Id: Ic95d749eb99d8a6f4f2b9ee9b06eb41c5cfa7e1c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-08-30Remove catch throwable and errorbeili.zhou1-66/+64
Fix the following sonar blocker issue: - Catch Exception instead of Throwable - Catch Exception instead of Error Issue-Id: APPC-175 Change-Id: I16a1018001b067216740ec11e5a97e52d714db69 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-15[APPC-143] OAM restart operation with stop errorbeili.zhou4-120/+0
Fix OAM restart operation does not report stop failure. And also remove unused LCM OperationStatus and related comments. Issue-Id: APPC-143 Change-Id: Ia2580717ef515856725e3e50c63b17404f123325 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>