Perhaps the new model object needs to be like:
{code} FlatPushMessageInformation {
// like currently: @NotNull private String pushApplicationId;
private String rawJsonMessage; private String ipAddress; private String clientIdentifier;
private Date submitDate = new Date(); private Long appOpenCounter = 0L; private Date firstOpenDate; private Date lastOpenDate;
// this is new: private DeliveryState statue = PROCESSED; // is only changed to FAILED after the first failure
// this is than "removed"
private Long appOpenCounter = 0L; private Date firstOpenDate; private Date lastOpenDate;
private Integer servedVariants = 0; private Integer totalVariants = 0;
private Set<VariantMetricInformation> variantInformations = new HashSet<>(); // end of not relevant section
} {code} |
|