-
Notifications
You must be signed in to change notification settings - Fork 495
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
As an administrator, I need an Admin API endpoint to load sample data #6286
Comments
As outlined in #6266, another approach is creating an API endpoint to create a new token for a user with short expiration time and return as result. |
Looks like this is connected to #1355: dataverse/src/main/java/edu/harvard/iq/dataverse/authorization/AuthenticationServiceBean.java Lines 445 to 450 in 79bfe15
|
Unless someone else is interested, I'm going to close this. Revisiting at a later point in time. |
Currently, IQSS/dataverse-sample-data needs to read an API token from an enabled user to create sample datasets, etc.
Using this very nice project to create demo environments would be cool. But having to fiddle around with the API token is very cumbersome during bootstrapping.
IQSS/dataverse-ansible receives the token by parsing log output on EC2. On Kubernetes, I could only use the deprecated, insecure API token retrieval.
So I propose to create an Admin API endpoint to load the data, as it would be a much cleaner and solid way.
Willing to make a contribution for this.
This is related to gdcc/dataverse-kubernetes#66, IQSS/dataverse-ansible#80
The text was updated successfully, but these errors were encountered: