Guest User

Untitled

a guest
Mar 11th, 2018
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.66 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <transfer-order-config>
  3. <source>
  4. <db-config>
  5. <driver-classname>org.gjt.mm.mysql.Driver</driver-classname>
  6. <url>jdbc:mysql://localhost/niche?user=nruser&password=nrus3r!&zeroDateTimeBehavior=convertToNull</url>
  7. </db-config>
  8. <init-parameters>
  9. <parameter>
  10. <name>table</name>
  11. <value>ORDER_SESSION</value>
  12. </parameter>
  13. <parameter>
  14. <name>idColumn</name>
  15. <value>ORDER_SESSION_ID</value>
  16. </parameter>
  17. <parameter>
  18. <name>dataColumn</name>
  19. <value>ORDER_SESSION_DATA</value>
  20. </parameter>
  21. <parameter>
  22. <name>processedColumn</name>
  23. <value>PROCESSED_FLAG</value>
  24. </parameter>
  25. </init-parameters>
  26. </source>
  27.  
  28. <destination>
  29. <db-config>
  30. <driver-classname>org.gjt.mm.mysql.Driver</driver-classname>
  31. <url>jdbc:mysql://localhost/niche?user=nruser&password=nrus3r!&zeroDateTimeBehavior=convertToNull</url>
  32. </db-config>
  33. <init-parameters>
  34. <parameter>
  35. <name>table</name>
  36. <value>OMS_ORDER_SESSION</value>
  37. </parameter>
  38. <parameter>
  39. <name>idColumn</name>
  40. <value>OMS_ORDER_SESSION_ID</value>
  41. </parameter>
  42. <parameter>
  43. <name>dataColumn</name>
  44. <value>ORDER_SESSION_DATA</value>
  45. </parameter>
  46. <parameter>
  47. <name>timeStampColumn</name>
  48. <value>UPDATED_DATE</value>
  49. </parameter>
  50. </init-parameters>
  51. </destination>
  52.  
  53. <monitor>
  54. <job-name>Transfer Orders To OMS</job-name>
  55. <db-config>
  56. <driver-classname>org.gjt.mm.mysql.Driver</driver-classname>
  57. <url>jdbc:mysql://localhost/niche?user=nruser&password=nrus3r!&zeroDateTimeBehavior=convertToNull</url>
  58. </db-config>
  59. </monitor>
  60.  
  61. <email>
  62. <init-parameters>
  63. <parameter>
  64. <name>EmailOrderXSL</name>
  65. <value>/usr/local/sites/niche/build/WEB-INF/email-order.xsl</value>
  66. </parameter>
  67. <parameter>
  68. <name>CacheEmailOrderXSL</name>
  69. <value>false</value>
  70. </parameter>
  71. <parameter>
  72. <name>mailSessionServerName</name>
  73. <value>192.168.0.3</value>
  74. </parameter>
  75. <parameter>
  76. <name>senderEmailAddress</name>
  77. <value>nicheretail@nichestore.com</value>
  78. </parameter>
  79. <parameter>
  80. <name>backorderEmailSubject</name>
  81. <value>Status of your [siteName] Order</value>
  82. </parameter>
  83. <parameter>
  84. <name>backorderEmailBody</name>
  85. <value>Hi [customerName],
  86.  
  87. We just wanted to give you a heads up that the following items you ordered are currently out of stock:
  88.  
  89. [backorderEmailItemInfo]
  90.  
  91.  
  92. Please note that we typically ship backordered items out to our customers on the same day that we receive them in our warehouse. But don't worry, we'll send you an email any time the status of your order changes including tracking information once your order ships. We will NOT charge your credit card until we ship your order, and you may cancel your order at any time before it ships out. All orders are filled on a first ordered, first shipped basis.
  93.  
  94. We're sorry about any inconvenience this delay may cause - we're waiting right along with you, and will do everything we can to get your purchase to you as quickly as possible. We really do appreciate your business.
  95.  
  96. Questions?
  97.  
  98. [domain]
  99. [siteCSPhone]
  100. [siteCSEmail]</value>
  101. </parameter>
  102. <parameter>
  103. <name>backorderEmailItemInfo</name>
  104. <value>[qty] [itemName]
  105.  
  106. The latest information we have about the expected ship date is:
  107.  
  108. [availabilityDate]</value>
  109. </parameter>
  110. <parameter>
  111. <name>paypalEmailSubject</name>
  112. <value>Your Order will Ship as Soon as We Receive Your PayPal Payment</value>
  113. </parameter>
  114. <parameter>
  115. <name>paypalEmailBody</name>
  116. <value>Hello [customerName],
  117. Thanks so much for placing your order with [siteName]. We truly appreciate your business, and want to do everything we can to ensure that you're satisfied with your purchase and our service.
  118.  
  119. Since you chose PayPal as your preferred method, please ensure that the required funds are transferred to us within five (5) business days. Your order will be cancelled automatically if we do not hear from you in this time.
  120.  
  121. If you have any questions or comments, please call us at [siteCSPhone] or email us at [siteCSEmail].
  122.  
  123. We welcome your perspective, and would love it if you would share your experience with fellow online shoppers by posting a customer review or leaving a comment
  124.  
  125. Best Regards,
  126.  
  127. The [siteName] Team</value>
  128. </parameter>
  129.  
  130. </init-parameters>
  131. </email>
  132.  
  133. <catalog>
  134. <!-- Connection details that should be used by the catalog engine when connecting to the DB -->
  135. <db-config>
  136. <driver-classname>org.gjt.mm.mysql.Driver</driver-classname>
  137. <url>jdbc:mysql://localhost/niche?user=nruser&password=nrus3r!&zeroDateTimeBehavior=convertToNull</url>
  138. </db-config>
  139. </catalog>
  140. <daos>
  141.  
  142. <!--
  143. Change the default database to one of the other supported database types, which
  144. should be one of: GENERIC, ORACLE, MYSQL, DB2, or SQLSERVER
  145. -->
  146. <default-database>MYSQL</default-database>
  147.  
  148. <!--
  149. Most JDBC drivers will provide connections with a default isolation level
  150. of "transaction read committed" which enforces that dirty reads are prevented.
  151. However, the DAOs handle changing the connection transaction isolation to the necessary
  152. isolation level before performing any sensitive operations, so most applications
  153. can increase their performance by lowering this setting to allow
  154. reads of uncommitted transactions (i.e. "dirty reads"). By setting this
  155. value, OCP will change the isolation levels of all connections that are
  156. obtained from the application server to the given level before using the connection.
  157. If left undefined, OCP will not change the isolation levels, so whatever default
  158. isolation level the JDBC driver specifies will be used for each connection.
  159.  
  160. If it's desired to have OCP override the isolation levels, this setting should
  161. be set to one of the following values:
  162.  
  163. TRANSACTION_READ_UNCOMMITTED
  164. TRANSACTION_READ_COMMITTED
  165. TRANSACTION_REPEATABLE_READ
  166. TRANSACTION_SERIALIZABLE
  167.  
  168. -->
  169. <default-isolation-level>TRANSACTION_SERIALIZABLE</default-isolation-level>
  170.  
  171. <!--
  172. Register or Override any specific DAOs by specifying an
  173. implementation and interface class for each.
  174. -->
  175.  
  176. <!--
  177. <dao>
  178. <dao-name>ProductDAO</dao-name>
  179. <implementation-classname>com.fry.site.dao.SpecialProductDAOImpl</implementation-classname>
  180. <interface-classname>com.fry.catalog.dao.ProductDAO</interface-classname>
  181. </dao>
  182. -->
  183. <dao>
  184. <dao-name>SiteDAO</dao-name>
  185. <implementation-classname>com.fry.niche.ocp.engine.site.dao.SiteDAOImpl</implementation-classname>
  186. <interface-classname>com.fry.niche.ocp.site.dao.SiteDAO</interface-classname>
  187. </dao>
  188. <dao>
  189. <dao-name>NicheConfigDAO</dao-name>
  190. <implementation-classname>com.fry.niche.util.NicheConfigDAOGenericImpl</implementation-classname>
  191. <interface-classname>com.fry.niche.util.dao.NicheConfigDAO</interface-classname>
  192. </dao>
  193. </daos>
  194. <email>
  195. <init-parameters>
  196. <parameter>
  197. <name>EmailOrderXSL</name>
  198. <value>/usr/local/sites/nr/www/WEB-INF/email-order.xsl</value>
  199. </parameter>
  200. <parameter>
  201. <name>CacheEmailOrderXSL</name>
  202. <value>false</value>
  203. </parameter>
  204. <parameter>
  205. <name>mailSessionServerName</name>
  206. <value>192.168.0.3</value>
  207. </parameter>
  208. <parameter>
  209. <name>senderEmailAddress</name>
  210. <value>nicheretail@nichestore.com</value>
  211. </parameter>
  212. <parameter>
  213. <name>backorderEmailSubject</name>
  214. <value>Status of your [siteName] Order</value>
  215. </parameter>
  216. <parameter>
  217. <name>backorderEmailBody</name>
  218. <value>Hi [customerName],
  219.  
  220. We just wanted to give you a heads up that the following items you ordered are currently out of stock:
  221.  
  222. [backorderEmailItemInfo]
  223.  
  224.  
  225. Please note that we typically ship backordered items out to our customers on the same day that we receive them in our warehouse. But don't worry, we'll send you an email any time the status of your order changes including tracking information once your order ships. We will NOT charge your credit card until we ship your order, and you may cancel your order at any time before it ships out. All orders are filled on a first ordered, first shipped basis.
  226.  
  227. We're sorry about any inconvenience this delay may cause - we're waiting right along with you, and will do everything we can to get your purchase to you as quickly as possible. We really do appreciate your business.
  228.  
  229. Questions?
  230.  
  231. [domain]
  232. [siteCSPhone]
  233. [siteCSEmail]</value>
  234. </parameter>
  235. <parameter>
  236. <name>backorderEmailItemInfo</name>
  237. <value>[qty] [itemName]
  238.  
  239. The latest information we have about the expected ship date is:
  240.  
  241. [availabilityDate]</value>
  242. </parameter>
  243. <parameter>
  244. <name>paypalEmailSubject</name>
  245. <value>Status of your [siteName] Order</value>
  246. </parameter>
  247. <parameter>
  248. <name>paypalEmailBody</name>
  249. <value>Thank you for placing your order with [siteName]. When you placed your order, you chose PayPal as your payment method. Please ensure that the funds are transferred within five (5) business days.
  250.  
  251. Checkout with PayPal: [paypalURL]
  252.  
  253. Your order will automatically be canceled if we do not hear from you within five (5) business days. Feel free to contact us if you have any questions or concerns.
  254.  
  255. Questions?
  256.  
  257. [domain]
  258. [siteCSPhone]
  259. [siteCSEmail]</value>
  260. </parameter>
  261.  
  262. </init-parameters>
  263. </email>
  264.  
  265. <catalog>
  266. <!-- Connection details that should be used by the catalog engine when connecting to the DB -->
  267. <db-config>
  268. <driver-classname>org.gjt.mm.mysql.Driver</driver-classname>
  269. <url>jdbc:mysql://localhost/niche?user=nruser&password=nrus3r!&zeroDateTimeBehavior=convertToNull</url>
  270. </db-config>
  271. </catalog>
  272. <daos>
  273.  
  274. <!--
  275. Change the default database to one of the other supported database types, which
  276. should be one of: GENERIC, ORACLE, MYSQL, DB2, or SQLSERVER
  277. -->
  278. <default-database>MYSQL</default-database>
  279.  
  280. <!--
  281. Most JDBC drivers will provide connections with a default isolation level
  282. of "transaction read committed" which enforces that dirty reads are prevented.
  283. However, the DAOs handle changing the connection transaction isolation to the necessary
  284. isolation level before performing any sensitive operations, so most applications
  285. can increase their performance by lowering this setting to allow
  286. reads of uncommitted transactions (i.e. "dirty reads"). By setting this
  287. value, OCP will change the isolation levels of all connections that are
  288. obtained from the application server to the given level before using the connection.
  289. If left undefined, OCP will not change the isolation levels, so whatever default
  290. isolation level the JDBC driver specifies will be used for each connection.
  291.  
  292. If it's desired to have OCP override the isolation levels, this setting should
  293. be set to one of the following values:
  294.  
  295. TRANSACTION_READ_UNCOMMITTED
  296. TRANSACTION_READ_COMMITTED
  297. TRANSACTION_REPEATABLE_READ
  298. TRANSACTION_SERIALIZABLE
  299.  
  300. -->
  301. <default-isolation-level>TRANSACTION_SERIALIZABLE</default-isolation-level>
  302.  
  303. <!--
  304. Register or Override any specific DAOs by specifying an
  305. implementation and interface class for each.
  306. -->
  307.  
  308. <!--
  309. <dao>
  310. <dao-name>ProductDAO</dao-name>
  311. <implementation-classname>com.fry.site.dao.SpecialProductDAOImpl</implementation-classname>
  312. <interface-classname>com.fry.catalog.dao.ProductDAO</interface-classname>
  313. </dao>
  314. -->
  315. <dao>
  316. <dao-name>SiteDAO</dao-name>
  317. <implementation-classname>com.fry.niche.ocp.engine.site.dao.SiteDAOImpl</implementation-classname>
  318. <interface-classname>com.fry.niche.ocp.site.dao.SiteDAO</interface-classname>
  319. </dao>
  320. <dao>
  321. <dao-name>NicheConfigDAO</dao-name>
  322. <implementation-classname>com.fry.niche.util.NicheConfigDAOGenericImpl</implementation-classname>
  323. <interface-classname>com.fry.niche.util.dao.NicheConfigDAO</interface-classname>
  324. </dao>
  325. </daos>
  326. </transfer-order-config>
Add Comment
Please, Sign In to add comment