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

event_stream - Ensure forward_events works as expected #337

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

alinabuzachis
Copy link
Collaborator

@alinabuzachis alinabuzachis commented Oct 8, 2024

event_stream - Ensure forward_events works as expected

@alinabuzachis alinabuzachis changed the title event_stream - Rename forwards_events to test_mode to be consistent with the API event_stream - Rename forward_events to test_mode to be consistent with the API Oct 8, 2024
@alinabuzachis alinabuzachis added the bug Something isn't working label Oct 8, 2024
@alinabuzachis
Copy link
Collaborator Author

@Alex-Izquierdo is there any label for deprecated features?

Copy link
Contributor

@Alex-Izquierdo Alex-Izquierdo left a comment

Choose a reason for hiding this comment

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

Hi @alinabuzachis , the option name is correct, because "forward events" is what we have right now in the UI. This is a similar case that we had with source mappings, the UI has a different interface than the API, so we decided the module to align with the UI.

In this way, we don't need to rename or add new fields, just we have to reverse the boolean for the test_mode api param.
test_mode = not forward_events

@alinabuzachis alinabuzachis changed the title event_stream - Rename forward_events to test_mode to be consistent with the API event_stream - Ensure forward_events works as expected Oct 9, 2024
@alinabuzachis
Copy link
Collaborator Author

Will rebase once #336 is merged.

@Alex-Izquierdo Alex-Izquierdo requested a review from a team October 9, 2024 14:35
@Alex-Izquierdo Alex-Izquierdo merged commit 94d1e12 into ansible:main Oct 9, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants