فهرست منبع

[dataflow-app | devlocal] update configs for local development

dmendoza 8 سال پیش
والد
کامیت
694f401e95
1فایلهای تغییر یافته به همراه18 افزوده شده و 13 حذف شده
  1. 18 13
      crss-dataflow-app/crss-dataflow-app-devlocal.yml

+ 18 - 13
crss-dataflow-app/crss-dataflow-app-devlocal.yml

@@ -14,6 +14,7 @@ spring:
     generate-ddl: true
     properties:
       hibernate:
+        generate_statistics: false
         dialect: org.hibernate.dialect.PostgreSQLDialect
         ddl-auto: update
         hbm2ddl:
@@ -24,11 +25,15 @@ spring:
     job:
       enabled: false
 
+  redis:
+    host: localhost
+    port: 6379
+
 #liquibase:
 #  change-log: classpath:/db/db.changelog-master.xml
 
 server:
-  port: 8081
+  port: 9092
   undertow:
     accesslog:
       dir: target
@@ -38,18 +43,18 @@ server:
     enabled: true
     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:
   level: