Guest User

Untitled

a guest
May 4th, 2017
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.30 KB | None | 0 0
  1. {
  2. "server": {
  3. "adminConnectors": [
  4. {
  5. "port": 8871,
  6. "type": "http"
  7. }
  8. ],
  9. "applicationConnectors": [
  10. {
  11. "port": 8870,
  12. "type": "http"
  13. }
  14. ],
  15. "requestLog": {
  16. "timeZone": "IST",
  17. "appenders": [
  18. {
  19. "type": "file-size-rolled",
  20. "logFormat": "%d{dd-MM-yyyy HH:mm:ss.SSS} %X{X-Client-Trace-ID} %X{X-Server-Request-ID} %X{X-Client-IP-Address} %X{X-Client} %X{X-Client-Hostname} [%thread] %-5level %logger{36} - %msg%n",
  21. "threshold": "ALL",
  22. "currentLogFilename": "/var/log/flipkart/dsp/santa/lionel/access.log",
  23. "archive": true,
  24. "archivedLogFilenamePattern": "/var/log/flipkart/dsp/santa/lionel/access.%d{yyyy-MM-dd}.%i.log.gz",
  25. "archivedFileCount": 14
  26. },
  27. {
  28. "type": "console",
  29. "logFormat": "%-5p [%d{ISO8601}] [%X{reqId} %X{txnId}] %c{1}: %m %ex"
  30. }
  31. ]
  32. }
  33. },
  34. "logging": {
  35. "level": "INFO",
  36. "appenders": [
  37. {
  38. "type": "file-size-rolled",
  39. "threshold": "ALL",
  40. "timeZone": "IST",
  41. "logFormat": "%d{dd-MM-yyyy HH:mm:ss.SSS} %X{X-Client-Trace-ID} %X{X-Server-Request-ID} %X{X-Client-IP-Address} %X{X-Client} %X{X-Client-Hostname} [%thread] %-5level %logger{36} - %msg%n",
  42. "currentLogFilename": "/var/log/flipkart/dsp/santa/lionel/app.log",
  43. "archive": true,
  44. "archivedLogFilenamePattern": "/var/log/flipkart/dsp/santa/lionel/app-%i.log.gz",
  45. "archivedFileCount": 14,
  46. "maxFileSize": "100MB"
  47. }
  48. ]
  49. },
  50. "restbusConfiguration": {
  51. "lockType": "MYSQL",
  52. "mysqlLockConfiguration": {
  53. "prefix": "EVT-H",
  54. "timeout": 2000
  55. }
  56. },
  57. "database": {
  58. "driverClass": "com.mysql.jdbc.Driver",
  59. "user": "root",
  60. "password": null,
  61. "url": "jdbc:mysql://localhost:3306/lionel",
  62. "properties": {
  63. "charSet": "UTF-8",
  64. "hibernate.dialect": "org.hibernate.dialect.MySQL5Dialect",
  65. "hibernate.hbm2ddl.auto": "update",
  66. "hibernate.order_inserts": true,
  67. "hibernate.order_updates": true,
  68. "hibernate.session.events.log": false,
  69. "hibernate.current_session_context_class": "org.hibernate.context.internal.ManagedSessionContext"
  70. },
  71. "maxWaitForConnection": "1s",
  72. "validationQuery": "/* MyService Health Check */ SELECT 1",
  73. "minSize": 8,
  74. "maxSize": 100,
  75. "checkConnectionWhileIdle": true,
  76. "validationInterval": "10s",
  77. "minIdleTime": "1 minute"
  78. },
  79. "hugoConfiguration": {
  80. "server": "http://10.32.69.36:7777/hugo",
  81. "offerPath": "/v2/offers",
  82. "clientId": "lionel",
  83. "connectionConfiguration": {
  84. "socketTimeout": 1500,
  85. "maxRetries": 1,
  86. "connectionTimeout": 5000,
  87. "maxConnections": 20,
  88. "maxPerRoute": 10
  89. }
  90. },
  91. "journeyConfiguration": {
  92. "server": "http://10.47.2.217:8080",
  93. "createPath": "/sm/create",
  94. "updatePath": "/sm/update/",
  95. "createCrossPivotActionPath": "/action/create",
  96. "statusPath": "/sm/status/",
  97. "apiKey": "K33kd7sDJ7",
  98. "env": "PREPROD",
  99. "kafkaActions": {
  100. "TD_KAFKA": {
  101. "id": "ACE6SGM4906Y",
  102. "name": "SANTA_UOM_KAFKA_ACTION_PROD"
  103. }
  104. },
  105. "httpActions": {
  106. "LIONEL_HTTP": {
  107. "id": "AC2SIHPC195L",
  108. "name": "SANTA_JOURNEY_COMPLETION_LIONEL_ACTION"
  109. }
  110. },
  111. "connectionConfiguration": {
  112. "socketTimeout": 1500,
  113. "maxRetries": 1,
  114. "connectionTimeout": 5000,
  115. "maxConnections": 20,
  116. "maxPerRoute": 10
  117. }
  118. },
  119. "notificationJourneyConfiguration": {
  120. "env": "PREPROD",
  121. "rmqAction": {
  122. "onMapMailerId": "AC0MW7LJDUXL",
  123. "onMapMailerName": "SANTA_TD_OFFER_MAP_EMAIL",
  124. "onLiveMailerId": "AC3JERALMG3Y",
  125. "onLiveMailerName": "SANTA_TD_OFFER_LIVE_EMAIL",
  126. "reminderMailerId": "ACOJ190KMZ4I",
  127. "reminderMailerName": "SANTA_TD_OFFER_REMINDER_EMAIL",
  128. "onMapPNId": "ACBTB1KF3B68",
  129. "onMapPNName": "SANTA_TD_OFFER_MAP_PN",
  130. "onLivePNId": "ACYKS1FGVH8Q",
  131. "onLivePNName": "SANTA_TD_OFFER_LIVE_PN",
  132. "reminderPNId": "AC2VEZPXAL67",
  133. "reminderPNName": "SANTA_TD_OFFER_REMINDER_PN"
  134. },
  135. "hedwigAction": {
  136. "onMapAppNotificationId": "ACDX5ME1YIXM",
  137. "onMapAppNotificationName": "SANTA_TD_OFFER_MAP_INAPP_NOTIFICATION",
  138. "onLiveAppNotificationId": "AC9MUCJ67NAR",
  139. "onLiveAppNotificationName": "SANTA_TD_OFFER_LIVE_INAPP_NOTIFICATION",
  140. "reminderAppNotificationId": "AC4E570SRJ6Z",
  141. "reminderAppNotificationName": "SANTA_TD_OFFER_REMINDER_INAPP_NOTIFICATION"
  142. }
  143. },
  144. "userConstraintJourneyMap": {
  145. "constraintEventMap": {
  146. "GAME_CONSTRAINT": {
  147. "eventName": "GAME_EVENT_PROD"
  148. }
  149. },
  150. "gameConstraintCondition": "_event.info.info.referenceId eq"
  151. },
  152. "redisConfiguration": {
  153. "masterName": "bernard2",
  154. "host": "localhost",
  155. "port": 6379,
  156. "sentinels": [
  157. "10.33.13.75:26379",
  158. "10.33.10.61:26379",
  159. "10.33.105.51:26379"
  160. ],
  161. "timeout": 5000,
  162. "password": "bernard",
  163. "database": 3
  164. },
  165. "messageQueueConfiguration": {
  166. "topic": "userOfferRedemptionsTest",
  167. "kafkaProducerConfig": {
  168. "metadata.broker.list": "10.33.25.179:9092,10.33.97.23:9092",
  169. "request.required.acks": -1,
  170. "serializer.class": "com.flipkart.lionel.common.Encoder.JsonEncoder"
  171. }
  172. },
  173. "omsClientConfiguration": {
  174. "host": "http://10.33.193.23:9971",
  175. "orderDetailsUri": "/oms/2.5/orders/{orderId}",
  176. "orderItemDetailsUri": "/oms/2.5/order_items/{orderItemId}",
  177. "clientId": "santa.backburner",
  178. "httpConnectionConfiguration": {
  179. "socketTimeout": 10000,
  180. "maxRetries": 0,
  181. "connectionTimeout": 5000,
  182. "maxConnections": 30,
  183. "maxPerRoute": 20
  184. }
  185. },
  186. "orderConfiguration": {
  187. "returnPolicyMap": {
  188. "10_day_return": 10,
  189. "30_day_return_no_replacement": 30,
  190. "10_day_return_no_replacement": 10,
  191. "no_returns": 0
  192. },
  193. "defaultReturnPolicy": 1,
  194. "negativeStatus": [
  195. "CANCELLED",
  196. "RETURN_REQUESTED",
  197. "RETURNED"
  198. ],
  199. "validAdjustmentTypes": [
  200. "PROMOTION_DISCOUNT",
  201. "SHIPPING_CHARGE",
  202. "FREEBIE_DISCOUNT",
  203. "PICKUP_CHARGE"
  204. ]
  205. }
  206. }
Add Comment
Please, Sign In to add comment