# ===============================
# Server
# ===============================
server.port=8082
spring.application.name=odco-odco

# ===============================
# Datasource (ODCO DB)
# ===============================
spring.datasource.url=jdbc:mysql://localhost:3306/odco_app_db?useSSL=false&serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

# ===============================
# JPA / Hibernate
# ===============================
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect

# ===============================
# JWT (Validator only)
# ===============================
app.jwt.secret=CB1mjxDUB64kpkAISN/2l9AZApQgqSUXxNgiLqltj2Y=
app.jwt.expiration-ms=86400000
app.jwt.refresh-expiration-ms=604800000

# ===============================
# Logging (optional)
# ===============================
logging.level.org.springframework.security=INFO
logging.level.org.hibernate.SQL=DEBUG
logging.level.org.hibernate.type.descriptor.sql=TRACE