Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

ServiceHealth deserialize failed #473

@MickleWen

Description

@MickleWen

how can i define custome Service, because the response of "getHealthyServiceInstances" method loss "port" attributes?

com.fasterxml.jackson.databind.exc.ValueInstantiationException: Cannot construct instance of com.orbitz.consul.model.health.ImmutableService, problem: Cannot build Service, some of required attributes are not set [port]
at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 1344] (through reference chain: java.util.ArrayList[0]->com.orbitz.consul.model.health.ImmutableServiceHealth$Json["Service"])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions