Skip to content

Create ADR for OCM Resource Download Handlers #545

@jakobmoellerdev

Description

@jakobmoellerdev

Description

As a user, I need a way to dynamically inject download behaviors that determine how to actually interpret downloaded blob data (e.g. for writing into a filesystem)

For this we should create an ADR that aligns with #523 understanding and we should propose a simple concept of how to register and work with those download handlers so that they can be integrated in the CLI.

The handlers should:

  • Take in a blob.ReadOnlyBlob
  • Take in a Specification, any typed object we can switch behavior on
  • Return a Report that can be interpreted and output by the CLI
  • Process the Specification, e.g. by writing the blob to the filesystem by interpreting it via the media type.

Done Criteria

  • ADR has been reviewed by other team members
  • Internal technical Documentation created/updated (if applicable)
  • Successful demonstration in Review
  • The outcome of this ADR should also produce new Issues for the EPIC on implementing these handlers

Metadata

Metadata

Labels

area/ipceiImportant Project of Common European Interestkind/tasksmall task, normally part of feature or epic

Type

No fields configured for Task.

Projects

Status
🍺 Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions