Remove jakarta imports from admin-client-jee resources

Closes #30308

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
This commit is contained in:
Stefan Guilhen 2024-06-12 09:41:39 -03:00 committed by Marek Posolda
parent a5cd6ed965
commit 8eda167312
8 changed files with 52 additions and 52 deletions

View file

@ -18,11 +18,11 @@
package org.keycloak.admin.client.resource; package org.keycloak.admin.client.resource;
import jakarta.ws.rs.Consumes; import javax.ws.rs.Consumes;
import jakarta.ws.rs.GET; import javax.ws.rs.GET;
import jakarta.ws.rs.PUT; import javax.ws.rs.PUT;
import jakarta.ws.rs.Produces; import javax.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType; import javax.ws.rs.core.MediaType;
import org.jboss.resteasy.annotations.cache.NoCache; import org.jboss.resteasy.annotations.cache.NoCache;
import org.keycloak.representations.idm.ClientTypesRepresentation; import org.keycloak.representations.idm.ClientTypesRepresentation;
@ -46,4 +46,4 @@ public interface ClientTypesResource {
@PUT @PUT
@Consumes(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON)
void updateClientTypes(final ClientTypesRepresentation clientTypes); void updateClientTypes(final ClientTypesRepresentation clientTypes);
} }

View file

@ -17,11 +17,11 @@
package org.keycloak.admin.client.resource; package org.keycloak.admin.client.resource;
import jakarta.ws.rs.DELETE; import javax.ws.rs.DELETE;
import jakarta.ws.rs.GET; import javax.ws.rs.GET;
import jakarta.ws.rs.Produces; import javax.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType; import javax.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response; import javax.ws.rs.core.Response;
import org.keycloak.representations.idm.IdentityProviderRepresentation; import org.keycloak.representations.idm.IdentityProviderRepresentation;
public interface OrganizationIdentityProviderResource { public interface OrganizationIdentityProviderResource {

View file

@ -19,14 +19,14 @@ package org.keycloak.admin.client.resource;
import java.util.List; import java.util.List;
import jakarta.ws.rs.Consumes; import javax.ws.rs.Consumes;
import jakarta.ws.rs.GET; import javax.ws.rs.GET;
import jakarta.ws.rs.POST; import javax.ws.rs.POST;
import jakarta.ws.rs.Path; import javax.ws.rs.Path;
import jakarta.ws.rs.PathParam; import javax.ws.rs.PathParam;
import jakarta.ws.rs.Produces; import javax.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType; import javax.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response; import javax.ws.rs.core.Response;
import org.keycloak.representations.idm.IdentityProviderRepresentation; import org.keycloak.representations.idm.IdentityProviderRepresentation;
public interface OrganizationIdentityProvidersResource { public interface OrganizationIdentityProvidersResource {

View file

@ -17,11 +17,11 @@
package org.keycloak.admin.client.resource; package org.keycloak.admin.client.resource;
import jakarta.ws.rs.DELETE; import javax.ws.rs.DELETE;
import jakarta.ws.rs.GET; import javax.ws.rs.GET;
import jakarta.ws.rs.Produces; import javax.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType; import javax.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response; import javax.ws.rs.core.Response;
import org.keycloak.representations.idm.UserRepresentation; import org.keycloak.representations.idm.UserRepresentation;
public interface OrganizationMemberResource { public interface OrganizationMemberResource {

View file

@ -19,16 +19,16 @@ package org.keycloak.admin.client.resource;
import java.util.List; import java.util.List;
import jakarta.ws.rs.Consumes; import javax.ws.rs.Consumes;
import jakarta.ws.rs.FormParam; import javax.ws.rs.FormParam;
import jakarta.ws.rs.GET; import javax.ws.rs.GET;
import jakarta.ws.rs.POST; import javax.ws.rs.POST;
import jakarta.ws.rs.Path; import javax.ws.rs.Path;
import jakarta.ws.rs.PathParam; import javax.ws.rs.PathParam;
import jakarta.ws.rs.Produces; import javax.ws.rs.Produces;
import jakarta.ws.rs.QueryParam; import javax.ws.rs.QueryParam;
import jakarta.ws.rs.core.MediaType; import javax.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response; import javax.ws.rs.core.Response;
import org.keycloak.representations.idm.OrganizationRepresentation; import org.keycloak.representations.idm.OrganizationRepresentation;
import org.keycloak.representations.idm.UserRepresentation; import org.keycloak.representations.idm.UserRepresentation;

View file

@ -17,14 +17,14 @@
package org.keycloak.admin.client.resource; package org.keycloak.admin.client.resource;
import jakarta.ws.rs.Consumes; import javax.ws.rs.Consumes;
import jakarta.ws.rs.DELETE; import javax.ws.rs.DELETE;
import jakarta.ws.rs.GET; import javax.ws.rs.GET;
import jakarta.ws.rs.PUT; import javax.ws.rs.PUT;
import jakarta.ws.rs.Path; import javax.ws.rs.Path;
import jakarta.ws.rs.Produces; import javax.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType; import javax.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response; import javax.ws.rs.core.Response;
import org.keycloak.representations.idm.OrganizationRepresentation; import org.keycloak.representations.idm.OrganizationRepresentation;
public interface OrganizationResource { public interface OrganizationResource {

View file

@ -19,15 +19,15 @@ package org.keycloak.admin.client.resource;
import java.util.List; import java.util.List;
import jakarta.ws.rs.Consumes; import javax.ws.rs.Consumes;
import jakarta.ws.rs.GET; import javax.ws.rs.GET;
import jakarta.ws.rs.POST; import javax.ws.rs.POST;
import jakarta.ws.rs.Path; import javax.ws.rs.Path;
import jakarta.ws.rs.PathParam; import javax.ws.rs.PathParam;
import jakarta.ws.rs.Produces; import javax.ws.rs.Produces;
import jakarta.ws.rs.QueryParam; import javax.ws.rs.QueryParam;
import jakarta.ws.rs.core.MediaType; import javax.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response; import javax.ws.rs.core.Response;
import org.keycloak.representations.idm.OrganizationRepresentation; import org.keycloak.representations.idm.OrganizationRepresentation;
public interface OrganizationsResource { public interface OrganizationsResource {

View file

@ -17,7 +17,6 @@
package org.keycloak.admin.client.resource; package org.keycloak.admin.client.resource;
import jakarta.ws.rs.DefaultValue;
import org.keycloak.representations.adapters.action.GlobalRequestResult; import org.keycloak.representations.adapters.action.GlobalRequestResult;
import org.keycloak.representations.idm.AdminEventRepresentation; import org.keycloak.representations.idm.AdminEventRepresentation;
import org.keycloak.representations.idm.ClientRepresentation; import org.keycloak.representations.idm.ClientRepresentation;
@ -31,6 +30,7 @@ import org.keycloak.representations.idm.RealmRepresentation;
import org.keycloak.representations.idm.TestLdapConnectionRepresentation; import org.keycloak.representations.idm.TestLdapConnectionRepresentation;
import javax.ws.rs.Consumes; import javax.ws.rs.Consumes;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.DELETE; import javax.ws.rs.DELETE;
import javax.ws.rs.FormParam; import javax.ws.rs.FormParam;
import javax.ws.rs.GET; import javax.ws.rs.GET;