From cab71df0d2aaa982e0f6a01c2e2b7c7cf80d5a7f Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Mon, 15 Apr 2024 11:26:16 +0200 Subject: [PATCH] added message as optional field --- .../geoportal/common/model/rest/StepExecutionRequest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 3f9ec0c..d6d1f86 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 @@ -1,5 +1,6 @@ package org.gcube.application.geoportal.common.model.rest; +import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import org.bson.Document; @@ -12,9 +13,10 @@ import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor -public class StepExecutionRequest implements StepExecutionInterface { +public class StepExecutionRequest { private String stepID; + @XmlAttribute(required = false) private String message; private Document options; }