summaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-05-10clean MR codebasesunil.unnava4-6/+3
Issue-ID: DMAAP-1192 Change-Id: Ic7cfa0af7ef6578be488025fe0e058d7e84dd403 Signed-off-by: sunil.unnava <sunil.unnava@att.com>
2019-04-16revert sonar fixsunil.unnava5-7/+7
Issue-ID: DMAAP-1169 Change-Id: Id81fc8e8acc485184fbe09b6b33aa050ba1daf21 Signed-off-by: sunil.unnava <sunil.unnava@att.com>
2019-04-16Merge "revert few sonar fixes"varun gudisena6-8/+8
2019-04-16revert few sonar fixessunil.unnava6-8/+8
Issue-ID: DMAAP-1169 Change-Id: I8e72f126c4b28550c18651ef7c972d2ac42cf0af Signed-off-by: sunil.unnava <sunil.unnava@att.com>
2019-04-11Merge "authorization check for auth topics"1.1.16varun gudisena1-1/+9
2019-04-11authorization check for auth topicssunil.unnava1-1/+9
Issue-ID: DMAAP-1160 Change-Id: Icdbaefecf8f07a2b0ad3fcc9b243df1072dd8579 Signed-off-by: sunil.unnava <sunil.unnava@att.com>
2019-04-08Fix sonar issues in dmaap-mr-filterParshad Patel2-14/+13
Fix A "NullPointerException" could be thrown; "jsonObj" is nullable here. Either log or rethrow this exception. Rename field "defaultLength" Issue-ID: DMAAP-894 Change-Id: I663eda653af6b2e092ba10e3fca44f86870d9ef1 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-04-03add testcasessunil.unnava1-39/+0
Issue-ID: DMAAP-1140 Change-Id: I249cf7b1b7f0692de224aee9b33aab8dbab20054 Signed-off-by: sunil.unnava <sunil.unnava@att.com>
2019-04-02add testcasessunil.unnava1-2/+3
Issue-ID: DMAAP-1140 Change-Id: Ib2a91bd5961050c11f20f8a10f856d21bcda7e30 Signed-off-by: sunil.unnava <sunil.unnava@att.com>
2019-04-02add testcasessunil.unnava1-8/+3
Issue-ID: DMAAP-1140 Change-Id: I6dce89a14f874e7788acd7bea1fd48ebaafed71e Signed-off-by: sunil.unnava <sunil.unnava@att.com>
2019-03-12Fix sonar issues in dmaap/messagerouter/msgrtrParshad Patel2-2/+2
Fix Remove this throw statement from this finally block issue Fix Cast one of the operands of this multiplication operation to a "long" issue Issue-ID: DMAAP-894 Change-Id: Ibd0f9a04e409f0de05e8cf42695188b0e8a1f201 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-02-14Fix sonar issue in dmaap-messagerouter-msgrtrParshad Patel5-4/+5
Fix Cast one of the operands of multiplication operation to a "long" Fix Either re-interrupt method or rethrow the "InterruptedException" Issue-ID: DMAAP-894 Change-Id: I150cdc8ac96a05799196ca27d683c0921a76fe92 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-02-11Merge "Blocker sonar fixes - DMaaPKafkaMetaBroker"sunil unnava1-15/+3
2019-02-11Merge changes Ie4716415,I6ce7ca81sunil unnava2-40/+40
* changes: Sonar majior issues Sonar majior issues
2019-01-31Fix sonar issues in dmaap-messagerouter-msgrtrParshad Patel3-17/+18
Fix Either re-interrupt this method or rethrow the "InterruptedException" issues Fix Either log or rethrow this exception issues Issue-ID: DMAAP-894 Change-Id: Ic0b296cf400c2529617e8ed9078ab370b10b623c Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-01-20Blocker sonar fixes - DMaaPKafkaMetaBrokerDriptaroop Das1-15/+3
Blocker sonar fixes - DMaaPKafkaMetaBroker Issue-ID: DMAAP-977 Change-Id: I0e43641fe727bc59752cf9b52042eb6e570b77ef Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-10Sonar majior 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.msgrtr%3Amsgrtr&open=AWU41WkrwGn37JfbyH0h&resolved=false&severities=MAJOR Location: src/main/java/org/onap/dmaap/dmf/mr/backends/kafka/Kafka011Consumer.java Line No-L116 L80 Change-Id: I8ece30c1fd0a0ff22ce50545befe32bcb5a733fc Issue-ID: DMAAP-957 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2019-01-10Sonar majior issuesSurendra Reddy Katam1-12/+12
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.msgrtr%3Amsgrtr&open=AWYBFCTAligbnTmNJUX3&resolved=false&severities=MAJOR Location: src/main/java/org/onap/dmaap/dmf/mr/service/impl/EventsServiceImpl.java Line No-L640 L653 L684 L701 L730 L859 Change-Id: I7369cfb186a2c906359d53b7c92b035039952280 Issue-ID: DMAAP-956 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2019-01-08Sonar majior issuesSurendra Reddy Katam1-8/+8
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.msgrtr%3Amsgrtr&open=AWU41WfawGn37JfbyHsv&resolved=false&severities=MAJOR Location: src/main/java/org/onap/dmaap/dmf/mr/utils/ConfigurationReader.java Line No:L191 L319 L328 L454 Change-Id: Ie4716415af32d8493b47dfd5262d06b8421ea551 Issue-ID: DMAAP-946 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2019-01-08Sonar majior issuesSurendra Reddy Katam1-32/+32
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.msgrtr%3Amsgrtr&open=AWYQhtCjligbnTmNJn5l&resolved=false&severities=MAJOR Location: src/main/java/org/onap/dmaap/dmf/mr/resources/CambriaOutboundEventStream.java Line No:L49 L176 L205 L268 Change-Id: I6ce7ca81e25f3c5c5f999992ff3e14eeeb198a23 Issue-ID: DMAAP-942 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-12-11add configurable default partitions and replicas1.1.15sunil unnava2-1/+17
Issue-ID: DMAAP-903 Change-Id: Iabb3da85c3e42ddf68d049e6a8164449f7be8296 Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-12-06Fix for Kafka Consumer is not safe error1.1.14sunil unnava1-3/+9
Issue-ID: DMAAP-896 Change-Id: I085dbad1248790796e220267cb3e603ecc6c1067 Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-10-24update the package namesunil unnava1-2/+2
Issue-ID: DMAAP-858 Change-Id: Ibdd47834abc5790aba6bfda940db41c46cc53d9a Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-10-23update the package name1.1.11sunil unnava96-358/+358
Issue-ID: DMAAP-858 Change-Id: I49ae6eb9c51a261b64b911e607fcbbca46c5423c Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-10-15enable/disable AAF using a flag1.1.10sunil unnava5-5/+21
Issue-ID: DMAAP-849 Change-Id: I9aa4cce6c9b484170e006866a58f99926b53e2fc Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-10-10fixes for sonar vulnerabilitiessunil unnava14-32/+61
Issue-ID: DMAAP-824 Change-Id: I15a693f443370f5fd03cf3ede2946afa6b7f1a3b Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-10-03Sonar 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.msgrtr%3Amsgrtr&open=AV4-VamJ32hFUzlqc50B&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java Line No-L188 Change-Id: I49b5a298bd36498d9d2bc6cf7ca31f03a4a7d8bf Issue-ID: DMAAP-835 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-10-03Sonar 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.msgrtr%3Amsgrtr&open=AV4-VamJ32hFUzlqc50A&resolved=false&severities=MAJOR LocationL: src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java Line No-L177 Change-Id: I7a65b89424ea14ffc3ae3eaad29dad029e56a060 Issue-ID: DMAAP-834 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-09-24Merge changes Ic282f482,I10fc7c7d,I00d8d5f7Ram Koya2-6/+6
* changes: Sonar Major issues Sonar Major issues Sonar Major issues
2018-09-24Sonar major issuesSumapriya Sarvepalli1-1/+1
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-ValM32hFUzlqc5zd&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/service/impl/UIServiceImpl.java Line No:L79 Change-Id: Ie5ccf2f20a1abe00076afc6c25c08d0ee01c65aa Issue-ID: DMAAP-822 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
2018-09-24Sonar 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.msgrtr%3Amsgrtr&open=AWX77U9WligbnTmNJMpH&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java Line No-L303 Change-Id: Ic282f482c7f03849ae94bea2416adc6eaa7f23af Issue-ID: DMAAP-821 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-09-24Sonar Major issuesSurendra Reddy Katam1-2/+2
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.msgrtr%3Amsgrtr&open=AV4-VamI32hFUzlqc5z-&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/utils/ConfigurationReader.java Line No- L167 L169 Change-Id: I10fc7c7de82d6015c852ebb7c11b43177b7da5f9 Issue-ID: DMAAP-820 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-09-24Sonar Major issuesSurendra Reddy Katam1-3/+3
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.msgrtr%3Amsgrtr&open=AWX77U9WligbnTmNJMpE&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java Line No- L108 L175 L267 Change-Id: I00d8d5f74ee9ba2aef6701f778de87095a1cc593 Issue-ID: DMAAP-819 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-09-24Sonar major issuesSumapriya Sarvepalli1-1/+1
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-VakK32hFUzlqc5wd&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/service/impl/BaseTransactionDbImpl.java Line No:L146 Change-Id: I0c11dcdb4a3a18fcd3f81777da9d950eeaa95ebd Issue-ID: DMAAP-818 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
2018-09-24Sonar major issuesSumapriya Sarvepalli1-1/+1
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-VaiY32hFUzlqc5u3&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/security/DMaaPAuthenticatorImpl.java Line No:L74 Change-Id: I13ef44f52feaf81c89137935d2abd04d213026cd Issue-ID: DMAAP-817 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
2018-09-24Sonar major issuesSumapriya Sarvepalli1-1/+1
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-VagX32hFUzlqc5sF&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/metrics/publisher/impl/CambriaBaseClient.java Line No:L74 Change-Id: I36867d6bff2e6409710ecaa3aeeccb9ba7d60d2c Issue-ID: DMAAP-816 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
2018-09-24Sonar major issuesSumapriya Sarvepalli1-1/+1
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-Vab632hFUzlqc5oU&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/backends/memory/MemoryQueue.java Line No:L47 Change-Id: I0fc8c1ca870dd4ece37bd7d6526537c87291a5e0 Issue-ID: DMAAP-815 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
2018-09-24Sonar major issuesSumapriya Sarvepalli1-2/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AWU41Wk7wGn37JfbyH1N&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/backends/kafka/Kafka011ConsumerUtil.java Line No:L28 Change-Id: I9953eee4ad330fd1752374ddb60387b1d374bd1f Issue-ID: DMAAP-814 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
2018-09-21Sonar Major issuesSurendra Reddy Katam1-4/+4
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.msgrtr%3Amsgrtr&open=AWU41Wi2wGn37JfbyHxf&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/service/impl/EventsServiceImpl.java Line No:L613 L623 L639 Change-Id: I0c880e87896a94a4bf15df439f03b48cee083f71 Issue-ID: DMAAP-813 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-09-21Sonar Major issuesSurendra Reddy Katam1-3/+3
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.msgrtr%3Amsgrtr&open=AWU41Wi2wGn37JfbyHxc&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/service/impl/EventsServiceImpl.java Line No-L526 L600 L603 Change-Id: I391aa522b7d288815248c57fd3a58280bc474aee Issue-ID: DMAAP-812 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-09-21Sonar Major issuesSurendra Reddy Katam1-3/+3
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.msgrtr%3Amsgrtr&open=AWU41Wi2wGn37JfbyHxZ&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/service/impl/EventsServiceImpl.java Line No-L492 L502 L512 Change-Id: Ia7d862cc50a14b77372257b89a4a3c1cb4b71194 Issue-ID: DMAAP-811 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-09-20Merge "Sonar Major issues"Ram Koya1-4/+4
2018-09-20Merge changes Ic7d570d6,I65961cf0,Ia09070d3Ram Koya1-9/+9
* changes: Sonar Major issues Sonar Major issues Sonar Major issues
2018-09-20Merge changes I61fe5ce8,I89758685,I6b215d2aRam Koya2-22/+22
* changes: Sonar Major issues Sonar Major issues Sonar Major issues
2018-09-20Sonar major issuesSumapriya Sarvepalli1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AWU41WlEwGn37JfbyH1c&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/backends/kafka/LockInstructionWatcher.java Line No:L72 Change-Id: I10bca0095845399938257b42909ef2ab1a88b3b6 Issue-ID: DMAAP-810 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
2018-09-20Sonar major issuesSumapriya Sarvepalli1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AWU41WkDwGn37JfbyHyR&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/backends/memory/MessageLogger.java Line No:L35 Change-Id: I023bfce21fcbb388ff063304b077150c18bc89ea Issue-ID: DMAAP-807 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
2018-09-20Sonar major issuesSumapriya Sarvepalli1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-Vad-32hFUzlqc5qp&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/constants/CambriaConstants.java Line No:L78 Change-Id: I097e444124d6139ca772a46ed1144c94abd31f5c Issue-ID: DMAAP-806 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
2018-09-20Sonar Major issuesSurendra Reddy Katam1-3/+3
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.msgrtr%3Amsgrtr&open=AWU41Wi2wGn37JfbyHxW&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/service/impl/EventsServiceImpl.java Line No-L379 L407 L489 Change-Id: I61fe5ce8021366e497b52e887ff2822d137350a2 Issue-ID: DMAAP-805 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-09-20Sonar Major issuesSurendra Reddy Katam1-16/+16
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.msgrtr%3Amsgrtr&open=AWU41WgPwGn37JfbyHtb&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java Line No-L482 L493 Change-Id: I897586855c5f6937fc27dadd4639a7bfd7e62629 Issue-ID: DMAAP-803 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-09-20Sonar Major issuesSurendra Reddy Katam1-3/+3
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.msgrtr%3Amsgrtr&open=AWU41WgPwGn37JfbyHtd&resolved=false&severities=MAJOR Location: src/main/java/com/att/dmf/mr/resources/CambriaOutboundEventStream.java Line No-L537 L541 L551 Change-Id: I6b215d2ace1626b2cb6f22347ff831f51f047e89 Issue-ID: DMAAP-802 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>