Architecture #17483
closedArchitecture #17398: Split rtf in a setup and a test tool
Validate platform input data before running a scenario on it
Description
Within the new test part of rtf, scenarios should be apply to a given platform, which must contains several hosts with roles (agents, servers, rudder servers, etc...).
The scenario should be able to run a sanity check on the data to see if it follow a given expected structure:
-for instance, we do not want to try to run a scenario using a rudder server on a platform without rudder server.
-it will help a lot when trying to run manually the scenario on a given platform since it will prompt missing elements.
Jsonschema will be used to validate platform inputs. Since our platform structure will most likely not be fully static, some extra code will be needed to make jsonschema usable in this specific case.