Please confirm the following
Bug Summary
https://console.redhat.com/ansible/automation-hub/repo/published/ansible/eda/content/module/event_stream/ outlines that it is possible to specify a custom uuid when creating an event stream.
However if a valid and unique uuid is supplied, it is not configured in the resulting event stream, which instead reverts to the default behaviour of auto-generating a random uuid.
Environment
cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.2 LTS"
python3 --version
Python 3.12.3
ansible-galaxy collection list
...
Collection Version
-------------------- ------------
ansible.eda 2.10.0
Steps to reproduce
- Install ansible.eda collection
- setup vars to point to your instance of aap + associated aap creds
- run playbook to create event stream with a static/custom uuid ie:
- name: Configure wanted EDA Event Streams
ansible.eda.event_stream:
controller_host: "{{ _controller_hostname }}"
controller_username: "{{ _controller_username | default(omit) }}"
controller_password: "{{ _controller_password | default(omit) }}"
controller_token: "{{ _controller_oauthtoken | default(omit) }}"
validate_certs: "{{ _controller_validate_certs }}"
organization: "example_org"
name: "event_stream_1"
credential_name: "event_stream_cred"
forward_events: "true"
uuid: "d49d806b-34af-4d4b-9ea5-354787bb9ad7"
state: present
4.observe resulting event stream, which should have a uuid of "d49d806b-34af-4d4b-9ea5-354787bb9ad7", but if consistent with my results will have a event stream with a different, auto-generated uuid
Actual results
Event stream with the following url was created
https://example.aap.url.com/eda-event-streams/api/eda/v1/external_event_stream/7bae884a-0432-4e4b-93f3-85641a090ab8/post/
Expected results
Event stream with the following url (including custom uuid) should be created
https://example.aap.url.com/eda-event-streams/api/eda/v1/external_event_stream/d49d806b-34af-4d4b-9ea5-354787bb9ad7/post/
Additional information
No response
Please confirm the following
Bug Summary
https://console.redhat.com/ansible/automation-hub/repo/published/ansible/eda/content/module/event_stream/ outlines that it is possible to specify a custom uuid when creating an event stream.
However if a valid and unique uuid is supplied, it is not configured in the resulting event stream, which instead reverts to the default behaviour of auto-generating a random uuid.
Environment
Steps to reproduce
4.observe resulting event stream, which should have a uuid of "d49d806b-34af-4d4b-9ea5-354787bb9ad7", but if consistent with my results will have a event stream with a different, auto-generated uuid
Actual results
Event stream with the following url was created
https://example.aap.url.com/eda-event-streams/api/eda/v1/external_event_stream/7bae884a-0432-4e4b-93f3-85641a090ab8/post/
Expected results
Event stream with the following url (including custom uuid) should be created
https://example.aap.url.com/eda-event-streams/api/eda/v1/external_event_stream/d49d806b-34af-4d4b-9ea5-354787bb9ad7/post/
Additional information
No response