{"action":"created","issue":{"url":"https://api.github.com/repos/intelsdi-x/snap/issues/985","repository_url":"https://api.github.com/repos/intelsdi-x/snap","labels_url":"https://api.github.com/repos/intelsdi-x/snap/issues/985/labels{/name}","comments_url":"https://api.github.com/repos/intelsdi-x/snap/issues/985/comments","events_url":"https://api.github.com/repos/intelsdi-x/snap/issues/985/events","html_url":"https://github.com/intelsdi-x/snap/issues/985","id":159537409,"number":985,"title":"RFC - Single Run Task","user":{"login":"IRCody","id":4969568,"avatar_url":"https://avatars.githubusercontent.com/u/4969568?v=3","gravatar_id":"","url":"https://api.github.com/users/IRCody","html_url":"https://github.com/IRCody","followers_url":"https://api.github.com/users/IRCody/followers","following_url":"https://api.github.com/users/IRCody/following{/other_user}","gists_url":"https://api.github.com/users/IRCody/gists{/gist_id}","starred_url":"https://api.github.com/users/IRCody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IRCody/subscriptions","organizations_url":"https://api.github.com/users/IRCody/orgs","repos_url":"https://api.github.com/users/IRCody/repos","events_url":"https://api.github.com/users/IRCody/events{/privacy}","received_events_url":"https://api.github.com/users/IRCody/received_events","type":"User","site_admin":false},"labels":[{"id":253854326,"url":"https://api.github.com/repos/intelsdi-x/snap/labels/tracked","name":"tracked","color":"dddddd","default":false},{"id":217442645,"url":"https://api.github.com/repos/intelsdi-x/snap/labels/type/rfc","name":"type/rfc","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-10T00:31:07Z","updated_at":"2016-10-31T21:22:38Z","closed_at":null,"body":"## Definition\n\nA Single Run Task is a task where the workflow is going to be scheduled for execution immediately (at most once). The task is saved so that it may be run again easily simply by starting it again.\n## Purpose\n\nA single run task serves the following purposes:\n- Allows a user to test a task end to end easily with 1 run through the workflow to ensure a task will work.\n- Forms a sort of 'task library' for infrequently run tasks. \n## Desired User experience\n- Specify a task as single run, Via task.json posted to rest \n- task specified as a single run can be run again easily by doing snapctl task start <task id>.\n- not necessarily related – On the command line via snapctl by overwriting schedule type. \n## Implementation notes\n\nImplement new, single run, scheduler type that runs a workflow once.\n## Questions\n- Should a request to run a single task block in rest to wait for exit code to send back as the response?\n  Would be potentially useful for users who want to manage scheduler of a task directly without polling snap for task completion. \n"},"comment":{"url":"https://api.github.com/repos/intelsdi-x/snap/issues/comments/257424519","html_url":"https://github.com/intelsdi-x/snap/issues/985#issuecomment-257424519","issue_url":"https://api.github.com/repos/intelsdi-x/snap/issues/985","id":257424519,"user":{"login":"jackson-intel","id":23177933,"avatar_url":"https://avatars.githubusercontent.com/u/23177933?v=3","gravatar_id":"","url":"https://api.github.com/users/jackson-intel","html_url":"https://github.com/jackson-intel","followers_url":"https://api.github.com/users/jackson-intel/followers","following_url":"https://api.github.com/users/jackson-intel/following{/other_user}","gists_url":"https://api.github.com/users/jackson-intel/gists{/gist_id}","starred_url":"https://api.github.com/users/jackson-intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackson-intel/subscriptions","organizations_url":"https://api.github.com/users/jackson-intel/orgs","repos_url":"https://api.github.com/users/jackson-intel/repos","events_url":"https://api.github.com/users/jackson-intel/events{/privacy}","received_events_url":"https://api.github.com/users/jackson-intel/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T21:22:38Z","updated_at":"2016-10-31T21:22:38Z","body":"We're working on deploying some Intel collectors with SNAP and would like a feature like this one."}}
{"actor":{"display_login":"jackson-intel"}}