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

Add ability to register multiple checks per service #59

Closed
vkostetski opened this issue Sep 4, 2015 · 3 comments
Closed

Add ability to register multiple checks per service #59

vkostetski opened this issue Sep 4, 2015 · 3 comments

Comments

@vkostetski
Copy link

This feature has not benn published in docs yet, but this request works fine:
Req: http://.../v1/agent/service/register
Body:
{
"ID": "crab_net",
"Name": "crab_net",
"Tags": [
"master",
"v1",
"crab"
],
"Address": "...",
"Port": 22037,
"Checks": [{
"HTTP": "http://127.0.0.1:22037",
"Interval": "10s"
},
{
"HTTP": "http://127.0.0.1:22038",
"Interval": "30s"
}]
}

More info: hashicorp/consul#230

@vkostetski vkostetski changed the title Add ability to register miltyply checks per service Add ability to register multiple checks per service Sep 4, 2015
@rickfast
Copy link
Owner

rickfast commented Sep 6, 2015

We can support this. I will try and find time this week to investigate. Pull requests welcome!

@gjesse
Copy link
Contributor

gjesse commented Sep 6, 2015

i'd be happy to take a crack at it, will have a bit of time this afternoon to check it out

rickfast added a commit that referenced this issue Sep 7, 2015
Add ability to register multiple checks per service. Fixes #59
@rickfast
Copy link
Owner

rickfast commented Sep 8, 2015

this feature is released in com.orbitz.consul:consul-client:0.9.10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants