aboutsummaryrefslogtreecommitdiffstats
path: root/appc-event-listener/appc-event-listener-bundle/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-11-08Cleanup of dmaap adapterPatrick Brady1-2/+3
Remvoing the part of the appc-dmaap-adapter that uses the dmaapClient library. This part of the code was not being used and the dmaap client library has not been updated for a long time. Also removed several un-used dependencies. Change-Id: I690afaecbfe53d88576c43aa8d114fde54c0fe48 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1744
2019-06-03Fix for null dmaap return statusPatrick Brady1-0/+2
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-13Update message format for vFirewallPatrick Brady3-22/+8
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-21Test coverage for HttpClientUtilJoss Armstrong1-0/+40
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 Armstrong1-0/+29
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 Armstrong1-2/+31
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 Armstrong1-0/+91
Increased coverage to 100% Issue-ID: APPC-1462 Change-Id: I4b2646da01c20e9095c617d1f82c78fae30f2418 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-19Test coverage in EventHandlerImplJoss Armstrong1-6/+40
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 Armstrong1-0/+64
Coverage increased to 94% Issue-ID: APPC-1462 Change-Id: I7e3af44d7627db7d09069c402e5aa47f518fd490 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-19Test coverage for CommonMessageJoss Armstrong1-8/+33
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 Ganesan1-0/+129
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)2-4/+7
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 Brady2-2/+2
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 McClung2-2/+0
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-07Update license header in appc-event-listener filesJohn McClung21-41/+20
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-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 Dudycz1-0/+120
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 Dudycz2-0/+211
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 Dudycz4-11/+248
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 Dudycz2-19/+100
Improved code coverage. Change-Id: I1a5170d16d64e95b759a576b56689164036370c1 Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-15Converter unit testsJakub Dudycz2-94/+170
Improved code coverage. Change-Id: Ieff8e92f907a9c45e4c810754d6e3d86e2c5bd0c Issue-ID: APPC-745 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-15AbstractListener unit testsJakub Dudycz3-35/+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 presentRY303T3-13/+111
Change-Id: If4ba1552eb6bc78a95f1b53292752181bc29cb2d Issue-ID: APPC-564 Signed-off-by: RY303T <RY303T@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-13Third part of onap renamePatrick Brady12-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 Brady11-40/+40
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-02Merging in bug fixesPatrick Brady1-0/+24
Change-Id: I85da90b9ba0d03149f42035a820c76ef0285e413 Signed-off-by: Patrick Brady <pb071s@att.com> Issue: APPC-100
2017-07-20Applying license changes to all filesPatrick Brady12-36/+60
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady12-36/+48
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-02Merge of new rebased codePatrick Brady16-511/+25
Change-Id: I9b8d1f69eb3e0af1935ed8304fea4bf54c1aac47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-15Moving all files to root directoryPatrick Brady21-0/+1744
Change-Id: Ica5535fd6ec85f350fe1640b42137b49f83f10f0 Signed-off-by: Patrick Brady <pb071s@att.com>