slap/slap.py: drop parameter schema validation
The performance impact is way to important, as it requires to fetch all schema files. For history, one use case was: 10 seconds to validate, 50ms to request. Software releases should instead use the slapconfiguration:jsonschema recipe to reject wrong input. The recipe must use the schema informations stored on the installation directory. slapos!1638 Move automated schema validation to the cli/request.py client. Inform when the client start the parameter validation, to spot slowness.
Showing
Please register or sign in to comment