EOSC-synergy / sqaaas-web

Software Quality Assurance as a Service (SQAaaS) Web
https://sqaaas.eosc-synergy.eu
GNU General Public License v3.0
2 stars 3 forks source link

Adapt web requests to new version of the API #136

Open orviz opened 2 years ago

orviz commented 2 years ago

The API spec for creating pipelines (POST /pipeline) has been slightly modified to cope with the requirement, triggered while implementing the QAA module, of having a different service per tool in the same criterion. The main change is that tools is no longer an array, but an object:

"sqa_criteria": {
  "criterion1": {
    "repos": [
      {
        "repo_url": "https://github.com/eosc-synergy/sqaaas-api-spec",
        "container": "testing",
        "commands": [],
        "tox": {},
        "tool": {
          "name": "string",
          "lang": "string",
          "jepl_support": true,
          "docs": "http://example.com",
          "docker": {},
          "executable": "string",
          "args": []
        }
      }
    ],
    "when": {}
  },
  "criterion2": {}
},

so that we ensure that: