{
  "Routes": [
    // Tiobon-svc
    {
      "UpstreamPathTemplate": "/svc/Tiobon/{url}",
      "UpstreamHttpMethod": [ "Get", "Post", "Put", "Delete" ],
      "LoadBalancerOptions": {
        "Type": "RoundRobin"
      },
      "DownstreamPathTemplate": "/svc/Tiobon/{url}",
      "DownstreamScheme": "http",
      "DownstreamHostAndPorts": [
        {
          "Host": "localhost",
          "Port": 9291
        }
      ],
      "AddHeadersToRequest": {
        "user-phone": "Claims[user-phone] > value",
        "gw-sign": "Claims[gw-sign] > value"
      },
      "UpstreamHeaderTransform": {
        "custom-key": "Tiobon.gateway"
      },
      "DownstreamHeaderTransform": {
        "trace-id": "Trace-Id"
      },
      "AuthenticationOptions": {
        "AuthenticationProviderKey": "GW"
      },
      "DelegatingHandlers": [
        "CustomResultHandler"
      ]
    },
    // Tiobon-svc-swagger
    {
      "UpstreamPathTemplate": "/swagger/apiswg/Tiobon-svc/swagger.json",
      "UpstreamHttpMethod": [ "GET" ],
      "DownstreamPathTemplate": "/swagger/V2/swagger.json",
      "DownstreamScheme": "http",
      "DownstreamHostAndPorts": [
        {
          "Host": "localhost",
          "Port": 9291
        }
      ],
      "LoadBalancer": "RoundRobin"
    }

  ],
  "GlobalConfiguration": {
    "BaseUrl": "http://localhost:9000"
  }
}