Skip to content

Commit

Permalink
EPMRPP-88602 migrate dates to Instant
Browse files Browse the repository at this point in the history
  • Loading branch information
grabsefx committed Apr 1, 2024
1 parent 4d97653 commit 696bfaf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.Instant;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
import lombok.Getter;
Expand All @@ -44,7 +45,7 @@ public class IndexLaunch {
private String launchName;

@JsonProperty("launchStartTime")
private Instant launchStartTime;
private LocalDateTime launchStartTime;

@JsonProperty("project")
private Long projectId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.Instant;
import java.time.LocalDateTime;
import java.util.Objects;
import lombok.Getter;
import lombok.Setter;
Expand All @@ -42,7 +43,7 @@ public class IndexLog {
private int logLevel;

@JsonProperty("logTime")
private Instant logTime;
private LocalDateTime logTime;

@JsonProperty("message")
private String message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.Instant;
import java.time.LocalDateTime;
import java.util.Set;
import lombok.Data;
import lombok.NoArgsConstructor;
Expand All @@ -41,7 +42,7 @@ public class IndexTestItem {
@JsonProperty("issueType")
private String issueTypeLocator;

private Instant startTime;
private LocalDateTime startTime;

@JsonProperty("logs")
private Set<IndexLog> logs;
Expand Down

0 comments on commit 696bfaf

Please sign in to comment.