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

[Backport 2.x] Refactor integration validation logic with a cleaner interface #946

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 09e5d52 from #943.

* Refactor validation logic with a deeper interface

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Remove redundant test.

This test is unneeded after 12c4bcf

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Add tests for new validators

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Make better failure mode for invalid objects

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

* Convert validator methods to use result types

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>

---------

Signed-off-by: Simeon Widdis <sawiddis@amazon.com>
(cherry picked from commit 09e5d52)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Merging #946 (b7b4012) into 2.x (d2fbb97) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              2.x     #946      +/-   ##
==========================================
+ Coverage   43.54%   43.57%   +0.02%     
==========================================
  Files         313      313              
  Lines       18621    18629       +8     
  Branches     4540     4543       +3     
==========================================
+ Hits         8109     8117       +8     
- Misses       9959    10470     +511     
+ Partials      553       42     -511     
Flag Coverage Δ
dashboards-observability 43.57% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 82 files with indirect coverage changes

@kavithacm kavithacm merged commit 0df9072 into 2.x Sep 7, 2023
11 checks passed
@github-actions github-actions bot deleted the backport/backport-943-to-2.x branch September 7, 2023 21:05
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
…earch-project#943) (opensearch-project#946)

* Refactor validation logic with a deeper interface

* Remove redundant test.

This test is unneeded after 12c4bcf

* Add tests for new validators

* Make better failure mode for invalid objects

* Convert validator methods to use result types

---------

(cherry picked from commit 09e5d52)

Signed-off-by: Simeon Widdis <sawiddis@amazon.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>
(cherry picked from commit 0df9072)
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.

3 participants