application-dev.yml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. # ===================================================================
  2. # Spring Boot configuration for the "dev" profile.
  3. #
  4. # This configuration overrides the application.yml file.
  5. #
  6. # More information on profiles: https://www.jhipster.tech/profiles/
  7. # More information on configuration properties: https://www.jhipster.tech/common-application-properties/
  8. # ===================================================================
  9. # ===================================================================
  10. # Standard Spring Boot properties.
  11. # Full reference is available at:
  12. # http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
  13. # ===================================================================
  14. logging:
  15. level:
  16. ROOT: DEBUG
  17. tech.jhipster: DEBUG
  18. org.hibernate.SQL: DEBUG
  19. com.ruowei: DEBUG
  20. spring:
  21. devtools:
  22. restart:
  23. enabled: true
  24. additional-exclude: static/**
  25. livereload:
  26. enabled: false # we use Webpack dev server + BrowserSync for livereload
  27. jackson:
  28. serialization:
  29. indent-output: false
  30. datasource:
  31. type: com.zaxxer.hikari.HikariDataSource
  32. url: jdbc:mysql://ruoweiedu.com:13307/cnspjava?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
  33. username: cnsp
  34. password: Cns@2021
  35. hikari:
  36. poolName: Hikari
  37. auto-commit: false
  38. data-source-properties:
  39. cachePrepStmts: true
  40. prepStmtCacheSize: 250
  41. prepStmtCacheSqlLimit: 2048
  42. useServerPrepStmts: true
  43. jpa:
  44. liquibase:
  45. contexts: dev
  46. messages:
  47. cache-duration: PT1S # 1 second, see the ISO 8601 standard
  48. thymeleaf:
  49. cache: false
  50. sleuth:
  51. sampler:
  52. probability: 1 # report 100% of traces
  53. zipkin: # Use the "zipkin" Maven profile to have the Spring Cloud Zipkin dependencies
  54. base-url: http://localhost:9411
  55. enabled: false
  56. locator:
  57. discovery:
  58. enabled: true
  59. server:
  60. port: 8080
  61. # ===================================================================
  62. # JHipster specific properties
  63. #
  64. # Full reference is available at: https://www.jhipster.tech/common-application-properties/
  65. # ===================================================================
  66. jhipster:
  67. cache: # Cache configuration
  68. caffeine: # Caffeine configuration
  69. time-to-live-seconds: 3600 # By default objects stay 1 hour in the cache. This sets expireAfterWrite in Caffeine (https://github.com/ben-manes/caffeine/wiki/Eviction#time-based)
  70. max-entries: 100 # Number of objects in each cache entry
  71. # CORS is only enabled by default with the "dev" profile
  72. cors:
  73. # Allow Ionic for JHipster by default (* no longer allowed in Spring Boot 2.4+)
  74. allowed-origins: 'http://localhost:8000, https://localhost:8000,http://localhost:8001, https://localhost:8001, http://192.168.1.20:8000, http://192.168.1.30:8000, http://192.168.1.30:8001, https://192.168.1.30:8001, http://192.168.1.24:8000, https://192.168.1.24:8000'
  75. allowed-methods: '*'
  76. allowed-headers: '*'
  77. exposed-headers: 'Authorization,Link,X-Total-Count,X-${jhipster.clientApp.name}-alert,X-${jhipster.clientApp.name}-error,X-${jhipster.clientApp.name}-params'
  78. allow-credentials: true
  79. max-age: 1800
  80. security:
  81. authentication:
  82. jwt:
  83. # This token must be encoded using Base64 and be at least 256 bits long (you can type `openssl rand -base64 64` on your command line to generate a 512 bits one)
  84. base64-secret: NWM4M2RmMTUwZjZkNGY2OTNjNzg5ZmZiMjhlYzZmZTg5MGRiZjA1NjgzMDkyYTQwMWMyODRkNjY3MDgxMjU5ZWVhYzI0ZjliZGNkMDBhOGQxNDkwMDA4MGI3OTA3ZTYwNGMxYWRmODNjMTJkMTJiMTIwNmNkYzIyZmFjMjM5N2E=
  85. # Token is valid 24 hours
  86. token-validity-in-seconds: 86400
  87. token-validity-in-seconds-for-remember-me: 2592000
  88. logging:
  89. use-json-format: false # By default, logs are not in Json format
  90. logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
  91. enabled: false
  92. host: localhost
  93. port: 5000
  94. queue-size: 512
  95. # ===================================================================
  96. # Application specific properties
  97. # Add your own application properties here, see the ApplicationProperties class
  98. # to have type-safe configuration, like in the JHipsterProperties above
  99. #
  100. # More documentation is available at:
  101. # https://www.jhipster.tech/common-application-properties/
  102. # ===================================================================
  103. application:
  104. block-chain:
  105. # generate with openssl rand -base64 9
  106. app-id: SHc9yqBK7EAo
  107. channel-id: 650950ada7525b005e0b6863
  108. chaincode-id: 65099666570cf400669c8dc5
  109. base-url: http://172.20.223.197:8081
  110. ali-cloud:
  111. enable-sms: false
  112. access-key-id: LTAI5tMYjV29Hy1XKn3d79YD
  113. access-key-secret: 48we5KZdx9Bu2OiJ9hmXhQTf2aCut0
  114. sign-name: 红杉天枰
  115. evaluation-through-template: SMS_232906758
  116. evaluation-not-through-template: SMS_232911702
  117. approval-through-template: SMS_232916792
  118. filing-through-template: SMS_232906773
  119. red-check-through-template: SMS_232891848
  120. red-filing-through-template: SMS_232892121
  121. add-account: SMS_234136153
  122. reset-password: SMS_234156180
  123. regist-deny: SMS_238152682
  124. reportPath: ./cnsp/report/
  125. uploadPath: ./cnsp/upload/
  126. tempPath: ./cnsp/tmp/
  127. imgPath: ./cnsp/img/