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

feat(connector): [Gocardless] add boilerplate code #2179

Merged
merged 4 commits into from
Sep 18, 2023
Merged

Conversation

ArjunKarthik
Copy link
Contributor

@ArjunKarthik ArjunKarthik commented Sep 18, 2023

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Gocardless new connector integration

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible
  • I added a CHANGELOG entry if applicable

@ArjunKarthik ArjunKarthik added A-connector-integration Area: Connector integration C-feature Category: Feature request or enhancement S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Sep 18, 2023
@ArjunKarthik ArjunKarthik requested review from a team as code owners September 18, 2023 06:15
@ArjunKarthik ArjunKarthik self-assigned this Sep 18, 2023
@@ -76,7 +77,7 @@ impl ConnectorAuthentication {
/// Will panic if `CONNECTOR_AUTH_FILE_PATH` env is not set
#[allow(clippy::expect_used)]
pub fn new() -> Self {
// Do `export CONNECTOR_AUTH_FILE_PATH="/hyperswitch/crates/router/tests/connectors/sample_auth.toml"`
// Do `export CONNECTOR_AUTH_FILE_PATH="/hyperswitch/crates/router/tests/connectors/sample_sample_auth.toml"`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was added by the script, Will revert in next PR<

@@ -142,6 +142,7 @@ impl<const T: u8>
}

default_imp_for_complete_authorize!(
connector::Gocardless,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please maintain the order here as well as in the other default implementations.

Copy link
Contributor Author

@ArjunKarthik ArjunKarthik Sep 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prasunna09 I resolved it in a separate PR -#2180. Will raise once testing is completed

SamraatBansal
SamraatBansal previously approved these changes Sep 18, 2023
@ArjunKarthik ArjunKarthik added this pull request to the merge queue Sep 18, 2023
@ArjunKarthik ArjunKarthik added S-ready-for-merge and removed S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Sep 18, 2023
Merged via the queue into main with commit 6a64180 Sep 18, 2023
10 checks passed
@ArjunKarthik ArjunKarthik deleted the gocardless branch September 18, 2023 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-connector-integration Area: Connector integration C-feature Category: Feature request or enhancement
Projects
No open projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

4 participants