aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
AgeCommit message (Collapse)AuthorFilesLines
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-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-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
2019-03-21Extract class StopWatch from ApiServicePawel1-0/+49
Issue-ID: DMAAP-1109 Change-Id: I05f706b8f2e7fe0ceb632ddb008c897b32f576b2 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
2019-03-21Merge "Added additional test in AafUserRoleTest.java"varun gudisena1-4/+27
2019-03-21Merge "Additional test case added MRClientTest.java"varun gudisena1-60/+79
2019-03-21Merge "Added Junit Class for AafRole.java"varun gudisena1-0/+47
2019-03-21Merge "Added Junit coverage for BrTopic.java"varun gudisena1-0/+59
2019-03-20Add optional decompressData field to DR_Subeconwar1-1/+3
Change-Id: Ib9af7cbd5d40eace4d952fb10d9f667919c4df87 Issue-ID: DMAAP-1059 Signed-off-by: econwar <conor.ward@est.tech>
2019-03-20Create ResponseBuilder classpkaras2-14/+98
Change-Id: I4fa3fa3c443c29b6f4aea9f67da258f89e84eb14 Issue-ID: DMAAP-1106 Signed-off-by: piotr.karas <piotr.karas@nokia.com>
2019-03-20Added Junit Class for AafRole.javaSudarshan Kumar1-0/+47
Added Junit Class for AafRole.java Issue-ID: DMAAP-1110 Change-Id: Iaafc578efddb28bc14beb207aa837cca32321b84 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-19Additional test case added MRClientTest.javaSudarshan Kumar1-60/+79
Additional test case added MRClientTest.java Issue-ID: DMAAP-1102 Change-Id: I14afad009bd7edb66e1b2d0fb33874419af5b3d8 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-16Tidy up one testdglFromAtt1-4/+8
Change-Id: I9056d0b05373e25d990051e742a59cb43ec86c67 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-1095
2019-03-15Added additional test in AafUserRoleTest.javaSudarshan Kumar1-4/+27
Added additional test in AafUserRoleTest.java Issue-ID: DMAAP-1098 Change-Id: Ic25143aa1ad7f47e9c513ccee9a52639249d25ad Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-14Added Junit coverage for BrTopic.javaSudarshan Kumar1-0/+59
Added Junit coverage for BrTopic.java Issue-ID: DMAAP-1096 Change-Id: I53ebf89e554e2d93227e5951d62ac31589ad3117 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-03-13Updates for more code coveragedglFromAtt5-38/+152
Change-Id: I1fabe986870a0dd8cc3443fa4b62409b37281669 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-1095
2019-03-13Correct return code checkdglFromAtt1-2/+2
Change-Id: I0219e82555128d8852d52c6224fef5aa930888e9 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-1095
2019-03-04Allow POST dr_sub using FeedNamedglFromAtt2-1/+56
Change-Id: I7237755d265fc14205d3c04173d170c250be4817 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-1045
2019-02-20Added new fields to dr_sub APIdglFromAtt1-21/+36
for ONAP: privilegedSubscriber for AT&T: guaranteed_delivery, guaranteed_sequence also used this opportunity to move info about properties into README file patchset 2: increment version patchset 3: more try{}catch around reading fields from JSON . Boolean fields are fragile. Change-Id: Idc7353aaa660c180c1079f9ff61c7d55c41d4170 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-1033 Signed-off-by: dglFromAtt <dgl@research.att.com>
2019-01-23Junit for AafUserRoleDriptaroop Das1-0/+35
Junit for AafUserRole Issue-ID: DMAAP-993 Change-Id: Iaf9f466f2dc1d8eb04eeed75da61996dc263d6a3 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-14Junit for Fqdn.javaDriptaroop Das1-0/+33
Junit for Fqdn.java Issue-ID: DMAAP-962 Change-Id: Iccfd60f2de138ad786de3e6c1ee97b4f4886bca6 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-07Stop referencing unused propertiesdglFromAtt1-2/+32
A few fields for dmaap object were still being set assuming that values came from properties file. Furthermore, a private variable in the DmaapService class was not set to new value from request. Result was that lack of property caused topicNsRoot field to be null, and then the null was used to compose AAF action/instance values incorrectly. Also fixed some test code to initialize properly. Change-Id: Iffabf5728fdfb2f9496c7eb248cb1ed9e1cc1536 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-933 Signed-off-by: dglFromAtt <dgl@research.att.com>
2018-12-26Support kafka attributesdglFromAtt1-5/+0
Change-Id: I22a3183aeb0ed2d7553c7321e04e1f708813e2ce Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-920
2018-11-10Limit number of topics per mmagent whitelistdglFromAtt1-1/+1
Change-Id: Id91106072aa2cc843414db78d568ccd1ecd69657 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-880
2018-11-08Provision topics on mr_clustersdglFromAtt1-1/+1
Change-Id: I3f6bb1c46ea77bf5c4cd1ad2ed6339adb25fb0d0 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-879
2018-10-25Introduce useExisting query param for feeds/topicsdglFromAtt2-4/+4
Change-Id: I0eb7000cff801a7fb622c70d4621458fe3574fed Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-878
2018-10-23Address CLM violationsdglFromAtt1-2/+16
Change-Id: Id7afff65de1a4c32c95da8ea359d7f97b025cf63 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-656
2018-09-19Raise unit test coverage over 50%dglFromAtt5-4/+423
Change-Id: I54ac2797b5a02e41e2c066829b029a8ede4ed1de Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-800 Signed-off-by: dglFromAtt <dgl@research.att.com>
2018-07-25Alternative MR replication methoddglFromAtt3-99/+3
This introduces a new set of replication rules for topics: REPLICATION_EDGE_TO_FQDN REPLICATION_FQDN_TO_EDGE REPLICATION_EDFE_TO_FQDN_TO_GLOBAL REPLICTION_GLOBAL_TO_FQDN_TO_EDGE This will allow for some apps to design their own message replication path for resiliency because it will use the FQDN of the cluster instead of the using the CNAME. Also contains: - introduce (optional) replicationGroup field to mr_cluster - some cleanup of unused code. Change-Id: I063fb343af3f7bc17c88190563920afd84737ada Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-542
2018-05-24Changes for configurable kafka portsdglFromAtt1-1/+3
Change-Id: I6b646785584aea75809aa2dae4a36e701e313058 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-506
2018-04-19Fix cluster object to use http portdglFromAtt2-5/+1
Change-Id: I8cf3f4caf4701be7fd95bb35f94f75592d7b4c05 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-295
2018-04-18Improve support for http to MRdglFromAtt5-11/+11
Change-Id: I9f15ae30f61964295903be41631e4a47b87e0c9c Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-295
2018-04-10Refactor code to support no AAF requestsdglFromAtt10-11/+21
Change-Id: Ib95ba2458eb9fab90013012718f708c15cbf9db3 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-320
2018-03-13Correct unit test ordering dependencydglFromAtt1-5/+5
Change-Id: I8d9a10854756ea04d5ba06251123510c0578f03b Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-331
2018-03-12More unit tests to pass 50%dglFromAtt37-67/+401
Also contains a fix to pom.xml for site deployment Change-Id: Ia419bafea523c8370bae2279076f4f2a170b33e1 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-326 Signed-off-by: dglFromAtt <dgl@research.att.com>
2018-02-28going the long way to mergedglFromAtt2-0/+137
Change-Id: I99cacbe27cc232e9ebd6ff68c90d439d4b2a785a Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-316 Signed-off-by: dglFromAtt <dgl@research.att.com>
2018-02-28including missing filesdglFromAtt34-24/+2977
Change-Id: I001fd699931a143cf455e4edb5c81002200dde96 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-316
2018-02-15Automated test coverage codeDominic Lunanuova13-0/+1156
Model tests Service tests Change-Id: If25ffd98f2a7e0b567252669f1fe55f736e26e36 Issue-ID: DMAAP-103 Signed-off-by: Dominic Lunanuova <dgl@research.att.com>