-
Notifications
You must be signed in to change notification settings - Fork 746
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
adding signal filters #54
Conversation
|
method: POST | ||
filters: | ||
time: | ||
start: "2016-05-10T15:04:05Z07:00" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that the trigger will be fired only if the signal is fired between the start
and stop
time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
// DataFilter describes constraints and filters for event data | ||
// Regular Expressions are purposefully not a feature as they are overkill for our uses here | ||
// See Rob Pike's Post: https://commandcenter.blogspot.com/2011/08/regular-expressions-in-lexing-and.html | ||
type DataFilter struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add an example for DataFilter as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind.. Just saw it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lemme know if I have enough examples
@@ -0,0 +1,316 @@ | |||
package controller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job on adding unit tests! :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
These generated conflicts are annoying.. are these a feature of the
dependency? Anyway, do you know if it matters how I resolve these conflicts? Also side note, every time I now do Created #56 for this. |
5a04f39
to
e1604cb
Compare
@shrinandj rebased on top of master, can you re-approve? |
closes #26