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

Introduce the Directory entity with a link operation #4924

Open
imsdu opened this issue May 2, 2024 · 0 comments
Open

Introduce the Directory entity with a link operation #4924

imsdu opened this issue May 2, 2024 · 0 comments

Comments

@imsdu
Copy link
Contributor

imsdu commented May 2, 2024

Motivation
In some cases, an individual physical file does not make sense by itself but only because it is part of a set of files organized in folders and subfolders which depends on the consumer.
However, we still want to register this directory to Delta and the knowledge graph.
This first ticket is about creating a file set in Nexus when the physical folder is already available in S3.
The use case for that is registering legacy files in the legacy bucket.

Acceptance criteria

  1. Directories are only available for S3 storages
  2. The user can provide an id or have it generated (like the files operations)
  3. The user provides an object key
  4. The user can optionally provide metadata (name, description, keyword)
  5. The provided object key must point to an existing object and must be a folder
  6. The directory is indexed in Blazegraph and Elasticsearch
  7. The directory must have an origin field as it will be possible to register it in other ways later
  8. Errors are returned if the user does not have the permission, if a resource already exists with that id, ...

Not in scope

  1. No analysis is done on the content of the folder as it may contain a lot of objects
  2. Update / tagging / deprecation operations
@imsdu imsdu changed the title Introduce the FileSet entity with a bind operation Introduce the FileSet entity with a link operation May 6, 2024
@imsdu imsdu changed the title Introduce the FileSet entity with a link operation Introduce the Directory entity with a link operation May 15, 2024
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

1 participant