summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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 unnava5-14/+247
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-ONAPsu622b5-8/+14
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>
2018-04-09Support for post without authsu622b5-3/+46
Issue-ID: DMAAP-399 Change-Id: I0e769c5554a8adf7a606bebe1c23b35fbab9c82c Signed-off-by: su622b <sunil.unnava@att.com>
2018-04-09Sonar 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-MbUC32hFUzlqc5gx&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/test/clients/SimpleExamplePublisherWithResponse.java Line No-64 Change-Id: Ifc25038de09c95af253e40baa946a4aca9af66fb Issue-ID: DMAAP-397 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-04-06Fixes for response parsing errorsv1.1.4su622b4-75/+144
Issue-ID: DMAAP-396 Change-Id: I2d8fa85dfe5246d76cf4e2066f4c5e6859c4440f Signed-off-by: su622b <sunil.unnava@att.com>
2018-04-06Sonar 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-MbT632hFUzlqc5gn&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/dme/client/SimpleExamplePublisher.java Line No-49 Change-Id: Ic2e6f3634cd63906accfa6e6cb594506cffc4ab9 Issue-ID: DMAAP-395 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.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-MbPQ32hFUzlqc5XF&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/MRClientFactory.java Line No-565 Change-Id: I4f5b03efd3cbc885680ded0ec6a496c60ecc793e Issue-ID: DMAAP-385 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-MbO932hFUzlqc5WC&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/MRClientBuilders.java Line No-282 Change-Id: If2f14bde9756c3318cb98f4d6e352acf550dc20e Issue-ID: DMAAP-384 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-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-MbPQ32hFUzlqc5XH&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/MRClientFactory.java Line No-605 Change-Id: I4d2b43d8ae1585f6cd17b32d0c15987f9f5fe514 Issue-ID: DMAAP-380 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=AWE8fY-w-08if2a6yLVJ&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/MRClientFactory.java Line No-587 Change-Id: Id1ee9768298af3f33cd67352e863a5f0f083ba64 Issue-ID: DMAAP-378 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-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=AWFShR4Oof9FJ6jfXJqo&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java Line No-84 Change-Id: Ic9fe6369a1b892e5b42760f569278fd09463a803 Issue-ID: DMAAP-373 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-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