summaryrefslogtreecommitdiffstats
path: root/src/main/java/com
AgeCommit message (Collapse)AuthorFilesLines
2018-03-30Sonar 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-MbO932hFUzlqc5WD&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/MRClientBuilders.java Line No-301 Change-Id: Ifdfd6bba9c6acbd2f5c4a6d7731dce19873fa551 Issue-ID: DMAAP-372 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-30Sonar 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-MbO932hFUzlqc5WB&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/MRClientBuilders.java Line No-134 Change-Id: I05e679d6c02be2c55ad7e378d4c5eabe3569546a Issue-ID: DMAAP-371 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-30Sonar 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-MbPP32hFUzlqc5XD&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/MRClientFactory.java Line No-246 Change-Id: Ib75d5049b80817c65a4413b48863e0a78999d814 Issue-ID: DMAAP-370 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-03-29Sonar major 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-MbPQ32hFUzlqc5XE&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/MRClientFactory.java Line No-542 Change-Id: Ic99472c3dfaf1bdebdce09688f5a20ce0fa16e9c Issue-ID: DMAAP-369 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-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-MbSb32hFUzlqc5e-&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/dme/client/PreferredRouteReplyHandler.java Line No-69 Change-Id: I5b32ee4e9f038d10e28349c211e869e7e3ca9c12 Issue-ID: DMAAP-349 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-27Merge "Sonar critical issues"varun gudisena1-1/+1
2018-03-26Merge "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-MbSr32hFUzlqc5fN&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/dme/client/SimpleExampleConsumer.java Line No-84 Change-Id: I7deda0f00f4335d28bcad04ac878b1099e64d86e Issue-ID: DMAAP-345 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?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-MbSj32hFUzlqc5fB&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/dme/client/PreferredRouteRequestHandler.java Line No-49 Change-Id: I9444319b53f42ba87e5f99b43cbeb16a9692ab04 Issue-ID: DMAAP-343 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 Unnava4-101/+163
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.unnava7-1436/+1538
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-06Merge "Critical For Use the original value instead"varun gudisena1-1/+5
2017-12-06Merge "Critical For Use the original value instead"varun gudisena1-0/+2
2017-12-06Merge "Minor Java Code Conventions"varun gudisena1-1/+1
2017-12-06Merge "sonar critical for InterruptedException"varun gudisena1-0/+1
2017-12-06Merge "sonar critical for handling a caught exception"varun gudisena1-0/+1
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-12-04sonar critical for InterruptedExceptionSoumendu Sekhar Acharya1-0/+1
Either re-interrupt this method or rethrow the InterruptedException Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#assignees=soumendu|severities=CRITICAL Location: src/main/java/com/att/nsa/mr/test/clients/ConsolePublisher.java Line No-84 Change-Id: Idc03d7bdead85683faf09e10f0281e48a592da63 Issue-ID: DMAAP-174 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
2017-12-04sonar critical for handling a caught exceptionSoumendu Sekhar Acharya1-0/+1
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#assignees=soumendu Location: src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java Line No-81 Change-Id: I6005f83d74c9118d060bd4096bacfc8dd437af73 Issue-ID: DMAAP-173 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>