Advertisement
Guest User

Untitled

a guest
May 4th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. Node1:
  2.  
  3. ---------------------------nbs-biometric-server-------------------
  4. nbs {
  5. installation-name = "NBS-CROATIA"
  6. node-name = "NODE-01"
  7.  
  8. matcher {
  9. number-of-partitions = 3
  10. queue-url = "amqp://nbs:6Ubrecayex@192.168.1.230:5672/nbs"
  11. timeout-millis = 10000
  12.  
  13. curator {
  14. namespace = "nbs"
  15. session-timeout-ms = 3000
  16. connection-timeout-ms = 3000
  17. servers = "192.168.1.231:2181,192.168.1.232:2181,192.168.1.233:2181"
  18.  
  19. retry {
  20. max-retries = 5
  21. base-sleep-time-ms = 1000
  22. max-sleep-time-ms = 5000
  23. }
  24. }
  25.  
  26. }
  27.  
  28. database {
  29. driver = "com.mysql.jdbc.Driver"
  30. url = "jdbc:mysql://127.0.0.1/nbs_biometric"
  31. user = "nbs"
  32. password = "leequase9Xoh"
  33. dialect = "org.hibernate.dialect.MySQL5Dialect"
  34. }
  35.  
  36. rpc {
  37. host = "192.168.1.231"
  38. port = 2800
  39. }
  40.  
  41. rpc-client {
  42. host = "192.168.1.231"
  43. port = 2800
  44. }
  45.  
  46. api {
  47. port = 8200
  48. }
  49.  
  50.  
  51. tls {
  52. key-store-path = "nbs-server.ks"
  53. key-store-password = "fYgcEGVYy7zuvwVc"
  54. trust-store-path = "nbs.ts"
  55. trust-store-password = "5Lj39UFDVreQcFys"
  56. }
  57. }
  58. --------------------------------clustered-matcher-----------------------
  59. # The mysql server reports its time zone as "CEST" which is not recognized by the TimeZone class.
  60. # Thus the same time zone must be forced in a format understandable by the TimeZone class.
  61. app.datasource.default.jdbcUrl = jdbc:mariadb://localhost/nbs_biometric?useCompression=true&serverTimezone=Europe/Zagreb
  62. app.datasource.default.driverClass = org.mariadb.jdbc.Driver
  63. app.datasource.default.user = nbs
  64. app.datasource.default.password = leequase9Xoh
  65. app.datasource.default.maxIdleTime = 120
  66. app.datasource.default.testConnectionOnCheckin = true
  67. app.datasource.default.testConnectionOnCheckout = true
  68. app.datasource.default.maxPoolSize = 16
  69. app.datasource.default.initialPoolSize = 4
  70.  
  71. spring.jpa.show-sql = false
  72. spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
  73.  
  74. spring.rabbitmq.host = 192.168.1.230
  75. spring.rabbitmq.port = 5672
  76. spring.rabbitmq.username = nbs
  77. spring.rabbitmq.password = 6Ubrecayex
  78. spring.rabbitmq.virtualHost = nbs
  79.  
  80. rabbitmq.prefetch-count = 25
  81.  
  82. database.max-number-of-retries = 5
  83. task-scheduler.pool-size = 8
  84. node-id = NODE-01
  85. node-number = 0
  86. number-of-tasks-processing-threads = 32
  87.  
  88. cluster.number-of-partitions = 3
  89. cluster.replication-factor = 1
  90.  
  91. neurotec.libraries-directory = /opt/neurotec-biometric-sdk-4.5/Lib/Linux_x86_64/
  92. neurotec.license-server-host = 127.0.0.1
  93. neurotec.license-server-port = 5000
  94. neurotec.maximal-thread-count = 8
  95. neurotec.matching-threshold = 90
  96. neurotec.fingers-maximal-rotation = 30
  97. neurotec.cache-size = 10000
  98.  
  99. curator.namespace=nbs
  100. curator.sessionTimeoutMs=3000
  101. curator.connectionTimeoutMs=3000
  102. curator.retry.baseSleepTimeMs=1000
  103. curator.retry.maxSleepTimeMs=5000
  104. curator.retry.maxRetries=5
  105. curator.servers=192.168.1.231:2181,192.168.1.232:2181,192.168.1.233:2181
  106.  
  107. # logging.level.ROOT=INFO
  108. # logging.level.org.springframework.orm.jpa.JpaTransactionManager=DEBUG
  109. # logging.level.org.springframework.transaction=TRACE
  110. ----------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement