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

Add pattern to detect events that are not arrived #483

Conversation

slgobinath
Copy link
Collaborator

This PR contains the implementation of Siddhi pattern to detect the absence of events.

Sample cases:

  • A -> not B for 1sec
  • A -> not B and C
  • A -> (not B and C) within 1sec
  • A -> (not B for 1sec and C) within 2sec
  • not A for 1sec -> B
  • not A and B -> C
  • every ( not B and A) -> C
  • every ( not B for 1sec) -> C
  • A -> not B for 1 sec and not C for 1 sec
  • not A for 1 sec and not B for 1 sec -> C
  • A -> not B for 1 sec or not C for 1 sec
  • not A for 1 sec or not B for 1 sec -> C
  • A -> not B for 1 sec or C
  • not A for 1 sec or B -> C

@suhothayan suhothayan merged commit 84488fe into siddhi-io:master Aug 13, 2017
@slgobinath slgobinath deleted the feature-siddhi-pattern-for-absent-events branch September 15, 2017 19:05
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

Successfully merging this pull request may close these issues.

2 participants