aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/att/nsa/mr/client/impl
AgeCommit message (Collapse)AuthorFilesLines
2018-10-23update the package namesunil unnava10-3188/+0
Issue-ID: DMAAP-858 Change-Id: Ia69621ea6ad2ec2ec525800af2a7d3f73aef82ed Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-08-31Remove the username/password checksunil unnava2-13/+8
Issue-ID: DMAAP-689 Change-Id: I1b6528bd3aaa2d9d117d0970444123a3c93ac597 Signed-off-by: sunil unnava <su622b@att.com>
2018-08-30Fixes for NullpointerExceptiones1.1.7sunil unnava1-0/+1
Issue-ID: DMAAP-686 Change-Id: Ida4c81c05399387009ca5ba39b659da1cb94c210 Signed-off-by: sunil unnava <su622b@att.com>
2018-08-16Merge changes Ie8852caf,I9e9d1156Ram Koya1-1/+1
* changes: Sonar major issues Sonar major issues
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-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-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-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-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-06-14fixes for null pointer exceptionssunil unnava2-5/+57
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-ONAPsu622b2-2/+8
Issue-ID: DMAAP-404 Change-Id: Iaa85ab5410472fca4dd6118d2a53efc1737609d5 Signed-off-by: su622b <sunil.unnava@att.com>
2018-04-09Merge "Sonar critical issues"varun gudisena1-0/+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>
2018-04-09Support for post without authsu622b3-1/+44
Issue-ID: DMAAP-399 Change-Id: I0e769c5554a8adf7a606bebe1c23b35fbab9c82c Signed-off-by: su622b <sunil.unnava@att.com>
2018-04-06Fixes for response parsing errorsv1.1.4su622b1-6/+6
Issue-ID: DMAAP-396 Change-Id: I2d8fa85dfe5246d76cf4e2066f4c5e6859c4440f Signed-off-by: su622b <sunil.unnava@att.com>
2018-04-06Sonar critical issuesSurendra Reddy Katam1-0/+1
Either re-interrupt this method or rethrow the InterruptedException Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbRr32hFUzlqc5eI&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-174 Change-Id: Ic9fd4b13bc0fd7c308b704f393b379f27b577391 Issue-ID: DMAAP-390 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-04-04Sonar critical issuesSurendra Reddy Katam1-1/+1
Define and throw a dedicated exception instead of using a generic one Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQa32hFUzlqc5Zc&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-78 Change-Id: Idc4d8db66d4f2f9399885f940404d02aaeec35be Issue-ID: DMAAP-383 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-04-03Sonar critical issuesSurendra Reddy Katam1-1/+1
Define and throw a dedicated exception instead of using a generic one Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQa32hFUzlqc5Zc&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-78 Change-Id: Ic9fa6e30b450ea1400be0cf8de237eeefdaeb34f Issue-ID: DMAAP-383 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-04-03Sonar critical issuesSurendra Reddy Katam1-1/+1
Define and throw a dedicated exception instead of using a generic one Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWEpWai0-08if2a6yEXQ&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-115 Change-Id: Icc1be632dc04090c0f8013e8aff0a51fe4dbb14c Issue-ID: DMAAP-382 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-04-03Sonar critical issuesSurendra Reddy Katam1-1/+1
Define and throw a dedicated exception instead of using a generic one Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQp32hFUzlqc5Z2&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRConstants.java Line No-47 Change-Id: If4112c62ebae83b70d6a6c657c07376738838af3 Issue-ID: DMAAP-381 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-04-02Sonar critical issuesSurendra Reddy Katam1-1/+1
Define and throw a dedicated exception instead of using a generic one Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWE97JSU-08if2a6yOTq&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-108 Change-Id: I6a2cd881b55e49dc05cd6160a04ba5389eae9c65 Issue-ID: DMAAP-379 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-04-02Sonar critical issuesSurendra Reddy Katam1-1/+1
Define and throw a dedicated exception instead of using a generic one Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbRs32hFUzlqc5eM&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-778 Change-Id: I3677fc5a44f66658c04dfcaefed974c748356bc9 Issue-ID: DMAAP-377 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-29Sonar 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=AV4-MbQo32hFUzlqc5Zx&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRConstants.java Line No-37 Change-Id: Ie2f97fe1542768bd97af09c4f6243332b0915cfc Issue-ID: DMAAP-368 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-29Sonar 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-MbQb32hFUzlqc5Zl&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-161 Change-Id: I19a085d5a602005807c56d75e2b5327050b311b2 Issue-ID: DMAAP-161 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-28Sonar 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=AV4-MbQH32hFUzlqc5YM&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java Line No-47 Change-Id: Ic168f908a0ac740ec152702a66f6ddb684b093b4 Issue-ID: DMAAP-365" Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-28Sonar 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-MbQb32hFUzlqc5Zn&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-416 Change-Id: Ie1f85185d60e29004111003a55664e5217cd6ced Issue-ID: DMAAP-362 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-28Sonar 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-MbQb32hFUzlqc5Zm&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-322 Change-Id: Ifa4a91a303f49be0c264a9af2498bf70b8056168 Issue-ID: DMAAP-361 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-27Sonar critical issuesSurendra Reddy Katam1-1/+1
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQa32hFUzlqc5Zb&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-446 Change-Id: I46196f92299226325817f9c1a391abc549959247 Issue-ID: DMAAP-351 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-27Sonar critical issuesSurendra Reddy Katam1-1/+1
Either log or rethrow this exception SOnar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQa32hFUzlqc5Za&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-462 Change-Id: I1bb8cad051834fb487f9cea04187f36a6877d88a Issue-ID: DMAAP-350 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-27Sonar critical issuesSurendra Reddy Katam1-1/+1
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQ-32hFUzlqc5bm&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java Line No:509 Change-Id: I15c417bc47ceac7c7001ba96d1796ef883700886 Issue-ID: DMAAP-348 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-27Merge "Sonar critical issues"varun gudisena1-1/+1
2018-03-26Merge "Sonar critical issues"varun gudisena1-1/+1
2018-03-26Sonar critical issuesSurendra Reddy Katam1-1/+1
Either log or rethrow this exception Sonar link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQ-32hFUzlqc5br&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java Line No-575 Change-Id: Iec95e1b08f66254cd1e110a08db6ae9828ea2576 Issue-ID: DMAAP-344 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-26Sonar critical issuesSurendra Reddy Katam1-1/+1
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/project/issues?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQa32hFUzlqc5Zb&resolved=false&severities=CRITICAL Location src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-466 Change-Id: I541f1f66bc058519e628957d40c2faf0329a4e9c Issue-ID: DMAAP-342 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-24Merge "Sonar critical issues"varun gudisena1-1/+1
2018-03-23Sonar critical issuesSurendra Reddy Katam1-1/+1
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/project/issues?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQ932hFUzlqc5bh&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java Line No-299 Change-Id: I58f5ee5167c356350c7a8056cc489bb73c9fbfde Issue-ID: DMAAP-340 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-22Sonar critila issuesSurendra Reddy Katam1-0/+1
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWEpWaiA-08if2a6yEW5&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java Line No-258 Change-Id: Ia92c5b8cb5d31206502de2f8b2bacb85af2184e9 Issue-ID: DMAAP-339 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-06testcases for code coverageSunil Unnava2-95/+125
Issue-ID: DMAAP-271 Change-Id: I9b11a61d1098598f8dc6c687a10ebf765128d977 Signed-off-by: Sunil Unnava <su622b@att.com>
2018-01-31Merge "sonar critical for Exception handling"varun gudisena1-0/+1
2018-01-31Merge "sonar critical for InterruptedException"varun gudisena1-0/+1
2018-01-23Changes to the DMaap Clientsunil.unnava3-1071/+1068
Added new API to the DMaapClient Issue-ID: DMAAP-214 Change-Id: I4de2da7ca42ad1b5925a2df9d26672875dd15b10 Signed-off-by: sunil.unnava <su622b@att.com>