Ecwid / consul-api

Java client for Consul HTTP API
Apache License 2.0
416 stars 177 forks source link

Consul Connect Support #195

Open grantlittle opened 4 years ago

grantlittle commented 4 years ago

Is it possible within this library to support Consul Connect? When registering a service a specific attribute needs to be added

{
  "service": {
    "name": "redis",
    "port": 8000,
    "connect": {
      "native": true
    }
  }
}

I've had a look at the NewService model and I can't see the ability to set this field