crss-dataflow-app.yml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. spring:
  2. profiles.include: client-sec
  3. crss-dataflow:
  4. datasource:
  5. driverClassName: com.edb.Driver
  6. connectionTimeout: 150000
  7. maximumPoolSize: 20
  8. test-on-borrow: true
  9. validation-query: SELECT 1
  10. jdbcUrl: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=dataflow&ApplicationName=dataflowApp
  11. username: crss_dataflow
  12. password: lgcCpwy0
  13. jpa:
  14. show-sql: false
  15. generate-ddl: false
  16. properties:
  17. hibernate:
  18. generate_statistics: false
  19. dialect: org.hibernate.dialect.PostgreSQLDialect
  20. ddl-auto: none
  21. hbm2ddl:
  22. import_files:
  23. # prevent batch job from running on app start
  24. batch:
  25. job:
  26. enabled: false
  27. initializer:
  28. enabled: false
  29. cloud:
  30. task:
  31. initialize:
  32. enable: false
  33. #liquibase:
  34. # change-log: classpath:/db/db.changelog-master.xml
  35. security:
  36. oauth2:
  37. client:
  38. accessTokenUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/oauth/access_token
  39. userAuthorizationUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/oauth/authorize
  40. resource:
  41. userInfoUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/user
  42. server:
  43. port: 8082
  44. undertow:
  45. accesslog:
  46. dir: target
  47. enabled: true
  48. pattern: combined
  49. compression:
  50. enabled: true
  51. min-response-size: 1
  52. session:
  53. cookie:
  54. secure: true
  55. logging:
  56. level:
  57. com.pemc: DEBUG
  58. com.netflix: DEBUG
  59. org.springframework.cloud: DEBUG
  60. org.apache.http: DEBUG
  61. org.hibernate.stat: debug
  62. dataflow:
  63. url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
  64. sftp:
  65. credentials:
  66. username: pemc
  67. password: 123qwe
  68. host: pemc-storage.southeastasia.cloudapp.azure.com
  69. port: 22
  70. workingDirectory: /home/pemc/upload
  71. privateKey:
  72. scheduler:
  73. #Y/N: Y means that Adddtional Compensation Run will be queued on Monthly. Also need to change
  74. #spring.cloud.deployer.mesos.chronos.constraints on crss-settlement-task-calculation-addtlcomp.yml to rack,EQUALS,rack-monthly
  75. execute-ac-at-monthly-node: N
  76. parallel-stl-monthly-job: 7
  77. interval-milliseconds: 10000
  78. # launch-timeout-seconds: 900
  79. launch-timeout-seconds: 86400
  80. # add additional keys from JobProcess.envKey if you need to fine-grain the job execution timeout for a specific job
  81. job-execution-timeout-minutes:
  82. default: 240 #4 hours
  83. genEnergyFiles: 600 # 10 hours
  84. genMqReport: 360 # 6 hours
  85. # temporary todi-config, to be moved to general config
  86. todi-config:
  87. dispatch-interval: 5
  88. max-retry: 2