LiquidAI-project / wasmiot-orchestrator

MIT License
0 stars 1 forks source link

Do deployment of fibonacci-module based on a description of its interface #33

Closed trkks closed 1 year ago

trkks commented 1 year ago

Initial test before starting on implementation for using more generic module interfaces.

The idea is to convert the fibonacci module's interface which is basically:

{
    "input": "u32",
    "output": "u32"
}

into an OpenAPI version that the orchestrator can use when creating deployment and instructions for supervisor(s).

trkks commented 1 year ago

"Doing deployment" at the orchestrator consists roughly of

  1. Using package manager for resolving version and dependency compatibilities between modules
  2. Checking compatibility of interfaces between the calls from supervisors to another
  3. Forming a single OpenAPI description for each supervisor to advertise themselves after suitable modules are loaded to each

So just to clarify, this specific issue is mainly concerned with point 2.