Projekt

Obecné

Profil

Stáhnout (1.52 KB) Statistiky
| Větev: | Tag: | Revize:
1
# jpa settings
2
spring.jpa.hibernate.ddl-auto=update
3
spring.jpa.show-sql=true
4
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLServerDialect
5

    
6
# first mysql database connection:
7
spring.datasource.jdbc-url=jdbc:mysql://localhost:3306/spade
8
spring.datasource.username=root
9
spring.datasource.password=
10
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
11

    
12
# second mysql database connection:
13
spring.second-datasource.jdbc-url=jdbc:mysql://localhost:3306/authspade
14
spring.second-datasource.username=root
15
spring.second-datasource.password=
16
spring.second-datasource.driverClassName=com.mysql.cj.jdbc.Driver
17

    
18
detecting.service.url=http://localhost:8081
19

    
20
# custom error pages
21
server.error.whitelabel.enabled=false
22

    
23
# logger
24
logging.level.root=INFO
25
logging.level.cz.zcu.fav.kiv.antipatterndetectionapp=TRACE
26

    
27
# security
28
auth.realm.login=http://localhost:8081/login
29
auth.realm.logout=http://localhost:8081/logout
30
auth.realm.authenticate=http://localhost:8081/authenticate
31

    
32
#default configuration user
33
default_user_id = 2
34

    
35
## oauth2 -> keycloak
36

    
37
# localhost is here thanks to KC_HOSTNAME_URL property in the docker-compose. Otherwise, there should be docker service name.
38
spring.security.oauth2.resourceserver.jwt.issuer-uri=http://localhost:9080/auth/realms/spade
39
#spring.security.oauth2.resourceserver.jwt.jwk-set-uri=http://localhost:9080/auth/realms/spade/protocol/openid-connect/certs
40

    
41

    
42
#keycloak.auth-server-url=http://localhost:9080/auth
43
#keycloak.realm=spade
44
#keycloak.resource=spade-client
45

    
46
logging.level.org.springframework.security=debug
(1-1/2)