diff --git a/CHANGELOG.md b/CHANGELOG.md index 20462b2..e67f6bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm # Changelog for org.gcube.application.geoportal-service +## [v1.0.3] 2020-11-11 +Fixed HTTP method + ## [v1.0.2] 2020-11-11 Delete method Excluded upper bound release gCube 5 diff --git a/pom.xml b/pom.xml index 0ad09df..619ed18 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.gcube.application geoportal-service - 1.0.2 + 1.0.3 Geoportal Service war @@ -99,12 +99,12 @@ org.gcube.application geoportal-common - [1.0.0-SNAPSHOT,2.0.0) + [1.0.0,2.0.0) org.gcube.application geoportal-logic - [1.0.4-SNAPSHOT,2.0.0) + [1.0.4,2.0.0) diff --git a/src/main/java/org/gcube/application/geoportal/service/rest/Projects.java b/src/main/java/org/gcube/application/geoportal/service/rest/Projects.java index 668c52a..7839efd 100644 --- a/src/main/java/org/gcube/application/geoportal/service/rest/Projects.java +++ b/src/main/java/org/gcube/application/geoportal/service/rest/Projects.java @@ -4,6 +4,7 @@ import java.util.Collections; import java.util.List; import javax.ws.rs.Consumes; +import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT; @@ -112,7 +113,7 @@ public class Projects { // DELETE BY ID - @GET + @DELETE @Produces(MediaType.APPLICATION_JSON) @Path("{"+InterfaceConstants.Parameters.PROFILE_ID+"}/{"+InterfaceConstants.Parameters.PROJECT_ID+"}") public void delete(@PathParam(InterfaceConstants.Parameters.PROFILE_ID) String profile,