chore(analytics): opensearch client creation based on config#7810
Merged
likhinbopanna merged 7 commits intomainfrom Apr 17, 2025
Merged
chore(analytics): opensearch client creation based on config#7810likhinbopanna merged 7 commits intomainfrom
likhinbopanna merged 7 commits intomainfrom
Conversation
Changed Files
|
…itch into open_search_config_change
vspecky
previously approved these changes
Apr 15, 2025
tsdk02
previously approved these changes
Apr 15, 2025
Member
SanchithHegde
left a comment
There was a problem hiding this comment.
Other than that, looks good to me!
SanchithHegde
previously approved these changes
Apr 15, 2025
tsdk02
previously approved these changes
Apr 15, 2025
| .await | ||
| .change_context(errors::HealthCheckDBError::OpensearchError)?; | ||
| } | ||
| Ok(HealthState::Running) |
Contributor
There was a problem hiding this comment.
We can send HealthState::NotApplicable in absence of opensearch_client right?
… health-check should respond false
bce8b2f
tsdk02
approved these changes
Apr 16, 2025
sai-harsha-vardhan
approved these changes
Apr 16, 2025
SanchithHegde
approved these changes
Apr 16, 2025
pixincreate
added a commit
that referenced
this pull request
Apr 21, 2025
…acilitapay-pix-pmt * 'main' of github.com:juspay/hyperswitch: (21 commits) refactor(required_fields): move pm required fields to pm crate (#7539) fix(connector): [noon] address `next_action_url` being `null` for cards in 3ds payment (#7832) refactor(middleware): add middleware to record metrics for request count and duration (#7803) chore(version): 2025.04.18.0 chore(postman): update Postman collection files fix(connector): [globalpay] handle edge case where currency comes as empty upon payment decline (#7812) refactor(cypress-v2): change `Authorization` and `payment_methods_enabled` for v2 cypress tests (#7805) fix(connector): [Cybersource] send type selection indicator for co-batch cards (#7828) feat(payment_method): add logic for setup_future_usage downgrade and add filter based on zero mandate config (#7775) refactor(accounts): move dashboard_metadata table to accounts_schema and point v2 to v1 dashboard_metadata (#7793) chore(analytics): opensearch client creation based on config (#7810) ci(postman): update assertion error message for nmi collection (#7765) feat: add primary key not null query to generic filter function (#7785) chore(version): 2025.04.17.0 chore: change payment method files ownership to `hyperswitch-payment-methods` (#7808) feat(vsaas): modify api key auth to support vsaas cases (#7593) ci(cypress): verify mandate id to be `null` if payment id not `succeeded` (#7749) feat(connector): [chargebee] consumes required fields to support transaction monitoring (#7774) ci(configs): remove vault private key from configs (#7825) chore(version): 2025.04.16.0 ...
14 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
Making
OpenSearchClientoptional based on the config for querying OpenSearch Server for dashboard based on the Deployment status of the same ( OpenSearch Server ).Additional Changes
Motivation and Context
When you don't have OpenSearch deployed for Global Search feature on dashboard , the
/health/ready( deep health check ) API which checks health of all the underlying queryable resources fails because OpenSearch is not present.To make it optional based on the deployment type needs changes and should be dependent on a config which should be given out on time of router deployment
Currently if you don't have OpenSearch Deployment and have router running
How did you test it?
Checklist
cargo +nightly fmt --allcargo clippy