Commit 7ebd6258 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added index in dates

parent 08f3de00
...@@ -36,25 +36,27 @@ public class AnsibleResult { ...@@ -36,25 +36,27 @@ public class AnsibleResult {
@JsonProperty("changed") @JsonProperty("changed")
private Boolean changed; private Boolean changed;
@Indexed
@JsonProperty("end") @JsonProperty("end")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss.SSSSSS") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss.SSSSSS")
private Date end; private Date end;
@Indexed
@JsonProperty("start") @JsonProperty("start")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss.SSSSSS") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss.SSSSSS")
private Date start; private Date start;
@Indexed
@JsonProperty("delta") @JsonProperty("delta")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm:ss.SSSSSS") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm:ss.SSSSSS")
private Date delta; private Date delta;
@JsonProperty("stdout") @JsonProperty("stdout")
private String stdout; private String stdout;
@JsonProperty("stderr") @JsonProperty("stderr")
private String stderr; private String stderr;
@JsonProperty("cmd") @JsonProperty("cmd")
private List<String> cmd; private List<String> cmd;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment