-
Notifications
You must be signed in to change notification settings - Fork 91
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
Fixed a bug with doc level trigger creation. #513
Conversation
…etails. Signed-off-by: AWSHurneyt <[email protected]>
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #513 +/- ##
=======================================
Coverage 53.39% 53.40%
=======================================
Files 209 209
Lines 5501 5500 -1
Branches 775 774 -1
=======================================
Hits 2937 2937
+ Misses 2562 2561 -1
Partials 2 2 see 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
public/pages/CreateTrigger/containers/CreateTrigger/utils/formikToTrigger.js
Show resolved
Hide resolved
…etails. (#513) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 45ea4b9)
…etails. (#513) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 45ea4b9)
…etails. (#513) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 45ea4b9)
…etails. (#513) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 45ea4b9)
…etails. (#513) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 45ea4b9)
…etails. (#513) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 45ea4b9)
…etails. (#513) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 45ea4b9)
…etails. (#513) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 45ea4b9)
…etails. (#513) (#521) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 45ea4b9) Co-authored-by: AWSHurneyt <[email protected]>
…etails. (opensearch-project#513) Signed-off-by: AWSHurneyt <[email protected]>
…etails. (opensearch-project#513) Signed-off-by: AWSHurneyt <[email protected]>
…etails. (opensearch-project#513) Signed-off-by: AWSHurneyt <[email protected]>
…etails. (opensearch-project#513) Signed-off-by: AWSHurneyt <[email protected]>
…etails. (opensearch-project#513) Signed-off-by: AWSHurneyt <[email protected]>
* Fixed a bug with doc level trigger creation. See issue 448 for more details. (#513) Signed-off-by: AWSHurneyt <[email protected]> * Updated test workflow dependency references. Signed-off-by: AWSHurneyt <[email protected]> * Updated test workflow dependency references. Signed-off-by: AWSHurneyt <[email protected]> * Updated test workflow dependency references. Signed-off-by: AWSHurneyt <[email protected]> * Adjusted package versions used by tests. Signed-off-by: AWSHurneyt <[email protected]> * Adjusted package versions used by tests. Signed-off-by: AWSHurneyt <[email protected]> --------- Signed-off-by: AWSHurneyt <[email protected]>
* Fixed a bug with doc level trigger creation. See issue 448 for more details. (#513) Signed-off-by: AWSHurneyt <[email protected]> * Updated test workflow dependency references. Signed-off-by: AWSHurneyt <[email protected]> * Adjusted package versions used by tests. Signed-off-by: AWSHurneyt <[email protected]> --------- Signed-off-by: AWSHurneyt <[email protected]>
…etails. (#513) (#524) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 45ea4b9) Co-authored-by: AWSHurneyt <[email protected]>
* Fixed a bug with doc level trigger creation. See issue 448 for more details. (#513) Signed-off-by: AWSHurneyt <[email protected]> * Updated test workflow dependency references. Signed-off-by: AWSHurneyt <[email protected]> * Updated test workflow dependency references. Signed-off-by: AWSHurneyt <[email protected]> * Adjusted package versions used by tests. Signed-off-by: AWSHurneyt <[email protected]> --------- Signed-off-by: AWSHurneyt <[email protected]>
…etails. (#513) (#522) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 45ea4b9) Co-authored-by: AWSHurneyt <[email protected]>
…etails. (#513) (#520) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 45ea4b9) Co-authored-by: AWSHurneyt <[email protected]>
* Fixed a bug with doc level trigger creation. See issue 448 for more details. (#513) Signed-off-by: AWSHurneyt <[email protected]> * Updated test workflow dependency references. Signed-off-by: AWSHurneyt <[email protected]> * Updated test workflow dependency references. Signed-off-by: AWSHurneyt <[email protected]> * Adjusted package versions used by tests. Signed-off-by: AWSHurneyt <[email protected]> * Adjusted package versions used by tests. Signed-off-by: AWSHurneyt <[email protected]> --------- Signed-off-by: AWSHurneyt <[email protected]>
…etails. (opensearch-project#513) Signed-off-by: AWSHurneyt <[email protected]>
Description
Fixed a bug with doc level trigger creation.
As illustrated by the screenshot below, users can select whether they want the field value to equal the query value (by selecting
is
), not equal the query value (by selectingis not
), etc. The operator doesn't need to be configured in the trigger because it's already configured in the query itself. Essentially we just want the triggers to evaluate whether the document matches the query; and that query could be checking whether a field value equals or does not equal the query value. Adding theoperator
to thescriptSourceContents
was preventing the backend from determining whether the document matched the query.Issues Resolved
#448
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.