Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Fixed sonar code-smells/issues across this file.
Issue-ID: DMAAP-745
Change-Id: Ieefda5f0b36ca23ff2406cf298690a1376fedf06
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Fixed sonar issue, remove unused import
Issue-ID: DMAAP-744
Change-Id: I17ba87b04fe6caf56374e6cdef00b282b3ad0e5d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
|
|
Issue-ID: DMAAP-738
Change-Id: If1bb1885bc10b222b1d105500a2fe4278bb51fac
Signed-off-by: sunil unnava <su622b@att.com>
|
|
Issue-ID: DMAAP-738
Change-Id: I810dad9d71f6518025eb69f9f4c982da15badcbf
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=AWU41WlTwGn37JfbyH1f&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/mr/apiServer/metrics/cambria/DMaaPMetricsSender.java
Line No:L89 L182
Change-Id: I86b0fc2c1a831009a3d64f1b80a72c86c135514c
Issue-ID: DMAAP-727
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-VanG32hFUzlqc51m&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/mr/filter/ContentLengthFilter.java
Line No:L55 L113
Change-Id: I254a2d30becbf2cbd337c29c49ce35dfb04005fc
Issue-ID: DMAAP-725
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-VakB32hFUzlqc5wM&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/service/impl/ApiKeysServiceImpl.java
Line No:L57 L142 L168 L199
Change-Id: I21b259d0be16290668230857adb4b71346af6a6c
Issue-ID: DMAAP-708
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=AWU41WhXwGn37JfbyHux&resolved=false&rules=squid%3ACommentedOutCodeLine&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/beans/DMaaPKafkaMetaBroker.java
Line No:L53 L88 L92 L125 L129 L136 L141 L238 L244 L260 L268
Change-Id: Ic48d0d0fa4654e62142c274d0ac1fbb34283e178
Issue-ID: DMAAP-706
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=AWU41WiqwGn37JfbyHwE&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java
Line No-L48 L70 L76 L128 L196 L212 L216 L218 L233 L235 L253 L260 L270 L275 L286 L294 L506 L509 L511 L513 L519 L523 L564 L567 L574 L578 L582 L615 L618 L625 L629 L665 L667 L674 L678 L684
Change-Id: I8a7dc8982d54904ddc1fe16a0a7025e3b433c049
Issue-ID: DMAAP-705
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=AWU41WiVwGn37JfbyHvi&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/service/impl/AdminServiceImpl.java
Line No-45
Change-Id: I21d43d369ba4304158f771b343da682d76c95abe
Issue-ID: DMAAP-701
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
|
|
|
|
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-Vahj32hFUzlqc5uN&resolved=false&rules=squid%3ACommentedOutCodeLine&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/resources/streamReaders/CambriaRawStreamReader.java
Line No:L140
Change-Id: I2b70b55a5e369c0b16a9765fab17cbac4357790e
Issue-ID: DMAAP-684
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-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>
|