├── .github ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE │ ├── config.yml │ ├── issue-bug.yml │ └── issue-enhance.yml ├── PULL_REQUEST_TEMPLATE.md └── TEMPLATE-README.md ├── .gitignore ├── CODEOWNERS ├── ISSUE_TEMPLATE.md ├── LICENSE ├── NOTICE ├── README.md ├── admin ├── admin_suite_test.go ├── router_group_lock_handler.go ├── router_group_lock_handler_test.go ├── server.go └── server_test.go ├── bin └── test.bash ├── client.go ├── client_test.go ├── client_tls_test.go ├── cmd ├── config-validator │ └── main.go └── routing-api │ ├── api_test.go │ ├── cert_helper_test.go │ ├── fixtures │ ├── ca.crl │ ├── ca.crt │ ├── ca.key │ ├── metron │ │ ├── CA.crl │ │ ├── CA.crt │ │ ├── CA.key │ │ ├── client.crt │ │ ├── client.csr │ │ ├── client.key │ │ ├── metron.crt │ │ ├── metron.csr │ │ └── metron.key │ ├── regenerate-certs.sh │ ├── server.crt │ ├── server.csr │ └── server.key │ ├── locket_test.go │ ├── main.go │ ├── main_test.go │ ├── routing_api_suite_test.go │ ├── stats_test.go │ └── testrunner │ ├── constants.go │ ├── db.go │ ├── helpers.go │ ├── locket.go │ ├── routing_api.go │ └── runner.go ├── config ├── config.go ├── config_suite_test.go └── config_test.go ├── db ├── client.go ├── db_sql.go ├── db_sql_test.go ├── db_suite_test.go ├── errors.go ├── event.go ├── fakes │ ├── fake_client.go │ ├── fake_db.go │ └── fake_mysql_adapter.go ├── mysql_adapter.go ├── mysql_connection_string_builder.go └── mysql_connection_string_builder_test.go ├── docker-compose.yml ├── docs ├── 01-usage.md ├── 02-api-docs.md └── 03-modification-tags.md ├── errors.go ├── event_source.go ├── event_source_test.go ├── example_config ├── example.yml ├── example_template.yml ├── example_template_rg.yml ├── example_template_sql.yml ├── example_template_sql_only.yml └── missing_uaa_url.yml ├── fake_routing_api ├── fake_client.go ├── fake_event_source.go ├── fake_raw_event_source.go └── fake_tcp_event_source.go ├── handlers ├── errors.go ├── event_stream_handler.go ├── event_stream_handler_test.go ├── fakes │ └── fake_validator.go ├── handlers_suite_test.go ├── middleware.go ├── middleware_test.go ├── router_groups_handler.go ├── router_groups_handler_test.go ├── routes_handler.go ├── routes_handler_test.go ├── scopes.go ├── tcp_route_mappings_handler.go ├── tcp_route_mappings_handler_test.go ├── test_helpers.go ├── validator.go └── validator_test.go ├── helpers ├── helpers.go ├── helpers_suite_test.go └── helpers_test.go ├── matchers └── matchers.go ├── metrics ├── fakes │ └── fake_partial_statsd_client.go ├── metrics.go ├── metrics_suite_test.go └── metrics_test.go ├── migration ├── V0_init_migration.go ├── V0_init_migration_test.go ├── V2_update_rg_migration.go ├── V2_update_rg_migration_test.go ├── V3_update_tcp_route_migration.go ├── V3_update_tcp_route_migration_test.go ├── V4_add_rg_uniq_idx_tcp_route_migration.go ├── V4_add_rg_uniq_idx_tcp_route_migration_test.go ├── V5_sni_hostname_migration.go ├── V5_sni_hostname_migration_test.go ├── V6_tls_tcp_route.go ├── V6_tls_tcp_route_test.go ├── V7_instance_id_defaults.go ├── V7_instance_id_defaults_test.go ├── V8_host_tls_port_tcp_default_zero.go ├── V8_host_tls_port_tcp_default_zero_test.go ├── V9_terminate_frontend_tls.go ├── V9_terminate_frontend_tls_test.go ├── fakes │ └── fake_migration.go ├── migration.go ├── migration_suite_test.go ├── migration_test.go ├── v0 │ └── models.go ├── v5 │ └── models.go ├── v6 │ ├── model.go │ ├── models_suite_test.go │ ├── models_test.go │ ├── route.go │ ├── router_groups.go │ ├── tcp_route.go │ └── tcp_route_test.go └── v7 │ ├── model.go │ ├── models_suite_test.go │ ├── models_test.go │ ├── route.go │ ├── router_groups.go │ ├── tcp_route.go │ └── tcp_route_test.go ├── models ├── model.go ├── models_suite_test.go ├── models_test.go ├── route.go ├── router_groups.go ├── tcp_route.go └── tcp_route_test.go ├── routes.go ├── routing_api_suite_test.go ├── test_helpers ├── certificates.go └── ports.go ├── trace ├── trace.go ├── trace_suite_test.go └── trace_test.go └── uaaclient ├── api.go ├── api_test.go ├── fakes ├── token_fetcher.go └── token_validator.go ├── token_fetcher.go ├── token_fetcher_test.go ├── token_validator.go ├── token_validator_test.go └── uaaclient_suite_test.go /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/issue-bug.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/.github/ISSUE_TEMPLATE/issue-bug.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/issue-enhance.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/.github/ISSUE_TEMPLATE/issue-enhance.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/TEMPLATE-README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/.github/TEMPLATE-README.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/.gitignore -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/README.md -------------------------------------------------------------------------------- /admin/admin_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/admin/admin_suite_test.go -------------------------------------------------------------------------------- /admin/router_group_lock_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/admin/router_group_lock_handler.go -------------------------------------------------------------------------------- /admin/router_group_lock_handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/admin/router_group_lock_handler_test.go -------------------------------------------------------------------------------- /admin/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/admin/server.go -------------------------------------------------------------------------------- /admin/server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/admin/server_test.go -------------------------------------------------------------------------------- /bin/test.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/bin/test.bash -------------------------------------------------------------------------------- /client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/client.go -------------------------------------------------------------------------------- /client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/client_test.go -------------------------------------------------------------------------------- /client_tls_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/client_tls_test.go -------------------------------------------------------------------------------- /cmd/config-validator/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/config-validator/main.go -------------------------------------------------------------------------------- /cmd/routing-api/api_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/api_test.go -------------------------------------------------------------------------------- /cmd/routing-api/cert_helper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/cert_helper_test.go -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/ca.crl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/ca.crl -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/ca.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/ca.crt -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/ca.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/ca.key -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/metron/CA.crl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/metron/CA.crl -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/metron/CA.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/metron/CA.crt -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/metron/CA.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/metron/CA.key -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/metron/client.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/metron/client.crt -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/metron/client.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/metron/client.csr -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/metron/client.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/metron/client.key -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/metron/metron.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/metron/metron.crt -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/metron/metron.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/metron/metron.csr -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/metron/metron.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/metron/metron.key -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/regenerate-certs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/regenerate-certs.sh -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/server.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/server.crt -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/server.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/server.csr -------------------------------------------------------------------------------- /cmd/routing-api/fixtures/server.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/fixtures/server.key -------------------------------------------------------------------------------- /cmd/routing-api/locket_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/locket_test.go -------------------------------------------------------------------------------- /cmd/routing-api/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/main.go -------------------------------------------------------------------------------- /cmd/routing-api/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/main_test.go -------------------------------------------------------------------------------- /cmd/routing-api/routing_api_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/routing_api_suite_test.go -------------------------------------------------------------------------------- /cmd/routing-api/stats_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/stats_test.go -------------------------------------------------------------------------------- /cmd/routing-api/testrunner/constants.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/testrunner/constants.go -------------------------------------------------------------------------------- /cmd/routing-api/testrunner/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/testrunner/db.go -------------------------------------------------------------------------------- /cmd/routing-api/testrunner/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/testrunner/helpers.go -------------------------------------------------------------------------------- /cmd/routing-api/testrunner/locket.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/testrunner/locket.go -------------------------------------------------------------------------------- /cmd/routing-api/testrunner/routing_api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/testrunner/routing_api.go -------------------------------------------------------------------------------- /cmd/routing-api/testrunner/runner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/cmd/routing-api/testrunner/runner.go -------------------------------------------------------------------------------- /config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/config/config.go -------------------------------------------------------------------------------- /config/config_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/config/config_suite_test.go -------------------------------------------------------------------------------- /config/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/config/config_test.go -------------------------------------------------------------------------------- /db/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/db/client.go -------------------------------------------------------------------------------- /db/db_sql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/db/db_sql.go -------------------------------------------------------------------------------- /db/db_sql_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/db/db_sql_test.go -------------------------------------------------------------------------------- /db/db_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/db/db_suite_test.go -------------------------------------------------------------------------------- /db/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/db/errors.go -------------------------------------------------------------------------------- /db/event.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/db/event.go -------------------------------------------------------------------------------- /db/fakes/fake_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/db/fakes/fake_client.go -------------------------------------------------------------------------------- /db/fakes/fake_db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/db/fakes/fake_db.go -------------------------------------------------------------------------------- /db/fakes/fake_mysql_adapter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/db/fakes/fake_mysql_adapter.go -------------------------------------------------------------------------------- /db/mysql_adapter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/db/mysql_adapter.go -------------------------------------------------------------------------------- /db/mysql_connection_string_builder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/db/mysql_connection_string_builder.go -------------------------------------------------------------------------------- /db/mysql_connection_string_builder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/db/mysql_connection_string_builder_test.go -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/01-usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/docs/01-usage.md -------------------------------------------------------------------------------- /docs/02-api-docs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/docs/02-api-docs.md -------------------------------------------------------------------------------- /docs/03-modification-tags.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/docs/03-modification-tags.md -------------------------------------------------------------------------------- /errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/errors.go -------------------------------------------------------------------------------- /event_source.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/event_source.go -------------------------------------------------------------------------------- /event_source_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/event_source_test.go -------------------------------------------------------------------------------- /example_config/example.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/example_config/example.yml -------------------------------------------------------------------------------- /example_config/example_template.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/example_config/example_template.yml -------------------------------------------------------------------------------- /example_config/example_template_rg.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/example_config/example_template_rg.yml -------------------------------------------------------------------------------- /example_config/example_template_sql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/example_config/example_template_sql.yml -------------------------------------------------------------------------------- /example_config/example_template_sql_only.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/example_config/example_template_sql_only.yml -------------------------------------------------------------------------------- /example_config/missing_uaa_url.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/example_config/missing_uaa_url.yml -------------------------------------------------------------------------------- /fake_routing_api/fake_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/fake_routing_api/fake_client.go -------------------------------------------------------------------------------- /fake_routing_api/fake_event_source.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/fake_routing_api/fake_event_source.go -------------------------------------------------------------------------------- /fake_routing_api/fake_raw_event_source.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/fake_routing_api/fake_raw_event_source.go -------------------------------------------------------------------------------- /fake_routing_api/fake_tcp_event_source.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/fake_routing_api/fake_tcp_event_source.go -------------------------------------------------------------------------------- /handlers/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/errors.go -------------------------------------------------------------------------------- /handlers/event_stream_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/event_stream_handler.go -------------------------------------------------------------------------------- /handlers/event_stream_handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/event_stream_handler_test.go -------------------------------------------------------------------------------- /handlers/fakes/fake_validator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/fakes/fake_validator.go -------------------------------------------------------------------------------- /handlers/handlers_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/handlers_suite_test.go -------------------------------------------------------------------------------- /handlers/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/middleware.go -------------------------------------------------------------------------------- /handlers/middleware_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/middleware_test.go -------------------------------------------------------------------------------- /handlers/router_groups_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/router_groups_handler.go -------------------------------------------------------------------------------- /handlers/router_groups_handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/router_groups_handler_test.go -------------------------------------------------------------------------------- /handlers/routes_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/routes_handler.go -------------------------------------------------------------------------------- /handlers/routes_handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/routes_handler_test.go -------------------------------------------------------------------------------- /handlers/scopes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/scopes.go -------------------------------------------------------------------------------- /handlers/tcp_route_mappings_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/tcp_route_mappings_handler.go -------------------------------------------------------------------------------- /handlers/tcp_route_mappings_handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/tcp_route_mappings_handler_test.go -------------------------------------------------------------------------------- /handlers/test_helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/test_helpers.go -------------------------------------------------------------------------------- /handlers/validator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/validator.go -------------------------------------------------------------------------------- /handlers/validator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/handlers/validator_test.go -------------------------------------------------------------------------------- /helpers/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/helpers/helpers.go -------------------------------------------------------------------------------- /helpers/helpers_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/helpers/helpers_suite_test.go -------------------------------------------------------------------------------- /helpers/helpers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/helpers/helpers_test.go -------------------------------------------------------------------------------- /matchers/matchers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/matchers/matchers.go -------------------------------------------------------------------------------- /metrics/fakes/fake_partial_statsd_client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/metrics/fakes/fake_partial_statsd_client.go -------------------------------------------------------------------------------- /metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/metrics/metrics.go -------------------------------------------------------------------------------- /metrics/metrics_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/metrics/metrics_suite_test.go -------------------------------------------------------------------------------- /metrics/metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/metrics/metrics_test.go -------------------------------------------------------------------------------- /migration/V0_init_migration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V0_init_migration.go -------------------------------------------------------------------------------- /migration/V0_init_migration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V0_init_migration_test.go -------------------------------------------------------------------------------- /migration/V2_update_rg_migration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V2_update_rg_migration.go -------------------------------------------------------------------------------- /migration/V2_update_rg_migration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V2_update_rg_migration_test.go -------------------------------------------------------------------------------- /migration/V3_update_tcp_route_migration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V3_update_tcp_route_migration.go -------------------------------------------------------------------------------- /migration/V3_update_tcp_route_migration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V3_update_tcp_route_migration_test.go -------------------------------------------------------------------------------- /migration/V4_add_rg_uniq_idx_tcp_route_migration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V4_add_rg_uniq_idx_tcp_route_migration.go -------------------------------------------------------------------------------- /migration/V4_add_rg_uniq_idx_tcp_route_migration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V4_add_rg_uniq_idx_tcp_route_migration_test.go -------------------------------------------------------------------------------- /migration/V5_sni_hostname_migration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V5_sni_hostname_migration.go -------------------------------------------------------------------------------- /migration/V5_sni_hostname_migration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V5_sni_hostname_migration_test.go -------------------------------------------------------------------------------- /migration/V6_tls_tcp_route.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V6_tls_tcp_route.go -------------------------------------------------------------------------------- /migration/V6_tls_tcp_route_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V6_tls_tcp_route_test.go -------------------------------------------------------------------------------- /migration/V7_instance_id_defaults.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V7_instance_id_defaults.go -------------------------------------------------------------------------------- /migration/V7_instance_id_defaults_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V7_instance_id_defaults_test.go -------------------------------------------------------------------------------- /migration/V8_host_tls_port_tcp_default_zero.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V8_host_tls_port_tcp_default_zero.go -------------------------------------------------------------------------------- /migration/V8_host_tls_port_tcp_default_zero_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V8_host_tls_port_tcp_default_zero_test.go -------------------------------------------------------------------------------- /migration/V9_terminate_frontend_tls.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V9_terminate_frontend_tls.go -------------------------------------------------------------------------------- /migration/V9_terminate_frontend_tls_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/V9_terminate_frontend_tls_test.go -------------------------------------------------------------------------------- /migration/fakes/fake_migration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/fakes/fake_migration.go -------------------------------------------------------------------------------- /migration/migration.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/migration.go -------------------------------------------------------------------------------- /migration/migration_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/migration_suite_test.go -------------------------------------------------------------------------------- /migration/migration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/migration_test.go -------------------------------------------------------------------------------- /migration/v0/models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v0/models.go -------------------------------------------------------------------------------- /migration/v5/models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v5/models.go -------------------------------------------------------------------------------- /migration/v6/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v6/model.go -------------------------------------------------------------------------------- /migration/v6/models_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v6/models_suite_test.go -------------------------------------------------------------------------------- /migration/v6/models_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v6/models_test.go -------------------------------------------------------------------------------- /migration/v6/route.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v6/route.go -------------------------------------------------------------------------------- /migration/v6/router_groups.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v6/router_groups.go -------------------------------------------------------------------------------- /migration/v6/tcp_route.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v6/tcp_route.go -------------------------------------------------------------------------------- /migration/v6/tcp_route_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v6/tcp_route_test.go -------------------------------------------------------------------------------- /migration/v7/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v7/model.go -------------------------------------------------------------------------------- /migration/v7/models_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v7/models_suite_test.go -------------------------------------------------------------------------------- /migration/v7/models_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v7/models_test.go -------------------------------------------------------------------------------- /migration/v7/route.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v7/route.go -------------------------------------------------------------------------------- /migration/v7/router_groups.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v7/router_groups.go -------------------------------------------------------------------------------- /migration/v7/tcp_route.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v7/tcp_route.go -------------------------------------------------------------------------------- /migration/v7/tcp_route_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/migration/v7/tcp_route_test.go -------------------------------------------------------------------------------- /models/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/models/model.go -------------------------------------------------------------------------------- /models/models_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/models/models_suite_test.go -------------------------------------------------------------------------------- /models/models_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/models/models_test.go -------------------------------------------------------------------------------- /models/route.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/models/route.go -------------------------------------------------------------------------------- /models/router_groups.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/models/router_groups.go -------------------------------------------------------------------------------- /models/tcp_route.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/models/tcp_route.go -------------------------------------------------------------------------------- /models/tcp_route_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/models/tcp_route_test.go -------------------------------------------------------------------------------- /routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/routes.go -------------------------------------------------------------------------------- /routing_api_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/routing_api_suite_test.go -------------------------------------------------------------------------------- /test_helpers/certificates.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/test_helpers/certificates.go -------------------------------------------------------------------------------- /test_helpers/ports.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/test_helpers/ports.go -------------------------------------------------------------------------------- /trace/trace.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/trace/trace.go -------------------------------------------------------------------------------- /trace/trace_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/trace/trace_suite_test.go -------------------------------------------------------------------------------- /trace/trace_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/trace/trace_test.go -------------------------------------------------------------------------------- /uaaclient/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/uaaclient/api.go -------------------------------------------------------------------------------- /uaaclient/api_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/uaaclient/api_test.go -------------------------------------------------------------------------------- /uaaclient/fakes/token_fetcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/uaaclient/fakes/token_fetcher.go -------------------------------------------------------------------------------- /uaaclient/fakes/token_validator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/uaaclient/fakes/token_validator.go -------------------------------------------------------------------------------- /uaaclient/token_fetcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/uaaclient/token_fetcher.go -------------------------------------------------------------------------------- /uaaclient/token_fetcher_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/uaaclient/token_fetcher_test.go -------------------------------------------------------------------------------- /uaaclient/token_validator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/uaaclient/token_validator.go -------------------------------------------------------------------------------- /uaaclient/token_validator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/uaaclient/token_validator_test.go -------------------------------------------------------------------------------- /uaaclient/uaaclient_suite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry/routing-api/HEAD/uaaclient/uaaclient_suite_test.go --------------------------------------------------------------------------------