feat(gRPC): build gRPC client interface to initiate communication with recovery-decider service#8178
Merged
likhinbopanna merged 150 commits intomainfrom Aug 6, 2025
Merged
Conversation
…tion_monitoring_feilds
| fn from(internal_request: InternalDeciderRequest) -> Self { | ||
| Self { | ||
| first_error_message: internal_request.first_error_message, | ||
| billing_state: internal_request.billing_state.peek().to_string(), |
Member
There was a problem hiding this comment.
@Aprabhat19 @srujanchikke Ideally you folks should consider using an equivalent of Secret on the gRPC server side as well, similar to how the connector-service folks are doing...
| process_tracker: storage::ProcessTracker, | ||
| revenue_recovery_payment_data: &storage::revenue_recovery::RevenueRecoveryPaymentData, | ||
| payment_attempt: payment_attempt::PaymentAttempt, | ||
| payment_attempt: PaymentAttempt, |
Member
There was a problem hiding this comment.
Nit: Can't we accept a reference here? Do you necessarily need an owned value?
| payment_intent: &PaymentIntent, | ||
| process: &storage::ProcessTracker, | ||
| payment_attempt: payment_attempt::PaymentAttempt, | ||
| payment_attempt: PaymentAttempt, |
Member
There was a problem hiding this comment.
Same here, can't we accept a reference?
|
|
||
| #[derive(Debug, serde::Deserialize, Clone, Default)] | ||
| pub struct RevenueRecoverySettings { | ||
| pub monitoring_threshold_in_seconds: i64, |
Member
There was a problem hiding this comment.
Same here, we don't need an i64?
SanchithHegde
approved these changes
Aug 6, 2025
srujanchikke
approved these changes
Aug 6, 2025
pixincreate
added a commit
that referenced
this pull request
Aug 7, 2025
…ordea-sepa * 'main' of github.com:juspay/hyperswitch: fix(router): [worldpayvantiv] dispute validations and statuses (#8862) chore(version): 2025.08.07.0 feat(connector): [WORLDPAYVANTIV] Populate Network Decline Error Code & Message (#8856) feat(router): add support for partial authorization (#8833) feat(gRPC): build gRPC client interface to initiate communication with recovery-decider service (#8178) fix(connector): [CYBERSOURCE] fix response field for netcetera authentication response (#8850) chore(events): making events nanosecond level precision (#8759)
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
I have implemented a gRPC client that facilitates communication with the recovery-decider gRPC service. The client should be capable of initializing and managing the connection to the service, sending requests, and handling responses in accordance with the defined service contract (protobuf definitions).
Additional Changes
Motivation and Context
How did you test it?
Decider gRPC server:-

Decider gRPC client(HS):-

Predictor gRPC server:-

Checklist
cargo +nightly fmt --allcargo clippySummary by CodeRabbit
New Features
Improvements
Configuration
Bug Fixes