Age | Commit message (Collapse) | Author | Files | Lines |
|
Fix use try-with-resources, InterruptedException sonar issues
Issue-ID: DMAAP-687
Change-Id: Ia667169912df87cc77dc6bd78a6de454e6516881
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
|
|
Replace with the diamond operator
Sonar Link:
https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-Vab632hFUzlqc5oV&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/backends/memory/MemoryQueue.java
Line No:L46 L105 L172
Change-Id: Ifce2d0206e1a0898aa238a86259de7b41b2c8a23
Issue-ID: DMAAP-672
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
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-Vagy32hFUzlqc5sv&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/metrics/publisher/impl/DMaaPCambriaSimplerBatchPublisher.java
Line No:L309 L329 L340 L348
Change-Id: I7edf1c0b0e59c88d08d9a2b453f0cfb67f3e944a
Issue-ID: DMAAP-671
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
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=AWU41Wk4wGn37JfbyH1F&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/backends/kafka/KafkaLiveLockAvoider2.java
Line No:L70 L141
Change-Id: I44c5813ff366fafeff141346170c575bc352d160
Issue-ID: DMAAP-670
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
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-VafW32hFUzlqc5ra&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/metabroker/Topic.java
Line No:L42 L46 L51
Change-Id: I83778588cab9144217b64c88daf8996621ef14b6
Issue-ID: DMAAP-669
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
* changes:
Sonar Major issues
Sonar Major issues
|
|
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-Vaeo32hFUzlqc5rQ&resolved=false&rules=squid%3ACommentedOutCodeLine&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/exception/DMaaPWebExceptionMapper.java
Line No:L38 L55
Change-Id: Iebc8f526462c5a73fa43aade08558f456a24e7e8
Issue-ID: DMAAP-664
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
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-VadQ32hFUzlqc5qR&resolved=false&rules=squid%3ACommentedOutCodeLine&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/beans/DMaaPMetricsSet.java
Line No:L87 L89
Change-Id: Iae2f16ad47985cbb7401c427ed47ef7c6deaa076
Issue-ID: DMAAP-663
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
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-VagX32hFUzlqc5sH&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/metrics/publisher/impl/CambriaBaseClient.java
Line No- L34 L56 L60 L88
Change-Id: I642259537b5df7cf4655510535e272d8e2cf555a
Issue-ID: DMAAP-661
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
|
|
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-Vail32hFUzlqc5vB&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/security/impl/DMaaPMechIdAuthenticator.java
Line No: L28 L68
Change-Id: If4fc0644eb2ac96676f15c3b39ce53dcb151e6bf
Issue-ID: DMAAP-658
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
|
|
|
|
Issue-ID: DMAAP-628
Change-Id: I4514c82fd9a26677bbfe8502922619d11b57be47
Signed-off-by: sunil unnava <su622b@att.com>
|
|
* changes:
Sonar Major issues
Sonar Major issues
Sonar Major issues
|
|
Replace with the diamond operator
Sonar Link:
https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AWVrvBaZxOv3LmQdCiha&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/backends/kafka/KafkaPublisher.java
Line No:L45 L80 L96
Change-Id: I1ffa790aa3c088d25fe83669b0380dedc33ae234
Issue-ID: DMAAP-655
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
Replace with the diamond operator
Sonar Link:
https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-Vaf-32hFUzlqc5rw&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/metrics/publisher/CambriaPublisherUtility.java
Line No:L98
Change-Id: I027c9225d436fdd99375eb22b4c55468eaa5e705
Issue-ID: DMAAP-653
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
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.msgrtr%3Amsgrtr&open=AV4-VadZ32hFUzlqc5qX&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/beans/DMaaPNsaApiDb.java
Line No- L91 L103
Change-Id: I093fde71871e39a667a943b4f6386fe39769c4b1
Issue-ID: DMAAP-650
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
|
|
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-VafD32hFUzlqc5rW&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/listener/DME2EndPointLoader.java
Line No- L54
Change-Id: I2dffd5df21665ed488ac62f54b0cd663b02d88bb
Issue-ID: DMAAP-649
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
|
|
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-Vafp32hFUzlqc5ro&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/metrics/publisher/CambriaClient.java
Line No- L24 L28
Change-Id: I2ae6fa62452e936374e41d56609de98ce0d4f203
Issue-ID: DMAAP-648
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
|
|
* changes:
Sonar major issues
Sonar major issues
Sonar Major issues
|
|
Replace with the diamond operator
Sonar Link:
https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AWU41WhfwGn37JfbyHvK&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/beans/DMaaPCambriaLimiter.java
Line No:L68 L115
Change-Id: I6bae63d640729f1785d42e0dcefe0a6e90b96def
Issue-ID: DMAAP-645
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
Replace with the diamond operator
Sonar Link:
https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AWU41WkywGn37JfbyH0l&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/backends/kafka/KafkaPublisher.java
Line No:L181 184
Change-Id: I5bed2ad41a016229a177db7a4dfaff9bb19fa0f2
Issue-ID: DMAAP-644
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
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=AWU41WhOwGn37JfbyHuE&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/beans/DMaaPKafkaConsumerFactory.java
Line No:L49 L62 L66 L110 L199 L268 L271 L298
Change-Id: I39e2469211cf47642761fafe05e381b6fd1f91cf
Issue-ID: DMAAP-643
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
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-Vado32hFUzlqc5ql&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/beans/DMaaPZkConfigDb.java
Line No- L29 L45
Change-Id: I6326e075cd75e2d0f932ddb073239c9c142ed2b8
Issue-ID: DMAAP-642
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
|
|
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-Vada32hFUzlqc5qg&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/beans/DMaaPNsaApiDb.java
Line No- L26 L51 L55 L66 L82 L86 L112 L120
Change-Id: Ia68a15432466e0042377d5042968b7b213d15057
Issue-ID: DMAAP-641
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
|
|
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.msgrtr%3Amsgrtr&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/backends/memory/MemoryMetaBroker.java
Line No- L49 L51 L93
Change-Id: I7f0e0a4562a91d07969118bd6955bcfac6214f50
Issue-ID: DMAAP-640
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
|
|
Issue-ID: DMAAP-598
Change-Id: I79d269e157c88560ed54b194f449edad07cc96aa
Signed-off-by: sunil unnava <su622b@att.com>
|
|
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=AWU41WkywGn37JfbyH0q&resolved=false&rules=squid%3ACommentedOutCodeLine&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/backends/kafka/KafkaPublisher.java
Line No:L44 L79 L83 L87 L92 L97 L187 L203 L231 L234
Change-Id: I478277f42a305dfcd604fe4bd40a7377213356da
Issue-ID: DMAAP-635
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
Use isEmpty to check whether the collection is empty or not
Sonar Link:
https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-Vagz32hFUzlqc5s-&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/metrics/publisher/impl/DMaaPCambriaSimplerBatchPublisher.java
Line No:L189 L254 L276
Change-Id: I272279d7db44611b8339f166dcd5884ead4da1b0
Issue-ID: DMAAP-634
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
Issue-ID: DMAAP-626
Change-Id: Iee10b0e9a9fa14577e796dcd51cdda274dd807a8
Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
|
|
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=AWU41WkgwGn37JfbyHyq&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/backends/kafka/KafkaConsumerCache.java
Line No:L64 L117 L122 L271 L397 L407 L421 L431 L457 L552 L694 L748
Change-Id: Ib41bd0442e7dd9177f958ee3d7f47e8e9fdc241c
Issue-ID: DMAAP-621
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
Replace with the diamond operator
Sonar Link:
https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AWU41WkgwGn37JfbyHyq&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/backends/kafka/KafkaConsumerCache.java
Line No:L166 L395 L419 L463
Change-Id: Ie766fa53303bf45a4e028c5a557ce45f8e211f99
Issue-ID: DMAAP-616
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
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=AWU41WkrwGn37JfbyH0E&resolved=false
Location:
src/main/java/com/att/dmf/mr/backends/kafka/Kafka011Consumer.java
Line No:L45 L64 L129 L142 L261 L269 L283 L289 L363 L368 L377 L385 L399 L401
Change-Id: Id747f017cc0f09694181ce410c697895fcfafafa
Issue-ID: DMAAP-610
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
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=AWU41WkSwGn37JfbyHyc&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/backends/Publisher.java
Line No:L32 L98
Issue-ID: DMAAP-609
Change-Id: I73b5ac924bc51386a88caac7df23ebb8aaa31eb1
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
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=AWU41WkawGn37JfbyHyj&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/backends/Consumer.java
Line No: L80 L82 L103
Change-Id: I64380e4693373d1f4695c07757f524b021f95e87
Issue-ID: DMAAP-603
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
|
|
Issue-ID: DMAAP-592
Change-Id: I8555e3633222e3599b29dafd8fd0ec17bb426773
Signed-off-by: sunil unnava <su622b@att.com>
|
|
Issue-ID: DMAAP-592
Change-Id: I8164b3b8c0e99714d12b52d35c59c8bf37bc1766
Signed-off-by: sunil unnava <su622b@att.com>
|
|
Issue-ID: DMAAP-526
Change-Id: I477a8ee05fb3cdd76af726b6ca0d1a69aa9eef93
Signed-off-by: sunil unnava <su622b@att.com>
|
|
|
|
|
|
|
|
|
|
* changes:
sonar major for commented-out lines
sonar critical for conditional statement
sonar minor issue for unused import
sonar major issue for commented-out lines
sonar major issue for commented-out lines
sonar major issue for 2 statements per line
|
|
This block of commented-out lines of code should be removed
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Sahani_Naik&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&resolved=false
Location:
src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java
Line No-49
Change-Id: I6d43e55351c18bdbedae87a17fa2eb5f78ebd3a1
Issue-ID: DMAAP-481
Signed-off-by: Sahani Ravindrana Naik <sn00552219@techmahindra.com>
|
|
This line will not be executed conditionally; only the first line of this 2-line block will be. The rest will execute unconditionally
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Sahani_Naik&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&resolved=false
Location:
src/main/java/com/att/nsa/cambria/service/impl/TopicServiceImpl.java
Line No-166
Change-Id: I8e07515bb42960205f7f4982d99184cf946402ac
Issue-ID: DMAAP-480
Signed-off-by: Sahani Ravindrana Naik <sn00552219@techmahindra.com>
|
|
|
|
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-VaZ732hFUzlqc5lg&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/nsa/apiServer/metrics/cambria/DMaaPMetricsSender.java
Line No-182
Change-Id: Iaaa992fde4da4d74ec9ce8dca2c42909537ea909
Issue-ID: DMAAP-467
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
|
|
Remove this unused import 'com.att.nsa.drumlin.till.nv.rrNvReadable'
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Sahani_Naik&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&resolved=false
Location:
src/main/java/com/att/nsa/apiServer/metrics/cambria/DMaaPMetricsSender.java
Line No-43
Change-Id: Ida4d83cde56c0765debc27f6765dce1ad4ef03a4
Issue-ID: DMAAP-468
Signed-off-by: Sahani Ravindrana Naik <sn00552219@techmahindra.com>
|
|
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-VaZ732hFUzlqc5lg&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/nsa/apiServer/metrics/cambria/DMaaPMetricsSender.java
Line No-80
Change-Id: I5b5ac4044ae73d963c198a0737f200d2aca261a9
Issue-ID: DMAAP-466
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
|
|
Rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=SaurabhKumar26&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nas/cambria/resources/streamReaders/CambriaRawStreamReader.java
Line No. 131
Change-Id: I27409b296d30d3d2fee459f769b5eb06ec729ecc
Issue-ID: DMAAP-471
Signed-off-by: Saurabh Kumar26 <sk00552209@techmahindra.com>
|
|
added '{}' after if statement
Sonar Link:
https://sonar.onap.org/project/issues?assignees=SaurabhKumar26&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/cambria/beans/DMaaPKafkaConsumerFactory.java
Line No. 116
Change-Id: Icc24ec635035e9d62486bcd972263c5926d8b4e1
Issue-ID: DMAAP-470
Signed-off-by: Saurabh Kumar26 <sk00552209@techmahindra.com>
|