• Romain Courteaud's avatar
    slap/slap.py: drop parameter schema validation · fc3927b5
    Romain Courteaud authored
    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.
    nexedi/slapos!1638
    
    Move automated schema validation to the cli/request.py client.
    Inform when the client start the parameter validation, to spot slowness.
    fc3927b5
slap.py 30.9 KB