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

I/O port descriptors w/ file ports #792

Open
pcrespov opened this issue Dec 7, 2022 · 0 comments
Open

I/O port descriptors w/ file ports #792

pcrespov opened this issue Dec 7, 2022 · 0 comments

Comments

@pcrespov
Copy link
Member

pcrespov commented Dec 7, 2022

When a service has files as ports, the schema only defines a string.
Nonetheless, a file is not simply a type but some sort of reference to a data bump.
A file can be passed as a reference e.g. http/s3/... url, path, api reference. It might also be possible to upload its content (e.g. single/multipart upload). The question is, how should this be described in the ports descriptor? mimetype is definitively something to add but it is not enough. Also, the schema could refer to "syntax of the content".

  • Ports with files
  • Expose to python client

Follows up from #686

Hi @pcrespov, regarding your question if we should consider this milestone completed: this is the feedback from EN: "from the point of view of the sparc milestones, we consider it complete. however, for our own needs, we will need to finalize that implementation."

I'd proposed to create a new issue, if you want, with the remaining points and close this one.

fyi, the work done was reported to the NIH in the Q1 Report (I can provide you the link if you're interested).

Originally posted by @elisabettai in #686 (comment)

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

No branches or pull requests

1 participant