Skip to content

EML Schema Server Integrations#1

Open
gracezhou-tech wants to merge 14 commits intogracezhou-tech:mainfrom
SAEON:main
Open

EML Schema Server Integrations#1
gracezhou-tech wants to merge 14 commits intogracezhou-tech:mainfrom
SAEON:main

Conversation

@gracezhou-tech
Copy link
Copy Markdown
Owner

No description provided.

`delete_pending` is a user- (or client-) driven status and therefore must be on resource, not archive_resource. It applies implicitly to all archive_resources associated with a resource.
It's a PUT. This is expected.

Also, combine folder and filename into path across the board. This simplifies path integrity checks and validation, and parts can in any case be easily inferred by the client. If in future we need to distinguish file and folder resource types, this can be done explicitly with an enum on resource, instead of implicitly based on folder/filename values.
Deleting a package sets the status of the package and its resources to delete_pending. Archived resources are deleted via background archival service; purge of delete_pending packages in background packaging service still needs to be done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants