aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2021-12-14[DMAAP-CLIENT] Package upgrades for Jjakartaefiacor1-6/+10
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I92977c4a940cb164708a7baef53e384b54838370 Issue-ID: DMAAP-1691
2021-04-30Sonar issues review, fix properties constant name.sliard5-302/+271
Issue-ID: DMAAP-1585 Signed-off-by: sliard <samuel.liard@gmail.com> Change-Id: Ic8152c42bb708c825b345dcbd8ac6c240fff66dd
2021-04-15[DMAAP-CLIENT] First sonar issues review part2sliard49-5483/+4080
update Copyright informations fix checkstyle warning and fix code review comments remove Prop Issue-ID: DMAAP-1585 Change-Id: I445ca5d0888a555acbac70af7ed571be26d74f79 Signed-off-by: sliard <samuel.liard@gmail.com>
2021-04-12First sonar issues reviewsliard12-356/+291
Issue-ID: DMAAP-1585 Change-Id: I5dc4d3d4cab75f5fabcc8d4f351eac4d3ea50d17 Signed-off-by: sliard <samuel.liard@gmail.com>
2021-04-08http proxy settings need a different connectorRavi Pendurty1-4/+7
ApacheConnectorProvider supports the http proxy properties defined by DMAAP MR and not the default HttpUrlConnectorProvider Issue-ID: DMAAP-1548 Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com> Change-Id: Ie1cff823ff247133c69434110b04b8191b46a1f6 Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com>
2020-09-09fixes for security vulnerabilitiessu622b1-165/+0
Issue-ID: DMAAP-1488 Change-Id: I8626c29ac1d0fffbfa22d47460c10b232e3fae81 Signed-off-by: su622b <su622b@att.com>
2020-06-11read and set the jersey client propertiessu622b4-64/+109
Issue-ID: DMAAP-1443 Change-Id: I0f92536fa88c2d21a1467f6c92e162cbe46db85f Signed-off-by: su622b <su622b@att.com>
2019-11-26fix the code that determines when to publish batchsu622b1-1/+2
Issue-ID: DMAAP-1345 Change-Id: Ic297507a4faed4e109445f7a1fcb16435a1dc682 Signed-off-by: su622b <su622b@att.com>
2019-07-04code improvement5.0.2-ONAPelaltomicdzied2-27/+21
Change-Id: Idc402a05d24c89e5cafc3a4d4221ec2158876f0a Issue-ID: DMAAP-1229 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
2019-05-21Fix sonar issues in messagerouter/dmaapclientParshad Patel3-18/+10
Fix Replace the type specification in this constructor call with the diamond operator ("<>") Fix Either log or rethrow this exception Fix Merge this if statement with the enclosing one Fix Use isEmpty() to check whether the collection is empty or not Issue-ID: DMAAP-894 Change-Id: Ifb8800e032f285adb1c35ffe100e0b5be2b3cde2 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-05-13Fix too many constructor param in dmaapclientParshad Patel3-33/+125
Fix Constructor has 9 parameters, which is greater than 7 authorized sonar issue. Fix Constructor has 10 parameters, which is greater than 7 authorized sonar issue. Issue-ID: DMAAP-894 Change-Id: If961a064edc165df9f96c6c5e5432ae136de4a2d Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-05-10clean MR codebasesunil.unnava16-1347/+14
Issue-ID: DMAAP-1192 Change-Id: I5cc729c9a475cac859510b57542da546e1570c96 Signed-off-by: sunil.unnava <sunil.unnava@att.com>
2019-03-15Sonar fix too many method paramArindam Mondal3-25/+133
Issue-ID: DMAAP-1099 Change-Id: Id659edc743c76e8a56cbb39d0185bff5c50f36a3 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2019-02-11Merge "Sonar majior issues"sunil unnava1-1/+1
2019-01-29Sonar majior issuesSurendra Reddy Katam1-1/+1
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-MbPM32hFUzlqc5Wq&resolved=false&rules=squid%3AS2293&severities=MAJOR Location: src/main/java/org/onap/dmaap/mr/client/MRClientFactory.java Line No-351 Change-Id: I729b24bff9c8652d368410e8126bfd8c48711b69 Issue-ID: DMAAP-1011 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2019-01-24Sonar majior issuesSurendra Reddy Katam1-1/+1
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-MbQz32hFUzlqc5aO&resolved=false&rules=squid%3AS2293&severities=MAJOR Location: src/main/java/org/onap/dmaap/mr/client/impl/MRConsumerImpl.java Line No-244 Change-Id: I2b6debccff79fa50ea58369f5f90c327b854a27a Issue-ID: DMAAP-1003 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2019-01-24Sonar majior issuesSurendra Reddy Katam1-1/+1
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-MbQo32hFUzlqc5Zw&resolved=false&rules=squid%3AS2293&severities=MAJOR Location: src/main/java/org/onap/dmaap/mr/client/impl/MRConstants.java Line No-113 Change-Id: I2b9c7963a4518c99488c0c9ec5e33b1f280d446a Issue-ID: DMAAP-1002 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2019-01-23Sonar majior issuesSurendra Reddy Katam1-1/+1
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-MbRU32hFUzlqc5cJ&resolved=false&rules=squid%3AS2293&severities=MAJOR Location: src/main/java/org/onap/dmaap/mr/client/impl/MRMetaClient.java Line No-54 Change-Id: Ib8609e70e26ce817813e2b5017e4792751bb5071 Issue-ID: DMAAP-992 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2019-01-23Sonar majior issuesSurendra Reddy Katam1-1/+1
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-MbQH32hFUzlqc5YK&resolved=false&rules=squid%3AS2293&severities=MAJOR Location: src/main/java/org/onap/dmaap/mr/client/impl/MRBaseClient.java Line No-78 Change-Id: I3128c514cc10d9430afe06e1ebfe0916a9e1aac6 Issue-ID: DMAAP-991 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2019-01-23Sonar majior issuesSurendra Reddy Katam1-1/+1
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-MbO532hFUzlqc5Vm&resolved=false&rules=squid%3AS2293&severities=MAJOR Location: src/main/java/org/onap/dmaap/mr/client/MRClientBuilders.java Line No-211 Change-Id: I18ce520c4f3291d1376117268f119fbfa46c1a45 Issue-ID: DMAAP-990 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2019-01-22Sonar majior 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-MbPA32hFUzlqc5WY&resolved=false&severities=MAJOR Location: src/main/java/org/onap/dmaap/mr/client/MRClientBuilders.java Line No-152 Change-Id: I8e64ecb3f88df3e042f3c3cad249bb903ee24f95 Issue-ID: DMAAP-983 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2019-01-22Sonar majior issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbTp32hFUzlqc5gO&resolved=false&severities=MAJOR Location: src/main/java/org/onap/dmaap/mr/test/clients/SimpleExampleConsumer.java Line No-65 Change-Id: I19cca700779fd8ee86bf24f618f3c189eaad9438 Issue-ID: DMAAP-982 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2019-01-18removing unused imports from src and test classessawantmandar7-21/+1
Change-Id: I9d6ea81ca5ad34505bfb540658e063c83e7353de Signed-off-by: sawantmandar <ms5838@att.com> Issue-ID: DMAAP-975
2018-10-23update the package namesunil unnava48-128/+128
Issue-ID: DMAAP-858 Change-Id: Ia69621ea6ad2ec2ec525800af2a7d3f73aef82ed Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-09-14sonar fixes in MRClientFactory.javaasgar1-617/+630
Change-Id: Ic01e466f2a64bb02b614b48d13de65a7a48a8e74 Issue-ID: DMAAP-777 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-12couple of fixes in MRClientBuilders.javaasgar1-340/+406
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 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 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>