Allow null and empty string values for unused field
What does this MR do and why?
Allow null and empty string values for unused field
API URL field on Prometheus integrations is no longer used. It should not be required via API.
Fixes specs that test this functionality.
Changelog: changed
Screenshots or screen recordings
NA
How to set up and validate locally
- Use the following GQL mutation to create an entry for Integration -
mutation PrometheusIntegrationCreate($input: PrometheusIntegrationCreateInput!) {
prometheusIntegrationCreate(input: $input) {
integration {
id
name
active
apiUrl
url
}
errors
}
}
with following same input -
{
"input": {
"projectPath": "<project_path>",
"active": true
}
}
- The above mutation should return success and integration should be created.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Rajendra Kadam