DFE annotations

#1

Let’s suppose I have a @DFE annotation on a TSDataFlowEvent and I created a CompoundDataFlowEvent that contains the TSDataFlowEvent. If I also add a @DFE annotation on the compound DFE, how does the type system handle both annotations. Does the compound DFE annotation take precedence over the simple DFE annotation?

0 Likes

#2

CompoundDFE annotation and SimpleDFE annotation should have same Interval and Period.

0 Likes

#3

Thanks. To be clear, is it possible to define interval and period only on the compound dfe then? What happens if some simple DFEs have different interval and period than the compound DFE?

0 Likes

#4

If a “should” is violated then there “should” at least be a warning.

0 Likes

#5

Currently, it requires both DFE have the annotation with interval and period. a simple dfe could used in another analytic as Input, which then would need interval and period. We could improve this, if not used in any another analytic, compund dfe annotation shoudl be sufficient.

If some simple dfe have different interval than compund dfe, on analytic execution it will throw errror.
There is pending task to add validation on provision to give Metadata Error.

0 Likes

#6

Yes. There is pending task to improve the validation on provisioning.

0 Likes

#7

No problem, as long as it’s not silent.

0 Likes