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 #23084: Remove constraint on component name pattern for matching reports #4901

Conversation

fanf
Copy link
Member

@fanf fanf commented Jul 19, 2023

https://issues.rudder.io/issues/23084

Next step of #4897 and #4899

  • we completely remove the pattern matching between expected component name & value and actual one for reports with a reportId
  • we add a reportId field (default to 0 for case without a valid reportId) for ComponentValueStatusReport and addapt grouping in consequence, so that now, two report with same value but different report Id are splitted apart.
    • the grouping is done componentName then reportId then keyValue to minimize change (reportId first look like we should have something on top of ComponentStatusReport with Id, which doesn't match well the current reports structure where each report brings reportid)
  • adpat tests to check all that

@fanf fanf requested a review from VinceMacBuche July 19, 2023 13:56
@fanf
Copy link
Member Author

fanf commented Jul 19, 2023

PR updated with a new commit

1 similar comment
@fanf
Copy link
Member Author

fanf commented Jul 19, 2023

PR updated with a new commit

@fanf fanf marked this pull request as draft July 19, 2023 14:07
@fanf
Copy link
Member Author

fanf commented Jul 19, 2023

PR updated with a new commit

@fanf fanf marked this pull request as ready for review August 28, 2023 12:40
@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/pull/4901
-- Your faithful QA
Kant merge: "Science is organized knowledge. Wisdom is organized life."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/72955/console)

@fanf
Copy link
Member Author

fanf commented Sep 1, 2023

OK, squash merging this PR

@fanf fanf force-pushed the arch_23084/remove_constraint_on_component_name_pattern_for_matching_reports branch from 3415d48 to 8d1f7ee Compare September 1, 2023 10:19
@fanf fanf merged commit 8d1f7ee into Normation:branches/rudder/8.0 Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants