diff --git a/keyserver/addons/rust-node-addon/src/identity_client/mod.rs b/keyserver/addons/rust-node-addon/src/identity_client/mod.rs --- a/keyserver/addons/rust-node-addon/src/identity_client/mod.rs +++ b/keyserver/addons/rust-node-addon/src/identity_client/mod.rs @@ -71,7 +71,7 @@ impl Default for IdentityServiceConfig { fn default() -> Self { Self { - identity_socket_addr: "https://[::1]:50051".to_string(), + identity_socket_addr: "https://[::1]:50054".to_string(), identity_auth_token: "test".to_string(), } } diff --git a/services/docker-compose.yml b/services/docker-compose.yml --- a/services/docker-compose.yml +++ b/services/docker-compose.yml @@ -64,7 +64,7 @@ context: ../ image: commapp/identity-server:0.1 ports: - - '${COMM_SERVICES_PORT_IDENTITY}:50051' + - '${COMM_SERVICES_PORT_IDENTITY}:50054' feature-flags-server: depends_on: - localstack diff --git a/services/identity/src/constants.rs b/services/identity/src/constants.rs --- a/services/identity/src/constants.rs +++ b/services/identity/src/constants.rs @@ -33,7 +33,7 @@ // Tokio pub const MPSC_CHANNEL_BUFFER_CAPACITY: usize = 1; -pub const IDENTITY_SERVICE_SOCKET_ADDR: &str = "[::]:50051"; +pub const IDENTITY_SERVICE_SOCKET_ADDR: &str = "[::]:50054"; // Token diff --git a/services/identity/src/main.rs b/services/identity/src/main.rs --- a/services/identity/src/main.rs +++ b/services/identity/src/main.rs @@ -18,6 +18,7 @@ use constants::{IDENTITY_SERVICE_SOCKET_ADDR, SECRETS_DIRECTORY}; use keygen::generate_and_persist_keypair; use service::{IdentityServiceServer, MyIdentityService}; +use tracing::info; #[derive(Parser)] #[clap(author, version, about, long_about = None)] @@ -57,6 +58,7 @@ let database_client = DatabaseClient::new(&aws_config); let server = MyIdentityService::new(database_client); let svc = IdentityServiceServer::with_interceptor(server, check_auth); + info!("Listening to gRPC traffic on {}", addr); Server::builder().add_service(svc).serve(addr).await?; } Commands::PopulateDB => unimplemented!(),