summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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