{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/meta-azure-service-broker/issues/83","repository_url":"https://api.github.com/repos/Azure/meta-azure-service-broker","labels_url":"https://api.github.com/repos/Azure/meta-azure-service-broker/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/Azure/meta-azure-service-broker/issues/83/comments","events_url":"https://api.github.com/repos/Azure/meta-azure-service-broker/issues/83/events","html_url":"https://github.com/Azure/meta-azure-service-broker/issues/83","id":208496726,"number":83,"title":"Deleting a sql db service does not delete the appropriate sql server on azure","user":{"login":"nsagoo-pivotal","id":12254224,"avatar_url":"https://avatars.githubusercontent.com/u/12254224?v=3","gravatar_id":"","url":"https://api.github.com/users/nsagoo-pivotal","html_url":"https://github.com/nsagoo-pivotal","followers_url":"https://api.github.com/users/nsagoo-pivotal/followers","following_url":"https://api.github.com/users/nsagoo-pivotal/following{/other_user}","gists_url":"https://api.github.com/users/nsagoo-pivotal/gists{/gist_id}","starred_url":"https://api.github.com/users/nsagoo-pivotal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsagoo-pivotal/subscriptions","organizations_url":"https://api.github.com/users/nsagoo-pivotal/orgs","repos_url":"https://api.github.com/users/nsagoo-pivotal/repos","events_url":"https://api.github.com/users/nsagoo-pivotal/events{/privacy}","received_events_url":"https://api.github.com/users/nsagoo-pivotal/received_events","type":"User","site_admin":false},"labels":[{"id":443466576,"url":"https://api.github.com/repos/Azure/meta-azure-service-broker/labels/acknowledge","name":"acknowledge","color":"f9d0c4","default":false},{"id":443442736,"url":"https://api.github.com/repos/Azure/meta-azure-service-broker/labels/azure-sqldb","name":"azure-sqldb","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-17T16:50:30Z","updated_at":"2017-02-18T09:55:08Z","closed_at":null,"body":"While we are allowed to provision new sql serves and new sql databases using the broker, when a delete-service command is issue, it appears that the sql database is deleted but the server continues to stay active. Why does this happen? Should a user be able to create and delete both databases and sql servers on demand without using the portal? \r\n\r\nE.g. \r\n\r\n▶ cf ds afcea-sql-server -f\r\nDeleting service afcea-sql-server in org afcea-west / space usmc as admin...\r\nOK\r\n\r\nDelete in progress. Use 'cf services' or 'cf service afcea-sql-server' to check operation status.\r\n\r\nWhen I go into the Microsoft Azure portal, I am able to see the database and server that I asked to be deleted from cloud foundry. \r\n\r\nSTATUS\r\nAvailable\r\nSERVER NAME\r\nafcea-sql-server.database.windows.net"},"comment":{"url":"https://api.github.com/repos/Azure/meta-azure-service-broker/issues/comments/280835090","html_url":"https://github.com/Azure/meta-azure-service-broker/issues/83#issuecomment-280835090","issue_url":"https://api.github.com/repos/Azure/meta-azure-service-broker/issues/83","id":280835090,"user":{"login":"bingosummer","id":4787647,"avatar_url":"https://avatars.githubusercontent.com/u/4787647?v=3","gravatar_id":"","url":"https://api.github.com/users/bingosummer","html_url":"https://github.com/bingosummer","followers_url":"https://api.github.com/users/bingosummer/followers","following_url":"https://api.github.com/users/bingosummer/following{/other_user}","gists_url":"https://api.github.com/users/bingosummer/gists{/gist_id}","starred_url":"https://api.github.com/users/bingosummer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bingosummer/subscriptions","organizations_url":"https://api.github.com/users/bingosummer/orgs","repos_url":"https://api.github.com/users/bingosummer/repos","events_url":"https://api.github.com/users/bingosummer/events{/privacy}","received_events_url":"https://api.github.com/users/bingosummer/received_events","type":"User","site_admin":false},"created_at":"2017-02-18T09:55:08Z","updated_at":"2017-02-18T09:55:08Z","body":"Yes. The behavior is expected. Even if it's allowed to create a new sql server, there is a possibility that the user creates multiple databases in a shared sql server. Considering this case, the broker don't delete the sql server when one of the databases is deleted.\r\n "}}
{"actor":{"display_login":"bingosummer"}}