-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, a Greenwave policy with just a RemoteRule would cause "Cannot find any applicable policies" 404 error if the remote policy file does not contain a policy with the requested decision context. But that was not the case if the Greenwave policy would contain at least one PassingTestCaseRule. New behavior is to pass the decision with "no tests are required" instead of the 404 error. **Decision responses** will always include policies (in `applicable_policies`) that contain RemoteRule without checking if the remote gating file contains any matching policy. **Decision change messages** will still only be published if there are any required tests. Fixes https://pagure.io/greenwave/issue/668 JIRA: RHELWF-9620
- Loading branch information
Showing
6 changed files
with
67 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters