{"action":"created","issue":{"url":"https://api.github.com/repos/dxw/DataSubmissionServiceAPI/issues/75","repository_url":"https://api.github.com/repos/dxw/DataSubmissionServiceAPI","labels_url":"https://api.github.com/repos/dxw/DataSubmissionServiceAPI/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/dxw/DataSubmissionServiceAPI/issues/75/comments","events_url":"https://api.github.com/repos/dxw/DataSubmissionServiceAPI/issues/75/events","html_url":"https://github.com/dxw/DataSubmissionServiceAPI/issues/75","id":364407993,"node_id":"MDU6SXNzdWUzNjQ0MDc5OTM=","number":75,"title":"Uniqueness constraint and validation on supplier name","user":{"login":"tekin","id":3687,"node_id":"MDQ6VXNlcjM2ODc=","avatar_url":"https://avatars1.githubusercontent.com/u/3687?v=4","gravatar_id":"","url":"https://api.github.com/users/tekin","html_url":"https://github.com/tekin","followers_url":"https://api.github.com/users/tekin/followers","following_url":"https://api.github.com/users/tekin/following{/other_user}","gists_url":"https://api.github.com/users/tekin/gists{/gist_id}","starred_url":"https://api.github.com/users/tekin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tekin/subscriptions","organizations_url":"https://api.github.com/users/tekin/orgs","repos_url":"https://api.github.com/users/tekin/repos","events_url":"https://api.github.com/users/tekin/events{/privacy}","received_events_url":"https://api.github.com/users/tekin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-27T10:30:56Z","updated_at":"2018-10-17T09:11:32Z","closed_at":"2018-10-17T09:11:32Z","author_association":"COLLABORATOR","body":"Much of the on boarding scripts has to involve adding and looking up suppliers based on their name. To avoid a potential data integrity mess we should add a constraint to prevent multiple suppliers existing with the same name."},"comment":{"url":"https://api.github.com/repos/dxw/DataSubmissionServiceAPI/issues/comments/430551706","html_url":"https://github.com/dxw/DataSubmissionServiceAPI/issues/75#issuecomment-430551706","issue_url":"https://api.github.com/repos/dxw/DataSubmissionServiceAPI/issues/75","id":430551706,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDU1MTcwNg==","user":{"login":"tekin","id":3687,"node_id":"MDQ6VXNlcjM2ODc=","avatar_url":"https://avatars1.githubusercontent.com/u/3687?v=4","gravatar_id":"","url":"https://api.github.com/users/tekin","html_url":"https://github.com/tekin","followers_url":"https://api.github.com/users/tekin/followers","following_url":"https://api.github.com/users/tekin/following{/other_user}","gists_url":"https://api.github.com/users/tekin/gists{/gist_id}","starred_url":"https://api.github.com/users/tekin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tekin/subscriptions","organizations_url":"https://api.github.com/users/tekin/orgs","repos_url":"https://api.github.com/users/tekin/repos","events_url":"https://api.github.com/users/tekin/events{/privacy}","received_events_url":"https://api.github.com/users/tekin/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T09:11:32Z","updated_at":"2018-10-17T09:11:32Z","author_association":"COLLABORATOR","body":"We've since discovered that suppliers can actually share names (or at least they do in MISO), but different `salesforce_id`s. Now that we have the `salesforce_id` in the system we should rely on that as the unique identifier by which we identify and onboard suppliers"}}
{"actor":{"display_login":"tekin"}}