diff --git a/src/main/java/org/gcube/datatransfer/resolver/parthenos/ParthenosRequest.java b/src/main/java/org/gcube/datatransfer/resolver/parthenos/ParthenosRequest.java index 7c99a77..fd184f9 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/parthenos/ParthenosRequest.java +++ b/src/main/java/org/gcube/datatransfer/resolver/parthenos/ParthenosRequest.java @@ -9,6 +9,8 @@ import lombok.NoArgsConstructor; import lombok.Setter; import lombok.ToString; +import com.fasterxml.jackson.annotation.JsonProperty; + /** * @@ -22,6 +24,7 @@ import lombok.ToString; @ToString public class ParthenosRequest { + @JsonProperty(value="entity_name", required=true) private String entity_name; } diff --git a/src/main/java/org/gcube/datatransfer/resolver/services/AnalyticsCreateResolver.java b/src/main/java/org/gcube/datatransfer/resolver/services/AnalyticsCreateResolver.java index ff5a479..f37b97b 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/services/AnalyticsCreateResolver.java +++ b/src/main/java/org/gcube/datatransfer/resolver/services/AnalyticsCreateResolver.java @@ -193,7 +193,6 @@ public class AnalyticsCreateResolver { if(index>0 && index