server:
  port: 8080

spring:
  application:
    name: kamco-training-api

  datasource:
    driver-class-name: org.postgresql.Driver
    url: jdbc:postgresql://localhost:15432/kamco_training_db
    username: kamco_cds
    password: kamco_cds_Q!W@E#R$
    hikari:
      minimum-idle: 2
      maximum-pool-size: 2
      connection-timeout: 20000
      idle-timeout: 300000
      max-lifetime: 1800000
      leak-detection-threshold: 60000

  data:
    redis:
      host: localhost
      port: 6379
      password:

  jpa:
    hibernate:
      ddl-auto: none  # 테스트 환경에서는 DDL 자동 생성/수정 비활성화
    properties:
      hibernate:
        hbm2ddl:
          auto: none
        javax:
          persistence:
            validation:
              mode: none
        jdbc:
          batch_size: 50
        default_batch_fetch_size: 100
    show-sql: false

logging:
  level:
    org:
      springframework:
        web: DEBUG
        security: DEBUG
    root: INFO

management:
  health:
    readinessstate:
      enabled: true
    livenessstate:
      enabled: true
  endpoint:
    health:
      probes:
        enabled: true
      show-details: always
  endpoints:
    jmx:
      exposure:
        exclude: "*"
    web:
      base-path: /monitor
      exposure:
        include:
          - "health"

geojson:
  monitor:
    watch-directory: ~/geojson/upload
    processed-directory: ~/geojson/processed
    error-directory: ~/geojson/error
    temp-directory: /tmp/geojson_extract
    cron-expression: "0/30 * * * * *"
    supported-extensions:
      - zip
      - tar
      - tar.gz
      - tgz
    max-file-size: 104857600

jwt:
  secret: "test_secret_key_for_testing_purposes_only"
  access-token-validity-in-ms: 86400000
  refresh-token-validity-in-ms: 604800000

token:
  refresh-cookie-name: kamco-test
  refresh-cookie-secure: false

member:
  init_password: test1234!

