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

Set PID-type in Submission Registry automatically #4

Open
ikostadi opened this issue Sep 3, 2015 · 4 comments
Open

Set PID-type in Submission Registry automatically #4

ikostadi opened this issue Sep 3, 2015 · 4 comments

Comments

@ikostadi
Copy link
Member

ikostadi commented Sep 3, 2015

  • Assumption: Most archives issue only one type of PID.
  • Definition of Done: If an archive (i.e. data center ) issues exactly one type of PID, set the PID-type in the Submission Registry automatically, at the time of submission.
  • Technical aspects: Set archive_pid_type at insert depending on archive. Bonus point for checking in table data_provider whether the archive actually provides only one type of pid and not doing anything otherwise. In the latter case archive_pid_type has to be determined otherwise and set through a different workflow.

See Submission Registry code

@ikostadi ikostadi self-assigned this Sep 3, 2015
@ikostadi ikostadi changed the title Set PID-type automatically in Submission Registry Set PID-type in Submission Registry automatically Sep 4, 2015
@ikostadi ikostadi assigned Marfroem and unassigned ikostadi Sep 14, 2015
@ikostadi
Copy link
Member Author

@Marfroem, you can decide whether to do this already at insert time or together with the update which actually includes the PID itself. Please don't forget to set the DEFAULT and NULL properties in the DDL accordingly.

@Marfroem
Copy link
Contributor

done

@ikostadi
Copy link
Member Author

Great! Could you include some references to the corresponding code and document when this happens (insert or update)?

@Marfroem
Copy link
Contributor

I upload the API tomorrow with others to the dev server and set a Link. Currently I don't know if I can make the documentation tomorrow too.

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

No branches or pull requests

2 participants