Skip to content
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

Allow Administrator to import projects from Mediaflux #1272

Open
4 of 8 tasks
carolyncole opened this issue Jan 31, 2025 · 0 comments
Open
4 of 8 tasks

Allow Administrator to import projects from Mediaflux #1272

carolyncole opened this issue Jan 31, 2025 · 0 comments
Assignees

Comments

@carolyncole
Copy link
Member

carolyncole commented Jan 31, 2025

User story

As an Administrator I need the ability to import additional production projects so I can keep the front end up to date with what is currently in Mediaflux.

  1. the will be a script in mediaflux that creates CSV formatted data, keeping the format the same as the current rake task
    asset,path,creatorDomain,creatorUser,createdOn,quota,store,projectDirectory,title,description,dataSponsor,dataManager,dataUser,department,projectID
  2. The administrator will click a button "Import Mediaflux Projects" on the Administration dashboard, which will run the script and then import the csv data into the server4. If a DOI exists nothing gets created or updated
  3. if a typo gets put into the DOI an email get sent to the Dev team to update the DOI

Acceptance criteria

  • The mediaflux script is created (RC) tigerdata.project.export.generate
  • The script is installed in the developer docker container
  • The script is installed on td-meta1 & td-metalib1 (RC)
  • The script is installed on production mediaflux (RC)
  • The current Rake task code is move into a service object that can be called from the UI or the rake task
  • There is a mediaflux command to run the script and parse the results to return the CSV data
  • There is a UI button "Import Mediaflux Projects" on the administrator dashboard that cause the script to be run and the service object to be called
  • We test the button with Research Computing to make sure it is behaving as desired in td-meta1 & td-metalib1

Concrete example

Implementation notes, if any

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant