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