Implementing the service
This commit is contained in:
parent
18f8fe6f91
commit
f0f9cfcd66
|
@ -1,6 +1,6 @@
|
||||||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
# Changelog for GOAT
|
# Changelog for Authorization Bridge
|
||||||
|
|
||||||
|
|
||||||
## [v1.0.0]
|
## [v1.0.0]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# GOAT (Get Old Authorization Token)
|
# Authorization Bridge
|
||||||
|
|
||||||
This service allows to obtain the old token if the user has a new token
|
This service allows to obtain the old token if the user has a new token
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Tell people how to cite this software.
|
||||||
|
|
||||||
|
|
||||||
@Manual{,
|
@Manual{,
|
||||||
title = {GOAT Get Old Authorization Token)},
|
title = {Authorization Bridge},
|
||||||
author = {{Frosini, Luca}},
|
author = {{Frosini, Luca}},
|
||||||
organization = {ISTI - CNR},
|
organization = {ISTI - CNR},
|
||||||
address = {Pisa, Italy},
|
address = {Pisa, Italy},
|
||||||
|
|
22
pom.xml
22
pom.xml
|
@ -9,7 +9,7 @@
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>goat</artifactId>
|
<artifactId>authorization-bridge</artifactId>
|
||||||
<version>1.0.0-SNAPSHOT</version>
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -26,8 +26,8 @@
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.distribution</groupId>
|
<groupId>org.gcube.distribution</groupId>
|
||||||
<artifactId>gcube-bom</artifactId>
|
<artifactId>gcube-smartgears-bom</artifactId>
|
||||||
<version>2.1.0-SNAPSHOT</version>
|
<version>2.2.0-SNAPSHOT</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
@ -48,8 +48,20 @@
|
||||||
<artifactId>common-authorization</artifactId>
|
<artifactId>common-authorization</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.core</groupId>
|
||||||
<artifactId>gxHTTP</artifactId>
|
<artifactId>common-scope</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.gcube.core</groupId>
|
||||||
|
<artifactId>common-smartgears-app</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.glassfish.jersey.containers</groupId>
|
||||||
|
<artifactId>jersey-container-servlet</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.glassfish.jersey.media</groupId>
|
||||||
|
<artifactId>jersey-media-multipart</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Test Dependencies -->
|
<!-- Test Dependencies -->
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
package org.gcube.common.authorization;
|
||||||
|
|
||||||
|
import javax.ws.rs.ApplicationPath;
|
||||||
|
|
||||||
|
import org.gcube.common.authorization.rest.Goat;
|
||||||
|
import org.glassfish.jersey.server.ResourceConfig;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
|
*/
|
||||||
|
@ApplicationPath("/")
|
||||||
|
public class ResourceInitializer extends ResourceConfig {
|
||||||
|
|
||||||
|
public ResourceInitializer() {
|
||||||
|
packages(Goat.class.getPackage().toString());
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,9 @@
|
||||||
|
package org.gcube.common.authorization.rest;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Luca Frosini (ISTI - CNR)
|
||||||
|
*/
|
||||||
|
|
||||||
|
public class Goat {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue