application.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. spring:
  2. profiles:
  3. active: prod
  4. config:
  5. import:
  6. - optional:file:${user.dir}/conf/ggits-comm-server.yml
  7. application:
  8. name: ggits-comm-server
  9. main:
  10. # web-application-type: none
  11. log-startup-info: true
  12. banner-mode: off
  13. output:
  14. ansi:
  15. enabled: always
  16. datasource:
  17. hikari:
  18. connection-test-query: SELECT 1 FROM DUAL
  19. minimumIdle: 5
  20. maximumPoolSize: 20
  21. idleTimeout: 30000
  22. server:
  23. port: 9873
  24. management:
  25. endpoints:
  26. web:
  27. exposure:
  28. include: health, metrics
  29. application:
  30. ggits-server-ip: 192.168.24.22
  31. process-id: 81012
  32. packet-workers: 0
  33. packet-queue-size: 0
  34. dbms-workers: 0
  35. dbms-queue-size: 0
  36. thread-pool:
  37. dbms: 0
  38. work: 0
  39. kafka: 0
  40. kafka:
  41. bootstrap-servers: 192.168.11.23:9092
  42. group-id: ggits-comm-server
  43. enable-node: true
  44. enable-sig: true
  45. props:
  46. # - request.timeout.ms: 100
  47. # - max.block.ms: 100
  48. # - transactional.id: tsi-comm-server-01
  49. # - acks: 0
  50. # - retries: 0
  51. # - linger.ms: 1
  52. ---
  53. spring:
  54. config:
  55. activate:
  56. on-profile: dev
  57. datasource:
  58. hikari:
  59. driver-class-name: oracle.jdbc.OracleDriver
  60. jdbc-url: jdbc:oracle:thin:@192.168.10.68:1521:CVIBDB
  61. username: sigtest
  62. password: sigtest
  63. ---
  64. spring:
  65. config:
  66. activate:
  67. on-profile: prod
  68. datasource:
  69. hikari:
  70. driver-class-name: oracle.jdbc.OracleDriver
  71. jdbc-url: jdbc:oracle:thin:@192.168.10.68:1521:CVIBDB
  72. username: siguser
  73. password: siguser