application.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. # ===================================================================
  2. # Spring Boot configuration.
  3. #
  4. # This configuration is used for unit/integration tests.
  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. spring:
  15. profiles:
  16. # Uncomment the following line to enable tests against production database type rather than H2, using Testcontainers
  17. #active: testcontainers
  18. application:
  19. name: carbonlibra
  20. datasource:
  21. type: com.zaxxer.hikari.HikariDataSource
  22. url: jdbc:h2:mem:carbonlibra;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
  23. name:
  24. username:
  25. password:
  26. hikari:
  27. auto-commit: false
  28. jackson:
  29. serialization:
  30. write-durations-as-timestamps: false
  31. jpa:
  32. database-platform: tech.jhipster.domain.util.FixedH2Dialect
  33. open-in-view: false
  34. hibernate:
  35. ddl-auto: update
  36. naming:
  37. physical-strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
  38. implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
  39. properties:
  40. hibernate.id.new_generator_mappings: true
  41. hibernate.connection.provider_disables_autocommit: true
  42. hibernate.cache.use_second_level_cache: false
  43. hibernate.cache.use_query_cache: false
  44. hibernate.generate_statistics: false
  45. hibernate.hbm2ddl.auto: update
  46. hibernate.jdbc.time_zone: UTC
  47. hibernate.query.fail_on_pagination_over_collection_fetch: true
  48. liquibase:
  49. enabled: false
  50. mail:
  51. host: localhost
  52. main:
  53. allow-bean-definition-overriding: true
  54. messages:
  55. basename: i18n/messages
  56. task:
  57. execution:
  58. thread-name-prefix: carbonlibra-task-
  59. pool:
  60. core-size: 1
  61. max-size: 50
  62. queue-capacity: 10000
  63. scheduling:
  64. thread-name-prefix: carbonlibra-scheduling-
  65. pool:
  66. size: 1
  67. thymeleaf:
  68. mode: HTML
  69. server:
  70. port: 10344
  71. address: localhost
  72. # ===================================================================
  73. # JHipster specific properties
  74. #
  75. # Full reference is available at: https://www.jhipster.tech/common-application-properties/
  76. # ===================================================================
  77. jhipster:
  78. clientApp:
  79. name: 'carbonlibraApp'
  80. logging:
  81. # To test json console appender
  82. use-json-format: false
  83. logstash:
  84. enabled: false
  85. host: localhost
  86. port: 5000
  87. queue-size: 512
  88. security:
  89. authentication:
  90. jwt:
  91. # This token must be encoded using Base64 (you can type `echo 'secret-key'|base64` on your command line)
  92. base64-secret: NjJlYjRlZDEyOTM5NjQwYzg5MWM4NWI1OWE2Y2U3NTE4N2NmZWYyNDc2ZmQyOTkwODUwZmUyZDZjMzUzYzBjNGEzNGRjMmVlNDcwOGQzMGY1ZjQ3OTM0ZTFmMTAxYzg4NmExOTg0YzhkYzU4Zjc1MzE1YTg3NmVkYTgyNWVjNmE=
  93. # Token is valid 24 hours
  94. token-validity-in-seconds: 86400
  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: