We need datacenter to be able to construct a DNS hostname for a consul service. Specifically, it has the form: {service_name}.service.{datacenter}.consul.
How are we solving the problem?
Add datacenter attribute to Node type.
Make get_cluster_service_nodes test meaningful by configuring 3 dummy endpoints without any healthchecks.
Checks
Please check these off before promoting the pull request to non-draft status.
What problem are we solving?
We need
datacenter
to be able to construct a DNS hostname for a consul service. Specifically, it has the form:{service_name}.service.{datacenter}.consul
.How are we solving the problem?
datacenter
attribute toNode
type.get_cluster_service_nodes
test meaningful by configuring 3 dummy endpoints without any healthchecks.Checks
Please check these off before promoting the pull request to non-draft status.