Fix and validate "version" field while importing metadata in local monitoring #1217
Labels
bug
Something isn't working
kruize-local
Tag for mentioning all the PR's and issues raised which covers the kruize local monitoring usecase
test
Currently
version
is not used in the current local monitoring datasource codeflow and hencePOST /dsmetadata
API passes and imports metadata successfully even with blank and invalid input jsonversion
field values.Associated test case failure in local_monitoring_tests:
rest_apis.test_import_metadata.test_import_metadata_invalid_test[blank_version-400--prometheus-1]
rest_apis.test_import_metadata.test_import_metadata_invalid_test[invalid_version-400-xyz-prometheus-1]
The text was updated successfully, but these errors were encountered: