# Database Configuration
# =====================
# These properties can be overridden by environment variables.
# Environment variables take precedence over these file-based values.
#
# Supported Environment Variables:
# - JPOS_DB_DRIVER (or use property: javax.persistence.jdbc.driver)
# - JPOS_DB_URL (or use property: javax.persistence.jdbc.url)
# - JPOS_DB_USER or DB_USERNAME (or use property: javax.persistence.jdbc.user)
# - JPOS_DB_PASSWORD or DB_PASSWORD (or use property: javax.persistence.jdbc.password)
# - JPOS_DB_DIALECT (or use property: hibernate.dialect)
# - JPOS_DB_SHOW_SQL (or use property: hibernate.show_sql)
# - JPOS_DB_FORMAT_SQL (or use property: hibernate.format_sql)
# - JPOS_DB_HBM2DDL_AUTO (or use property: hibernate.hbm2ddl.auto)
#
# HikariCP Connection Pool Settings:
# - JPOS_DB_POOL_SIZE (or use property: hibernate.hikari.maximumPoolSize) - default: 10
# - JPOS_DB_MIN_IDLE (or use property: hibernate.hikari.minimumIdle) - default: 5
# - JPOS_DB_CONNECTION_TIMEOUT (or use property: hibernate.hikari.connectionTimeout) - default: 30000ms
# - JPOS_DB_IDLE_TIMEOUT (or use property: hibernate.hikari.idleTimeout) - default: 600000ms (10 min)
# - JPOS_DB_MAX_LIFETIME (or use property: hibernate.hikari.maxLifetime) - default: 1800000ms (30 min)
# - JPOS_DB_LEAK_DETECTION (or use property: hibernate.hikari.leakDetectionThreshold) - default: 60000ms (1 min)
#   Set to 0 to disable leak detection, or milliseconds to enable logging for connections held longer than threshold
#
# Example usage with environment variables:
# export JPOS_DB_USER=myuser
# export JPOS_DB_PASSWORD=mypassword
# export JPOS_DB_POOL_SIZE=20
# ./bin/q2

javax.persistence.jdbc.url=jdbc:mysql://localhost:3306/shukria_transactions
hibernate.show_sql=false
hibernate.format_sql=false
hibernate.hikari.leakDetectionThreshold=12000

#javax.persistence.jdbc.user=test
#javax.persistence.jdbc.password=test


# HikariCP Connection Pool Configuration (optional - defaults are provided)
# Uncomment and adjust these values for production use:
# hibernate.hikari.maximumPoolSize=20
# hibernate.hikari.minimumIdle=10
# hibernate.hikari.connectionTimeout=30000
# hibernate.hikari.idleTimeout=600000
# hibernate.hikari.maxLifetime=1800000
# hibernate.hikari.leakDetectionThreshold=60000  # Logs warnings for connections held > 1 minute, set to 0 to disable

# Rules Engine Configuration
# ==========================
rules.engine.endpoint=http://demo.ctrmv.com:14015/v1/transaction-rules/evaluate

# Receipt Configuration
# =====================
receipt.logo.baseurl=https://internal.ariticapp.com/nishant/prverification/epay/