{
  "AppOptions": {
    "Name": "ApiGateway"
  },
  "LogOptions": {
    "Level": "Information",
    "LogTemplate": "{Timestamp:HH:mm:ss} [{Level:u4}] {Message:lj}{NewLine}{Exception}",
    "ElasticUri": "http://localhost:9200"
  },
  "HealthOptions": {
    "Enabled": false
  },
  "Yarp": {
    "routes": {
      "identity": {
        "clusterId": "identity",
        "match": {
          "path": "/{**catch-all}"
        }
      },
      "flight": {
        "clusterId": "flight",
        "match": {
          "path": "api/{version}/flight/{**catch-all}"
        }
      },
      "passenger": {
        "clusterId": "passenger",
        "match": {
          "path": "api/{version}/passenger/{**catch-all}"
        }
      },
      "booking": {
        "clusterId": "booking",
        "match": {
          "path": "api/{version}/booking/{**catch-all}"
        }
      }
    },
    "clusters": {
      "flight": {
        "destinations": {
          "destination1": {
            "address": "https://localhost:5003"
          }
        }
      },
      "identity": {
        "destinations": {
          "destination1": {
            "address": "https://localhost:5005"
          }
        }
      },
      "passenger": {
        "destinations": {
          "destination1": {
            "address": "https://localhost:5012"
          }
        }
      },
      "booking": {
        "destinations": {
          "destination1": {
            "address": "https://localhost:5010"
          }
        }
      }
    }
  },
  "Jwt": {
    "Authority": "https://localhost:5005"
  },
  "AllowedHosts": "*"
}
