-
Notifications
You must be signed in to change notification settings - Fork 51
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
Trust store reload endpoint and node ops method #523
Conversation
As noted in the Slack, I'll add it here also: Add a new item to the FeatureSet to indicate this API endpoint is available. |
management-api-agent-dse-6.8/src/main/java/com/datastax/mgmtapi/shim/DseAPI68.java
Show resolved
Hide resolved
management-api-common/src/main/java/com/datastax/mgmtapi/shims/CassandraAPI.java
Outdated
Show resolved
Hide resolved
management-api-server/src/main/java/com/datastax/mgmtapi/resources/NodeOpsResources.java
Outdated
Show resolved
Hide resolved
management-api-agent-dse-6.8/src/main/java/com/datastax/mgmtapi/shim/DseAPI68.java
Show resolved
Hide resolved
management-api-common/src/main/java/com/datastax/mgmtapi/shims/CassandraAPI.java
Outdated
Show resolved
Hide resolved
management-api-common/src/main/java/com/datastax/mgmtapi/shims/CassandraAPI.java
Outdated
Show resolved
Hide resolved
22e6fa1
to
479e6d4
Compare
…only. Update URIs so that they are clearer and more RESTful. Add functionality to get issuers in truststore, so we can e2e test this in a more self contained way. Add to features enum for backwards compability.
479e6d4
to
1db9116
Compare
management-api-agent-common/src/main/java/com/datastax/mgmtapi/NodeOpsProvider.java
Outdated
Show resolved
Hide resolved
49c3305
to
456b8a2
Compare
456b8a2
to
c8bae29
Compare
management-api-agent-common/src/main/java/com/datastax/mgmtapi/NodeOpsProvider.java
Outdated
Show resolved
Hide resolved
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.
@Miles-Garnsey a few more issues/suggestions. The biggest one being the need for a proper model class for the Issuers API endpoint.
management-api-server/src/main/java/com/datastax/mgmtapi/resources/NodeOpsResources.java
Show resolved
Hide resolved
management-api-server/src/main/java/com/datastax/mgmtapi/resources/NodeOpsResources.java
Show resolved
Hide resolved
management-api-server/src/main/java/com/datastax/mgmtapi/resources/NodeOpsResources.java
Outdated
Show resolved
Hide resolved
management-api-server/src/main/java/com/datastax/mgmtapi/resources/NodeOpsResources.java
Outdated
Show resolved
Hide resolved
management-api-server/src/main/java/com/datastax/mgmtapi/resources/NodeOpsResources.java
Outdated
Show resolved
Hide resolved
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.
@Miles-Garnsey @burmanm After discussing with Miles, I don't think exposing the server's trust store is something normal API consumers need. It poses a security risk and the intended use was for testing/verification. Let's remove all the bits that return truststore info and trim this down to just a call to rotating the certificates.
management-api-server/src/main/java/com/datastax/mgmtapi/resources/NodeOpsResources.java
Outdated
Show resolved
Hide resolved
@Miles-Garnsey please add a Changelog entry as well when you get this all sorted. |
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.
3 minor fixes (2 for unused imports)
management-api-agent-dse-6.8/src/main/java/com/datastax/mgmtapi/shim/DseAPI68.java
Outdated
Show resolved
Hide resolved
management-api-agent-dse-6.9/src/main/java/com/datastax/mgmtapi/shim/DseAPI69.java
Outdated
Show resolved
Hide resolved
management-api-server/src/main/java/com/datastax/mgmtapi/resources/NodeOpsResources.java
Show resolved
Hide resolved
management-api-server/src/main/java/com/datastax/mgmtapi/resources/models/FeatureSet.java
Outdated
Show resolved
Hide resolved
…rces/NodeOpsResources.java Co-authored-by: Erik Merkle <erik.merkle@datastax.com>
…i-for-apache-cassandra into feature/tsreload
* [FEATURE] [#523](#523) Trust store reload functionality for DSE only (not Cassandra) * [FEATURE] [#527](#527) Add Cassandra 4.1.6 to the build matrix * [FEATURE] [#522](#522) Add DSE 6.9.1 to the build matrix * [FEATURE] [#529](#529) Add DSE 6.9.2 to the build matrix * [ENHANCEMENT] [#521](#521) Add management-api to Cassandra conf in the Dockerfile, not entrypoint for DSE 6.9, Cassandra 4.1 and Cassandra 5.0. This allows to run the container with readOnlyRootFilesystem. * [BUGFIX] [#524](#524) Fix HintsService Hint_delays- metrics parsing and ReadCoordination metrics parsing * [BUGFIX] [#520](#520) Update DSE 6.9.0 dependnecy * [BUGFIX] [#531](#531) Fix DSE 6.9 UBI image agent loading
Fixes #483