Messaging fabric plugins (#592)

* Plugin architecture for messaging fabric

* Schemas use a technology neutral expression

* Schemas strictness has uncovered some incorrect schema use which is fixed
This commit is contained in:
cybermaggedon 2025-12-17 21:40:43 +00:00 committed by GitHub
parent 1865b3f3c8
commit 34eb083836
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
100 changed files with 2342 additions and 828 deletions

View file

@ -95,9 +95,6 @@ class Configuration:
return ConfigResponse(
version = await self.get_version(),
values = values,
directory = None,
config = None,
error = None,
)
async def handle_list(self, v):
@ -117,10 +114,7 @@ class Configuration:
return ConfigResponse(
version = await self.get_version(),
values = None,
directory = await self.table_store.get_keys(v.type),
config = None,
error = None,
)
async def handle_getvalues(self, v):
@ -150,9 +144,6 @@ class Configuration:
return ConfigResponse(
version = await self.get_version(),
values = list(values),
directory = None,
config = None,
error = None,
)
async def handle_delete(self, v):
@ -179,12 +170,6 @@ class Configuration:
await self.push()
return ConfigResponse(
version = None,
value = None,
directory = None,
values = None,
config = None,
error = None,
)
async def handle_put(self, v):
@ -198,11 +183,6 @@ class Configuration:
await self.push()
return ConfigResponse(
version = None,
value = None,
directory = None,
values = None,
error = None,
)
async def get_config(self):
@ -224,11 +204,7 @@ class Configuration:
return ConfigResponse(
version = await self.get_version(),
value = None,
directory = None,
values = None,
config = config,
error = None,
)
async def handle(self, msg):
@ -262,9 +238,6 @@ class Configuration:
else:
resp = ConfigResponse(
value=None,
directory=None,
values=None,
error=Error(
type = "bad-operation",
message = "Bad operation"