Age | Commit message (Collapse) | Author | Files | Lines |
|
Fix use a logger to log this exception issue
Fix a "NullPointerException" could be thrown issue
Issue-ID: DMAAP-894
Change-Id: I8e6b5c3495a9a4ca93cba45b7c632708885249e0
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
|
|
Issue-ID: DMAAP-909
Change-Id: I07bbf3e2c7db7f5610511a8e8c8c3db37a74549c
Signed-off-by: sunil.unnava <su622b@att.com>
|
|
Issue-ID: DMAAP-909
Change-Id: Icbc25d691f4078a24b407c33e1518e06b62141d4
Signed-off-by: sunil.unnava <su622b@att.com>
|
|
Issue-ID: DMAAP-908
Change-Id: Ie53c9042369fcfac9a4bc08f0e8541c432e792d0
Signed-off-by: sunil.unnava <su622b@att.com>
|
|
|
|
* changes:
Sonar majior issues
Sonar majior issues
|
|
DMaaPWebExceptionMapper - sonar fixes
Issue-ID: DMAAP-966
Change-Id: Ic917d556650bc3b8612e9927dd0ed53b6050591c
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.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.messageservice%3AdmaapMR1&open=AV5hThDU32hFUzlqeS3o&resolved=false&severities=MAJOR
Location:
src/main/java/org/onap/dmaap/service/MetricsRestService.java
Line No-L61
Change-Id: I3027d53f120e8fe0e33027ce0946e4017cdecac9
Issue-ID: DMAAP-960
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.messageservice%3AdmaapMR1&open=AV5hThCs32hFUzlqeS1O&resolved=false&severities=MAJOR
Location:
src/main/java/org/onap/dmaap/service/ApiKeysRestService.java
Line No-L71
Change-Id: I1233ebccb849f17e29675dca49b7a0a1b8c74847
Issue-ID: DMAAP-959
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.messageservice%3AdmaapMR1&open=AV5hThET32hFUzlqeS5P&resolved=false&severities=MAJOR
Location:
src/main/java/org/onap/dmaap/util/ContentLengthInterceptor.java
Line No-L46 L90
Change-Id: Icf880cd23378bd14b2a9139a88d264716e2be361
Issue-ID: DMAAP-958
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
|
|
Issue-ID: DMAAP-896
Change-Id: If3e93533b1d6f37ef7b2685c83e4785d62257ffa
Signed-off-by: sunil unnava <sunil.unnava@att.com>
|
|
Pre create a dummy topic and subscribe to it during first POST call for
posting a message to create __consumer_offsets topic
Issue-ID: DMAAP-896
Change-Id: I11f3f9b8764232bc7d4e9bb270d5d73fc280cb80
Signed-off-by: sunil unnava <sunil.unnava@att.com>
|
|
Issue-ID: DMAAP-858
Change-Id: I59c824c2c913de32e59a7300e88fdffcdd7b32ed
Signed-off-by: sunil unnava <sunil.unnava@att.com>
|
|
Issue-ID: DMAAP-858
Change-Id: I4c9c2d32b645854fd5e46c134c9b07f6eb2d4d4b
Signed-off-by: sunil unnava <sunil.unnava@att.com>
|
|
Issue-ID: DMAAP-849
Change-Id: I8f72ce6cd23bb1205fc6a1a54bd44bef8db0dfa8
Signed-off-by: sunil unnava <sunil.unnava@att.com>
|
|
Issue-ID: DMAAP-824
Change-Id: I0ed2982158f717436ddf2e7c919fa0aa6df37b15
Signed-off-by: sunil unnava <sunil.unnava@att.com>
|
|
Issue-ID: DMAAP-772
Change-Id: Ia343208e3a4bcecf1674413e387da1b9b8dfb594
Signed-off-by: sunil unnava <sunil.unnava@att.com>
|
|
Issue-ID: DMAAP-527
Change-Id: I5accb52b74bdb504fdcda0030192dd28fe72ace4
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=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThB132hFUzlqeS0y&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/nsa/dmaap/filemonitor/ServicePropertyService.java
Line No-38
Change-Id: Ib64aef9e5dbde1fffffc379e2d00d6adeb34e136
Issue-ID: DMAAP-427
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Remove the declaration of thrown exception 'com.att.nsa.cambria.CambriaApiException
sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AWGAn5o88TZzbCgU6clP&resolved=false&severities=MINOR
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-227
Change-Id: I9ddca4c9c887ffbc58eaa0709bbfbac61edcaa37
Issue-ID: DMAAP-425
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Remove the declaration of thrown exception'com.att.nsa.cambria.CambriaApiException
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AWGAn5o88TZzbCgU6clQ&resolved=false&severities=MINOR
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-291
Change-Id: I6f3d70c9b7f33493245c5ab6ac39835d35aaa3fc
Issue-ID: DMAAP-424
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThD632hFUzlqeS4j&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
Line no-354
Change-Id: I4db44c1288b1d07c01cc75e834a996832381ac20
Issue-ID: DMAAP-423
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Remove the declaration of thrown exception 'com.att.nsa.cambria.CambriaApiException', as it cannot be thrown from method's body
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AWGAn5o88TZzbCgU6clR&resolved=false&severities=MINOR
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-377
Change-Id: Ie267b119f51c24769e6c1da5bb48fa590dc7ab40
Issue-ID: DMAAP-422
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Remove the declaration of thrown exception 'com.att.nsa.security.ReadWriteSecuredResource
sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AWH8zNrTRGy6eclHC1Qz&resolved=false&severities=MINOR
Location:
src/main/java/com/att/nsa/dmaap/service/TopicRestService.java
Line No-527
Change-Id: I0b7e9fffdd9df002b817854a0a7aadfbb360ed94
Issue-ID: DMAAP-421
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Remove the declaration of thrown exception 'org.json.JSONException' which is a runtime exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThDc32hFUzlqeS3r&resolved=false&severities=MINOR
Location:
src/main/java/com/att/nsa/dmaap/service/TopicRestService.java
Line No-302
Change-Id: I44b91c8e0a485400fcaad7ef2e899ffa4d1d0dc1
Issue-ID: DMAAP-420
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Exception handlers should preserve the original exceptions
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThD632hFUzlqeS4i&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
Line No-350
Change-Id: I877c5cf13d73fbcb470875146b0a5746b30e53b6
Issue-ID: DMAAP-418
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Exception handlers should preserve the original exceptions
sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThD632hFUzlqeS4h&resolved=false&severities=CRITICAL
location:
src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
Line No-288
Change-Id: Id329fed6fb09461a16807684e53097de8213c456
Issue-ID: DMAAP-416
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThD632hFUzlqeS4g&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
Line No-242
Change-Id: Ic2ab5295238f3882d7efc7d5cb6428b2f8df90b9
Issue-ID: DMAAP-415
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThD632hFUzlqeS4f&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
Line No-206
Change-Id: If02b769d3cfc6d1701538aef939939cfa76c9337
Issue-ID: DMAAP-414
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Remove the declaration of thrown exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThCs32hFUzlqeS1N&resolved=false&severities=MINOR
Location:
src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java
Line No-195
Change-Id: I6c771a10b98ea999c928214205d8eb615d5b6be4
Issue-ID: DMAAP-394
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Remove the declaration of thrown exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThCr32hFUzlqeS1M&resolved=false&severities=MINOR
Location:
src/main/java/com/att/nsa/dmaap/service/ApiKeysRestService.java
Line No-163
Change-Id: Icc4bbba249b3e135c0794609c83ef9edcbe1901c
Issue-ID: DMAAP-393
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThD632hFUzlqeS4d&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
Line No-129
Change-Id: I5788872926495b1aa335d6ad88c89de69c9360c2
Issue-ID: DMAAP-392
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThDH32hFUzlqeS28&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-591
Change-Id: I008dd37720387d44fa2a3cae69578450ad311d93
Issue-ID: DMAAP-391
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
Issue-ID: DMAAP-252
Change-Id: Id21b0e1350f5950c4dc307de456e1b09acdef163
Signed-off-by: su622b <sunil.unnava@att.com>
|
|
Issue-ID: DMAAP-338
Change-Id: I328cd941e493fa151383b12e008a1d220a242345
Signed-off-by: su622b <sunil.unnava@att.com>
|
|
Issue-ID: DMAAP-271
Change-Id: Ifee89b3800d0a78e7b7197ae0ea48dfbe7e37709
Signed-off-by: Sunil Unnava <su622b@att.com>
|
|
Issue-ID: DMAAP-271
Change-Id: Ifacdeeaca0176bf3a5e509cb0d27e7ec1e89bd8c
Signed-off-by: Sunil Unnava <su622b@att.com>
|
|
Issue-ID: DMAAP-271
Change-Id: Ib8fd245fdbe9ef3457e8303c5379977b237ec09a
Signed-off-by: Sunil Unnava <su622b@att.com>
|
|
Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=Snigdha503415&id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1&open=AV5hThEb32hFUzlqeS5d&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/dmaap/util/DMaaPAuthFilter.java
Line No-66
Change-Id: Ifd99978ed4d0cbcce5fb78c7afed785f65b516c5
Issue-ID: DMAAP-311
Signed-off-by: Snigdha Sucharita Patra <sp00503415@techmahindra.com>
|
|
log this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#resolved=false|severities=CRITICAL|assignees=Soumendu
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-592
Change-Id: Ic7cdbe3a8efdfb89becf25265aac670244323bb9
Issue-ID: DMAAP-273
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
|
|
rethrow this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#resolved=false|severities=CRITICAL|assignees=__me__%2Csoumendu
Location:
src/main/java/com/att/nsa/dmaap/tools/ConfigTool.java
Line No-167
Change-Id: I6dcaab9274ec2fc00fab01b4a689d14e8d296ba3
Issue-ID: DMAAP-229
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
|
|
|
|
Use a logger to log this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#severities=CRITICAL|resolved=false|assignees=soumendu
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Change-Id: I9f9ac1a6239674a84ae0c3bdcaaf40909f593627
Issue-ID: DMAAP-187
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
|
|
Use a logger to log this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#assignees=soumendu|severities=CRITICAL|resolved=false
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-835
Change-Id: I8865b79b50007881bd0728ac2efbc288537f684d
Issue-ID: DMAAP-193
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
|
|
Use a logger to log this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#assignees=soumendu|severities=CRITICAL|resolved=false
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-1011
Change-Id: I0f1c7cbb78eba96957a605d8672770fc7b1a9a05
Issue-ID: DMAAP-188
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
|
|
Use a logger to log this Exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#assignees=soumendu|resolved=false
Location:src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-670
Change-Id: I8897ada9d4ab57e932daa58612374cbd8f860905
Issue-ID: DMAAP-185
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
|
|
NullPointerException might be thrown as 'filePath' is nullable
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#resolved=false|severities=BLOCKER|assignees=soumendu
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-65
Change-Id: I042592bee40553f262baf5861ef61e8404f45a80
Issue-ID: DMAAP-184
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
|
|
Removed printStackTrace
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#severities=CRITICAL|assignees=soumendu
Line No-585
Change-Id: I81c3f1f19b566f5c74d6f2f5270cf26c31fc64db
Issue-ID: DMAAP-183
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
|
|
Removed printStackTrace
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#severities=CRITICAL|assignees=soumendu
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-423
Change-Id: I4f72501f3a01764e4a2769649e3ceaed039134dc
Issue-ID: DMAAP-182
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
|
|
Use a logger to log this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.messageservice%3AdmaapMR1#resolved=false|assignees=soumendu
Location:
src/main/java/com/att/nsa/dmaap/service/MMRestService.java
Line No-278
Change-Id: Iab0cde08d21f69903c8fc69684dd0976d866eb2b
Issue-ID: DMAAP-179
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
|