upgrade jakarta

This commit is contained in:
Edouard DUPIN 2023-02-02 00:02:32 +01:00
parent 2ecc01d8d6
commit 6c63ecccf9
7 changed files with 22 additions and 22 deletions

View File

@ -2,7 +2,7 @@ package org.kar.karanage;
import java.net.URI; import java.net.URI;
import javax.ws.rs.core.UriBuilder; import jakarta.ws.rs.core.UriBuilder;
import org.glassfish.grizzly.http.server.HttpServer; import org.glassfish.grizzly.http.server.HttpServer;
import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory; import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory;

View File

@ -4,11 +4,11 @@ import java.io.File;
import java.util.List; import java.util.List;
import org.kar.archidata.annotation.security.PermitAll; import org.kar.archidata.annotation.security.PermitAll;
import javax.ws.rs.*; import jakarta.ws.rs.*;
import javax.ws.rs.core.CacheControl; import jakarta.ws.rs.core.CacheControl;
import javax.ws.rs.core.PathSegment; import jakarta.ws.rs.core.PathSegment;
import javax.ws.rs.core.Response; import jakarta.ws.rs.core.Response;
import javax.ws.rs.core.Response.ResponseBuilder; import jakarta.ws.rs.core.Response.ResponseBuilder;
import org.kar.archidata.api.FrontGeneric; import org.kar.archidata.api.FrontGeneric;
import org.kar.karanage.util.ConfigVariable; import org.kar.karanage.util.ConfigVariable;

View File

@ -1,9 +1,9 @@
package org.kar.karanage.api; package org.kar.karanage.api;
import org.kar.archidata.annotation.security.PermitAll; import org.kar.archidata.annotation.security.PermitAll;
import javax.ws.rs.core.Response; import jakarta.ws.rs.core.Response;
import javax.ws.rs.*; import jakarta.ws.rs.*;
import javax.ws.rs.core.MediaType; import jakarta.ws.rs.core.MediaType;
import org.kar.archidata.util.JWTWrapper; import org.kar.archidata.util.JWTWrapper;

View File

@ -6,7 +6,7 @@ import org.kar.archidata.WhereCondition;
import org.kar.karanage.model.DataLog; import org.kar.karanage.model.DataLog;
import org.kar.karanage.model.Group; import org.kar.karanage.model.Group;
import org.kar.karanage.model.MultipleLogElement; import org.kar.karanage.model.MultipleLogElement;
import javax.ws.rs.core.Response; import jakarta.ws.rs.core.Response;
import org.kar.archidata.annotation.SQLComment; import org.kar.archidata.annotation.SQLComment;
import org.kar.archidata.annotation.SQLCreateTime; import org.kar.archidata.annotation.SQLCreateTime;
@ -23,8 +23,8 @@ import org.kar.archidata.db.DBEntry;
import org.kar.archidata.exception.FailException; import org.kar.archidata.exception.FailException;
import org.kar.archidata.exception.InputException; import org.kar.archidata.exception.InputException;
import javax.ws.rs.*; import jakarta.ws.rs.*;
import javax.ws.rs.core.MediaType; import jakarta.ws.rs.core.MediaType;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;

View File

@ -5,15 +5,15 @@ import org.kar.archidata.WhereCondition;
import org.kar.karanage.model.StateInstant; import org.kar.karanage.model.StateInstant;
import org.kar.karanage.model.StateHistory; import org.kar.karanage.model.StateHistory;
import org.kar.karanage.model.Group; import org.kar.karanage.model.Group;
import javax.ws.rs.core.Response; import jakarta.ws.rs.core.Response;
import org.kar.archidata.annotation.security.PermitAll; import org.kar.archidata.annotation.security.PermitAll;
import org.kar.archidata.exception.FailException; import org.kar.archidata.exception.FailException;
import org.kar.archidata.exception.InputException; import org.kar.archidata.exception.InputException;
import javax.ws.rs.*; import jakarta.ws.rs.*;
import javax.ws.rs.core.MediaType; import jakarta.ws.rs.core.MediaType;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.time.Instant; import java.time.Instant;

View File

@ -5,15 +5,15 @@ import org.kar.archidata.WhereCondition;
import org.kar.karanage.model.StateInstant; import org.kar.karanage.model.StateInstant;
import org.kar.karanage.model.StateHistory; import org.kar.karanage.model.StateHistory;
import org.kar.karanage.model.Group; import org.kar.karanage.model.Group;
import javax.ws.rs.core.Response; import jakarta.ws.rs.core.Response;
import org.kar.archidata.annotation.security.PermitAll; import org.kar.archidata.annotation.security.PermitAll;
import org.kar.archidata.exception.FailException; import org.kar.archidata.exception.FailException;
import org.kar.archidata.exception.InputException; import org.kar.archidata.exception.InputException;
import javax.ws.rs.*; import jakarta.ws.rs.*;
import javax.ws.rs.core.MediaType; import jakarta.ws.rs.core.MediaType;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.time.Instant; import java.time.Instant;

View File

@ -6,10 +6,10 @@ import org.kar.karanage.model.UserKaranage;
import org.kar.archidata.SqlWrapper; import org.kar.archidata.SqlWrapper;
import org.kar.archidata.annotation.security.RolesAllowed; import org.kar.archidata.annotation.security.RolesAllowed;
import javax.ws.rs.*; import jakarta.ws.rs.*;
import javax.ws.rs.core.Context; import jakarta.ws.rs.core.Context;
import javax.ws.rs.core.MediaType; import jakarta.ws.rs.core.MediaType;
import javax.ws.rs.core.SecurityContext; import jakarta.ws.rs.core.SecurityContext;
import java.util.List; import java.util.List;