summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/att/nsa/mr/client
AgeCommit message (Collapse)AuthorFilesLines
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-28Merge "Sonar major issues"varun gudisena1-1/+0
2018-03-28Merge "Sonar major issues"varun gudisena1-1/+1
2018-03-28Merge "Sonar major issues"varun gudisena1-1/+1
2018-03-28Merge "Sonar major issues"varun gudisena1-1/+1
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-MbOi32hFUzlqc5Vf&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/HostSelector.java Line No-57 Change-Id: I9c7b9d9f6765e61cf6dc34b6ea120e6fd23efa7a Issue-ID: DMAAP-363 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-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-MbPA32hFUzlqc5WZ&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/MRClientBuilders.java Line No-238 Change-Id: If5b14b4e2fe6964f4a02f980525b6bc1c8f95fdb Issue-ID: DMAAP-360 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-27Sonar 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-MbPN32hFUzlqc5W0&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/MRClientFactory.java Line-No:660 Change-Id: Ie0651eca33be07eff6bd67ab51488eaa72f4fb1e Issue-ID: DMAAP-357 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-27Sonar 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=AWE8fY-v-08if2a6yLVH&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/MRClientFactory.java Line-No:69 Change-Id: I130920f7125695cc9816cca8be671d7dc4f8188c Issue-ID: DMAAP-356 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-27Sonar 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-MbPA32hFUzlqc5Wa&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/MRClientBuilders.java Line-No:365 Change-Id: I523aab6449c47a78bc647f63bf1b41dc12ccb76f Issue-ID: DMAAP-354 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.unnava4-1375/+1485
Added new API to the DMaapClient Issue-ID: DMAAP-214 Change-Id: I4de2da7ca42ad1b5925a2df9d26672875dd15b10 Signed-off-by: sunil.unnava <su622b@att.com>
2017-12-13sonar critical for Exception handlingSoumendu Sekhar Acharya1-0/+1
Log this Exception Sonar Link: https:https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#severities=CRITICAL|resolved=false|assignees=soumendu Location: src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-259 Change-Id: I21d7b829a79efc028d60b44a08c3a688dc44dd9b Issue-ID: DMAAP-191 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
2017-12-13sonar critical for InterruptedExceptionSoumendu Sekhar Acharya1-0/+1
re-interrupted this method Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#severities=CRITICAL|assignees=soumendu|resolved=false Location: src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-167 Change-Id: Ic05056a67b3c446377277d27ad294e7fa9d68a02 Issue-ID: DMAAP-190 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
2017-12-08sonar critical for Use the original valueSoumendu Sekhar Acharya1-4/+5
Checked for non zero Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#assignees=__me__%2Csoumendu|resolved=false Location: src/main/java/com/att/nsa/mr/client/HostSelector.java Line No-70 Change-Id: I60f07f464c81deffd747d852f8388404b9e97f00 Issue-ID: DMAAP-180 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
2017-12-05Critical For Use the original value insteadSoumendu Sekhar Acharya1-1/+5
Checked non zero Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#resolved=false|assignees=soumendu|severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/HostSelector.java Line No-146 Change-Id: I58a059b919984d9b430878b1737a5a792e8f6bb0 Issue-ID: DMAAP-177 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
2017-12-05Critical For Use the original value insteadSoumendu Sekhar Acharya1-0/+2
Condition added Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#resolved=false|assignees=soumendu|severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/HostSelector.java Line No-69 Change-Id: Ic029c799efda27e975c409eac8a96b2c629da056 Issue-ID: DMAAP-176 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
2017-12-04Minor Java Code ConventionsSoumendu Sekhar Acharya1-1/+1
Move this variable to comply with Java Code Conventions Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#assignees=soumendu|severities=MINOR%2CCRITICAL Location: src/main/java/com/att/nsa/mr/client/MRClient.java Line No-37 Change-Id: I9822865dcf79e421c9fbdb2e61ca85293799458f Issue-ID: DMAAP-175 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
2017-09-23Merge "Fix for Sonar major issues"varun gudisena1-0/+1
2017-09-23Merge "Fix for Sonar major issues"varun gudisena1-0/+3
2017-09-23Merge "Fix for Sonar critical issues"varun gudisena1-1/+7
2017-09-23Merge "Fix for Sonar critical issues"varun gudisena1-0/+6
2017-09-23Merge "Fix for Sonar critical issues"varun gudisena1-6/+14
2017-09-22Merge "Fix for Sonar critical issues"varun gudisena1-0/+5
2017-09-18Fix for Sonar major issuesrama-huawei1-0/+1
DCAEGEN2-93 Change-Id: I375c8d92fdca567de1733c425f48d830fa1b53fd Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-15Fix for Sonar major issuesrama-huawei1-0/+3
DCAEGEN2-93 Change-Id: Id66801d334d098420c00b78fb0fb7deff0549ae8 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-14Fix for Sonar critical issuesrama-huawei1-1/+7
DCAEGEN2-93 Change-Id: I61258077212550b03eedf5387bb0282e2637dabe Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-14Fix for Sonar critical issuesrama-huawei1-0/+6
DCAEGEN2-93 Change-Id: I65ba03cca99c1aa5a845f6b5c026087a85eba2ba Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-14Fix for Sonar critical issuesrama-huawei1-6/+14
DCAEGEN2-93 Change-Id: I6218b9c02726591917f8a3ed7b4687acb974b559 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-14Fix for Sonar critical issuesrama-huawei1-0/+5
DCAEGEN2-93 Change-Id: If59e5c7626d94c6d7f420410913ea0a4c461a1a2 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-13Fix NullPointerException caused by null log objectLee, Tian (tl5884)1-0/+2
Only two of the three constructors in MRBaseClient class actually initialises the fLog object. When the one that doesn't is invoked, any invokations of the logger in the class and its sub-classes will result in a NullPointerException. Change-Id: I112e932f22679b190dc03d00dc8d7341f8a24aa4 Issue-Id: DMAAP-132 Signed-off-by: Lee, Tian (tl5884) <tianl@amdocs.com>
2017-08-31Revert package name changesVarun Gudisena20-0/+4941
Reverted package name changes to avoid any potential issues. Renamed maven group id only. Issue-id: DMAAP-74 Change-Id: I36c2aef063050c265640b79e6dc0e8ab7add8d22 Signed-off-by: Varun Gudisena <vg411h@att.com>