Skip to content

How to access a static uploadet file? #1222

Answered by tenthe
flomickl asked this question in Dev
Discussion options

You must be logged in to vote

Hi @flomickl,

you can upload files as part of the processing element configuration. See CsvMetadataEnrichment as an example [1].
In the declareModel you can use requiredFile.
Is this the behavior you are looking for?

[1] https://github.com/apache/streampipes/blob/dev/streampipes-extensions/streampipes-processors-transformation-jvm/src/main/java/org/apache/streampipes/processors/transformation/jvm/processor/csvmetadata/CsvMetadataEnrichmentController.java

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bossenti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Dev
Labels
question Further information is requested pipeline elements Relates to pipeline elements
2 participants