Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "server": {
- "adminConnectors": [
- {
- "port": 8871,
- "type": "http"
- }
- ],
- "applicationConnectors": [
- {
- "port": 8870,
- "type": "http"
- }
- ],
- "requestLog": {
- "timeZone": "IST",
- "appenders": [
- {
- "type": "file-size-rolled",
- "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",
- "threshold": "ALL",
- "currentLogFilename": "/var/log/flipkart/dsp/santa/lionel/access.log",
- "archive": true,
- "archivedLogFilenamePattern": "/var/log/flipkart/dsp/santa/lionel/access.%d{yyyy-MM-dd}.%i.log.gz",
- "archivedFileCount": 14
- },
- {
- "type": "console",
- "logFormat": "%-5p [%d{ISO8601}] [%X{reqId} %X{txnId}] %c{1}: %m %ex"
- }
- ]
- }
- },
- "logging": {
- "level": "INFO",
- "appenders": [
- {
- "type": "file-size-rolled",
- "threshold": "ALL",
- "timeZone": "IST",
- "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",
- "currentLogFilename": "/var/log/flipkart/dsp/santa/lionel/app.log",
- "archive": true,
- "archivedLogFilenamePattern": "/var/log/flipkart/dsp/santa/lionel/app-%i.log.gz",
- "archivedFileCount": 14,
- "maxFileSize": "100MB"
- }
- ]
- },
- "restbusConfiguration": {
- "lockType": "MYSQL",
- "mysqlLockConfiguration": {
- "prefix": "EVT-H",
- "timeout": 2000
- }
- },
- "database": {
- "driverClass": "com.mysql.jdbc.Driver",
- "user": "root",
- "password": null,
- "url": "jdbc:mysql://localhost:3306/lionel",
- "properties": {
- "charSet": "UTF-8",
- "hibernate.dialect": "org.hibernate.dialect.MySQL5Dialect",
- "hibernate.hbm2ddl.auto": "update",
- "hibernate.order_inserts": true,
- "hibernate.order_updates": true,
- "hibernate.session.events.log": false,
- "hibernate.current_session_context_class": "org.hibernate.context.internal.ManagedSessionContext"
- },
- "maxWaitForConnection": "1s",
- "validationQuery": "/* MyService Health Check */ SELECT 1",
- "minSize": 8,
- "maxSize": 100,
- "checkConnectionWhileIdle": true,
- "validationInterval": "10s",
- "minIdleTime": "1 minute"
- },
- "hugoConfiguration": {
- "server": "http://10.32.69.36:7777/hugo",
- "offerPath": "/v2/offers",
- "clientId": "lionel",
- "connectionConfiguration": {
- "socketTimeout": 1500,
- "maxRetries": 1,
- "connectionTimeout": 5000,
- "maxConnections": 20,
- "maxPerRoute": 10
- }
- },
- "journeyConfiguration": {
- "server": "http://10.47.2.217:8080",
- "createPath": "/sm/create",
- "updatePath": "/sm/update/",
- "createCrossPivotActionPath": "/action/create",
- "statusPath": "/sm/status/",
- "apiKey": "K33kd7sDJ7",
- "env": "PREPROD",
- "kafkaActions": {
- "TD_KAFKA": {
- "id": "ACE6SGM4906Y",
- "name": "SANTA_UOM_KAFKA_ACTION_PROD"
- }
- },
- "httpActions": {
- "LIONEL_HTTP": {
- "id": "AC2SIHPC195L",
- "name": "SANTA_JOURNEY_COMPLETION_LIONEL_ACTION"
- }
- },
- "connectionConfiguration": {
- "socketTimeout": 1500,
- "maxRetries": 1,
- "connectionTimeout": 5000,
- "maxConnections": 20,
- "maxPerRoute": 10
- }
- },
- "notificationJourneyConfiguration": {
- "env": "PREPROD",
- "rmqAction": {
- "onMapMailerId": "AC0MW7LJDUXL",
- "onMapMailerName": "SANTA_TD_OFFER_MAP_EMAIL",
- "onLiveMailerId": "AC3JERALMG3Y",
- "onLiveMailerName": "SANTA_TD_OFFER_LIVE_EMAIL",
- "reminderMailerId": "ACOJ190KMZ4I",
- "reminderMailerName": "SANTA_TD_OFFER_REMINDER_EMAIL",
- "onMapPNId": "ACBTB1KF3B68",
- "onMapPNName": "SANTA_TD_OFFER_MAP_PN",
- "onLivePNId": "ACYKS1FGVH8Q",
- "onLivePNName": "SANTA_TD_OFFER_LIVE_PN",
- "reminderPNId": "AC2VEZPXAL67",
- "reminderPNName": "SANTA_TD_OFFER_REMINDER_PN"
- },
- "hedwigAction": {
- "onMapAppNotificationId": "ACDX5ME1YIXM",
- "onMapAppNotificationName": "SANTA_TD_OFFER_MAP_INAPP_NOTIFICATION",
- "onLiveAppNotificationId": "AC9MUCJ67NAR",
- "onLiveAppNotificationName": "SANTA_TD_OFFER_LIVE_INAPP_NOTIFICATION",
- "reminderAppNotificationId": "AC4E570SRJ6Z",
- "reminderAppNotificationName": "SANTA_TD_OFFER_REMINDER_INAPP_NOTIFICATION"
- }
- },
- "userConstraintJourneyMap": {
- "constraintEventMap": {
- "GAME_CONSTRAINT": {
- "eventName": "GAME_EVENT_PROD"
- }
- },
- "gameConstraintCondition": "_event.info.info.referenceId eq"
- },
- "redisConfiguration": {
- "masterName": "bernard2",
- "host": "localhost",
- "port": 6379,
- "sentinels": [
- "10.33.13.75:26379",
- "10.33.10.61:26379",
- "10.33.105.51:26379"
- ],
- "timeout": 5000,
- "password": "bernard",
- "database": 3
- },
- "messageQueueConfiguration": {
- "topic": "userOfferRedemptionsTest",
- "kafkaProducerConfig": {
- "metadata.broker.list": "10.33.25.179:9092,10.33.97.23:9092",
- "request.required.acks": -1,
- "serializer.class": "com.flipkart.lionel.common.Encoder.JsonEncoder"
- }
- },
- "omsClientConfiguration": {
- "host": "http://10.33.193.23:9971",
- "orderDetailsUri": "/oms/2.5/orders/{orderId}",
- "orderItemDetailsUri": "/oms/2.5/order_items/{orderItemId}",
- "clientId": "santa.backburner",
- "httpConnectionConfiguration": {
- "socketTimeout": 10000,
- "maxRetries": 0,
- "connectionTimeout": 5000,
- "maxConnections": 30,
- "maxPerRoute": 20
- }
- },
- "orderConfiguration": {
- "returnPolicyMap": {
- "10_day_return": 10,
- "30_day_return_no_replacement": 30,
- "10_day_return_no_replacement": 10,
- "no_returns": 0
- },
- "defaultReturnPolicy": 1,
- "negativeStatus": [
- "CANCELLED",
- "RETURN_REQUESTED",
- "RETURNED"
- ],
- "validAdjustmentTypes": [
- "PROMOTION_DISCOUNT",
- "SHIPPING_CHARGE",
- "FREEBIE_DISCOUNT",
- "PICKUP_CHARGE"
- ]
- }
- }
Add Comment
Please, Sign In to add comment