aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-07-04code improvement5.0.2-ONAPelaltomicdzied5-131/+126
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 Patel4-46/+157
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.unnava18-1360/+24
Issue-ID: DMAAP-1192 Change-Id: I5cc729c9a475cac859510b57542da546e1570c96 Signed-off-by: sunil.unnava <sunil.unnava@att.com>
2019-04-03add testcasessunil.unnava1-5/+28
Issue-ID: DMAAP-1147 Change-Id: Ia8bec69d04f49d2b05eda75f1c8b594c0b3f5b29 Signed-off-by: sunil.unnava <sunil.unnava@att.com>
2019-04-03add testcasessunil.unnava2-89/+357
Issue-ID: DMAAP-1147 Change-Id: I2e8f5fdf3aba2b3667b6bd505cd56e48798a465b Signed-off-by: sunil.unnava <sunil.unnava@att.com>
2019-03-18Merge "Sonar fix too many method param"sunil unnava4-30/+151
2019-03-15Sonar fix too many method paramArindam Mondal4-30/+151
Issue-ID: DMAAP-1099 Change-Id: Id659edc743c76e8a56cbb39d0185bff5c50f36a3 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2019-03-08updating test cases for more coveragesawantmandar2-3/+23
Issue-ID: DMAAP-1082 Change-Id: I529634793afeefb32ad3e8dfe2b79e66bc6e2d5d Signed-off-by: sawantmandar <ms5838@att.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 classessawantmandar32-139/+1
Change-Id: I9d6ea81ca5ad34505bfb540658e063c83e7353de Signed-off-by: sawantmandar <ms5838@att.com> Issue-ID: DMAAP-975
2019-01-18removed unused imports from the test classessawantmandar2-17/+0
Change-Id: If1d2a3338750f366b427ab0b903576ab1535a06a Signed-off-by: sawantmandar <ms5838@att.com> Issue-ID: DMAAP-975
2018-10-26update oparent to 1.2.1sunil unnava1-7/+7
Issue-ID: DMAAP-791 Change-Id: I2807172636c2ec815f15ef15a56f58b0ce25ba05 Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-10-23update the package namesunil unnava103-4349/+4349
Issue-ID: DMAAP-858 Change-Id: Ia69621ea6ad2ec2ec525800af2a7d3f73aef82ed Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-10-08one more case added in DmaapClientUtilTest.javaasgar1-1/+28
Change-Id: Ifaa597832166063a16f5b27c5cc9ad390dbe41b1 Issue-ID: DMAAP-838 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-10-08Merge "test file added for DmaapClientUtil.java"Ram Koya1-0/+58
2018-10-08test file added for DmaapClientUtil.javaasgar1-0/+58
Change-Id: Ic26fb72f380aa200042ee4f2b9688887bb9ad260 Issue-ID: DMAAP-838 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-10-08few more cases added to validatorutil.javaasgar1-26/+66
Change-Id: I544bec8b1da6f3fcc601eed109af923d0d97a3de Issue-ID: DMAAP-809 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-10-03added some more test cases for ValidatorUtil.javaasgar1-1/+68
Change-Id: I5b64b56f4d1cb713547d4c8ac121188932eaf4c2 Issue-ID: DMAAP-809 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-27added couple of cases for ValidatorUtil.javaasgar1-0/+37
Change-Id: I9be3ab9ef2b745c3b2fc54ff73a780fec176ec40 Issue-ID: DMAAP-809 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-25added some more test cases ValidatorUtilTest.javaasgar1-0/+79
Change-Id: Ia7a240aad73eff0c6d9944f845125677e6e5611b Issue-ID: DMAAP-809 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-20Test cases added for ValidatorUtil.javaasgar1-0/+92
Change-Id: I56e3559f56e1da8143e290d4d1748da2ceaf650d Issue-ID: DMAAP-809 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-14sonar fixes in MRClientFactory.javaasgar2-758/+768
Change-Id: Ic01e466f2a64bb02b614b48d13de65a7a48a8e74 Issue-ID: DMAAP-777 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-12couple of fixes in MRClientBuilders.javaasgar2-477/+541
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 unnava3-24/+9
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>