identity service completed

This commit is contained in:
2025-04-22 01:20:15 +03:00
parent 9069ba0754
commit d7f1da8de8
3 changed files with 78 additions and 81 deletions

View File

@@ -6,6 +6,7 @@ class EventCluster:
"""
EventCluster
"""
def __init__(self, endpoint_uu_id: str, name: str):
self.endpoint_uu_id = endpoint_uu_id
self.name = name
@@ -98,6 +99,7 @@ class RouterCluster:
"""
RouterCluster
"""
event_clusters: dict[str, EventCluster] = {}
def __init__(self, name: str):
@@ -117,4 +119,3 @@ class RouterCluster:
if event_cluster_name not in self.event_clusters:
raise ValueError("Event cluster not found")
return self.event_clusters[event_cluster_name]