|
Last change
on this file since 3ebe47c was 3ebe47c, checked in by Andrej <asumanovski@…>, 5 months ago |
|
Made authentication on frontend and backend
|
-
Property mode
set to
100644
|
|
File size:
741 bytes
|
| Line | |
|---|
| 1 | # Test profile: use in-memory DB so tests don't require external Postgres
|
|---|
| 2 |
|
|---|
| 3 | spring.datasource.url=jdbc:h2:mem:trekr;MODE=PostgreSQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=TRUE
|
|---|
| 4 | spring.datasource.driver-class-name=org.h2.Driver
|
|---|
| 5 | spring.datasource.username=sa
|
|---|
| 6 | spring.datasource.password=
|
|---|
| 7 |
|
|---|
| 8 | spring.jpa.hibernate.ddl-auto=create-drop
|
|---|
| 9 | spring.jpa.show-sql=false
|
|---|
| 10 | spring.jpa.properties.hibernate.format_sql=true
|
|---|
| 11 | spring.jpa.properties.hibernate.default_schema=trekr
|
|---|
| 12 | spring.jpa.properties.hibernate.hbm2ddl.create_namespaces=false
|
|---|
| 13 |
|
|---|
| 14 | # Ensure schema exists before Hibernate runs DDL
|
|---|
| 15 | spring.sql.init.mode=always
|
|---|
| 16 |
|
|---|
| 17 | # JWT secret for tests
|
|---|
| 18 | jwt.secret=test-secret-min-32-chars-000000000000
|
|---|
| 19 |
|
|---|
| 20 | # Keep noise down in tests
|
|---|
| 21 | logging.level.org.springframework.security=INFO
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.