Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
feat(global-search): add dispute events index to global-search (#4068)
ivor-juspay9345379f85a5
diff --git a/config/config.example.toml b/config/config.example.tomlindex f1d84f0565..81cd78f724 100644--- a/config/config.example.toml+++ b/config/config.example.toml@@ -600,3 +600,4 @@ region = "eu-central-1"payment_attempts = "hyperswitch-payment-attempt-events"payment_intents = "hyperswitch-payment-intent-events"refunds = "hyperswitch-refund-events"+disputes = "hyperswitch-dispute-events"diff --git a/config/deployments/env_specific.toml b/config/deployments/env_specific.tomlindex 59a32bb9a7..8472076dc0 100644--- a/config/deployments/env_specific.toml+++ b/config/deployments/env_specific.toml@@ -215,6 +215,7 @@ region = "eu-central-1"payment_attempts = "hyperswitch-payment-attempt-events"payment_intents = "hyperswitch-payment-intent-events"refunds = "hyperswitch-refund-events"+disputes = "hyperswitch-dispute-events"# This section provides some secret values.[secrets]diff --git a/config/development.toml b/config/development.tomlindex e8c9172cf3..01e7d34168 100644--- a/config/development.toml+++ b/config/development.toml@@ -597,3 +597,4 @@ region = "eu-central-1"payment_attempts = "hyperswitch-payment-attempt-events"payment_intents = "hyperswitch-payment-intent-events"refunds = "hyperswitch-refund-events"+disputes = "hyperswitch-dispute-events"diff --git a/config/docker_compose.toml b/config/docker_compose.tomlindex ed6ca038e5..3bf5d43cf8 100644--- a/config/docker_compose.toml+++ b/config/docker_compose.toml@@ -455,4 +455,5 @@ region = "eu-central-1"[opensearch.indexes]payment_attempts = "hyperswitch-payment-attempt-events"payment_intents = "hyperswitch-payment-intent-events"-refunds = "hyperswitch-refund-events"\ No newline at end of file+refunds = "hyperswitch-refund-events"+disputes = "hyperswitch-dispute-events"diff --git a/crates/analytics/src/lib.rs b/crates/analytics/src/lib.rsindex 68ca51a0df..a325442047 100644--- a/crates/analytics/src/lib.rs+++ b/crates/analytics/src/lib.rs@@ -679,6 +679,7 @@ pub struct OpensearchIndexes {pub payment_attempts: String,pub payment_intents: String,pub refunds: String,+ pub disputes: String,}#[derive(Clone, Debug, serde::Deserialize)]@@ -700,6 +701,7 @@ impl Default for OpensearchConfig {payment_attempts: "hyperswitch-payment-attempt-events".to_string(),payment_intents: "hyperswitch-payment-intent-events".to_string(),refunds: "hyperswitch-refund-events".to_string(),+ disputes: "hyperswitch-dispute-events".to_string(),},}}diff --git a/crates/analytics/src/search.rs b/crates/analytics/src/search.rsindex 8637c9d110..d9b8433ba6 100644--- a/crates/analytics/src/search.rs+++ b/crates/analytics/src/search.rs@@ -34,6 +34,7 @@ pub fn search_index_to_opensearch_index(index: SearchIndex, config: &OpensearchISearchIndex::PaymentAttempts => config.payment_attempts.clone(),SearchIndex::PaymentIntents => config.payment_intents.clone(),SearchIndex::Refunds => config.refunds.clone(),+ SearchIndex::Disputes => config.disputes.clone(),}}diff --git a/crates/api_models/src/analytics/search.rs b/crates/api_models/src/analytics/search.rsindex 07223c9066..3a5b3c307e 100644--- a/crates/api_models/src/analytics/search.rs+++ b/crates/api_models/src/analytics/search.rs@@ -36,6 +36,7 @@ pub enum SearchIndex {PaymentAttempts,PaymentIntents,Refunds,+ Disputes,}#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]