{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow-admin-cloudfoundry/issues/29","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow-admin-cloudfoundry/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow-admin-cloudfoundry/issues/29/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow-admin-cloudfoundry/issues/29/events","html_url":"https://github.com/spring-cloud/spring-cloud-dataflow-admin-cloudfoundry/issues/29","id":128276209,"number":29,"title":"Routes are not deleted when the stream is destroyed","user":{"login":"sabbyanandan","id":1562654,"avatar_url":"https://avatars.githubusercontent.com/u/1562654?v=3","gravatar_id":"","url":"https://api.github.com/users/sabbyanandan","html_url":"https://github.com/sabbyanandan","followers_url":"https://api.github.com/users/sabbyanandan/followers","following_url":"https://api.github.com/users/sabbyanandan/following{/other_user}","gists_url":"https://api.github.com/users/sabbyanandan/gists{/gist_id}","starred_url":"https://api.github.com/users/sabbyanandan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabbyanandan/subscriptions","organizations_url":"https://api.github.com/users/sabbyanandan/orgs","repos_url":"https://api.github.com/users/sabbyanandan/repos","events_url":"https://api.github.com/users/sabbyanandan/events{/privacy}","received_events_url":"https://api.github.com/users/sabbyanandan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow-admin-cloudfoundry/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow-admin-cloudfoundry/labels/next%20iteration","name":"next iteration","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow-admin-cloudfoundry/milestones/2","html_url":"https://github.com/spring-cloud/spring-cloud-dataflow-admin-cloudfoundry/milestones/M2","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-dataflow-admin-cloudfoundry/milestones/2/labels","id":1497940,"number":2,"title":"M2","description":"","creator":{"login":"sabbyanandan","id":1562654,"avatar_url":"https://avatars.githubusercontent.com/u/1562654?v=3","gravatar_id":"","url":"https://api.github.com/users/sabbyanandan","html_url":"https://github.com/sabbyanandan","followers_url":"https://api.github.com/users/sabbyanandan/followers","following_url":"https://api.github.com/users/sabbyanandan/following{/other_user}","gists_url":"https://api.github.com/users/sabbyanandan/gists{/gist_id}","starred_url":"https://api.github.com/users/sabbyanandan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabbyanandan/subscriptions","organizations_url":"https://api.github.com/users/sabbyanandan/orgs","repos_url":"https://api.github.com/users/sabbyanandan/repos","events_url":"https://api.github.com/users/sabbyanandan/events{/privacy}","received_events_url":"https://api.github.com/users/sabbyanandan/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2016-01-11T18:06:05Z","updated_at":"2016-01-23T00:19:37Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-01-23T00:19:37Z","updated_at":"2016-01-23T00:19:37Z","closed_at":null,"body":"As a user, I tried destroying the stream `time | log`, where `time` and `log` are Boot applications; however, I still see the `routes` even after successful delete of the applications.\r\n\r\n**stream:**\r\n```\r\nstream create foo --definition \"time | log\" --deploy\r\nstream destroy foo\r\n```\r\n\r\n**cf cli:**\r\n```\r\ncf routes\r\nGetting routes as sabby ...\r\n\r\nspace         host                                  domain                   apps\r\ndevelopment   foo-log                               app.navy.springapps.io\r\ndevelopment   foo-time                              app.navy.springapps.io\r\n```"}}