Skip to content

Commit 169d33b

Browse files
authored
revert: fix(analytics): feat(analytics): analytics APIs (#2777)
1 parent 1502697 commit 169d33b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+13
-4507
lines changed

Cargo.lock

Lines changed: 11 additions & 270 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/config.example.toml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -433,22 +433,10 @@ apple_pay_ppc_key = "APPLE_PAY_PAYMENT_PROCESSING_CERTIFICATE_KEY" #Private
433433
apple_pay_merchant_cert = "APPLE_PAY_MERCHNAT_CERTIFICATE" #Merchant Certificate provided by Apple Pay (https://developer.apple.com/) Certificates, Identifiers & Profiles > Apple Pay Merchant Identity Certificate
434434
apple_pay_merchant_cert_key = "APPLE_PAY_MERCHNAT_CERTIFICATE_KEY" #Private key generate by RSA:2048 algorithm
435435

436+
436437
[payment_link]
437438
sdk_url = "http://localhost:9090/dist/HyperLoader.js"
438439

439-
# Analytics configuration.
440-
[analytics]
441-
source = "sqlx" # The Analytics source/strategy to be used
442-
443-
[analytics.sqlx]
444-
username = "db_user" # Analytics DB Username
445-
password = "db_pass" # Analytics DB Password
446-
host = "localhost" # Analytics DB Host
447-
port = 5432 # Analytics DB Port
448-
dbname = "hyperswitch_db" # Name of Database
449-
pool_size = 5 # Number of connections to keep open
450-
connection_timeout = 10 # Timeout for database connection in seconds
451-
452440
# Config for KV setup
453441
[kv_config]
454442
# TTL for KV in seconds

config/docker_compose.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -317,16 +317,5 @@ supported_connectors = "braintree"
317317
redis_lock_expiry_seconds = 180 # 3 * 60 seconds
318318
delay_between_retries_in_milliseconds = 500
319319

320-
[analytics]
321-
source = "sqlx"
322-
323-
[analytics.sqlx]
324-
username = "db_user"
325-
password = "db_pass"
326-
host = "pg"
327-
port = 5432
328-
dbname = "hyperswitch_db"
329-
pool_size = 5
330-
331320
[kv_config]
332321
ttl = 900 # 15 * 60 seconds

crates/api_models/src/analytics.rs

Lines changed: 0 additions & 137 deletions
This file was deleted.

crates/api_models/src/analytics/payments.rs

Lines changed: 0 additions & 176 deletions
This file was deleted.

0 commit comments

Comments
 (0)