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

The software shall be capable of accepting a request to update DOI metadata. #9

Open
tloubrieu-jpl opened this issue Apr 7, 2020 · 0 comments
Labels

Comments

@tloubrieu-jpl
Copy link
Member

tloubrieu-jpl commented Apr 7, 2020

Design Details

  • Input: DOI Metadata Object, force_flag (available in the event we want to overwrite a record)

  • General steps for updates:

    1. Verify the input DOI Metadata is valid
    2. Verify DOI from DOI Metadata Object is in current system.
      a. Failure: Return error that DOI does not exist
      b. Success: continue
    3. Optionally, check DOI+Node:
      a. if force flag is true, verify DOI+Node from DOI Metadata Object match a currently existing DOI+Node combination in the system.
      i. Failure: Return error with expected DOI +Node combination
      ii. Success: Continue
      b. If force flag is false, continue.
    4. Insert data into database (NOTE: database should be keeping transaction record for DOIs)
    5. Submit updated metadata to OSTI.
    6. Return submission response to user
    7. Continue to verify update status with OSTI and notify user (see Develop DOI Status / Query component #27).
  • Outputs:
    TBD

Flow Diagram

TBD

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

No branches or pull requests

2 participants