diff --git a/example_config_ingest_router.yaml b/example_config_ingest_router.yaml index cff6dbb..6d6c14c 100644 --- a/example_config_ingest_router.yaml +++ b/example_config_ingest_router.yaml @@ -10,7 +10,7 @@ ingest_router: locator: type: in_process control_plane: - url: http://127.0.0.1:9000 + url: http://127.0.0.1:8000 backup_route_store: type: filesystem base_dir: target/cache diff --git a/example_config_locator.yaml b/example_config_locator.yaml index 7e0ab12..506e896 100644 --- a/example_config_locator.yaml +++ b/example_config_locator.yaml @@ -1,6 +1,6 @@ locator: control_plane: - url: "http://127.0.0.1:9000" + url: "http://127.0.0.1:8000" backup_route_store: type: filesystem base_dir: target/cache diff --git a/example_config_locator_gcs.yaml b/example_config_locator_gcs.yaml index 60a476d..935ea7f 100644 --- a/example_config_locator_gcs.yaml +++ b/example_config_locator_gcs.yaml @@ -3,7 +3,7 @@ locator: host: "0.0.0.0" port: 3000 control_plane: - url: "http://127.0.0.1:9000" + url: "http://127.0.0.1:8000" backup_route_store: type: gcs bucket: synapse diff --git a/example_config_proxy.yaml b/example_config_proxy.yaml index 7417cb7..b8dc2ff 100644 --- a/example_config_proxy.yaml +++ b/example_config_proxy.yaml @@ -18,7 +18,7 @@ proxy: locality_to_default_cell: us: us1 control_plane: - url: http://127.0.0.1:9000 + url: http://127.0.0.1:8000 upstreams: - name: us1-getsentry url: "http://127.0.0.1:8080" diff --git a/ingest-router/src/testutils.rs b/ingest-router/src/testutils.rs index 240dc69..bfb1a05 100644 --- a/ingest-router/src/testutils.rs +++ b/ingest-router/src/testutils.rs @@ -56,7 +56,7 @@ pub async fn create_test_locator(key_to_cell: HashMap) -> Locato let service = locator::locator::Locator::new( locator::config::LocatorDataType::ProjectKey, - "http://invalid-control-plane:9000".to_string(), + "http://invalid-control-plane:8000".to_string(), provider, None, None, diff --git a/locator/src/locator.rs b/locator/src/locator.rs index e398b0a..f726c74 100644 --- a/locator/src/locator.rs +++ b/locator/src/locator.rs @@ -466,7 +466,7 @@ mod tests { let locator = Locator::new( LocatorDataType::Organization, - "http://invalid-control-plane:9000".to_string(), + "http://invalid-control-plane:8000".to_string(), provider, None, Some(HashMap::from([("de".into(), "de".into())])), diff --git a/proxy/src/proxy_service.rs b/proxy/src/proxy_service.rs index 7555cf7..4db79f5 100644 --- a/proxy/src/proxy_service.rs +++ b/proxy/src/proxy_service.rs @@ -237,11 +237,11 @@ mod tests { upstreams: vec![ config::UpstreamConfig { name: "upstream".to_string(), - url: "http://127.0.0.1:9000".to_string(), + url: "http://127.0.0.1:8100".to_string(), }, config::UpstreamConfig { name: "invalid_upstream".to_string(), - url: "http://256.256.256.256:9000".to_string(), + url: "http://256.256.256.256:8100".to_string(), }, ], routes: vec![ @@ -298,7 +298,7 @@ mod tests { let response = service.call(request).await.expect("Request failed"); assert_eq!(response.status(), StatusCode::OK); assert_eq!(response.headers().get("x-custom").unwrap(), "test"); - assert_eq!(response.headers().get("host").unwrap(), "127.0.0.1:9000"); + assert_eq!(response.headers().get("host").unwrap(), "127.0.0.1:8100"); tracing::debug!("response headers: {:?}", response.headers()); let body_bytes = response.into_body().collect().await.unwrap().to_bytes(); assert_eq!(body_bytes.as_ref(), content); diff --git a/scripts/echo_server.py b/scripts/echo_server.py index d350a38..bb49738 100644 --- a/scripts/echo_server.py +++ b/scripts/echo_server.py @@ -40,6 +40,6 @@ def _handle(self): if __name__ == "__main__": - server = HTTPServer(("127.0.0.1", 9000), EchoHandler) - print("Echo server listening on http://127.0.0.1:9000") + server = HTTPServer(("127.0.0.1", 8100), EchoHandler) + print("Echo server listening on http://127.0.0.1:8100") server.serve_forever() diff --git a/scripts/mock_control_api.py b/scripts/mock_control_api.py index ac99cb0..464d95e 100644 --- a/scripts/mock_control_api.py +++ b/scripts/mock_control_api.py @@ -207,7 +207,7 @@ def make_cursor(updated_at: int, entity_id: str) -> str: args = parser.parse_args() host = args.host or "127.0.0.1" - port = args.port or 9000 + port = args.port or 8000 server = HTTPServer((host, port), MockControlApi) print(f"Mock control plane listening on http://{host}:{port}") diff --git a/synapse/src/config.rs b/synapse/src/config.rs index 1c5931e..a085c10 100644 --- a/synapse/src/config.rs +++ b/synapse/src/config.rs @@ -96,7 +96,7 @@ mod tests { fn proxy_config() { let proxy_yaml = r#" proxy: - upstreams: [{name: local, url: http://127.0.0.1:9000}] + upstreams: [{name: local, url: http://127.0.0.1:8100}] routes: [{match: {path: test}, action: {to: local}}] listener: host: 0.0.0.0