EdgeLab-FHDO / Edge-Diagnostic-Platform

MIT License
0 stars 2 forks source link

Hot fix scenario issue #83

Closed juan-castrillon closed 3 years ago

juan-castrillon commented 3 years ago

In orded to fix #82 , and allow for a standard way to name scenarios, in this pull request i made the following:

So, to be clear, with the new changes, a scenario definition would only be the event list, for example:

{
  "eventList": [
    {
      "command": "deploy_application",
      "executionTime": 1000
    },
    {
      "command": "update_gui",
      "executionTime": 3000
    },
    {
      "command": "node_request",
      "executionTime": 10000
    }
  ]
}

I believe naming the module in the configuration path (which also has the path to the scenario file) and the file itself is clear enough