pierresouchay / consul-rust

Rust client libray for Consul HTTP API
Apache License 2.0
92 stars 48 forks source link

Added status API calls (leader, peers) and node service health checks, changed tag filtering #69

Open EmilienR opened 1 year ago

EmilienR commented 1 year ago

Hello,

I've added status API calls (https://developer.hashicorp.com/consul/api-docs/status) to check cluster status, changed the tag filtering method (use filter query parameter instead of tag, added filter variable in QueryOptions) and added node health check API calls (https://developer.hashicorp.com/consul/api-docs/health#list-checks-for-node).

Thanks,

Emilien

pierresouchay commented 1 year ago

Hello @EmilienR Can you rebase to avoid conflicts?

EmilienR commented 1 year ago

Hello @pierresouchay, I'm sorry I don't understand what is wrong ? I'm already based on the last master commit Thanks

pierresouchay commented 1 year ago

Huh... Sorry, it seems ok. But in order to merge, we need first to fix format (see the github actions that are failing)

EmilienR commented 1 year ago

Hello, I think it's okay now, I added new test cases.