- removed: api-service

- removed: session-service
- updated: moved health check out of consul registration
- updated: get service info to pull the service from the default namespace for the service account
- updated: the rest of the services to be able to handle the new database tables
This commit is contained in:
2025-03-20 22:53:49 -04:00
parent b9ebdd7080
commit 4046f56191
60 changed files with 233 additions and 30588 deletions

View File

@@ -158,8 +158,9 @@ pub(crate) async fn handle_login_req(
debug!("Successfully logged in");
if let Some(mut state) = connection_service.get_connection_mut(&connection_id) {
state.user_id = Some(response.user_id.parse().unwrap());
state.session_id = Some(response.session_id.parse().unwrap());
debug!("Response: {:?}", response);
state.user_id = Some(response.user_id);
state.session_id = Some(response.session_id);
}
let mut id = 0;
@@ -204,6 +205,7 @@ pub(crate) async fn handle_login_req(
}
}
Err(err) => {
debug!("Error getting service info: {}", err);
let data = SrvLoginReply {
result: srv_login_reply::Result::Failed,
right: 0,