{"id":22484070,"url":"https://github.com/qa-dev/universe","last_synced_at":"2025-03-27T19:42:17.487Z","repository":{"id":57523430,"uuid":"84096673","full_name":"qa-dev/universe","owner":"qa-dev","description":"Event bus","archived":false,"fork":false,"pushed_at":"2017-04-15T12:03:26.000Z","size":1372,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-01T22:26:04.162Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qa-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-06T16:40:35.000Z","updated_at":"2017-04-15T12:04:56.000Z","dependencies_parsed_at":"2022-08-28T11:12:20.218Z","dependency_job_id":null,"html_url":"https://github.com/qa-dev/universe","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/qa-dev%2Funiverse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qa-dev%2Funiverse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qa-dev%2Funiverse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qa-dev%2Funiverse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qa-dev","download_url":"https://codeload.github.com/qa-dev/universe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245915211,"owners_count":20693302,"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":[],"created_at":"2024-12-06T17:10:16.345Z","updated_at":"2025-03-27T19:42:17.460Z","avatar_url":"https://github.com/qa-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Universe\n\n[![Build Status](https://travis-ci.org/qa-dev/universe.svg?branch=master)](https://travis-ci.org/qa-dev/universe)\n[![Coverage Status](https://coveralls.io/repos/github/qa-dev/Universe/badge.svg?branch=master)](https://coveralls.io/github/qa-dev/Universe?branch=master)\n[![Go Report Card](https://goreportcard.com/badge/github.com/qa-dev/universe)](https://goreportcard.com/report/github.com/qa-dev/universe)\n\n## Requirements\n\n- MongoDB\n- RabbitMQ\n\n## Setting up\n\n- Run `make build`\n- Edit `dist/config.json`\n- Just run `dist/universe`\n\n## How to use\n\nThere is only 3 endpoints and all of them are POST\n\n1) Send event\n2) Subscribe to event\n3) Unsubscribe from event\n\nLet's explain all 3 endpoints:\n\n### *Send event*\n\n**Path**: `/e/\u003cevent_name\u003e`  \nWhere *event_name* is any url-allowed sequence of chars.\n\n**Body**: put any information about event in request body.\n\n### *Subscribe*\n\n**Path**: `/subscribe/\u003cplugin_name\u003e`  \nToday only log and webhook (in url named as `web`) plugins are available.\n\n**Body**: example for webhook plugin\n```\n{\n    \"event_name\": \"myservice.job.done\",\n    \"url\": \"http://example.com/webhook\"\n}\n```\n\n### *Unsubscribe*\n\n**Path**: `/unsubscribe/\u003cplugin_name\u003e`  \n\n**Body**: example for webhook plugin\n```\n{\n    \"event_name\": \"myservice.job.done\",\n    \"url\": \"http://example.com/webhook\"\n}\n```\n\n# License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqa-dev%2Funiverse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqa-dev%2Funiverse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqa-dev%2Funiverse/lists"}