{"action":"created","issue":{"url":"https://api.github.com/repos/SkillsFundingAgency/das-recruit/issues/80","repository_url":"https://api.github.com/repos/SkillsFundingAgency/das-recruit","labels_url":"https://api.github.com/repos/SkillsFundingAgency/das-recruit/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/SkillsFundingAgency/das-recruit/issues/80/comments","events_url":"https://api.github.com/repos/SkillsFundingAgency/das-recruit/issues/80/events","html_url":"https://github.com/SkillsFundingAgency/das-recruit/pull/80","id":313258079,"number":80,"title":"ER-257 Generate vacancy number Job","user":{"login":"leewadhams","id":634695,"avatar_url":"https://avatars1.githubusercontent.com/u/634695?v=4","gravatar_id":"","url":"https://api.github.com/users/leewadhams","html_url":"https://github.com/leewadhams","followers_url":"https://api.github.com/users/leewadhams/followers","following_url":"https://api.github.com/users/leewadhams/following{/other_user}","gists_url":"https://api.github.com/users/leewadhams/gists{/gist_id}","starred_url":"https://api.github.com/users/leewadhams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leewadhams/subscriptions","organizations_url":"https://api.github.com/users/leewadhams/orgs","repos_url":"https://api.github.com/users/leewadhams/repos","events_url":"https://api.github.com/users/leewadhams/events{/privacy}","received_events_url":"https://api.github.com/users/leewadhams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-11T10:09:44Z","updated_at":"2018-04-11T12:13:06Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/SkillsFundingAgency/das-recruit/pulls/80","html_url":"https://github.com/SkillsFundingAgency/das-recruit/pull/80","diff_url":"https://github.com/SkillsFundingAgency/das-recruit/pull/80.diff","patch_url":"https://github.com/SkillsFundingAgency/das-recruit/pull/80.patch"},"body":"Currently it's a manual process to set up the reference data for the next vacancy number. There is a story in the next sprint to automate this. Instructions for the manual process are in Developer Setup on Confluence.\r\n\r\n- Webjob is triggered by VacancyCreateEvent that is published to Storage Queue\r\n- Uses a new collection that stores the last vacancy reference used and increments and assigns vacancy with new value.\r\n\r\nThings to note:\r\n- Single Storage Queue for all vacancy events that are published\r\n- Single job will pick up all vacancy events and handle.\r\n- Job now creates queue if it doesn't already exist."},"comment":{"url":"https://api.github.com/repos/SkillsFundingAgency/das-recruit/issues/comments/380429996","html_url":"https://github.com/SkillsFundingAgency/das-recruit/pull/80#issuecomment-380429996","issue_url":"https://api.github.com/repos/SkillsFundingAgency/das-recruit/issues/80","id":380429996,"user":{"login":"leewadhams","id":634695,"avatar_url":"https://avatars1.githubusercontent.com/u/634695?v=4","gravatar_id":"","url":"https://api.github.com/users/leewadhams","html_url":"https://github.com/leewadhams","followers_url":"https://api.github.com/users/leewadhams/followers","following_url":"https://api.github.com/users/leewadhams/following{/other_user}","gists_url":"https://api.github.com/users/leewadhams/gists{/gist_id}","starred_url":"https://api.github.com/users/leewadhams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leewadhams/subscriptions","organizations_url":"https://api.github.com/users/leewadhams/orgs","repos_url":"https://api.github.com/users/leewadhams/repos","events_url":"https://api.github.com/users/leewadhams/events{/privacy}","received_events_url":"https://api.github.com/users/leewadhams/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T12:13:06Z","updated_at":"2018-04-11T12:13:06Z","author_association":"CONTRIBUTOR","body":"Yeah IHandleVacancyEvent isn't really needed. Was originally thinking it was injected in to the job class. But then didn't see much of a reason to do it. I'll remove it."}}
{"actor":{"display_login":"leewadhams"}}