event and service sendpoints added
This commit is contained in:
@@ -7,9 +7,15 @@ from .supers_events import (
|
||||
|
||||
BuildAreaRouterCluster = RouterCluster(name="BuildAreaRouterCluster")
|
||||
|
||||
BuildAreaEventClusterList = EventCluster(name="BuildAreaList", endpoint_uu_id="cc487a4f-9a45-4072-89c1-a1ad504c79ad")
|
||||
BuildAreaEventClusterCreate = EventCluster(name="BuildAreaCreate", endpoint_uu_id="bdd58d68-3a7c-4150-9f5b-e322db35b804")
|
||||
BuildAreaEventClusterUpdate = EventCluster(name="BuildAreaUpdate", endpoint_uu_id="cad0c4e2-36e3-4f80-9ad2-b06bf8cd8d1c")
|
||||
BuildAreaEventClusterList = EventCluster(
|
||||
name="BuildAreaList", endpoint_uu_id="cc487a4f-9a45-4072-89c1-a1ad504c79ad"
|
||||
)
|
||||
BuildAreaEventClusterCreate = EventCluster(
|
||||
name="BuildAreaCreate", endpoint_uu_id="bdd58d68-3a7c-4150-9f5b-e322db35b804"
|
||||
)
|
||||
BuildAreaEventClusterUpdate = EventCluster(
|
||||
name="BuildAreaUpdate", endpoint_uu_id="cad0c4e2-36e3-4f80-9ad2-b06bf8cd8d1c"
|
||||
)
|
||||
|
||||
BuildAreaEventClusterList.add_event(BuildAreaListEvent)
|
||||
BuildAreaEventClusterCreate.add_event(BuildAreaCreateEvent)
|
||||
|
||||
@@ -71,8 +71,8 @@ def build_area_create_callable(data: dict):
|
||||
"info": {
|
||||
"host": "example_host",
|
||||
"user_agent": "example_user_agent",
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
BuildAreaCreateEvent.event_callable = build_area_create_callable
|
||||
@@ -89,8 +89,8 @@ def build_area_update_callable(data: dict):
|
||||
"info": {
|
||||
"host": "example_host",
|
||||
"user_agent": "example_user_agent",
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
BuildAreaUpdateEvent.event_callable = build_area_update_callable
|
||||
|
||||
@@ -71,8 +71,8 @@ def build_sites_create_callable(data: dict):
|
||||
"info": {
|
||||
"host": "example_host",
|
||||
"user_agent": "example_user_agent",
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
BuildSitesCreateEvent.event_callable = build_sites_create_callable
|
||||
@@ -89,8 +89,8 @@ def build_sites_update_callable(data: dict):
|
||||
"info": {
|
||||
"host": "example_host",
|
||||
"user_agent": "example_user_agent",
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
BuildSitesUpdateEvent.event_callable = build_sites_update_callable
|
||||
|
||||
@@ -71,8 +71,8 @@ def build_living_space_create_callable(data: dict):
|
||||
"info": {
|
||||
"host": "example_host",
|
||||
"user_agent": "example_user_agent",
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
BuildLivingSpaceCreateEvent.event_callable = build_living_space_create_callable
|
||||
@@ -89,8 +89,8 @@ def build_living_space_update_callable(data: dict):
|
||||
"info": {
|
||||
"host": "example_host",
|
||||
"user_agent": "example_user_agent",
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
BuildLivingSpaceUpdateEvent.event_callable = build_living_space_update_callable
|
||||
|
||||
@@ -71,8 +71,8 @@ def build_type_create_callable(data: dict):
|
||||
"info": {
|
||||
"host": "example_host",
|
||||
"user_agent": "example_user_agent",
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
BuildTypeCreateEvent.event_callable = build_type_create_callable
|
||||
@@ -89,8 +89,8 @@ def build_type_update_callable(data: dict):
|
||||
"info": {
|
||||
"host": "example_host",
|
||||
"user_agent": "example_user_agent",
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
BuildTypeUpdateEvent.event_callable = build_type_update_callable
|
||||
|
||||
Reference in New Issue
Block a user