Closed chandrams closed 1 year ago
@chandrams We need to update the following files as the JSON input data has been modified now.
change type
to function_type
change general_info
to aggregation_info
Also, I need to make a small change in the Java code as well. Will do that in a separate PR.
Updated, thanks @khansaad
@chandrams This issue is no longer there. I tested it with the current merged code using this command:
(base) [saakhan@saakhan autotune]$ curl http://192.168.49.2:30072/createPerformanceProfile -d @./tests/scripts/remote_monitoring_tests/json_files/resource_optimization_openshift.json
{"message":"Performance Profile : resource-optimization-openshift created successfully. View Performance Profiles at /listPerformanceProfiles","httpcode":201,"documentationLink":"","status":"SUCCESS"}
@chandrams can you please confirm if this issue is now resolved. thanks
I have verified this with kruize/autotune_operator:0.0.10_mvp docker image, not seeing the NPE now.
But with the latest docker image kruize/autotune_operator:test, posting an array of results is not supported so I can see the below message as expected:
Response status code = 400 {"message":"Bulk entries are currently unsupported!","httpcode":400,"documentationLink":"","status":"ERROR"}
Updating multiple results for a single experiment failed with 400 error and NPE as below:
To recreate this: