From fdabbe78d83a26c3ef3d4b237c316c3126d202d6 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Mon, 8 Apr 2024 17:19:37 +0200 Subject: [PATCH] - Added optional message to performStep method [#27192] --- geoportal-common/CHANGELOG.md | 3 +++ geoportal-common/pom.xml | 2 +- .../geoportal/common/model/rest/StepExecutionRequest.java | 1 + .../org/gcube/application/geoportal/common/rest/Projects.java | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/geoportal-common/CHANGELOG.md b/geoportal-common/CHANGELOG.md index 32515a0..e89b63c 100644 --- a/geoportal-common/CHANGELOG.md +++ b/geoportal-common/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog for org.gcube.application.geoportal-common +## [v1.1.0-SNAPSHOT] - 2024-04-08 +- Added optional message to performStep method [#27192] + ## [v1.0.13] - 2023-09-06 - Using parent range version [#25572] diff --git a/geoportal-common/pom.xml b/geoportal-common/pom.xml index 0472d43..b1dfa8f 100644 --- a/geoportal-common/pom.xml +++ b/geoportal-common/pom.xml @@ -3,7 +3,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 geoportal-common - 1.0.13 + 1.0.14-SNAPSHOT Geoportal Common diff --git a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/model/rest/StepExecutionRequest.java b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/model/rest/StepExecutionRequest.java index aff1dec..8033132 100644 --- a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/model/rest/StepExecutionRequest.java +++ b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/model/rest/StepExecutionRequest.java @@ -15,5 +15,6 @@ import lombok.NoArgsConstructor; public class StepExecutionRequest { private String stepID; + private String message; private Document options; } diff --git a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/rest/Projects.java b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/rest/Projects.java index df02750..71e631a 100644 --- a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/rest/Projects.java +++ b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/rest/Projects.java @@ -39,7 +39,7 @@ public interface Projects

{ public String queryForJSON(QueryRequest request)throws RemoteException; //Execution - public P performStep(String id, StepExecutionRequest request) throws RemoteException; + public P performStep(String id, String message, StepExecutionRequest request) throws RemoteException; //FileSets public P registerFileSet(String id, RegisterFileSetRequest req) throws RemoteException, InvalidRequestException;