{"id":22362077,"url":"https://github.com/vrcca/task_service","last_synced_at":"2025-03-26T14:45:08.542Z","repository":{"id":86173390,"uuid":"194414296","full_name":"vrcca/task_service","owner":"vrcca","description":"A task service which generates a execution plan.","archived":false,"fork":false,"pushed_at":"2019-07-02T00:51:14.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T16:13:49.903Z","etag":null,"topics":["elixir"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vrcca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-06-29T14:26:56.000Z","updated_at":"2019-07-02T00:51:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"bff99258-b3e6-4185-89fb-5358ac5be406","html_url":"https://github.com/vrcca/task_service","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/vrcca%2Ftask_service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrcca%2Ftask_service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrcca%2Ftask_service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrcca%2Ftask_service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vrcca","download_url":"https://codeload.github.com/vrcca/task_service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245675088,"owners_count":20654293,"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":["elixir"],"created_at":"2024-12-04T16:39:24.858Z","updated_at":"2025-03-26T14:45:08.523Z","avatar_url":"https://github.com/vrcca.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task Service\n\n**Generates an execution plan based on tasks and its dependencies.**\n\nAssumptions about this project can be found at [ASSUMPTIONS.md](ASSUMPTIONS.md).\n\n## Installation\nOptionally, you can [run the application with Docker](#running-the-app-with-docker).\n1. Install Erlang 20.0 or later\n2. Install Elixir 1.9+\n3. Run `make`\n\n## Running the tests\nIn the root folder, run `make test`\n\n## Running the app locally\nRun `make start`\n\n## Running the app with Docker\n1. Install Docker\n2. Run `make docker-image`\n3. Run `make start-with-docker`\n\nAlso, you can pass the port when starting with docker:\n`PORT=7777 make start-with-docker`\n\n## Endpoints\n`POST /plans`: Creates an execution plan based on tasks and its dependencies. See this [payload example](priv/successful_tasks.json).\n\nYou can change the `Accept` header to `application/json` or omit it to receive a JSON response.\n\n## Manual testing\n\nIn the `priv/` folder are json files to that you can use to run a some scenarios.\n\nHere are the commands that you can use for the scenarios:\n\n**Successful bash plan from task json**\n```\ncurl -H \"Content-Type: application/json\" -H \"Accept: text/plain\" -d @sucessful_tasks.json  http://localhost:4001/plans\n```\n\n**Cyclic dependency error**\n```\ncurl -H \"Content-Type: application/json\" -H \"Accept: text/plain\" -d @invalid_tasks.json  http://localhost:4001/plans\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrcca%2Ftask_service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvrcca%2Ftask_service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrcca%2Ftask_service/lists"}