{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/1154","repository_url":"https://api.github.com/repos/Azure/azure-sdk-for-java","labels_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/1154/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/1154/comments","events_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/1154/events","html_url":"https://github.com/Azure/azure-sdk-for-java/issues/1154","id":180761606,"number":1154,"title":"Automatic provider registration","user":{"login":"jianghaolu","id":2320445,"avatar_url":"https://avatars2.githubusercontent.com/u/2320445?v=4","gravatar_id":"","url":"https://api.github.com/users/jianghaolu","html_url":"https://github.com/jianghaolu","followers_url":"https://api.github.com/users/jianghaolu/followers","following_url":"https://api.github.com/users/jianghaolu/following{/other_user}","gists_url":"https://api.github.com/users/jianghaolu/gists{/gist_id}","starred_url":"https://api.github.com/users/jianghaolu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianghaolu/subscriptions","organizations_url":"https://api.github.com/users/jianghaolu/orgs","repos_url":"https://api.github.com/users/jianghaolu/repos","events_url":"https://api.github.com/users/jianghaolu/events{/privacy}","received_events_url":"https://api.github.com/users/jianghaolu/received_events","type":"User","site_admin":false},"labels":[{"id":353105188,"url":"https://api.github.com/repos/Azure/azure-sdk-for-java/labels/Design","name":"Design","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-03T22:19:05Z","updated_at":"2017-07-26T00:43:08Z","closed_at":"2017-07-26T00:43:08Z","body":"When a subscription first access a namespace, the user will get an error similar to:\n\n```\nINFO: <-- 409 Conflict https://management.chinacloudapi.cn/subscriptions/23a32706-03c1-4920-a6ac-1b7c8de24bb4/resourceGroups/rgnems2ff173895519e/providers/Microsoft.Storage/storageAccounts/stg741191c6800ce?api-version=2016-01-01 (239ms, 205-byte body)\nThe subscription is not registered to use namespace 'Microsoft.Storage'. See https://aka.ms/rps-not-found for how to register subscriptions.\n```\n\nWe should be able to plug in an interceptor that automatically handles the registration when this error occurs.\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/comments/317913493","html_url":"https://github.com/Azure/azure-sdk-for-java/issues/1154#issuecomment-317913493","issue_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/1154","id":317913493,"user":{"login":"martinsawicki","id":881767,"avatar_url":"https://avatars2.githubusercontent.com/u/881767?v=4","gravatar_id":"","url":"https://api.github.com/users/martinsawicki","html_url":"https://github.com/martinsawicki","followers_url":"https://api.github.com/users/martinsawicki/followers","following_url":"https://api.github.com/users/martinsawicki/following{/other_user}","gists_url":"https://api.github.com/users/martinsawicki/gists{/gist_id}","starred_url":"https://api.github.com/users/martinsawicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinsawicki/subscriptions","organizations_url":"https://api.github.com/users/martinsawicki/orgs","repos_url":"https://api.github.com/users/martinsawicki/repos","events_url":"https://api.github.com/users/martinsawicki/events{/privacy}","received_events_url":"https://api.github.com/users/martinsawicki/received_events","type":"User","site_admin":false},"created_at":"2017-07-26T00:43:08Z","updated_at":"2017-07-26T00:43:08Z","body":"already implemented"}}
{"actor":{"display_login":"martinsawicki"}}