Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.40 KB | None | 0 0
  1. {
  2. "config": {
  3. "application": {
  4. "GoogleDataEnricherPlugin": {
  5. "description": "Uses the keys in rabbitMQ messages and expands them using queries defines by dataQueries",
  6. "version": "1.0",
  7. "configuration": {
  8. "dataQueries": {
  9. "retrieveCallConversion": {
  10. "type": "fetchSingleRow",
  11. "description": "Retrieves 1 full conversion row based on a particular conversion_id key supplied.",
  12. "configuration": {
  13. "dataSources": "callTracker",
  14. "query": "SELECT * FROM conversion WHERE conversion_id = @conversionIdr vagrafhfhf",
  15. "parameters": {
  16. "conversionId": "aa"
  17. }
  18. }
  19. },
  20. "someOtherQuery": {
  21. "type": "fetchScalar",
  22. "description": "EXAMPLE ONLY - retrieves a scalar result being a single row and single column - in this case returning the call_type value from call tracker calls table",
  23. "configuration": {
  24. "dataSources": "callTracker",
  25. "query": "SELECT call_type FROM calls WHERE call_ref_no = @callRefNo",
  26. "parameters": {
  27. "callRefNo": "OED.data.callRefNo"
  28. }
  29. }
  30. },
  31. "updateConversionWorkflow": {
  32. "type": "updateSingleRow",
  33. "description": "Updates conversion workflow with status based on successful or failed execution result.",
  34. "configuration": {
  35. "dataSources": "webTracker",
  36. "query": "UPDATE conversion_workflow SET status = @status WHERE conversion_id = @conversionId AND process = 'GAU'",
  37. "parameters": {
  38. "conversionId": "OED.data.conversionId",
  39. "status": "OED.data.google_universal_post_status"
  40. }
  41. }
  42. }
  43. },
  44. "dataSources": {
  45. "webTracker": {
  46. "alias": "wt",
  47. "type": "database",
  48. "id": "online",
  49. "configuration": {
  50. "connectionString": "postgresql:host=webtracker.int.db.phone-analytics.net;port=5432;dbname=dynamic_numbers_tracking_system;user=dynamic_numbers_tracking_system;password=d4pj1ifjgi;driver=org.postgresql.Driver"
  51. }
  52. },
  53. "callTracker": {
  54. "alias": "ct",
  55. "type": "database",
  56. "id": "datawarehouse",
  57. "configuration": {
  58. "connectionString": "mysql:host=calltracker.int.db.phone-analytics.net;port=3306;dbname=jct;user=geo_ss;password=hagia;driver=com.mysql.jdbc.Driver"
  59. }
  60. },
  61. "crmWS": {
  62. "alias": "wtrest",
  63. "type": "REST",
  64. "id": "online",
  65. "configuration": {
  66. "serviceUrl": "crm.phone-analytics.com"
  67. }
  68. },
  69. "webTrackerWS": {
  70. "alias": "wtrest",
  71. "type": "REST",
  72. "id": "online",
  73. "configuration": {
  74. "serviceUrl": "webtracker.phone-analytics.com"
  75. }
  76. },
  77. "callTrackerWS": {
  78. "alias": "ctrest",
  79. "type": "REST",
  80. "id": "datawarehouse",
  81. "configuration": {
  82. "serviceUrl": "calltracker.phone-analytics.com"
  83. }
  84. }
  85. }
  86. }
  87. }
  88. },
  89. "sites": {
  90. "JI0001": {
  91. "syncEnabled": false,
  92. "behaviorAttributes": {
  93. "cookieRetryInterval": "40",
  94. "numberReplacementStyle": "Immediate",
  95. "errorCapture": false,
  96. "logLevel": "None",
  97. "traceEnabled": true
  98. },
  99. "features": {
  100. "MultiSiteSession": {
  101. "status": "enabled"
  102. }
  103. },
  104. "timezone": "Australia/Perth",
  105. "webAnalytics": {
  106. "GoogleAnalytics": {
  107. "trackingCode": "UA-16875404-1"
  108. },
  109. "GlobalCRMAnalytics": {
  110. "jobs": [
  111. {
  112. "jobHandler": "crmWriters",
  113. "lastConversionId": 0,
  114. "jobNextRun": "20150115T100000.00Z 10:00",
  115. "emailAlertTo": "",
  116. "jobData": {
  117. "template": "GlobalCRMRevenue",
  118. "filename": "jet-feed-int-test-wt96-crm_{trackingCode}_{YYYYMMDDTZ}.txt",
  119. "ftpSLL": false,
  120. "credentials": {
  121. "password": "eric",
  122. "login": "eric"
  123. },
  124. "numbersExcluded": [
  125. "1300864958"
  126. ],
  127. "uploadFolder": "/files/crmAnalytics",
  128. "ftpServer": "localhost",
  129. "currency": "AUD",
  130. "ftpPort": 21,
  131. "numbersIncluded": []
  132. },
  133. "lastRun": "20150114T110116.44Z 11:00",
  134. "timezone": "Australia/Sydney",
  135. "emailReportTo": "matthew.bush@jetinteractive.com.au",
  136. "executionStyle": "scheduled",
  137. "frequency": {
  138. "days": 1
  139. },
  140. "jobExtractor": "callDataCRMExtractor",
  141. "system": "gendai",
  142. "delimiter": ",",
  143. "jobStart": "20131020T100000.00Z 10:00",
  144. "jobExecutionStartTime": "",
  145. "name": "CRM Call Conversion Revenue FTP export",
  146. "columnHeadings": true
  147. }
  148. ],
  149. "enabled": true
  150. },
  151. "GoogleUniversalAnalytics": {
  152. "jobs": [
  153. {
  154. "system": "godi",
  155. "emailAlertTo": "agus.zulfani@jetinteractive.com.au",
  156. "workflow": "TestWorkFlow",
  157. "emailReportTo": "agus.zulfani@jetinteractive.com.au",
  158. "executionStyle": "continuous"
  159. }
  160. ],
  161. "trackingCode": "UA-16875404-1",
  162. "enabled": true
  163. }
  164. },
  165. "accountNumber": "WT1384"
  166. }
  167. }
  168. }
  169. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement