diff --git a/connector-sdk/document/src/main/java/io/camunda/document/store/InMemoryDocumentStore.java b/connector-sdk/document/src/main/java/io/camunda/document/store/InMemoryDocumentStore.java index e2d886bbc9..1ee5f12310 100644 --- a/connector-sdk/document/src/main/java/io/camunda/document/store/InMemoryDocumentStore.java +++ b/connector-sdk/document/src/main/java/io/camunda/document/store/InMemoryDocumentStore.java @@ -21,7 +21,7 @@ import io.camunda.zeebe.client.api.response.DocumentMetadata; import java.io.ByteArrayInputStream; import java.io.InputStream; -import java.time.ZonedDateTime; +import java.time.OffsetDateTime; import java.util.HashMap; import java.util.Map; import java.util.UUID; @@ -50,7 +50,7 @@ public String getContentType() { } @Override - public ZonedDateTime getExpiresAt() { + public OffsetDateTime getExpiresAt() { return null; } diff --git a/connector-sdk/jackson-datatype-document/src/main/java/io/camunda/connector/document/annotation/jackson/DocumentReferenceModel.java b/connector-sdk/jackson-datatype-document/src/main/java/io/camunda/connector/document/annotation/jackson/DocumentReferenceModel.java index e46eebd557..8e7ec49cad 100644 --- a/connector-sdk/jackson-datatype-document/src/main/java/io/camunda/connector/document/annotation/jackson/DocumentReferenceModel.java +++ b/connector-sdk/jackson-datatype-document/src/main/java/io/camunda/connector/document/annotation/jackson/DocumentReferenceModel.java @@ -28,7 +28,7 @@ import io.camunda.document.operation.DocumentOperation; import io.camunda.document.reference.DocumentReference; import io.camunda.zeebe.client.api.response.DocumentMetadata; -import java.time.ZonedDateTime; +import java.time.OffsetDateTime; import java.util.Map; import java.util.Optional; @@ -57,7 +57,7 @@ public sealed interface DocumentReferenceModel extends DocumentReference { @JsonInclude(Include.NON_EMPTY) record CamundaDocumentMetadataModel( String contentType, - ZonedDateTime expiresAt, + OffsetDateTime expiresAt, Long size, String fileName, Map customProperties) @@ -78,7 +78,7 @@ public String getContentType() { } @Override - public ZonedDateTime getExpiresAt() { + public OffsetDateTime getExpiresAt() { return expiresAt; }