summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArul <arul.nambi@amdocs.com>2018-01-11 09:50:40 -0500
committerArul <arul.nambi@amdocs.com>2018-01-11 10:12:09 -0500
commit74d351a550b50ba963fa0db6053ed4bd501a9868 (patch)
treee38b9c0f3c4049eeeea1436019446797fe3ec56c
parent9eb9e258f0ab06a516f6d88d1aedc36fc22aeeaf (diff)
Fixing jenkins build
Clenaing up the snapshot versions and adding implementation for the getuserconfig Change-Id: I17aac0f10a614e5e2420287e5ac165f4b5870c9e Signed-off-by: Arul <arul.nambi@amdocs.com> Issue-ID: AAI-542
-rw-r--r--pom.xml6
-rw-r--r--src/main/java/org/onap/aai/sparky/security/portal/PortalRestAPIServiceImpl.java5
2 files changed, 5 insertions, 6 deletions
diff --git a/pom.xml b/pom.xml
index c04470b..d10d580 100644
--- a/pom.xml
+++ b/pom.xml
@@ -147,19 +147,19 @@
<dependency>
<groupId>org.onap.aai.logging-service</groupId>
<artifactId>common-logging</artifactId>
- <version>${project.version}</version>
+ <version>1.2.0</version>
</dependency>
<dependency>
<groupId>org.onap.aai.aai-common</groupId>
<artifactId>aai-schema</artifactId>
- <version>${project.version}</version>
+ <version>1.2.0</version>
</dependency>
<dependency>
<groupId>org.onap.aai</groupId>
<artifactId>rest-client</artifactId>
- <version>${project.version}</version>
+ <version>1.2.0</version>
</dependency>
<dependency>
diff --git a/src/main/java/org/onap/aai/sparky/security/portal/PortalRestAPIServiceImpl.java b/src/main/java/org/onap/aai/sparky/security/portal/PortalRestAPIServiceImpl.java
index a39a05a..3bfc7ea 100644
--- a/src/main/java/org/onap/aai/sparky/security/portal/PortalRestAPIServiceImpl.java
+++ b/src/main/java/org/onap/aai/sparky/security/portal/PortalRestAPIServiceImpl.java
@@ -217,10 +217,9 @@ public class PortalRestAPIServiceImpl implements IPortalRestAPIService {
return formatter.format(args);
}
- @Override
public List<EcompRole> getAvailableRoles(String requestedLoginId) throws PortalAPIException {
- // TODO Auto-generated method stub
- return null;
+ LOG.debug("Get available roles");
+ return UserManager.getRoles();
}
} \ No newline at end of file