{"action":"closed","issue":{"url":"https://api.github.com/repos/magento-engcom/msi/issues/40","repository_url":"https://api.github.com/repos/magento-engcom/msi","labels_url":"https://api.github.com/repos/magento-engcom/msi/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/magento-engcom/msi/issues/40/comments","events_url":"https://api.github.com/repos/magento-engcom/msi/issues/40/events","html_url":"https://github.com/magento-engcom/msi/issues/40","id":241671133,"number":40,"title":"MSI: Add posibility to Disable/Enable source","user":{"login":"naydav","id":537688,"avatar_url":"https://avatars1.githubusercontent.com/u/537688?v=4","gravatar_id":"","url":"https://api.github.com/users/naydav","html_url":"https://github.com/naydav","followers_url":"https://api.github.com/users/naydav/followers","following_url":"https://api.github.com/users/naydav/following{/other_user}","gists_url":"https://api.github.com/users/naydav/gists{/gist_id}","starred_url":"https://api.github.com/users/naydav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naydav/subscriptions","organizations_url":"https://api.github.com/users/naydav/orgs","repos_url":"https://api.github.com/users/naydav/repos","events_url":"https://api.github.com/users/naydav/events{/privacy}","received_events_url":"https://api.github.com/users/naydav/received_events","type":"User","site_admin":false},"labels":[{"id":705114877,"url":"https://api.github.com/repos/magento-engcom/msi/labels/Hacktoberfest","name":"Hacktoberfest","color":"d93f0b","default":false},{"id":607497428,"url":"https://api.github.com/repos/magento-engcom/msi/labels/Source%20Management","name":"Source Management","color":"1d76db","default":false},{"id":664331888,"url":"https://api.github.com/repos/magento-engcom/msi/labels/Up%20For%20Grabs","name":"Up For Grabs","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-10T10:43:01Z","updated_at":"2017-10-12T10:37:05Z","closed_at":"2017-10-12T10:37:05Z","author_association":"COLLABORATOR","body":"Currently, we have a Source toggling. To support Disabling the whole source (thus, all the SourceItems allocated in this Source became available for Stock aggregation and should not be taken into account for all Inventory calculations).\r\n\r\nNeed to add  Disable/Enable Button on the Source edit page in admin panel.\r\nClick on that button leads to Enabling/Disabling Source \r\nFor now, we have SourceRepositoryInterface which could be used for these purposes (save method updates ENABLE attribute of Source entity).\r\nBut we would like to introduce new service for these purposes (SourceDisabling).\r\n\r\n*In case of any questions - send an email to engcom@magento.com, or ask a question in #MSI Slack channel"}}
{"actor":{"display_login":"naydav"}}