aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-09-27added couple of cases for ValidatorUtil.javaasgar1-0/+37
Change-Id: I9be3ab9ef2b745c3b2fc54ff73a780fec176ec40 Issue-ID: DMAAP-809 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-25added some more test cases ValidatorUtilTest.javaasgar1-0/+79
Change-Id: Ia7a240aad73eff0c6d9944f845125677e6e5611b Issue-ID: DMAAP-809 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-20Test cases added for ValidatorUtil.javaasgar1-0/+92
Change-Id: I56e3559f56e1da8143e290d4d1748da2ceaf650d Issue-ID: DMAAP-809 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-14sonar fixes in MRClientFactory.javaasgar2-758/+768
Change-Id: Ic01e466f2a64bb02b614b48d13de65a7a48a8e74 Issue-ID: DMAAP-777 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-12couple of fixes in MRClientBuilders.javaasgar2-477/+541
Change-Id: Iad8229ec47c2fc08390f203edeb51acd74058e61 Issue-ID: DMAAP-770 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-08-31Fix the typo error in the error message1.1.8sunil unnava1-1/+1
Issue-ID: DMAAP-688 Change-Id: I5457bf0829fa509e932e2e814ed4b9e9a21ce2e5 Signed-off-by: sunil unnava <su622b@att.com>
2018-08-31Remove the username/password checksunil unnava3-24/+9
Issue-ID: DMAAP-689 Change-Id: I1b6528bd3aaa2d9d117d0970444123a3c93ac597 Signed-off-by: sunil unnava <su622b@att.com>
2018-08-30Fixes for NullpointerExceptiones1.1.7sunil unnava3-9/+12
Issue-ID: DMAAP-686 Change-Id: Ida4c81c05399387009ca5ba39b659da1cb94c210 Signed-off-by: sunil unnava <su622b@att.com>
2018-08-23Sonar major issuesSurendra Reddy Katam1-4/+4
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbUO32hFUzlqc5g5&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/test/support/MRBatchingPublisherMock.java Line No- L54 L88 L154 L178 Change-Id: I74e590275efd6221f6395a9a28d4e73a0bb643a4 Issue-ID: DMAAP-633 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-23Sonar major issuesSurendra Reddy Katam1-5/+5
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbSz32hFUzlqc5fZ&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/dme/client/SimpleExamplePublisher.java Line No-125 Change-Id: I91d794bfea573e97831c773d4f7782998b08f76e Issue-ID: DMAAP-632 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-23Sonar major issuesSurendra Reddy Katam1-4/+4
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbUW32hFUzlqc5hE&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/test/support/MRConsumerMock.java Line No- L50 L87 L117 L129 Change-Id: Iaf782f51002731df3e7b64b0b71d76057ab416d0 Issue-ID: DMAAP-631 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-23Sonar major issuesSurendra Reddy Katam1-2/+2
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbU432hFUzlqc5hp&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/tools/MRCommandContext.java Line No- L39 L65 Change-Id: Ia158fb6890cfd5e5d8675ee144ca3119e097cb89 Issue-ID: DMAAP-630 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-23Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbU532hFUzlqc5hw&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/tools/MRCommandContext.java Line No-60 Change-Id: I5b579fc3648c422762cae9852a1f65af613d4a7e Issue-ID: DMAAP-629 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-21Sonar major issuesSurendra Reddy Katam1-2/+2
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbTf32hFUzlqc5gL&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/test/clients/SamplePublisher.java Line No- L77 L45 Change-Id: I240d7411f80a644b119f28271bf9ee13298f770f Issue-ID: DMAAP-620 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-21Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbVF32hFUzlqc5h5&resolved=false&rules=squid%3AS1155&severities=MAJOR Location: src/main/java/com/att/nsa/mr/tools/MessageCommand.java Line No-116 Change-Id: I0ffaf59ffef7638642b4ce9997c56974c2190d31 Issue-ID: DMAAP-619 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-21Sonar major issuesSurendra Reddy Katam1-3/+3
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbT632hFUzlqc5gr&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/test/clients/SimpleExamplePublisher.java Line No- L57 L62 L71 Change-Id: I4ac3ebea88d03147a54676cd5f9c77f274dfd87a Issue-ID: DMAAP-617 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-20Merge "Sonar major issues"Ram Koya1-2/+2
2018-08-20Sonar major issuesSurendra Reddy Katam1-2/+2
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbTX32hFUzlqc5f3&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java Line No- L44 L52 Change-Id: I3a2e2ce61aa27107bb4f70c22cd1b6fd5df6af21 Issue-ID: DMAAP-615 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-16Merge changes Ie8852caf,I9e9d1156Ram Koya2-2/+2
* changes: Sonar major issues Sonar major issues
2018-08-16Merge "Sonar major issues"Ram Koya1-1/+1
2018-08-16Sonar major issuesSurendra Reddy Katam1-6/+6
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbSM32hFUzlqc5es&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java Line No-L24 L29 L37 L40 L47 L50 Change-Id: I1ce6b3d5024c262e89db5c487a47ee006fd6eb30 Issue-ID: DMAAP-608 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-16Sonar major issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbSb32hFUzlqc5e5&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/dme/client/PreferredRouteReplyHandler.java Line No-59 Change-Id: I7cd496f4f7901fc2d0e84fbe4d52943a28988db7 Issue-ID: DMAAP-607 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-16Sonar major issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbST32hFUzlqc5ex&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java Line No-51 Change-Id: I14afd297b87f473eb5674280e961cb4c06179f3c Issue-ID: DMAAP-606 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-16Sonar major issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbST32hFUzlqc5ew&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java Line No-47 Change-Id: I84f659bc4ebd37f35f3e9e84f218878c059e19e4 Issue-ID: DMAAP-605 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-16Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbRu32hFUzlqc5ej&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-421 Change-Id: Ie8852caff9e0130aa9b69c4a410bf3949c66713f Issue-ID: DMAAP-604 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-16Sonar major issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbSS32hFUzlqc5ev&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java Line No-38 Change-Id: I9e9d1156a7852a9ffdea95b5eb4d40fddbd29f06 Issue-ID: DMAAP-602 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-14Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbRu32hFUzlqc5ei&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-238 Change-Id: I7896ced67ab12816b92fe972322dad4ff4558cf8 Issue-ID: DMAAP-589 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-13Merge "Sonar major issues"Ram Koya1-1/+1
2018-08-13Sonar major issuesSurendra Reddy Katam1-4/+0
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWFBqtmH-08if2a6yPKL&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-738 Change-Id: If1e94d7325011eb8acbc9fe25521675be7c7f10b Issue-ID: DMAAP-588 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-13Sonar major issuesSurendra Reddy Katam1-6/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWEpWaiz-08if2a6yEXI&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-750 Change-Id: I92e78361839e919776a756fa3280a4d89070b8b9 Issue-ID: DMAAP-587 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-13Sonar major issuesSurendra Reddy Katam1-5/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWE8fZBk-08if2a6yLVv&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-301 Change-Id: Iacbd0033271e8ce5391d3f06ad50c160a5f24cb3 Issue-ID: DMAAP-586 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-13Sonar major issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbRo32hFUzlqc5dp&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-797 Change-Id: I144634a122d5f9997ed74d324661f3950e36886c Issue-ID: DMAAP-585 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-13Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbRu32hFUzlqc5eg&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-180 Change-Id: I7f191d42a87ba5e70005ad282d3d8bbda71998f4 Issue-ID: DMAAP-584 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-10Sonar major issuesSurendra Reddy Katam1-2/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQH32hFUzlqc5YO&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java Line No-330 Change-Id: Ide8bc7472363646d5f73d8ae94f1d3b7ce3a1865 Issue-ID: DMAAP-576 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-09Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQb32hFUzlqc5Zk&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-137 Change-Id: Ia3464cd19af992d4d48885e5a2dc4a75b726f9e7 Issue-ID: DMAAP-574 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-09Sonar major issuesSurendra Reddy Katam1-1/+0
This block of commented-out lines of code should be removed Sonar link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWQDL3zlwGn37Jfbsse6&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/MRClientFactory.java Line No-525 Change-Id: I1a80b95e4606acdfa62e529aef7c41578a42792e Issue-ID: DMAAP-525 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-09Sonar major issuesSurendra Reddy Katam1-11/+0
This block of commented-out lines of code should be removed SonarLink: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQH32hFUzlqc5YO&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java Line No-338 Change-Id: I3504b07bb4bf281477000dfee48d4a7b00c23833 Issue-ID: DMAAP-572 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-08Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbOi32hFUzlqc5Vg&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/HostSelector.java Line No-130 Change-Id: Iab107c06d9463f42d34d98fff1073b4a358f7681 Issue-ID: DMAAP-567" Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-07Sonar critical issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sounar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWE8fY_t-08if2a6yLVP&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java Line No-327 Change-Id: I236ab91295afa11a7a0db9409bd00b6e3e4b4034 Issue-ID: DMAAP-563 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-07-24Merge "Use try-with-resources"Ram Koya1-3/+1
2018-07-23Fix bug with host failover functionalityLee, Tian (tl5884)1-0/+8
DMaaP client does not failover to next configured host when the current host returns an error status during event consumption. Change-Id: I117ab993c3badea819876943e446d9ab45fd2db8 Issue-ID: DMAAP-541 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2018-07-10Fix various Sonar issues in MRConsumerImplLee, Tian (tl5884)1-735/+621
Amendment 1: Restructure order of methods and fields according to Java convention. Amendment 2: Remove bug fix that was accidentally included. This will be committed in a separate commit. These changes do not affect the original functionality of the class. Change-Id: I974a5e3fa94ca184704c4e26636bcbbfb5ce3320 Issue-ID: DMAAP-540 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2018-07-10Use try-with-resourcesArindam Mondal1-3/+1
Issue-ID: DMAAP-539 Change-Id: Ic2c2eeb4ada3e05de695d108de37129a8aa39ad1 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2018-06-21JUnit against ToolsUtilMarcin Migdal2-2/+56
Found missing one Change-Id: Iee604b30e9b2dcdb88f42916b1be01bf3de965fe Issue-ID: DMAAP-518 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2018-06-14fixes for null pointer exceptionssunil unnava4-12/+245
Issue-ID: DMAAP-519 Change-Id: Ia32d0bd58c5f438b50e361221a96b988b00a1120 Signed-off-by: sunil unnava <su622b@att.com>
2018-04-11support for post requests with auth2.0.0-ONAPbeijing2.0.0-ONAPsu622b3-6/+12
Issue-ID: DMAAP-404 Change-Id: Iaa85ab5410472fca4dd6118d2a53efc1737609d5 Signed-off-by: su622b <sunil.unnava@att.com>
2018-04-09Merge "Sonar critical issues"varun gudisena1-1/+1
2018-04-09Merge "Sonar critical issues"varun gudisena1-0/+1
2018-04-09Merge "Sonar critical issues"varun gudisena1-1/+1
2018-04-09Support for post without authv1.1.5su622b2-0/+31
Issue-ID: DMAAP-399 Change-Id: I51f1ff8ed978e3e00fccd63edf421c794f6e7f32 Signed-off-by: su622b <sunil.unnava@att.com>