aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-12-12Merge "Changes for OpenJDK 11"Fiachra Corcoran5-25/+23
2019-12-12Changes for OpenJDK 11dglFromAtt5-25/+23
Issue-ID: DMAAP-1360 Signed-off-by: dglFromAtt <dgl@research.att.com> Change-Id: I99a158b20b093507691e7f0054430d0fc486c269 Signed-off-by: dglFromAtt <dgl@research.att.com>
2019-09-23MR_ClusterResource JUnitsTomek Kaminski1-122/+222
New test based on fast Jersey Container Issue-ID: DMAAP-1306 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com> Change-Id: I56a582ea08c3f54a628f88f2a03fa675c89aa71d
2019-07-23Tests for class MR_ClientResourcepkaras1-0/+304
Change-Id: Iaaef84b188adc1fff87404c92a4f272649662ce7 Issue-ID: DMAAP-1246 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-06-07use delete level property in AafTopicSetupServicepkaras3-57/+54
Change-Id: I68a8ddaeb40fa25ccb9345266682a0dfbc0230c0 Issue-ID: DMAAP-1221 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-06-07deleting namespace and permission implementationpkaras2-2/+43
Change-Id: If9e3dc12da186cfee42ae0816e39ba868cb82ad5 Issue-ID: DMAAP-1217 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-06-06AafServiceImpl junitspkaras1-0/+168
Change-Id: Icd8536a934e8657be956592583bb527a492cc8f6 Issue-ID: DMAAP-1217 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-06-05AafServiceFactory implementationpkaras1-0/+103
Change-Id: I95748319111087b991dabc08e9c918601c8defee Issue-ID: DMAAP-1217 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-06-05AafTopicSetupService aaf cleanup implementationpkaras1-17/+125
Change-Id: I60de4e378d822be825230edc5e64cbd958e3e2d3 Issue-ID: DMAAP-1217 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-06-05Aaf cleanup in TopicService implementationpkaras1-5/+67
Change-Id: Ica0ed712223f246a6134c03ca12f3de05a3e01ff Issue-ID: DMAAP-1217 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-06-04AafTopicSetupService used in TopicServicepkaras1-2/+6
Change-Id: I278c3cc941bc526a776b0c988ac6a8f35f0c8925 Issue-ID: DMAAP-1211 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-06-04AafTopicSetupService implementationpkaras1-0/+338
Change-Id: I2dc702cbe1e2e6fedc02b78468f57fa58e994ac2 Issue-ID: DMAAP-1211 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-05-31AafPermissionService refactorpkaras1-14/+16
Change-Id: I7c1fecf232f86b4352d24b26ae3b8da47559c428 Issue-ID: DMAAP-1211 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-05-31AafPermissionService implementationpkaras1-0/+165
based on methods from MR_ClientService Change-Id: If90327b4ab0d4de1b58e5f15564d35cd2d43ec39 Issue-ID: DMAAP-1211 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-05-31not used methods were removed, minor sonar fixespkaras1-2/+2
Change-Id: I31a373cd5870633ed0ce2b0e624e8d48eaa33efa Issue-ID: DMAAP-1211 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-05-22Refactor tests for TopicResource classTomek Kaminski1-166/+315
Change-Id: Iff89df7e1b43ec13b200282a2d74882d95c3d84e Issue-ID: DMAAP-1209 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2019-05-20Fix conflict in unit testsdglFromAtt1-1/+1
Change-Id: I433213a61a9da64278e1ecaa25f067a36e99ce61 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-1205
2019-05-14Merge "Problem in building AAF permission - fix"Dominic Lunanuova1-1/+15
2019-05-14Merge "Junits for TopicService"Dominic Lunanuova1-172/+205
2019-05-14Problem in building AAF permission - fixpkaras1-1/+15
Change-Id: If3c16d950ebe21d4f922b2e8f074e29ded26e9ce Issue-ID: DMAAP-1200 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-05-08Merge "Fix sonar issues in dmaap-dbcpi"Dominic Lunanuova6-44/+12
2019-05-02Junits for TopicServicepkaras1-172/+205
Change-Id: Ie0a1223b7f5ff6871ff65bc88faa2ee92d57b7ce Issue-ID: DMAAP-1190 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-04-29move authN and authZ filter decission to enableCADI flagTomek Kaminski2-12/+12
Change-Id: If4aa4fb58c0eb4431ec6a6377db12fa3da23682e Issue-ID: DMAAP-1181 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2019-04-18Fix sonar issues in dmaap-dbcpiParshad Patel6-44/+12
Fix Constructor has 8 parameters, which is greater than 7 authorized issue Issue-ID: DMAAP-894 Change-Id: Icffd5a442dbd9eb910cbbe8a512ba5cae5383927 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-04-16AllowAll api policy addedpkaras3-0/+178
Change-Id: I1673b5647b0917ca18fe9b814d876a07d881021a Issue-ID: DMAAP-1166 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-04-12Merge "Junits for classes in util package"Dominic Lunanuova3-49/+114
2019-04-12Merge "DcaeLocation tests and refactor"Dominic Lunanuova1-54/+100
2019-04-12Junits for classes in util packagepkaras3-49/+114
Change-Id: If1d692b961533722ca72ec13707099858715542b Issue-ID: DMAAP-1159 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-04-11Fix for loading cadi propertiesTomek Kaminski2-3/+18
Change-Id: I5b6115b8bf7dc0b9cde67e2983f2aad6781bd475 Issue-ID: DMAAP-1158 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2019-04-11DcaeLocation tests and refactorpkaras1-54/+100
Change-Id: I14f6d2db0aa81a6ca1558c081ee9a98951a3c316 Issue-ID: DMAAP-1157 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-04-10Fix some things I brokedglFromAtt3-44/+54
patchset2: use is2xx() in TopicResourceTest Change-Id: Icb6711f290164c4a2c952d5250746f274a048a73 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-1095 Signed-off-by: dglFromAtt <dgl@research.att.com>
2019-04-10Added MirrorMaker unit testsdglFromAtt2-0/+281
Change-Id: I580d350c663f06754a38ae58941de6e812f8cb03 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-1095
2019-04-09Merge "Match decompress argument of DR API"varun gudisena1-3/+3
2019-04-09Merge "changes in DR_PubResourceTest"Dominic Lunanuova3-159/+307
2019-04-09changes in DR_PubResourceTestPawel3-159/+307
Issue-ID: DMAAP-1148 Change-Id: Id9c843537b9ebabcc7284af125d8ee5f59b648f3 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
2019-04-08Merge "Added additional test case - DBFieldHandlerTest"varun gudisena1-55/+62
2019-04-08Merge "Added test cases TopicTest.java"varun gudisena1-49/+56
2019-04-08Junit for RequiredFieldException.javaSudarshan Kumar1-0/+51
Junit for RequiredFieldException.java Issue-ID: DMAAP-1151 Change-Id: I32b126d2e6729e9a5393bfd9e24412f1ed8b6257 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-04-05Match decompress argument of DR APIdglFromAtt1-3/+3
Change-Id: Idbd2edaa90df2b0145284751566588f2151f35fe Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-1059
2019-04-05CADI authentication and authorization filtersTomek Kaminski3-0/+501
Implemented AAF CADI usage for authN/authZ Old solution left for backward compatibility UseAAF flag used to turn on/of CADI and AAF permissions AAfConnection fixed to accept AAF server certificate when adding perm Change-Id: I8e946bda14c53e57c3236f2a7dfe806bcd45e519 Issue-ID: DMAAP-1112 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2019-04-05Tests for DR_NodeResource & bugfixespkaras3-123/+266
Change-Id: I7e1767b63e3cd091718bbf1d0d38e5232b7ae7e9 Issue-ID: DMAAP-1149 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-03-30Added new feeds/sync APIdglFromAtt1-0/+9
Change-Id: I86576cdd5be67ca80089d092458782429253e17b Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-1021 Signed-off-by: dglFromAtt <dgl@research.att.com>
2019-03-29Added stopwatch filterPawel2-49/+78
Issue-ID: DMAAP-1109 Change-Id: I1738444ec9ce18768efdc9693c9669990660698f Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
2019-03-26Added test cases TopicTest.javaSudarshan Kumar1-49/+56
Added test cases TopicTest.java Issue-ID: DMAAP-1128 Change-Id: Ibf0bf50f1cc8affec4c06009c1e1c14e66682d09 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-25Merge "Fix Resources Jersey tests"Dominic Lunanuova5-220/+449
2019-03-25Merge changes from topic 'required_checker'Dominic Lunanuova3-18/+135
* changes: Extract required(...) method Extract class StopWatch from ApiService
2019-03-25Added additional test case - DBFieldHandlerTestSudarshan Kumar1-55/+62
Added additional test case - DBFieldHandlerTest.java Issue-ID: DMAAP-1125 Change-Id: I9a83eaadc8d43826e03d45024a0cbb42f22ac0c0 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-25Fix Resources Jersey testsTomek Kaminski5-220/+449
-fix for tests: DR_SubResourceTest.DelTest DR_SubResourceTest.PutTest MR_ClusterResourceTest.DelTest TopicResourceTest.DelTest -DataBaseClass refactor -Rewriten tests for DR_SubResource Change-Id: I484ad1b18504e0eacc1aae4d8e3b6773e075fa63 Issue-ID: DMAAP-1117 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2019-03-22Extract required(...) methodpkaras2-18/+86
Change-Id: I9a2a02aabd6b90c601f3bcd2cdd708e9af70d819 Issue-ID: DMAAP-1107 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-03-21Merge "Tidy up one test"varun gudisena1-4/+8