{"id":15649262,"url":"https://github.com/kubealex/event-driven-automation","last_synced_at":"2025-04-30T16:15:12.553Z","repository":{"id":105083486,"uuid":"565835681","full_name":"kubealex/event-driven-automation","owner":"kubealex","description":"A comprehesive colletion of self-service use cases to showcase Event Driven Automation","archived":false,"fork":false,"pushed_at":"2024-01-27T14:42:38.000Z","size":881,"stargazers_count":44,"open_issues_count":1,"forks_count":22,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-30T16:14:20.538Z","etag":null,"topics":["ansible","automation","eda","event-driven"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kubealex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-14T12:35:15.000Z","updated_at":"2025-03-27T09:16:55.000Z","dependencies_parsed_at":"2024-01-27T15:50:07.846Z","dependency_job_id":null,"html_url":"https://github.com/kubealex/event-driven-automation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubealex%2Fevent-driven-automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubealex%2Fevent-driven-automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubealex%2Fevent-driven-automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubealex%2Fevent-driven-automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kubealex","download_url":"https://codeload.github.com/kubealex/event-driven-automation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251739651,"owners_count":21635892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","automation","eda","event-driven"],"created_at":"2024-10-03T12:29:03.570Z","updated_at":"2025-04-30T16:15:12.458Z","avatar_url":"https://github.com/kubealex.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introducing Ansible Event Driven Automation\n\nThis repo helps in showcasing event driven automation using Event Driven Automation with Ansible.\n\nCurrently it is possible to try it out both in a containerized version and using [Red Hat Ansible Automation Platform](https://www.redhat.com/en/technologies/management/ansible)\n\nTo try the containerized version, go in the [EDA Containerized Demo folder](https://github.com/kubealex/eda-podman-demo)\n\n# EDA Ansible Automation Platform Demo\n\nThis section handles configuration and preparation to showcase Event Driven Automation leveraging the EDA Controller component in Red Hat Ansible Automation Platform 2.4.\n\n## Use cases\n\nThe following use cases are available for testing and/or contributions:\n\n- [AlertManager integration](./docs/use-cases/alertmanager.md) - with Service Now\n- [Dynatrace integration](./docs/use-cases/dynatrace.md) - with Service Now\n- [Insights integration](./docs/use-cases/insights.md) - with Service Now\n- [Webhook integration](./docs/use-cases/webook.md)\n- [Kafka integration](./docs/use-cases/kafka.md)\n- [MQTT integration](./docs/use-cases/mqtt.md)\n\n## Requirements\n\n### AAP2 configuration\n\nFirst you need to [install Ansible Automation Platform](https://access.redhat.com/documentation/en-us/red_hat_ansible_automation_platform/2.4/html/red_hat_ansible_automation_platform_installation_guide).\n\nIn the [eda-demo-setup directory](./eda-demo-setup/) you will find some useful playbooks to create all necessary resources in the platform to showcase the use cases.\n\n### Network\n\nSome of the use cases (Webhook, Insights, Alertmanager) will need the following ports to be opened on the EDA Controller component:\n\n    5000/tcp - Webhook\n    5001/tcp - AlertManager\n    5002/tcp - Insights\n\nThe Red Hat Insights use case will require that the EDA Machine is reachable from outside your network.\n\nYou can use [ngrok](https://ngrok.com/) to set-up a temporary public address to use for the use case, to avoid changing it upon each restart, create a default domain.\n\n### Middleware integration (Kafka, AlertManager, Mosquitto)\n\nThe AlertManager and Kafka use cases require a working configuration for them, you can spin up a quick environment using the [podman-compose](./utils/podman-compose/podman-compose.yml) file in the [_utils directory_](./utils/).\n\nThis will spin a Kafka, Mosquitto and AlertManager instance running on the host and listening to all interfaces. Tune up the settings based on your needs.\n\nEach component has a dedicated podman-compose file in the [podman-compose directory](./utils/podman-compose/)\n\n**!!! IMPORTANT - CAREFUL !!!**\n\nCarefully read the instructions in [the use cases README](./docs/use-cases/) to properly configure the needed components for the use cases.\n\n### Service Now Integration\n\nOne of the use cases include using a [Service Now instance](https://developer.servicenow.com/), you can easily sign-up and get one.\n\nTo playbooks in [the configuration folder](./eda-demo-setup/) already have the needed bits to configure credentials and variables to match your instance details.\n\n### Dynatrace integration\n\nThe use cases contain a Dynatrace integration.\nTo configure the integrations, ensure you use your API URL and API Token configured with the following permissions in the [dynatrace rulebook](./eda-ansible/eda-rulebook-dynatrace.yml):\n\n- Read/Write problems\n- Read/Write configuration\n- Access problem and event feed, metrics, and topology\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubealex%2Fevent-driven-automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkubealex%2Fevent-driven-automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubealex%2Fevent-driven-automation/lists"}