barectf: use JSON schema to validate special root field type fields
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 28 May 2020 20:32:52 +0000 (16:32 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 29 May 2020 19:23:10 +0000 (15:23 -0400)
commit750374a143b6b44ff740bc834ba3674e14c2b0f5
tree15946b066a594db200ced362b65f9ee3a9595464
parentf1ac89a942375a2ea1faba880598dc3fdbe289d2
barectf: use JSON schema to validate special root field type fields

This patch removes almost everything from the
`_MetadataSpecialFieldsValidator` class, moving those checks to the
`schemas/2/config/config.yaml` JSON schema instead.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
barectf/config_parse.py
barectf/schemas/2/config/config.yaml
This page took 0.027291 seconds and 4 git commands to generate.