All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.convergence_platform.services.dto.ServiceStatusInfoDTO Maven / Gradle / Ivy

Go to download

Holds the common functionality needed by all Convergence Platform-based services written in Java.

The newest version!
package io.convergence_platform.services.dto;

import io.convergence_platform.common.responses.IApiResponseBody;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
public class ServiceStatusInfoDTO implements IApiResponseBody {
    @JsonProperty("service_name")
    private String serviceName;

    @JsonProperty("version_hash")
    private String versionHash;

    @JsonProperty("version")
    private String version;

    @JsonProperty("status")
    private String status;

    @JsonProperty("endpoints")
    private List endpoints;

    @JsonProperty("extra")
    private Map extra = new HashMap<>();

    @Override
    public String getResponseBodyType() {
        return "service_status";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy