kruize / autotune

Autonomous Performance Tuning for Kubernetes!
Apache License 2.0
158 stars 54 forks source link

Validate blank/NULL/invalid values for the json keys in createExperiment API #559

Open chandrams opened 1 year ago

chandrams commented 1 year ago

createExperiment API succeeds when passing blank/NULL/invalid values for the json keys. Validation needs to be added to check for these values for the json keys in createExperiment API. Also, return appropriate error messages.

chandrams commented 1 year ago

Failed tests can be found in the report.html in the zip, expand the failed tests to view the logs. test_create_experiment.zip

shreyabiradar07 commented 1 year ago

Hi @chandrams! I'm interested to fix this issue, can you please assign me the same.

rbadagandi1 commented 1 year ago

@khansaad can you also ensure createExperiment is updated to handle use cases such as clusterName=null, experimentName=null and don't allow to proceed further, throwing appropriate error.