summaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-03-22Fix sonar issues in messagerouter-messageserviceParshad Patel1-23/+26
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>
2019-03-20update MM agent APIsunil.unnava1-31/+11
Issue-ID: DMAAP-909 Change-Id: I07bbf3e2c7db7f5610511a8e8c8c3db37a74549c Signed-off-by: sunil.unnava <su622b@att.com>
2019-03-20update MM agent APIsunil.unnava1-9/+4
Issue-ID: DMAAP-909 Change-Id: Icbc25d691f4078a24b407c33e1518e06b62141d4 Signed-off-by: sunil.unnava <su622b@att.com>
2019-03-19update MM agent APIsunil.unnava1-288/+475
Issue-ID: DMAAP-908 Change-Id: Ie53c9042369fcfac9a4bc08f0e8541c432e792d0 Signed-off-by: sunil.unnava <su622b@att.com>
2019-01-16Merge "Sonar majior issues"Ram Koya1-2/+2
2019-01-16Merge changes I3027d53f,I1233ebccRam Koya2-2/+2
* changes: Sonar majior issues Sonar majior issues
2019-01-16DMaaPWebExceptionMapper - sonar fixesDriptaroop Das1-17/+7
DMaaPWebExceptionMapper - sonar fixes Issue-ID: DMAAP-966 Change-Id: Ic917d556650bc3b8612e9927dd0ed53b6050591c Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-11Sonar 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?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>
2019-01-11Sonar 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?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>
2019-01-10Sonar majior 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.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>
2018-12-06Fix for Kafka Consumer is not safe errorsunil unnava1-20/+1
Issue-ID: DMAAP-896 Change-Id: If3e93533b1d6f37ef7b2685c83e4785d62257ffa Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-12-05Fix for Kafka Consumer is not safe errorsunil unnava1-1/+25
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>
2018-10-24update the package namesunil unnava27-140/+140
Issue-ID: DMAAP-858 Change-Id: I59c824c2c913de32e59a7300e88fdffcdd7b32ed Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-10-24update the package namesunil unnava18-103/+102
Issue-ID: DMAAP-858 Change-Id: I4c9c2d32b645854fd5e46c134c9b07f6eb2d4d4b Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-10-15add AAF based on a flagsunil unnava1-2/+4
Issue-ID: DMAAP-849 Change-Id: I8f72ce6cd23bb1205fc6a1a54bd44bef8db0dfa8 Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-09-26Fix Sonar vulnerabilities and Bugssunil unnava5-17/+11
Issue-ID: DMAAP-824 Change-Id: I0ed2982158f717436ddf2e7c919fa0aa6df37b15 Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-09-20AAF integration modificationssunil unnava1-1/+1
Issue-ID: DMAAP-772 Change-Id: Ia343208e3a4bcecf1674413e387da1b9b8dfb594 Signed-off-by: sunil unnava <sunil.unnava@att.com>
2018-08-14add test cases after the kafka 11 upgrade changessunil unnava27-715/+1309
Issue-ID: DMAAP-527 Change-Id: I5accb52b74bdb504fdcda0030192dd28fe72ace4 Signed-off-by: sunil unnava <su622b@att.com>
2018-04-18 sonar majorissue for ServicePropertyService.javaSnigdha Sucharita Patra1-3/+0
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>
2018-04-17 sonar minor issue for MMRestService.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-17 sonar minor issue for MMRestService.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-17 sonarcritical issue for ConfigTool.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-17 sonar minor issue for MMRestService.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-17 sonar minor issue for TopicRestService.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-17 sonar minor issue for TopicRestService.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-17 sonar issue for ConfigTool.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-17 sonar issue for ConfigTool.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-17 sonar issue for ConfigTool.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-17 sonar issue for ConfigTool.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-06 sonar issue for ApiKeysRestService.java.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-06 sonar issue for ApiKeysRestService.java.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-06sonar issue for ConfigTool.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-06sonar issue for MMRestService.javaSnigdha Sucharita Patra1-1/+1
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>
2018-04-04removed the cookie checkv1.1.3su622b1-2/+1
Issue-ID: DMAAP-252 Change-Id: Id21b0e1350f5950c4dc307de456e1b09acdef163 Signed-off-by: su622b <sunil.unnava@att.com>
2018-03-22changes for docker deploymentsu622b2-1/+2
Issue-ID: DMAAP-338 Change-Id: I328cd941e493fa151383b12e008a1d220a242345 Signed-off-by: su622b <sunil.unnava@att.com>
2018-03-06testcases for code coverageSunil Unnava1-16/+5
Issue-ID: DMAAP-271 Change-Id: Ifee89b3800d0a78e7b7197ae0ea48dfbe7e37709 Signed-off-by: Sunil Unnava <su622b@att.com>
2018-03-06testcases for code coverageSunil Unnava3-20/+50
Issue-ID: DMAAP-271 Change-Id: Ifacdeeaca0176bf3a5e509cb0d27e7ec1e89bd8c Signed-off-by: Sunil Unnava <su622b@att.com>
2018-02-28changes for code coverageSunil Unnava4-490/+427
Issue-ID: DMAAP-271 Change-Id: Ib8fd245fdbe9ef3457e8303c5379977b237ec09a Signed-off-by: Sunil Unnava <su622b@att.com>
2018-02-21sonar critical issueSnigdha Sucharita Patra1-1/+1
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>
2018-02-07sonar critical for Exception HandlingSoumendu Sekhar Acharya1-1/+1
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>
2018-02-07sonar critical for Exception HandlingSoumendu Sekhar Acharya1-0/+1
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>
2018-01-31Merge "sonar critical for Exception Handling"varun gudisena1-2/+0
2017-12-21sonar critical for Exception HandlingSoumendu Sekhar Acharya1-2/+0
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>
2017-12-20sonar critical for Exception HandlingSoumendu Sekhar Acharya1-1/+0
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>
2017-12-20sonar critical for Exception HandlingSoumendu Sekhar Acharya1-1/+0
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>
2017-12-11sonar critical for Exception HandlingSoumendu Sekhar Acharya1-1/+0
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>
2017-12-11sonar blocker for NullPointerExceptionSoumendu Sekhar Acharya1-0/+2
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>
2017-12-08sonar critical for Exception handlingSoumendu Sekhar Acharya1-1/+0
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>
2017-12-08sonar critical for Exception handlingSoumendu Sekhar Acharya1-1/+0
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>
2017-12-07sonar critical for Exception handlingSoumendu Sekhar Acharya1-1/+0
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>