@@ -0,0 +1,3154 @@
+// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.%0Apackage com.yahoo.vespa.hosted.node.admin.maintenance.servicedump;%0A%0Aimport com.fasterxml.jackson.annotation.JsonCreator;%0Aimport com.fasterxml.jackson.annotation.JsonGetter;%0Aimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;%0Aimport com.fasterxml.jackson.annotation.JsonInclude;%0Aimport com.fasterxml.jackson.annotation.JsonProperty;%0Aimport com.yahoo.vespa.hosted.node.admin.configserver.noderepository.reports.BaseReport;%0A%0A/**%0A * JSON representation of Vespa service dump report.%0A *%0A * @author bjorncs%0A */%0A@JsonInclude(JsonInclude.Include.NON_NULL)%0A@JsonIgnoreProperties(ignoreUnknown = true)%0Aclass ServiceDumpReport extends BaseReport %7B%0A%0A    public static final String REPORT_ID = %22serviceDump%22;%0A%0A    private static final String REQUESTED_AT_FIELD = %22requestedAt%22;%0A    private static final String STARTED_AT_FIELD = %22startedAt%22;%0A    private static final String COMPLETED_AT_FIELD = %22completedAt%22;%0A    private static final String FAILED_AT_FIELD = %22failedAt%22;%0A    private static final String LOCATION_FIELD = %22location%22;%0A    private static final String CONFIG_ID_FIELD = %22configId%22;%0A    private static final String EXPIRY_FIELD = %22expiry%22;%0A    private static final String ERROR_FIELD = %22error%22;%0A%0A    private final Long requestedAt;%0A    private final Long startedAt;%0A    private final Long completedAt;%0A    private final Long failedAt;%0A    private final String location;%0A    private final String configId;%0A    private final Long expiry;%0A    private final String error;%0A%0A    @JsonCreator%0A    public ServiceDumpReport(@JsonProperty(REQUESTED_AT_FIELD) Long requestedAt,%0A                             @JsonProperty(STARTED_AT_FIELD) Long startedAt,%0A                             @JsonProperty(COMPLETED_AT_FIELD) Long completedAt,%0A                             @JsonProperty(FAILED_AT_FIELD) Long failedAt,%0A                             @JsonProperty(LOCATION_FIELD) String location,%0A                             @JsonProperty(CONFIG_ID_FIELD) String configId,%0A                             @JsonProperty(EXPIRY_FIELD) Long expiry,%0A                             @JsonProperty(ERROR_FIELD) String error) %7B%0A        super(null, null);%0A        this.requestedAt = requestedAt;%0A        this.startedAt = startedAt;%0A        this.completedAt = completedAt;%0A        this.failedAt = failedAt;%0A        this.location = location;%0A        this.configId = configId;%0A        this.expiry = expiry;%0A        this.error = error;%0A    %7D%0A%0A    @JsonGetter(REQUESTED_AT_FIELD) public Long requestedAt() %7B return requestedAt; %7D%0A    @JsonGetter(STARTED_AT_FIELD) public Long startedAt() %7B return startedAt; %7D%0A    @JsonGetter(COMPLETED_AT_FIELD) public Long completedAt() %7B return completedAt; %7D%0A    @JsonGetter(FAILED_AT_FIELD) public Long failedAt() %7B return failedAt; %7D%0A    @JsonGetter(LOCATION_FIELD) public String location() %7B return location; %7D%0A    @JsonGetter(CONFIG_ID_FIELD) public String configId() %7B return configId; %7D%0A    @JsonGetter(EXPIRY_FIELD) public Long expiry() %7B return expiry; %7D%0A    @JsonGetter(ERROR_FIELD) public String error() %7B return error; %7D%0A%7D%0A

Introduce report type for service dump