From 6339b609841850100793c7be33b83c7bdb5d29c0 Mon Sep 17 00:00:00 2001 From: Samuel St-Jean <3030760+samuelstjean@users.noreply.github.com> Date: Wed, 21 Oct 2026 08:39:32 -0400 Subject: [PATCH] Add sample_application.yaml sourced from the wiki --- sample_application.yaml | 64 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 sample_application.yaml diff --git a/sample_application.yaml b/sample_application.yaml new file mode 100644 index 000000000..2fe22d76b --- /dev/null +++ b/sample_application.yaml @@ -0,0 +1,64 @@ +datasource: + dialect: postgresql + dialect.source: postgresql + driverClassName: org.postgresql.Driver + ohdsi.schema: + url: jdbc:postgresql://:/ + username: + password: + +security: + auth: + db: + enabled: true + lockout-policy: + max-failed-attempts: 5 + lockout-duration: 30m + datasource: + driver-class-name: org.postgresql.Driver + url: jdbc:postgresql://:/ + username: + password: + schema: + + oauth: + callback: + ui: http://localhost/Atlas3/#/oauth/callback + google: + enabled: true + apiKey: + apiSecret: + + cors: + enabled: true + allowed-origins: http://localhost, http://localhost:8080, http://localhost:5173 + + defaultRoles: "public,Atlas users" + + sessions: + expiration: 8h + cleanup-interval: 1h + +spring: + jpa: + open-in-view: false + + flyway: + url: ${datasource.url} + user: + password: + out-of-order: true + +management: + endpoints: + web: + exposure: + include: health,metrics,caches + +logging: + level: + org.ohdsi.webapi.security.authz: DEBUG + # org.springframework.jdbc: DEBUG + # org.hibernate.SQL: DEBUG + # org.hibernate.orm.jdbc.bind: TRACE + # org.hibernate.stat: DEBUG