diff --git a/app/api/controller/gitspace/events.go b/app/api/controller/gitspace/events.go index a0a8f1553..eb1a9ec23 100644 --- a/app/api/controller/gitspace/events.go +++ b/app/api/controller/gitspace/events.go @@ -90,14 +90,18 @@ func eventsMessageMapping() map[enum.GitspaceEventType]string { gitspaceConfigsMap[enum.GitspaceEventTypeFetchDevcontainerCompleted] = "Fetched devcontainer config" gitspaceConfigsMap[enum.GitspaceEventTypeFetchDevcontainerFailed] = "Fetching devcontainer config failed" - gitspaceConfigsMap[enum.GitspaceEventTypeFetchConnectorsDetailsStart] = "Fetching connectors details..." - gitspaceConfigsMap[enum.GitspaceEventTypeFetchConnectorsDetailsCompleted] = "Fetched connectors details" - gitspaceConfigsMap[enum.GitspaceEventTypeFetchConnectorsDetailsFailed] = "Fetching connectors details failed" + gitspaceConfigsMap[enum.GitspaceEventTypeFetchConnectorsDetailsStart] = "Fetching platform connectors details..." + gitspaceConfigsMap[enum.GitspaceEventTypeFetchConnectorsDetailsCompleted] = "Fetched platform connectors details" + gitspaceConfigsMap[enum.GitspaceEventTypeFetchConnectorsDetailsFailed] = "Fetching platform connectors details failed" //nolint:lll gitspaceConfigsMap[enum.GitspaceEventTypeInfraProvisioningStart] = "Provisioning infrastructure..." gitspaceConfigsMap[enum.GitspaceEventTypeInfraProvisioningCompleted] = "Provisioning infrastructure completed" gitspaceConfigsMap[enum.GitspaceEventTypeInfraProvisioningFailed] = "Provisioning infrastructure failed" + gitspaceConfigsMap[enum.GitspaceEventTypeInfraGatewayRouteStart] = "Updating gateway routing..." + gitspaceConfigsMap[enum.GitspaceEventTypeInfraGatewayRouteCompleted] = "Updating gateway routing completed" + gitspaceConfigsMap[enum.GitspaceEventTypeInfraGatewayRouteFailed] = "Updating gateway routing failed" + gitspaceConfigsMap[enum.GitspaceEventTypeInfraStopStart] = "Stopping infrastructure..." gitspaceConfigsMap[enum.GitspaceEventTypeInfraStopCompleted] = "Stopping infrastructure completed" gitspaceConfigsMap[enum.GitspaceEventTypeInfraStopFailed] = "Stopping infrastructure failed" diff --git a/types/enum/gitspace_event_type.go b/types/enum/gitspace_event_type.go index 986eb1933..440ebdba6 100644 --- a/types/enum/gitspace_event_type.go +++ b/types/enum/gitspace_event_type.go @@ -95,6 +95,11 @@ const ( GitspaceEventTypeInfraProvisioningCompleted GitspaceEventType = "infra_provisioning_completed" GitspaceEventTypeInfraProvisioningFailed GitspaceEventType = "infra_provisioning_failed" + // Gateway update events. + GitspaceEventTypeInfraGatewayRouteStart GitspaceEventType = "infra_gateway_route_start" + GitspaceEventTypeInfraGatewayRouteCompleted GitspaceEventType = "infra_gateway_route_completed" + GitspaceEventTypeInfraGatewayRouteFailed GitspaceEventType = "infra_gateway_route_failed" + // Infra stop events. GitspaceEventTypeInfraStopStart GitspaceEventType = "infra_stop_start" GitspaceEventTypeInfraStopCompleted GitspaceEventType = "infra_stop_completed"