From 5cd1ad5fbfddf43dfdbe6f6abf557f386437133d Mon Sep 17 00:00:00 2001 From: Puja Sharma Date: Tue, 5 Apr 2022 23:00:02 +0530 Subject: [PATCH] feat(jans-config-api): user mgmt endpoints --- jans-config-api/0 | 0 .../io/jans/configapi/rest/resource/auth/UserResource.java | 4 ++-- .../service/auth/{UserService.java => UsrService.java} | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 jans-config-api/0 rename jans-config-api/server/src/main/java/io/jans/configapi/service/auth/{UserService.java => UsrService.java} (96%) diff --git a/jans-config-api/0 b/jans-config-api/0 deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/jans-config-api/server/src/main/java/io/jans/configapi/rest/resource/auth/UserResource.java b/jans-config-api/server/src/main/java/io/jans/configapi/rest/resource/auth/UserResource.java index 069766057b2..ee2970f6d7e 100644 --- a/jans-config-api/server/src/main/java/io/jans/configapi/rest/resource/auth/UserResource.java +++ b/jans-config-api/server/src/main/java/io/jans/configapi/rest/resource/auth/UserResource.java @@ -11,7 +11,7 @@ import io.jans.as.common.model.common.User; import io.jans.configapi.core.rest.ProtectedApi; import io.jans.configapi.rest.model.SearchRequest; -import io.jans.configapi.service.auth.UserService; +import io.jans.configapi.service.auth.UsrService; import io.jans.configapi.util.ApiAccessConstants; import io.jans.configapi.util.ApiConstants; import io.jans.configapi.core.util.Jackson; @@ -42,7 +42,7 @@ public class UserResource extends BaseResource { Logger logger; @Inject - UserService userSrv; + UsrService userSrv; @GET @ProtectedApi(scopes = { ApiAccessConstants.USER_READ_ACCESS }) diff --git a/jans-config-api/server/src/main/java/io/jans/configapi/service/auth/UserService.java b/jans-config-api/server/src/main/java/io/jans/configapi/service/auth/UsrService.java similarity index 96% rename from jans-config-api/server/src/main/java/io/jans/configapi/service/auth/UserService.java rename to jans-config-api/server/src/main/java/io/jans/configapi/service/auth/UsrService.java index 1c9b5731694..40ddf1235c2 100644 --- a/jans-config-api/server/src/main/java/io/jans/configapi/service/auth/UserService.java +++ b/jans-config-api/server/src/main/java/io/jans/configapi/service/auth/UsrService.java @@ -7,6 +7,7 @@ package io.jans.configapi.service.auth; import io.jans.as.common.model.common.User; +import io.jans.as.common.service.common.UserService; import io.jans.as.common.util.AttributeConstants; import io.jans.as.model.config.StaticConfiguration; import io.jans.as.model.configuration.AppConfiguration; @@ -26,7 +27,7 @@ @ApplicationScoped @Named("userSrv") -public class UserService extends io.jans.as.common.service.common.UserService { +public class UsrService extends UserService { @Inject private Logger logger;