-
Notifications
You must be signed in to change notification settings - Fork 2
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
Load files from the local file system as arguments #31
Comments
This could also be implemented as as stream itself. The SHACL validation step does that to load the shapes graph. That is not as nice as a synchronous loader to plug in directly to the function but avoids the risk of loading large files to memory The problem of using a pipeline is verbosity, requiring a more complex setup. Given the original example <step>
a :Step ;
code:arguments (
<loadStepFile>
) ;
.
<loadStepFile> a :Pipeline, :Readable ;
:steps [ :stepList (
[
code:implementedBy [ code:link <node:fs#createReadStream> ] ;
code:arguments ( "/full/path/myKeyFile.key" )
]
) ] ;
. Hypothetically, #85 could be a solution, where the |
In some cases it would be useful to read the content of files on the local file system. For example a ssh key can be loaded like this:
But it would be useful to have a datatype + loader that handles it:
It should also work with variables:
The text was updated successfully, but these errors were encountered: