Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
sai-harsha-vardhan committed Nov 30, 2023
2 parents 04e74a7 + 39f255b commit 94715ba
Show file tree
Hide file tree
Showing 171 changed files with 14,897 additions and 1,046 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ All notable changes to HyperSwitch will be documented here.

- - -

## 1.92.0 (2023-11-29)

### Features

- **analytics:** Add Clickhouse based analytics ([#2988](https://github.com/juspay/hyperswitch/pull/2988)) ([`9df4e01`](https://github.com/juspay/hyperswitch/commit/9df4e0193ffeb6d1cc323bdebb7e2bdfb2a375e2))
- **ses_email:** Add email services to hyperswitch ([#2977](https://github.com/juspay/hyperswitch/pull/2977)) ([`5f5e895`](https://github.com/juspay/hyperswitch/commit/5f5e895f638701a0e6ab3deea9101ef39033dd16))

### Bug Fixes

- **router:** Make use of warning to log errors when apple pay metadata parsing fails ([#3010](https://github.com/juspay/hyperswitch/pull/3010)) ([`2e57745`](https://github.com/juspay/hyperswitch/commit/2e57745352c547323ac2df2554f6bc2dbd6da37f))

**Full Changelog:** [`v1.91.1...v1.92.0`](https://github.com/juspay/hyperswitch/compare/v1.91.1...v1.92.0)

- - -


## 1.91.1 (2023-11-29)

### Bug Fixes
Expand Down
166 changes: 165 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:slim-bookworm as builder
FROM rust:bookworm as builder

ARG EXTRA_FEATURES=""

Expand Down Expand Up @@ -36,7 +36,7 @@ RUN cargo build --release --features release ${EXTRA_FEATURES}



FROM debian:bookworm-slim
FROM debian:bookworm

# Placing config and binary executable in different directories
ARG CONFIG_DIR=/local/config
Expand Down
17 changes: 11 additions & 6 deletions config/config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,17 @@ region = "" # The AWS region used by the KMS SDK for decrypting data.

# EmailClient configuration. Only applicable when the `email` feature flag is enabled.
[email]
from_email = "[email protected]" # Sender email
aws_region = "" # AWS region used by AWS SES
base_url = "" # Base url used when adding links that should redirect to self
sender_email = "[email protected]" # Sender email
aws_region = "" # AWS region used by AWS SES
base_url = "" # Base url used when adding links that should redirect to self
allowed_unverified_days = 1 # Number of days the api calls ( with jwt token ) can be made without verifying the email
active_email_client = "SES" # The currently active email client

# Configuration for aws ses, applicable when the active email client is SES
[email.aws_ses]
email_role_arn = "" # The amazon resource name ( arn ) of the role which has permission to send emails
sts_role_session_name = "" # An identifier for the assumed role session, used to uniquely identify a session.


#tokenization configuration which describe token lifetime and payment method for specific connector
[tokenization]
Expand Down Expand Up @@ -427,9 +435,6 @@ credit = { currency = "USD" }
debit = { currency = "USD" }
ach = { currency = "USD" }

[pm_filters.stripe]
cashapp = { country = "US", currency = "USD" }

[pm_filters.prophetpay]
card_redirect = { currency = "USD" }

Expand Down
40 changes: 38 additions & 2 deletions config/development.toml
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,15 @@ disabled = false
consumer_group = "SCHEDULER_GROUP"

[email]
from_email = "notify@example.com"
sender_email = "example@example.com"
aws_region = ""
base_url = ""
base_url = "http://localhost:8080"
allowed_unverified_days = 1
active_email_client = "SES"

[email.aws_ses]
email_role_arn = ""
sts_role_session_name = ""

[bank_config.eps]
stripe = { banks = "arzte_und_apotheker_bank,austrian_anadi_bank_ag,bank_austria,bankhaus_carl_spangler,bankhaus_schelhammer_und_schattera_ag,bawag_psk_ag,bks_bank_ag,brull_kallmus_bank_ag,btv_vier_lander_bank,capital_bank_grawe_gruppe_ag,dolomitenbank,easybank_ag,erste_bank_und_sparkassen,hypo_alpeadriabank_international_ag,hypo_noe_lb_fur_niederosterreich_u_wien,hypo_oberosterreich_salzburg_steiermark,hypo_tirol_bank_ag,hypo_vorarlberg_bank_ag,hypo_bank_burgenland_aktiengesellschaft,marchfelder_bank,oberbank_ag,raiffeisen_bankengruppe_osterreich,schoellerbank_ag,sparda_bank_wien,volksbank_gruppe,volkskreditbank_ag,vr_bank_braunau" }
Expand Down Expand Up @@ -469,3 +475,33 @@ delay_between_retries_in_milliseconds = 500

[kv_config]
ttl = 900 # 15 * 60 seconds

[events]
source = "logs"

[events.kafka]
brokers = ["localhost:9092"]
intent_analytics_topic = "hyperswitch-payment-intent-events"
attempt_analytics_topic = "hyperswitch-payment-attempt-events"
refund_analytics_topic = "hyperswitch-refund-events"
api_logs_topic = "hyperswitch-api-log-events"
connector_events_topic = "hyperswitch-connector-api-events"

[analytics]
source = "sqlx"

[analytics.clickhouse]
username = "default"
# password = ""
host = "http://localhost:8123"
database_name = "default"

[analytics.sqlx]
username = "db_user"
password = "db_pass"
host = "localhost"
port = 5432
dbname = "hyperswitch_db"
pool_size = 5
connection_timeout = 10
queue_strategy = "Fifo"
Loading

0 comments on commit 94715ba

Please sign in to comment.