testing porting to jakarta
This commit is contained in:
parent
d89f456247
commit
639f76cbe4
|
@ -1,7 +1,4 @@
|
||||||
{
|
{
|
||||||
// Usare IntelliSense per informazioni sui possibili attributi.
|
|
||||||
// Al passaggio del mouse vengono visualizzate le descrizioni degli attributi esistenti.
|
|
||||||
// Per altre informazioni, visitare: https://go.microsoft.com/fwlink/?linkid=830387
|
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[node]
|
[node]
|
||||||
mode = offline
|
mode = online
|
||||||
hostname = myhostname.isti.cnr.it
|
hostname = mb-lelii.isti.cnr.it
|
||||||
protocol= http
|
protocol= http
|
||||||
port = 8080
|
port = 8080
|
||||||
infrastructure = gcube
|
infrastructure = gcube
|
||||||
|
|
21
pom.xml
21
pom.xml
|
@ -47,6 +47,17 @@
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
|
<!-- <dependency>
|
||||||
|
<groupId>org.keycloak</groupId>
|
||||||
|
<artifactId>keycloak-admin-client-jakarta</artifactId>
|
||||||
|
<version>21.1.2</version>
|
||||||
|
</dependency>
|
||||||
|
-->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.aspectj</groupId>
|
||||||
|
<artifactId>aspectjrt</artifactId>
|
||||||
|
</dependency>
|
||||||
<!-- smartgears -->
|
<!-- smartgears -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.core</groupId>
|
<groupId>org.gcube.core</groupId>
|
||||||
|
@ -66,10 +77,6 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- jersey -->
|
<!-- jersey -->
|
||||||
<dependency>
|
|
||||||
<groupId>javax.ws.rs</groupId>
|
|
||||||
<artifactId>javax.ws.rs-api</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.glassfish.jersey.containers</groupId>
|
<groupId>org.glassfish.jersey.containers</groupId>
|
||||||
<artifactId>jersey-container-servlet</artifactId>
|
<artifactId>jersey-container-servlet</artifactId>
|
||||||
|
@ -80,11 +87,7 @@
|
||||||
<groupId>org.glassfish.jersey.inject</groupId>
|
<groupId>org.glassfish.jersey.inject</groupId>
|
||||||
<artifactId>jersey-cdi2-se</artifactId>
|
<artifactId>jersey-cdi2-se</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>javax.servlet</groupId>
|
|
||||||
<artifactId>javax.servlet-api</artifactId>
|
|
||||||
<version>3.0.1</version>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<!-- add jackson as json provider -->
|
<!-- add jackson as json provider -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -3,8 +3,8 @@ package org.gcube.service.helloworld;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import javax.ws.rs.ApplicationPath;
|
import jakarta.ws.rs.ApplicationPath;
|
||||||
import javax.ws.rs.core.Application;
|
import jakarta.ws.rs.core.Application;
|
||||||
|
|
||||||
import org.gcube.service.helloworld.services.AuthenticatedService;
|
import org.gcube.service.helloworld.services.AuthenticatedService;
|
||||||
import org.gcube.service.helloworld.services.ExcludeAuthorizationService;
|
import org.gcube.service.helloworld.services.ExcludeAuthorizationService;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package org.gcube.service.helloworld.services;
|
package org.gcube.service.helloworld.services;
|
||||||
|
|
||||||
import javax.ws.rs.GET;
|
import jakarta.ws.rs.GET;
|
||||||
import javax.ws.rs.Path;
|
import jakarta.ws.rs.Path;
|
||||||
import javax.ws.rs.Produces;
|
import jakarta.ws.rs.Produces;
|
||||||
import javax.ws.rs.core.MediaType;
|
import jakarta.ws.rs.core.MediaType;
|
||||||
|
|
||||||
import org.gcube.common.authorization.control.annotations.AuthorizationControl;
|
import org.gcube.common.authorization.control.annotations.AuthorizationControl;
|
||||||
import org.gcube.common.security.providers.SecretManagerProvider;
|
import org.gcube.common.security.providers.SecretManagerProvider;
|
||||||
|
@ -11,7 +11,7 @@ import org.gcube.common.security.secrets.Secret;
|
||||||
import org.gcube.smartgears.utils.InnerMethodName;
|
import org.gcube.smartgears.utils.InnerMethodName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Lucio Le (ISTI - CNR)
|
* @author Lucio Lelii (ISTI - CNR)
|
||||||
* @author Alfredo Oliviero (ISTI - CNR)
|
* @author Alfredo Oliviero (ISTI - CNR)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package org.gcube.service.helloworld.services;
|
package org.gcube.service.helloworld.services;
|
||||||
|
|
||||||
import javax.ws.rs.GET;
|
import jakarta.ws.rs.GET;
|
||||||
import javax.ws.rs.Path;
|
import jakarta.ws.rs.Path;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
|
@ -3,11 +3,11 @@ package org.gcube.service.helloworld.services;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import javax.ws.rs.GET;
|
import jakarta.ws.rs.GET;
|
||||||
import javax.ws.rs.Path;
|
import jakarta.ws.rs.Path;
|
||||||
import javax.ws.rs.Produces;
|
import jakarta.ws.rs.Produces;
|
||||||
import javax.ws.rs.core.MediaType;
|
import jakarta.ws.rs.core.MediaType;
|
||||||
import javax.ws.rs.core.Response;
|
import jakarta.ws.rs.core.Response;
|
||||||
|
|
||||||
import org.gcube.common.security.Owner;
|
import org.gcube.common.security.Owner;
|
||||||
import org.gcube.common.security.providers.SecretManagerProvider;
|
import org.gcube.common.security.providers.SecretManagerProvider;
|
||||||
|
|
Loading…
Reference in New Issue