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

Show aliases in data source options for detector and correlation rule creation #864

Merged

Conversation

amsiglan
Copy link
Collaborator

@amsiglan amsiglan commented Jan 31, 2024

Description

Currently, we only show indices inside the data source options for create/update Detector and Correlation rule. This PR adds aliases to that list and categorizes the two for more options.

This PR also adds an external link to the Rules page to provide an entry point to rules management in case Users don't see the rule they want to setup in the detector
image

Issues Resolved

#863

Check List

  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Copy link

codecov bot commented Jan 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7837a99) 31.03% compared to head (835dc07) 31.00%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #864      +/-   ##
==========================================
- Coverage   31.03%   31.00%   -0.03%     
==========================================
  Files         151      157       +6     
  Lines        5111     5222     +111     
  Branches      948      922      -26     
==========================================
+ Hits         1586     1619      +33     
- Misses       3335     3416      +81     
+ Partials      190      187       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
@AWSHurneyt
Copy link
Collaborator

The only failing cypress tests are in 3_alerts.spec.js, which passes locally with the changes from the following PRs published to my local maven repo.
opensearch-project/common-utils#584
opensearch-project/alerting#1404
Screenshot 2024-02-06 at 4 12 31 PM

@AWSHurneyt AWSHurneyt merged commit 95560a8 into opensearch-project:main Feb 7, 2024
7 of 11 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 7, 2024
… creation (#864)

* show aliases under data source dropdowns

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* add manage rules entrypoint in creation UI

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* fixed integ test

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

---------

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
(cherry picked from commit 95560a8)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AWSHurneyt pushed a commit that referenced this pull request Feb 7, 2024
… creation (#864) (#870)

* show aliases under data source dropdowns



* add manage rules entrypoint in creation UI



* fixed integ test



---------


(cherry picked from commit 95560a8)

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants