- Added optional message to performStep method [#27192]

This commit is contained in:
Francesco Mangiacrapa 2024-04-08 17:19:37 +02:00
parent ede76d625b
commit fdabbe78d8
4 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,8 @@
# Changelog for org.gcube.application.geoportal-common # 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 ## [v1.0.13] - 2023-09-06
- Using parent range version [#25572] - Using parent range version [#25572]

View File

@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>geoportal-common</artifactId> <artifactId>geoportal-common</artifactId>
<version>1.0.13</version> <version>1.0.14-SNAPSHOT</version>
<name>Geoportal Common</name> <name>Geoportal Common</name>
<parent> <parent>

View File

@ -15,5 +15,6 @@ import lombok.NoArgsConstructor;
public class StepExecutionRequest { public class StepExecutionRequest {
private String stepID; private String stepID;
private String message;
private Document options; private Document options;
} }

View File

@ -39,7 +39,7 @@ public interface Projects<P extends Project> {
public String queryForJSON(QueryRequest request)throws RemoteException; public String queryForJSON(QueryRequest request)throws RemoteException;
//Execution //Execution
public P performStep(String id, StepExecutionRequest request) throws RemoteException; public P performStep(String id, String message, StepExecutionRequest request) throws RemoteException;
//FileSets //FileSets
public P registerFileSet(String id, RegisterFileSetRequest req) throws RemoteException, InvalidRequestException; public P registerFileSet(String id, RegisterFileSetRequest req) throws RemoteException, InvalidRequestException;