-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GET List Ingress Health for Service #350
Add GET List Ingress Health for Service #350
Conversation
….cs, added possible test, changed test_config for the test
…ARoots and Root classes
…ov/consuldotnet into G-Research#331-add-connect-ca-roots
…alNumber of Root class, due to a fail at version 1.6.10
…an 1.7.0 The field seems to be initialized to 0 in versions <= 1.7.0, which was causing a testing error
Add connect ca roots
Fix connect ca roots
…s, modified IAgentEndpoint.cs to have GetCALeaf
Add connect ca leaf
…thod to IAgendEndpoint.cs
…overload to ConnectAuthorize to support WriteOptions
Add connect authorize
Had to Add TerminatingGatewayConfigEntry and IngressGatewayConfigEntry classes for testing purposes
…ed Configuration.cs to have correct classes Changed name TerminalGatewayEntry to TerminatingGatewayEntry
…4 and earlier Catalog GET GatewayServices is only supported after 1.7.14
Co-authored-by: Marcin Krystianc <[email protected]>
Co-authored-by: Marcin Krystianc <[email protected]>
…olchanov/consuldotnet into add-update-lan-coordinates
…nov/consuldotnet into add-gateaway-services
Add update lan coordinates
Add gateaway services
Updating branch add-list-ingress-health
Added endpoint and tests, had to change Node in Catalog.cs because it lacked a field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks, good. Just a few minor comments.
{ | ||
Name = "foo-ingress-gateway", | ||
Listeners = new List<GatewayListener> | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Odd formatting, should be:
Listeners = new List<GatewayListener>
{
...
Consul.Test/HealthTest.cs
Outdated
|
||
var services = await _client.Health.Ingress("foo-ingress", "", false); | ||
Assert.Single(services.Response); | ||
Assert.Equal("dc1", services.Response[0].Node.Datacenter); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better to assert that the data center is not empty ( to make the test independent from external configuration).
…hanov/consuldotnet into add-list-ingress-health
@marcin-krystianc fixed everything, I think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you.
Added endpoint and tests for it, had to change Node in Catalog.cs because it lacked a field
Resolves #349