Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webapp: proxy dump does not show upstream proto #63

Open
saarasio opened this issue Nov 16, 2019 · 0 comments
Open

Webapp: proxy dump does not show upstream proto #63

saarasio opened this issue Nov 16, 2019 · 0 comments

Comments

@saarasio
Copy link
Owner

The following proxy config has two gRPC upstreams. However the protocol is not shown in output of dump command -

$ curl -s 127.0.0.1:1323/proxy/dump/gw | jq
{
  "data": {
    "saaras_db_proxy": [
      {
        "proxy_id": 1,
        "proxy_name": "gw",
        "create_ts": "2019-11-16T20:52:17.667348+00:00",
        "update_ts": "2019-11-16T20:53:43.615024+00:00",
        "proxy_services": [
          {
            "service": {
              "service_id": 1,
              "service_name": "l",
              "fqdn": "127.0.0.1",
              "create_ts": "2019-11-16T20:52:24.630408+00:00",
              "update_ts": "2019-11-16T20:53:43.615024+00:00",
              "service_secrets": [],
              "routes": [
                {
                  "route_id": 1,
                  "route_name": "r",
                  "route_prefix": "/",
                  "create_ts": "2019-11-16T20:52:34.037305+00:00",
                  "update_ts": "2019-11-16T20:52:54.759904+00:00",
                  "route_upstreams": [
                    {
                      "upstream": {
                        "upstream_id": 1,
                        "upstream_name": "u",
                        "upstream_ip": "127.0.0.1",
                        "upstream_port": 50051,
                        "upstream_hc_path": "/",
                        "upstream_hc_host": "",
                        "upstream_hc_intervalseconds": 0,
                        "upstream_hc_timeoutseconds": 0,
                        "upstream_hc_unhealthythresholdcount": 0,
                        "upstream_hc_healthythresholdcount": 0,
                        "upstream_strategy": "",
                        "upstream_validation_cacertificate": "",
                        "upstream_validation_subjectname": "",
                        "upstream_weight": 100,
                        "create_ts": "2019-11-16T20:52:36.750408+00:00",
                        "update_ts": "2019-11-16T20:52:58.859747+00:00"
                      }
                    },
                    {
                      "upstream": {
                        "upstream_id": 2,
                        "upstream_name": "u2",
                        "upstream_ip": "127.0.0.1",
                        "upstream_port": 50052,
                        "upstream_hc_path": "/",
                        "upstream_hc_host": "",
                        "upstream_hc_intervalseconds": 0,
                        "upstream_hc_timeoutseconds": 0,
                        "upstream_hc_unhealthythresholdcount": 0,
                        "upstream_hc_healthythresholdcount": 0,
                        "upstream_strategy": "",
                        "upstream_validation_cacertificate": "",
                        "upstream_validation_subjectname": "",
                        "upstream_weight": 100,
                        "create_ts": "2019-11-16T20:52:40.087558+00:00",
                        "update_ts": "2019-11-16T20:53:01.261084+00:00"
                      }
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    ]
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant