diff options
author | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-09-10 16:12:20 +0530 |
---|---|---|
committer | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-09-10 16:12:20 +0530 |
commit | b457fb12230ebf43e350d37e6bed75e85a9d9920 (patch) | |
tree | b196e6fd97d4b4d029c6b603497a682285320f9a /src/main/java/com/att | |
parent | bd630a48890f7f3a565f07968fe9f87218c539fa (diff) |
Sonar Major issues
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&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java
Line No- L276 L619 L630
Change-Id: I697b1e3503fc1fe80e501ace74782c272faefc10
Issue-ID: DMAAP-763
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
Diffstat (limited to 'src/main/java/com/att')
-rw-r--r-- | src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java b/src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java index 3a707c4..571f004 100644 --- a/src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java +++ b/src/main/java/com/att/dmf/mr/service/impl/TopicServiceImpl.java @@ -273,7 +273,7 @@ public class TopicServiceImpl implements TopicService { */ - //key="admin"; + //LOGGER.info("key ==================== " + key); } @@ -616,7 +616,7 @@ public class TopicServiceImpl implements TopicService { // //// String permission = - // DMaaPAAFAuthenticator aaf = new DMaaPAAFAuthenticatorImpl(); + // String permission = aaf.aafPermissionString(topicName, "manage"); // if(!aaf.aafAuthentication(dmaapContext.getRequest(), permission)) // { @@ -627,7 +627,7 @@ public class TopicServiceImpl implements TopicService { // DMaaPResponseCode.ACCESS_NOT_PERMITTED.getResponseCode(), // errorMessages.getNotPermitted1()+" <Grant consume permissions> - // LOGGER.info(errRes); + // throw new DMaaPAccessDeniedException(errRes); // } // } |