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

Create DIP in data model and add model and index support #670

Closed
luis100 opened this issue Nov 3, 2016 · 1 comment
Closed

Create DIP in data model and add model and index support #670

luis100 opened this issue Nov 3, 2016 · 1 comment
Assignees
Milestone

Comments

@luis100
Copy link
Member

luis100 commented Nov 3, 2016

Related with #454

Create a new DIP class with:

  • Id (UUID)
  • Description
  • Permissions (as in AIP)
  • List of related AIPs
  • List of related Representations
  • List of related Files
  • Date of creation and last modification
  • Permanent: (flag to avoid deletion)
  • External
    • Open: URL
    • Delete: URL callback

DIP will live in a new dip storage container, will have a folder for each DIP with the ID as folder name, and inside a dip.json with the serialization of the above class. It will also have an optional data folder where optional files can be created.

storage/dip/011c45ba-2a2c-4ddc-a82b-a0049a937e60/dip.json
storage/dip/011c45ba-2a2c-4ddc-a82b-a0049a937e60/data/file.jpeg

A new index collection must be created for DIP, and maybe a new IndexedDIP class. Must be able to find every DIP related to an AIP, or a Representation, or a File, based on UUIDs.

@nuno-vieira-deel
Copy link
Contributor

Done since 5bd7072

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