|
@@ -14,6 +14,7 @@ spring:
|
|
|
generate-ddl: true
|
|
generate-ddl: true
|
|
|
properties:
|
|
properties:
|
|
|
hibernate:
|
|
hibernate:
|
|
|
|
|
+ generate_statistics: false
|
|
|
dialect: org.hibernate.dialect.PostgreSQLDialect
|
|
dialect: org.hibernate.dialect.PostgreSQLDialect
|
|
|
ddl-auto: update
|
|
ddl-auto: update
|
|
|
hbm2ddl:
|
|
hbm2ddl:
|
|
@@ -24,11 +25,15 @@ spring:
|
|
|
job:
|
|
job:
|
|
|
enabled: false
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
+ redis:
|
|
|
|
|
+ host: localhost
|
|
|
|
|
+ port: 6379
|
|
|
|
|
+
|
|
|
#liquibase:
|
|
#liquibase:
|
|
|
# change-log: classpath:/db/db.changelog-master.xml
|
|
# change-log: classpath:/db/db.changelog-master.xml
|
|
|
|
|
|
|
|
server:
|
|
server:
|
|
|
- port: 8081
|
|
|
|
|
|
|
+ port: 9092
|
|
|
undertow:
|
|
undertow:
|
|
|
accesslog:
|
|
accesslog:
|
|
|
dir: target
|
|
dir: target
|
|
@@ -38,18 +43,18 @@ server:
|
|
|
enabled: true
|
|
enabled: true
|
|
|
min-response-size: 1
|
|
min-response-size: 1
|
|
|
|
|
|
|
|
-#security:
|
|
|
|
|
-# oauth2:
|
|
|
|
|
-# client:
|
|
|
|
|
-# accessTokenUri: http://localhost:8082/oauth/access_token
|
|
|
|
|
-# userAuthorizationUri: http://localhost:8082/oauth/authorize
|
|
|
|
|
-# clientId: crss
|
|
|
|
|
-# clientSecret: crsssecret
|
|
|
|
|
-# authorized-grant-types: authorization_code,refresh_token,password
|
|
|
|
|
-# scope: openid
|
|
|
|
|
-# access-token-validity-seconds: 3600
|
|
|
|
|
-# resource:
|
|
|
|
|
-# userInfoUri: http://localhost:8082/user
|
|
|
|
|
|
|
+security:
|
|
|
|
|
+ oauth2:
|
|
|
|
|
+ client:
|
|
|
|
|
+ accessTokenUri: http://localhost:8082/oauth/access_token
|
|
|
|
|
+ userAuthorizationUri: http://localhost:8082/oauth/authorize
|
|
|
|
|
+ clientId: crss
|
|
|
|
|
+ clientSecret: crsssecret
|
|
|
|
|
+ authorized-grant-types: authorization_code,refresh_token,password
|
|
|
|
|
+ scope: openid
|
|
|
|
|
+ access-token-validity-seconds: 3600
|
|
|
|
|
+ resource:
|
|
|
|
|
+ userInfoUri: http://localhost:8082/user
|
|
|
|
|
|
|
|
logging:
|
|
logging:
|
|
|
level:
|
|
level:
|