Skip to content

Conversation

@marietta-a
Copy link
Contributor

@marietta-a marietta-a commented Jan 26, 2026

Description

  • Implemented ACL Binding Rule [Read] Endpoint

Related Issues

Addresses Issue: #480

Additional Context

Checklist

Please make sure to check the following before submitting your pull request:

  • Did you read the contributing guidelines?
  • Did you update the docs?
  • Did you write any tests to validate this change?

@marietta-a marietta-a changed the title FEATURE: ACL Binding Rule Read Endpoint FEATURE: Implement ACL Binding Rule "Read" Endpoint Jan 26, 2026
@marietta-a
Copy link
Contributor Author

Hi @marcin-krystianc!

@marietta-a
Copy link
Contributor Author

@marcin-krystianc I have updated the test

await _client.AuthMethod.Create(authMethodEntry);
var authMethodsResponse = await _client.AuthMethod.List();
var existingAuthMethod = authMethodsResponse.Response?.FirstOrDefault();
Skip.If(existingAuthMethod == null, "No auth methods available in Consul for testing");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove Skip.If and make the test non-skippable by using the [Fact] attribute instead of [SkippableFact]. Since the auth method is created by us, a null auth method should not be expected.

Suggested change
Skip.If(existingAuthMethod == null, "No auth methods available in Consul for testing");

var authMethodsResponse = await _client.AuthMethod.List();
var existingAuthMethod = authMethodsResponse.Response?.FirstOrDefault();

Skip.If(existingAuthMethod == null, "No auth methods available in Consul for testing");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Skip.If(existingAuthMethod == null, "No auth methods available in Consul for testing");

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@marcin-krystianc
Copy link
Contributor

Perfect, thank you!

@marcin-krystianc marcin-krystianc merged commit 4bec673 into G-Research:master Jan 27, 2026
119 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants