Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #23907: List change requests with additional filters #622

Conversation

clarktsiory
Copy link
Contributor

@clarktsiory clarktsiory commented Dec 21, 2023

https://issues.rudder.io/issues/23907

Adding the ruleId, directiveId and nodeGroupId query params filter support for listing change requests.

I fixed compilations issues along the way (missing type declaration for implicits).

There exists repository methods to getByRule etc. but the state is queried with a pattern : LIKE 'Pending%' in SQL. In the end the result is the same as when passing explicit state values : IN ('Pending deployment', 'Pending validation'), I preferred the latter to also avoid conflicts when refactoring from Box to IOResult

Copy link
Member

@fanf fanf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but needs a rebase

@clarktsiory clarktsiory force-pushed the enh_23907/list_change_requests_with_additional_filters branch from 1c9f885 to 5424345 Compare January 5, 2024 11:51
@clarktsiory
Copy link
Contributor Author

PR rebased

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder-plugins/pull/622
-- Your faithful QA
Kant merge: "Morality is not the doctrine of how we may make ourselves happy, but how we may make ourselves worthy of happiness."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/78378/console)

@fanf
Copy link
Member

fanf commented Jan 5, 2024

OK, merging this PR

1 similar comment
@fanf
Copy link
Member

fanf commented Jan 5, 2024

OK, merging this PR

@fanf fanf merged commit 5424345 into Normation:7.3-next Jan 5, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants