We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to configure the default GC settings (for nessie-gc ultimately) using curl, posting works but get doesn't return the config.
What am i missing here?
curl -XPOST --header 'accept: application/json' --header 'Content-Type: application/json' --data '{"config":{"type":"GARBAGE_COLLECTOR","defaultCutoffPolicy":"PT48H","newFilesGracePeriod":"PT24H"}}' http://localhost:19120/api/v2/config/repository { "previous" : { "type" : "GARBAGE_COLLECTOR", "defaultCutoffPolicy" : "PT48H", "newFilesGracePeriod" : "PT25H" }
And indeed i'm getting back the previously set configuration (tested with PT25H before).
However fetching the repository config using GET doesn't reveal anything?
curl -XGET --header 'accept: application/json' --header 'Content-Type: application/json' http://localhost:19120/api/v2/c onfig/repository { }
quay.io/projectnessie/nessie-cli:0.100.1
curl
No response
The text was updated successfully, but these errors were encountered:
I believe the GET requires specifying a list of config types, you'd like to get: https://app.swaggerhub.com/apis/projectnessie/nessie/0.100.2#/v2/getRepositoryConfig
GET
In this example: http://localhost:19120/api/v2/config/repository?type=GARBAGE_COLLECTOR
http://localhost:19120/api/v2/config/repository?type=GARBAGE_COLLECTOR
Sorry, something went wrong.
No branches or pull requests
What happened
I'm trying to configure the default GC settings (for nessie-gc ultimately) using curl, posting works but get doesn't return the config.
What am i missing here?
How to reproduce it
And indeed i'm getting back the previously set configuration (tested with PT25H before).
However fetching the repository config using GET doesn't reveal anything?
Nessie server type (docker/uber-jar/built from source) and version
quay.io/projectnessie/nessie-cli:0.100.1
Client type (Ex: UI/Spark/pynessie ...) and version
curl
Additional information
No response
The text was updated successfully, but these errors were encountered: