Project

General

Profile

Actions

Architecture #17483

closed

Architecture #17398: Split rtf in a setup and a test tool

Validate platform input data before running a scenario on it

Added by Félix DALLIDET over 4 years ago. Updated 6 months ago.

Status:
Released
Priority:
N/A
Category:
Rudder tests
Target version:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

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.

Actions

Also available in: Atom PDF