feat: establish AIOA identity and organization baseline

This commit is contained in:
selfrelease
2026-07-18 08:05:45 +08:00
commit bbb09ed56f
42 changed files with 2473 additions and 0 deletions
@@ -0,0 +1,40 @@
spring:
application:
name: aioa-backend
datasource:
url: ${DB_URL:jdbc:postgresql://127.0.0.1:15432/aioa}
username: ${DB_USER:aioa}
password: ${DB_PASSWORD:change-me}
hikari:
maximum-pool-size: ${DB_POOL_SIZE:10}
minimum-idle: 1
flyway:
enabled: true
locations: classpath:db/migration
jooq:
sql-dialect: postgres
security:
oauth2:
resourceserver:
jwt:
issuer-uri: ${OIDC_ISSUER_URI:http://localhost:8081/realms/aioa}
server:
port: ${SERVER_PORT:8080}
shutdown: graceful
error:
include-message: never
management:
endpoints:
web:
exposure:
include: health,info,prometheus
endpoint:
health:
probes:
enabled: true
logging:
pattern:
correlation: "[traceId=%X{traceId:-}] "