LiquidAI-project / wasmiot-supervisor

Device supervisor to manage deployment of WebAssembly modules. Works together with wasmiot-orchestrator.
MIT License
0 stars 1 forks source link

WoT description update on deployment #7

Open pyjopeko opened 1 year ago

pyjopeko commented 1 year ago

Update the Web of Things description served by the supervisor to reflect new deployments:

trkks commented 1 year ago

Hmm, I've already been doing parts of this stuff over at the orchestrator as seen here where, for example, templates like /{module}/{func} are replaced with uploaded file- and funcnames like fibomod and fibo to create the usable path /fibomod/fibo, and here where the same description's URL etc are used but in the "filled out" form...

The stuff I've done though is more specifically based on OpenAPI, not Wot.

But in any case is there some particular benefit for doing these things at the supervisor? First thing I can think of is that it might make more conceptual sense (i.e., things (supervisors) describing themselves, not just using some other entity's (orchestrator) interpretation).