summaryrefslogtreecommitdiffstats
path: root/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
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>
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-265 Change-Id: I376d45e5226bf100d9d36f4f209d04f603175099 Issue-ID: DMAAP-178 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
2017-10-03Improve coverage for dmaap messageservicesg481n1-131/+131
Modified content length interceptor class. Issue-ID: DMAAP-151 Change-Id: Ifeaa6f54032da583ec5df3b4b29078d1c4b8648a Signed-off-by: sg481n <sg481n@att.com>
2017-09-19Fix for Sonar Blocker issuesrama-huawei1-5/+9
NullPointerException might be thrown Replace the type specification on RHS side Iterate over the "entrySet" instead of the "keySet". The return type of this method should be an interface such as "Map" rather than the implementation "HashMap". DCAEGEN2-114 Change-Id: I84ef3e21cd426963f4f0ed726f5d8fa9979eb441 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-19Fix for Sonar Blocker issuesrama-huawei1-2/+4
NullPointerException might be thrown DCAEGEN2-114 Change-Id: I79d82683e71a913d4446f07fe41af2be7174e92b Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-19Fix for Sonar issuesrama-huawei1-118/+146
Removed the useless assignment to the local variables Fixed the null pointer exception issues Used isEmpty() method instead of size() method Defined a constant instead of duplicating the literals DCAEGEN2-114 Change-Id: I304c4f849dec64279bc4339bdb9f440b964ca37d Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-19Fix for Sonar blocker issuesrama-huawei1-2/+1
NullPointerException might be thrown as 'jsonObj' is null DCAEGEN2-114 Change-Id: I1b1a9b4c6e30a7bfe5a42ed47f0bf3e7134d4e03 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-08-31Revert package name changesVarun Gudisena25-0/+5605
Reverted package name changes to avoid any potential issues. Renamed maven group id only. Issue-id: DMAAP-74 Change-Id: I4ca4537d48e5723b2939148e5bd83645ee20dd30 Signed-off-by: Varun Gudisena <vg411h@att.com>