{
  "AppOptions": {
    "Name": "Booking-Service"
  },
  "LogOptions": {
    "Level": "information",
    "LogTemplate": "{Timestamp:HH:mm:ss} [{Level:u4}] {Message:lj}{NewLine}{Exception}",
    "Elastic": {
      "Enabled": true,
      "ElasticServiceUrl": "http://localhost:9200"
    },
    "File": {
      "Enabled": false,
      "Path": "logs/logs.txt",
      "Interval": "day"
    },
    "Sentry": {
      "Enabled": false,
      "Dsn": "",
      "MinimumBreadcrumbLevel": "information",
      "MinimumEventLevel":"error"
    }
  },
  "Jwt": {
    "Authority": "https://localhost:5005",
    "Audience": "booking-api"
  },
  "RabbitMqOptions": {
    "HostName": "localhost",
    "ExchangeName": "booking",
    "UserName": "guest",
    "Password": "guest",
    "Port": 5672
  },
  "Grpc": {
    "FlightAddress": "https://localhost:5003",
    "PassengerAddress": "https://localhost:5012"
  },
  "PolicyOptions": {
   "Retry": {
    "RetryCount": 3,
    "SleepDuration": 1
   },
    "CircuitBreaker": {
     "RetryCount": 5,
     "BreakDuration" : 30
    }
  },
  "EventStore": {
    "ConnectionString": "esdb://localhost:2113?tls=false"
  },
  "MongoOptions": {
    "ConnectionString": "mongodb://localhost:27017",
    "DatabaseName": "booking-db"
  },
  "HealthOptions": {
    "Enabled": false
  },
  "PersistMessageOptions": {
    "Interval": 30,
    "Enabled": true,
    "ConnectionString": "Server=localhost;Port=5432;Database=persist_message;User Id=postgres;Password=postgres;Include Error Detail=true"
  },
  "AllowedHosts": "*"
}
