Advertisement
Guest User

Untitled

a guest
Jan 21st, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.10 KB | None | 0 0
  1. # Mapping orm
  2. doctrine:
  3. dbal:
  4. default_connection: default
  5. types:
  6. timestamp: LaFourchette\CoreBundle\Doctrine\Types\TimestampType
  7. connections:
  8. default:
  9. driver: %database_core_driver%
  10. host: %database_core_host%
  11. port: %database_core_port%
  12. dbname: %database_core_name%
  13. user: %database_core_user%
  14. password: %database_core_password%
  15. charset: UTF8
  16. mapping_types:
  17. enum: string
  18. restaurant_stock:
  19. driver: %database_core_driver%
  20. host: %database_core_host%
  21. port: %database_core_port%
  22. dbname: %database_restaurant_stock_name%
  23. user: %database_core_user%
  24. password: %database_core_password%
  25. charset: UTF8
  26. mapping_types:
  27. enum: string
  28.  
  29. sharding:
  30. shard_managers:
  31. customer:
  32. wrapper_class: LaFourchette\DoctrineBundle\Doctrine\DBAL\Connections\PoolingShardMasterSlaveConnection
  33. shard_count: 100
  34. charset: UTF8
  35. mapping_types:
  36. enum: string
  37. shards_configuration:
  38. customer_0_99:
  39. range: [0,99]
  40. prefix: %shard_customer_prefix%customer_
  41. driver: %shard_customer_driver%
  42. host: %shard_customer_host%
  43. port: %shard_customer_port%
  44. user: %shard_customer_user%
  45. password: %shard_customer_password%
  46. charset: UTF8
  47. slaves: %slaves_customer%
  48. stock:
  49. wrapper_class: LaFourchette\DoctrineBundle\Doctrine\DBAL\Connections\PoolingShardMasterSlaveConnection
  50. shard_choser_class: LaFourchette\CoreBundle\Doctrine\DBAL\Sharding\DateShardChoser
  51. shard_count: 100
  52. charset: UTF8
  53. mapping_types:
  54. enum: string
  55. shards_configuration:
  56. stock_0_99:
  57. range: [0,99]
  58. prefix: %shard_stock_prefix%stock_
  59. driver: %shard_stock_driver%
  60. host: %shard_stock_host%
  61. port: %shard_stock_port%
  62. user: %shard_stock_user%
  63. password: %shard_stock_password%
  64. charset: UTF8
  65. slaves: %slaves_stock%
  66. tracking:
  67. wrapper_class: LaFourchette\DoctrineBundle\Doctrine\DBAL\Connections\PoolingShardMasterSlaveConnection
  68. shard_count: 100
  69. charset: UTF8
  70. mapping_types:
  71. enum: string
  72. shards_configuration:
  73. tracking_0_99:
  74. range: [0,99]
  75. prefix: %shard_tracking_prefix%tracking_
  76. driver: %shard_tracking_driver%
  77. host: %shard_tracking_host%
  78. port: %shard_tracking_port%
  79. user: %shard_tracking_user%
  80. password: %shard_tracking_password%
  81. charset: UTF8
  82. slaves: %slaves_tracking%
  83. orm:
  84. auto_generate_proxy_classes: %kernel.debug%
  85. entity_managers:
  86. default:
  87. connection: default
  88. query_cache_driver: apc
  89. metadata_cache_driver: apc
  90. result_cache_driver: apc
  91. dql:
  92. numeric_functions:
  93. acos: DoctrineExtensions\Query\Mysql\Acos
  94. cos: DoctrineExtensions\Query\Mysql\Cos
  95. round: DoctrineExtensions\Query\Mysql\Round
  96. sin: DoctrineExtensions\Query\Mysql\Sin
  97. string_functions:
  98. radians: DoctrineExtensions\Query\Mysql\Radians
  99. mappings:
  100. LaFourchetteContentBundle:
  101. type: annotation
  102. prefix: LaFourchette\ContentBundle\Entities\Core
  103. dir: "%kernel.root_dir%/../src/LaFourchette/ContentBundle/Entities/Core"
  104. LaFourchetteCustomerBundle:
  105. type: annotation
  106. prefix: LaFourchette\CustomerBundle\Entities\Core
  107. dir: "%kernel.root_dir%/../src/LaFourchette/CustomerBundle/Entities/Core"
  108. LaFourchetteRateBundle:
  109. type: annotation
  110. prefix: LaFourchette\RateBundle\Entities\Core
  111. dir: "%kernel.root_dir%/../src/LaFourchette/RateBundle/Entities/Core"
  112. LaFourchetteRestaurantBundle:
  113. type: annotation
  114. prefix: LaFourchette\RestaurantBundle\Entities\Core
  115. dir: "%kernel.root_dir%/../src/LaFourchette/RestaurantBundle/Entities/Core"
  116. LaFourchetteCoreBundle:
  117. type: annotation
  118. prefix: LaFourchette\CoreBundle\Entities\Core
  119. dir: "%kernel.root_dir%/../src/LaFourchette/CoreBundle/Entities/Core"
  120. LaFourchetteReservationBundle:
  121. type: annotation
  122. prefix: LaFourchette\ReservationBundle\Entities\Core
  123. dir: "%kernel.root_dir%/../src/LaFourchette/ReservationBundle/Entities/Core"
  124. LaFourchetteTagBundle:
  125. type: annotation
  126. prefix: LaFourchette\TagBundle\Entities\Core
  127. dir: "%kernel.root_dir%/../src/LaFourchette/TagBundle/Entities/Core"
  128. LaFourchetteStockBundle:
  129. type: annotation
  130. prefix: LaFourchette\StockBundle\Entities\Core
  131. dir: "%kernel.root_dir%/../src/LaFourchette/StockBundle/Entities/Core"
  132. LaFourchetteTrackingBundle:
  133. type: annotation
  134. prefix: LaFourchette\TrackingBundle\Entities\Core
  135. dir: "%kernel.root_dir%/../src/LaFourchette/TrackingBundle/Entities/Core"
  136. LaFourchetteTimelineBundle:
  137. type: annotation
  138. prefix: LaFourchette\TimelineBundle\Entities\Core
  139. dir: "%kernel.root_dir%/../src/LaFourchette/TimelineBundle/Entities/Core"
  140. LaFourchetteHomepageBundle:
  141. type: annotation
  142. prefix: LaFourchette\HomepageBundle\Entities\Core
  143. dir: "%kernel.root_dir%/../src/LaFourchette/HomepageBundle/Entities/Core"
  144. LaFourchetteECircleBundle:
  145. type: annotation
  146. prefix: LaFourchette\ECircleBundle\Entities\Core
  147. dir: "%kernel.root_dir%/../src/LaFourchette/ECircleBundle/Entities/Core"
  148. LaFourchetteGeoBundle:
  149. type: annotation
  150. prefix: LaFourchette\GeoBundle\Entities\Core
  151. dir: "%kernel.root_dir%/../src/LaFourchette/GeoBundle/Entities/Core"
  152. LaFourchetteSearchBundle:
  153. type: annotation
  154. prefix: LaFourchette\SearchBundle\Entities\Core
  155. dir: "%kernel.root_dir%/../src/LaFourchette/SearchBundle/Entities/Core"
  156. LaFourchetteEventBundle: ~
  157. LaFourchetteLoyaltyBundle:
  158. type: annotation
  159. prefix: LaFourchette\LoyaltyBundle\Entity\Core
  160. dir: "%kernel.root_dir%/../src/LaFourchette/LoyaltyBundle/Entity/Core"
  161. LaFourchetteFoodReportBundle:
  162. type: annotation
  163. prefix: LaFourchette\FoodReportBundle\Entity
  164. dir: "%kernel.root_dir%/../src/LaFourchette/FoodReportBundle/Entity"
  165. customer:
  166. connection: customer
  167. query_cache_driver: apc
  168. metadata_cache_driver: apc
  169. result_cache_driver: apc
  170. mappings:
  171. LaFourchetteCustomerBundle:
  172. type: annotation
  173. prefix: LaFourchette\CustomerBundle\Entities\Customer
  174. dir: "%kernel.root_dir%/../src/LaFourchette/CustomerBundle/Entities/Customer"
  175. LaFourchetteLoyaltyBundle:
  176. type: annotation
  177. prefix: LaFourchette\LoyaltyBundle\Entity\Customer
  178. dir: "%kernel.root_dir%/../src/LaFourchette/LoyaltyBundle/Entity/Customer"
  179. stock:
  180. connection: stock
  181. query_cache_driver: apc
  182. metadata_cache_driver: apc
  183. result_cache_driver: apc
  184. mappings:
  185. LaFourchetteStockBundle:
  186. type: annotation
  187. prefix: LaFourchette\StockBundle\Entities\Stock
  188. dir: "%kernel.root_dir%/../src/LaFourchette/StockBundle/Entities/Stock"
  189.  
  190. tracking:
  191. connection: tracking
  192. query_cache_driver: apc
  193. metadata_cache_driver: apc
  194. result_cache_driver: apc
  195. mappings:
  196. LaFourchetteTrackingBundle:
  197. type: annotation
  198. prefix: LaFourchette\TrackingBundle\Entities\Tracking
  199. dir: "%kernel.root_dir%/../src/LaFourchette/TrackingBundle/Entities/Tracking"
  200.  
  201. restaurant_stock:
  202. connection: restaurant_stock
  203. query_cache_driver: apc
  204. metadata_cache_driver: apc
  205. result_cache_driver: apc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement