You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
Working with the API directly...
Create an HTTPNotificationEndpoint
Create a Check
Create a NotificationRule using the endpoint from step 1
Reuse the same request used to create the rule in step 3 using the same name and POST it again to /notificationRules
Expected behavior:
Expected that a second rule using the name of an already existing rule would be rejected. This is the behavior with other resources. A request to create a resource with the same name of an already existing resource of the same type returns HTTP 422.
Actual behavior:
A second notificationRule with the same name, and same properties is created. Return status is HTTP 201
Response from an ensuing GET request
When sending a GET request to /notificationRules to verify that two rules with identical names and other properties have been created the array of notifcation rules confirms the behavior.
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
Working with the API directly...
/notificationRules
Expected behavior:
Expected that a second rule using the name of an already existing rule would be rejected. This is the behavior with other resources. A request to create a resource with the same name of an already existing resource of the same type returns HTTP 422.
Actual behavior:
A second notificationRule with the same name, and same properties is created. Return status is HTTP 201
Response from an ensuing GET request
When sending a GET request to
/notificationRules
to verify that two rules with identical names and other properties have been created the array of notifcation rules confirms the behavior.Environment info:
Testing in K8SIDPE remocal.
Latest commit.
The text was updated successfully, but these errors were encountered: