{
  "spring": {
    "data": {
      "mongodb": {
        "uri": "mongodb://microservice-dev-01.securitytrfx.com:27000,microservice-dev-02.securitytrfx.com:27000,microservice-dev-03.securitytrfx.com:27000,microservice-dev-04.securitytrfx.com:27000,microservice-dev-05.securitytrfx.com:27000/fares?readPreference=nearest"
      }
    },
    "redis": {
      "host": "openair-r4large.wnf6v7.ng.0001.use1.cache.amazonaws.com",
      "port": 6379,
      "cluster": {
        "nodes": "openair-m4large-0001-001.wnf6v7.0001.use1.cache.amazonaws.com:6379,openair-m4large-0001-002.wnf6v7.0001.use1.cache.amazonaws.com:6379,openair-m4large-0001-003.wnf6v7.0001.use1.cache.amazonaws.com:6379"
      }
    },
    "cloud": {
      "stream": {
        "bindings": {
          "aggregatePopularities": {
            "destination": "openair.cadmus",
            "group": "aggregate-popularities-v${version.major}",
            "consumer": {
              "concurrency": 10
            }
          },
          "processAirIndexBatch": {
            "destination": "openair.cadmus",
            "group": "process-air-index-batch-v${version.major}",
            "consumer": {
              "concurrency": 20
            }
          },
          "processFaresBatch": {
            "destination": "openair.cadmus",
            "group": "process-fares-batch-v${version.major}",
            "consumer": {
              "concurrency": 50
            }
          },
          "removeStaleFares": {
            "destination": "openair.cadmus",
            "group": "remove-stale-fares-v${version.major}"
          },
          "removeUnavailableFares": {
            "destination": "openair.cadmus",
            "group": "remove-unavailable-fares-v${version.major}"
          },
          "updatePopularities": {
            "destination": "openair.cadmus",
            "group": "update-popularities-v${version.major}",
            "consumer": {
              "concurrency": 20
            }
          },
          "updateWeeklyPopularities": {
            "destination": "openair.cadmus",
            "group": "update-weekly-popularities-v${version.major}",
            "consumer": {
              "concurrency": 10
            }
          }
        },
        "rabbit": {
          "bindings": {
            "aggregatePopularities": {
              "consumer": {
                "bindingRoutingKey": "aggregate-popularities-v${version.major}"
              }
            },
            "processAirIndexBatch": {
              "consumer": {
                "bindingRoutingKey": "process-air-index-batch-v${version.major}"
              }
            },
            "processFaresBatch": {
              "consumer": {
                "bindingRoutingKey": "process-fares-batch-v${version.major}"
              }
            },
            "removeStaleFares": {
              "consumer": {
                "bindingRoutingKey": "remove-stale-fares-v${version.major}"
              }
            },
            "removeUnavailableFares": {
              "consumer": {
                "bindingRoutingKey": "remove-unavailable-fares-v${version.major}"
              }
            },
            "updatePopularities": {
              "consumer": {
                "bindingRoutingKey": "update-popularities-v${version.major}"
              }
            },
            "updateWeeklyPopularities": {
              "consumer": {
                "bindingRoutingKey": "update-weekly-popularities-v${version.major}"
              }
            }
          }
        }
      }
    },
    "cache": {
      "type": "REDIS"
    },
    "rabbitmq": {
      "host": "rabbitmq-development.securitytrfx.com",
      "username": "opendev",
      "password": "SOMEPASSWORD"
    },
    "sleuth": {
      "sampler": {
        "percentage": 0
      }
    },
    "jackson": {
      "serialization": {
        "writeDatesAsTimestamps": false
      }
    },
    "zipkin": {
      "locator": {
        "discovery": {
          "enabled": true
        }
      }
    }
  },
  "elastisearch": {
    "host": "elasticsearch-dev.securitytrfx.com",
    "port": 9300,
    "ssl": false,
    "username": "micro-dev",
    "password": "SOMEPASSWORD",
    "transport": {
      "type": "X-PACK",
      "sniff": false,
      "compress": true
    },
    "cluster": {
      "name": "elastic-Development"
    }
  },
  "eureka": {
    "client": {
      "region": "us-east-1",
      "availabilityZones": {
        "usEast1": "us-east-1a,us-east-1b"
      },
      "serviceUrl": {
        "usEast1a": "http://10.0.177.13:8761/eureka/",
        "usEast1b": "http://10.0.177.140:8761/eureka/"
      },
      "registerWithEureka": true,
      "fetchRegistry": true,
      "preferSameZone": true
    },
    "environment": "staging",
    "server": {
      "enableSelfPreservation": false
    },
    "instance": {
      "preferIpAddress": true
    }
  },
  "farenet": {
    "digest": {
      "enabled": false,
      "uri": "https://farenet.securitytrfx.com/booking_stats/farenet/ms/consumer/{airlineCode}"
    }
  },
  "server": {
    "port": 0,
    "compression": {
      "enabled": true,
      "mimeTypes": [
        "text/xml",
        "text/yaml",
        "text/css",
        "text/javascript",
        "image/png",
        "application/xml",
        "application/javascript",
        "application/json",
        "application/x-javascript"
      ]
    }
  },
  "cors": {
    "allowedMethods": "*"
  },
  "feign": {
    "compression": {
      "request": {
        "enabled": true,
        "minRequestSize": 2048,
        "mimeTypes": [
          "text/xml",
          "text/yaml",
          "text/css",
          "text/javascript",
          "image/png",
          "application/xml",
          "application/javascript",
          "application/json"
        ]
      },
      "response": {
        "enabled": true
      }
    }
  },
  "hystrix": {
    "command": {
      "default": {
        "execution": {
          "isolation": {
            "thread": {
              "timeoutInMilliseconds": 5000
            }
          }
        }
      }
    }
  }
}