mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-14 18:02:37 +02:00
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:
parent
1865b3f3c8
commit
34eb083836
100 changed files with 2342 additions and 828 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue