silas / node-consul

Consul client
https://www.npmjs.com/package/consul
MIT License
560 stars 83 forks source link

Add consul.catalog register/deregister #130

Closed gianricod closed 2 years ago

gianricod commented 2 years ago

Hello thanks for the work done this project

In our org to support consul-esm we need to register with the catalog (https://developer.hashicorp.com/consul/tutorials/developer-discovery/service-registration-external-services?optInFrom=learn)

This PR adds support for registering and de-registering entries with the catalog

I thought it would be nice to integrate them in the mainstream project.

thankjs gianrico

silas commented 2 years ago

Thanks for the PR!

Merged and pushed your change. Available in consul@1.1.0.