Closed burmanm closed 1 year ago
Hi @burmanm, looks like we have failing tests so there are a few preliminary things to do here:
v2
(all new endpoints are v2
at this point).Thanks!
There are no v2 endpoints in the current mgmt-api master or any structures to them. And this is basically just v0, but added String return result (I was actually considering just changing v0, but since the meta has been v1 for these type of changes, this goes better with v1).
I have no idea why the tests are not running without doing close/reopen.
I have no idea why the tests are not running without doing close/reopen.
So this is the setup for the workflow: https://github.com/k8ssandra/management-api-for-apache-cassandra/actions/runs/5875182561/workflow#L3-L6
It should run on any commit push, or when a PR is opened or re-opened. I changed that recently as it would run CI twice on a commit push, which is a waste, once for the commit push, once for the update tho the PR. Maybe I'm not understanding how to set this up correctly....
This provides a /api/v1 version of the /api/v0/ops/node/repair. Adds a new parameter to the Rpc method to indicate if the notifications should be received and stored in the job details.
The /api/v0/ops/node/repair was already async in execution, so /v1 simply adds the ability to follow notifications (and returns the job number to track it). Otherwise they're similar.
Fixes #342