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

Develop ability to maintain a transaction log database #29

Closed
jordanpadams opened this issue May 13, 2020 · 1 comment · Fixed by #45
Closed

Develop ability to maintain a transaction log database #29

jordanpadams opened this issue May 13, 2020 · 1 comment · Fixed by #45
Assignees
Labels
enhancement New feature or request

Comments

@jordanpadams
Copy link
Member

jordanpadams commented May 13, 2020

See https://github.com/NASA-PDS/pds-doi-service/blob/master/docs/design/pds-doi-service-srd.md#listretrieve-a-doi for details

@jordanpadams jordanpadams added enhancement New feature or request triage-needed and removed requirement-needed labels May 13, 2020
@jordanpadams jordanpadams changed the title Develop ability to maintain a transaction log Develop ability to maintain a transaction log database May 13, 2020
@tloubrieu-jpl
Copy link
Member

tloubrieu-jpl commented May 27, 2020

We need a dictionary to match steward ids (e.g. img) with the long name node (e.g Cartography and Imaging Sciences Discipline).

The argument of the command line with be steward id.
The directory name of the transaction archive with also be the steward id.
The value in the DOI record is the long name as for now.

The format of the datetime directory is iso8601, for example: '2020-05-27T14:26:03.140082'
This can be done with python code: datetime.now().isoformat() (use GMT time zone)

Inside each directory we will have 2 files:

  • input.. The file is always named input with an extension depending on its type. When the input is URL, the content is saved locally
  • output.xml

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

Successfully merging a pull request may close this issue.

3 participants