/src/main/resources/user.properties

https://github.com/jeisberg/user_service · Properties File · 211 lines · 136 code · 37 blank · 38 comment · 0 complexity · 579864ef7972b1ebcc28be4e09da71db MD5 · raw file

  1. # LOCAL CONFIGURATIONS
  2. # memcache configurations
  3. locator.hibernate.cache.use_query_cache=false
  4. locator.hibernate.cache.use_second_level_cache=false
  5. # hibernate settings
  6. locator.hibernate.memcached.servers=localhost:11211
  7. locator.hibernate.dialect=org.hibernate.dialect.HSQLDialect
  8. locator.hibernate.cache.provider_class=com.googlecode.hibernate.memcached.MemcachedCacheProvider
  9. # debug settings
  10. locator.hibernate.show_sql=true
  11. locator.hibernate.format_sql=true
  12. locator.hibernate.hbm2ddl.auto=true
  13. # session settings
  14. locator.hibernate.current_session_context_class=thread
  15. locator.hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory
  16. # datasource settings
  17. locator.c3po.jdbc.driver=com.mysql.jdbc.Driver
  18. locator.c3po.jdbc.url=jdbc:mysql://localhost/locator
  19. locator.c3po.jdbc.user=root
  20. locator.c3po.jdbc.password=
  21. locator.c3po.jdbc.acquireIncrement=1
  22. locator.c3po.jdbc.initialPoolSize=5
  23. locator.c3po.jdbc.maxPoolSize=5
  24. locator.c3po.jdbc.minPoolSize=5
  25. locator.c3po.jdbc.maxIdleTime=30
  26. # memcache configurations
  27. pod1.hibernate.cache.use_query_cache=false
  28. pod1.hibernate.cache.use_second_level_cache=false
  29. # hibernate settings
  30. pod1.hibernate.memcached.servers=localhost:11211
  31. pod1.hibernate.dialect=org.hibernate.dialect.HSQLDialect
  32. pod1.hibernate.cache.provider_class=com.googlecode.hibernate.memcached.MemcachedCacheProvider
  33. # debug settings
  34. pod1.hibernate.show_sql=true
  35. pod1.hibernate.format_sql=true
  36. pod1.hibernate.hbm2ddl.auto=true
  37. # session settings
  38. pod1.hibernate.current_session_context_class=thread
  39. pod1.hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory
  40. # datasource settings
  41. pod1.c3po.jdbc.driver=com.mysql.jdbc.Driver
  42. pod1.c3po.jdbc.url=jdbc:mysql://localhost/pod1
  43. pod1.c3po.jdbc.user=root
  44. pod1.c3po.jdbc.password=
  45. pod1.c3po.jdbc.acquireIncrement=1
  46. pod1.c3po.jdbc.initialPoolSize=5
  47. pod1.c3po.jdbc.maxPoolSize=5
  48. pod1.c3po.jdbc.minPoolSize=5
  49. pod1.c3po.jdbc.maxIdleTime=30
  50. # memcache configurations
  51. pod2.hibernate.cache.use_query_cache=false
  52. pod2.hibernate.cache.use_second_level_cache=false
  53. # hibernate settings
  54. pod2.hibernate.memcached.servers=localhost:11211
  55. pod2.hibernate.dialect=org.hibernate.dialect.HSQLDialect
  56. pod2.hibernate.cache.provider_class=com.googlecode.hibernate.memcached.MemcachedCacheProvider
  57. # debug settings
  58. pod2.hibernate.show_sql=true
  59. pod2.hibernate.format_sql=true
  60. pod2.hibernate.hbm2ddl.auto=true
  61. # session settings
  62. pod2.hibernate.current_session_context_class=thread
  63. pod2.hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory
  64. # datasource settings
  65. pod2.c3po.jdbc.driver=com.mysql.jdbc.Driver
  66. pod2.c3po.jdbc.url=jdbc:mysql://localhost/pod1
  67. pod2.c3po.jdbc.user=root
  68. pod2.c3po.jdbc.password=
  69. pod2.c3po.jdbc.acquireIncrement=1
  70. pod2.c3po.jdbc.initialPoolSize=5
  71. pod2.c3po.jdbc.maxPoolSize=5
  72. pod2.c3po.jdbc.minPoolSize=5
  73. pod2.c3po.jdbc.maxIdleTime=30
  74. # memcache configurations
  75. pod3.hibernate.cache.use_query_cache=false
  76. pod3.hibernate.cache.use_second_level_cache=false
  77. # hibernate settings
  78. pod3.hibernate.memcached.servers=localhost:11211
  79. pod3.hibernate.dialect=org.hibernate.dialect.HSQLDialect
  80. pod3.hibernate.cache.provider_class=com.googlecode.hibernate.memcached.MemcachedCacheProvider
  81. # debug settings
  82. pod3.hibernate.show_sql=true
  83. pod3.hibernate.format_sql=true
  84. pod3.hibernate.hbm2ddl.auto=true
  85. # session settings
  86. pod3.hibernate.current_session_context_class=thread
  87. pod3.hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory
  88. # datasource settings
  89. pod3.c3po.jdbc.driver=com.mysql.jdbc.Driver
  90. pod3.c3po.jdbc.url=jdbc:mysql://localhost/pod1
  91. pod3.c3po.jdbc.user=root
  92. pod3.c3po.jdbc.password=
  93. pod3.c3po.jdbc.acquireIncrement=1
  94. pod3.c3po.jdbc.initialPoolSize=5
  95. pod3.c3po.jdbc.maxPoolSize=5
  96. pod3.c3po.jdbc.minPoolSize=5
  97. pod3.c3po.jdbc.maxIdleTime=30
  98. # memcache configurations
  99. pod4.hibernate.cache.use_query_cache=false
  100. pod4.hibernate.cache.use_second_level_cache=false
  101. # hibernate settings
  102. pod4.hibernate.memcached.servers=localhost:11211
  103. pod4.hibernate.dialect=org.hibernate.dialect.HSQLDialect
  104. pod4.hibernate.cache.provider_class=com.googlecode.hibernate.memcached.MemcachedCacheProvider
  105. # debug settings
  106. pod4.hibernate.show_sql=true
  107. pod4.hibernate.format_sql=true
  108. pod4.hibernate.hbm2ddl.auto=true
  109. # session settings
  110. pod4.hibernate.current_session_context_class=thread
  111. pod4.hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory
  112. # datasource settings
  113. pod4.c3po.jdbc.driver=com.mysql.jdbc.Driver
  114. pod4.c3po.jdbc.url=jdbc:mysql://localhost/pod1
  115. pod4.c3po.jdbc.user=root
  116. pod4.c3po.jdbc.password=
  117. pod4.c3po.jdbc.acquireIncrement=1
  118. pod4.c3po.jdbc.initialPoolSize=5
  119. pod4.c3po.jdbc.maxPoolSize=5
  120. pod4.c3po.jdbc.minPoolSize=5
  121. pod4.c3po.jdbc.maxIdleTime=30
  122. # memcache configurations
  123. pod5.hibernate.cache.use_query_cache=false
  124. pod5.hibernate.cache.use_second_level_cache=false
  125. # hibernate settings
  126. pod5.hibernate.memcached.servers=localhost:11211
  127. pod5.hibernate.dialect=org.hibernate.dialect.HSQLDialect
  128. pod5.hibernate.cache.provider_class=com.googlecode.hibernate.memcached.MemcachedCacheProvider
  129. # debug settings
  130. pod5.hibernate.show_sql=true
  131. pod5.hibernate.format_sql=true
  132. pod5.hibernate.hbm2ddl.auto=true
  133. # session settings
  134. pod5.hibernate.current_session_context_class=thread
  135. pod5.hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory
  136. # datasource settings
  137. pod5.c3po.jdbc.driver=com.mysql.jdbc.Driver
  138. pod5.c3po.jdbc.url=jdbc:mysql://localhost/pod1
  139. pod5.c3po.jdbc.user=root
  140. pod5.c3po.jdbc.password=
  141. pod5.c3po.jdbc.acquireIncrement=1
  142. pod5.c3po.jdbc.initialPoolSize=5
  143. pod5.c3po.jdbc.maxPoolSize=5
  144. pod5.c3po.jdbc.minPoolSize=5
  145. pod5.c3po.jdbc.maxIdleTime=30
  146. # memcache configurations
  147. pod6.hibernate.cache.use_query_cache=false
  148. pod6.hibernate.cache.use_second_level_cache=false
  149. # hibernate settings
  150. pod6.hibernate.memcached.servers=localhost:11211
  151. pod6.hibernate.dialect=org.hibernate.dialect.HSQLDialect
  152. pod6.hibernate.cache.provider_class=com.googlecode.hibernate.memcached.MemcachedCacheProvider
  153. # debug settings
  154. pod6.hibernate.show_sql=true
  155. pod6.hibernate.format_sql=true
  156. pod6.hibernate.hbm2ddl.auto=true
  157. # session settings
  158. pod6.hibernate.current_session_context_class=thread
  159. pod6.hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory
  160. # datasource settings
  161. pod6.c3po.jdbc.driver=com.mysql.jdbc.Driver
  162. pod6.c3po.jdbc.url=jdbc:mysql://localhost/pod1
  163. pod6.c3po.jdbc.user=root
  164. pod6.c3po.jdbc.password=
  165. pod6.c3po.jdbc.acquireIncrement=1
  166. pod6.c3po.jdbc.initialPoolSize=5
  167. pod6.c3po.jdbc.maxPoolSize=5
  168. pod6.c3po.jdbc.minPoolSize=5
  169. pod6.c3po.jdbc.maxIdleTime=30
  170. # lockerz authentications
  171. authorizer.apiKey=A1234567890B
  172. # authenticate endpoint
  173. authenticate.endpoint=http://localhost:8080/user-1.0-SNAPSHOT/user/login/?apiKey={apiKey}&username={username}&password={password}&remoteIp={remoteIp}
  174. profile.endpoint=http://localhost:8080/user-1.0-SNAPSHOT/user/profile/?apiKey={apiKey}&token={token}