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
Authorization #1078
Authorization #1078
Conversation
@ryanemerson please pay attention that you catch #1079 in this test |
8bd70fc
to
7396a03
Compare
Infinispan: config.Infinispan{ | ||
Authorization: config.Authorization{ | ||
Enabled: c.infinispan.IsAuthorizationEnabled(), | ||
RoleMapper: "cluster", |
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.
I'll update this to automatically set the value to "commonName" when client-cert is enabled, but this requirs #1007
7396a03
to
af5c7af
Compare
@@ -75,6 +75,7 @@ func (c *httpClientConfig) exec(method, path, payload string, headers map[string | |||
ExpectNoError(err) | |||
fmt.Printf("%s: %s\n", method, httpURL) | |||
rsp, err := c.request(httpURL, method, payload, headers) | |||
ExpectNoError(err) |
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.
@ryanemerson I've identified that sometimes request return net.IsConnectionRefused
error. Do you have ideas why it happens and how we can handle this? Otherwise we will get error on test.
CheckExternalAddress
has this error handle, probably we need to embedded this handler to the test httpClient
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.
I've identified that sometimes request return
net.IsConnectionRefused
error. Do you have ideas why it happens and how we can handle this?
No idea the cause tbh. Adding some kind of retry logic to the client makes sense to me 👍
Self merging as required for |
Image PR
Config Generator PR