Re: CASSANDRA-18554 - mTLS based client and internode authenticators

2023-06-20 Thread Yuki Morishita
Hi Jyothsna, Thanks, sorry I have additional questions regarding set up and migration: * Initial set up Say, you are building the brand new cassandra cluster with authenticator: class_name :org.apache.cassandra.auth.MutualTlsAuthenticator parameters : validator_class_name: org.apache.ca

Re: [DISCUSS] The future of CREATE INDEX

2023-06-20 Thread Caleb Rackliffe
For everyone previously following this, just created https://issues.apache.org/jira/browse/CASSANDRA-18615 :) On Fri, May 19, 2023 at 1:34 PM Caleb Rackliffe wrote: > Posted on ASF Slack to see if we can get more responses, but so far the > leaders seem to be... > > [POLL] Centralize existing sy

Re: CASSANDRA-18554 - mTLS based client and internode authenticators

2023-06-20 Thread Jyothsna Konisa
Hi Yuki, Sorry I missed answering your other question in the above reply. Regarding checking what identities are associated with a given role, one can make a query to list identities for a given role to the table. Also note that, addition or removal of identities from the table can only be perform

Re: Adding wiremock to test dependencies

2023-06-20 Thread Josh McKenzie
Speaking only to the "we don't want to add a dependency on something that's unstable or likely to fizzle out", looks good there to me: • Long-term project health / activity looks robust: https://github.com/wiremock/wiremock/graphs/contributors • Pretty diverse set of contributors in the last co

Re: Adding wiremock to test dependencies

2023-06-20 Thread Brandon Williams
I was concerned about 'jre8' being in the dependency name and looked into which java versions were supported, and it looks like 17 is, so we should verify but I am +1 if that is the case. https://github.com/wiremock/wiremock/issues/1655 Kind Regards, Brandon On Tue, Jun 20, 2023 at 6:35 AM Miklo

Re: Adding wiremock to test dependencies

2023-06-20 Thread Miklosovic, Stefan
I forgot to mention that in the future this will not be used for testing AWS IDSv2 only. There are other snitches we have which are also calling similar "services" to get some metadata from an instance a node runs in and this communication is currently not tested at all. I can pretty much imagin

Adding wiremock to test dependencies

2023-06-20 Thread Miklosovic, Stefan
Hi, we want to introduce wiremock library (1) into the project as a test dependency to test CASSANDRA-16555. In that patch, (wip here (2)), we want to test how would such snitch behave based on what Amazon EC2 Identity Service of version 2 returned to that snitch. AWS Identity service of versi