Description:
In file source the following 4 parameters are left as mandatory.
file.uri
dir.uri
move.after.process
move.after.failure
However, only one of the first two should be given i.e either file.uri or dir.uri but not both. move.after.process should only be given if action.after.process is move. By default it is set to delete. The same issue with move.after.failure.
The actual issue is in (siddhi-io-file) Siddhi annotations. We don't have support for the following in annotation;
specifying either this or that parameter should be given but not both
Tree-Structured parameters. Based on the value of one parameter, another parameter is mandatory
@sajithshn to fix this ideally we need to fix the annotations. But we can treat file sink/source as an exception and handle the logic in client side . WDYT ?
Description: In file source the following 4 parameters are left as mandatory.
However, only one of the first two should be given i.e either file.uri or dir.uri but not both. move.after.process should only be given if action.after.process is move. By default it is set to delete. The same issue with move.after.failure.
The actual issue is in (siddhi-io-file) Siddhi annotations. We don't have support for the following in annotation;
Suggested Labels: Type/Bug, Severity/Critical
Affected Product Version: streaming-integrator-tooling-1.0.0, siddhi-io-file-2.0.3
Steps to reproduce:
As seen in the screemshot it asks for all the 4 parameters mandatorily