{"action":"created","issue":{"url":"https://api.github.com/repos/alephdata/aleph/issues/478","repository_url":"https://api.github.com/repos/alephdata/aleph","labels_url":"https://api.github.com/repos/alephdata/aleph/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/alephdata/aleph/issues/478/comments","events_url":"https://api.github.com/repos/alephdata/aleph/issues/478/events","html_url":"https://github.com/alephdata/aleph/issues/478","id":357739277,"node_id":"MDU6SXNzdWUzNTc3MzkyNzc=","number":478,"title":"Deleting a collection does not remove entities","user":{"login":"Ueland","id":97825,"node_id":"MDQ6VXNlcjk3ODI1","avatar_url":"https://avatars0.githubusercontent.com/u/97825?v=4","gravatar_id":"","url":"https://api.github.com/users/Ueland","html_url":"https://github.com/Ueland","followers_url":"https://api.github.com/users/Ueland/followers","following_url":"https://api.github.com/users/Ueland/following{/other_user}","gists_url":"https://api.github.com/users/Ueland/gists{/gist_id}","starred_url":"https://api.github.com/users/Ueland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ueland/subscriptions","organizations_url":"https://api.github.com/users/Ueland/orgs","repos_url":"https://api.github.com/users/Ueland/repos","events_url":"https://api.github.com/users/Ueland/events{/privacy}","received_events_url":"https://api.github.com/users/Ueland/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-06T16:45:52Z","updated_at":"2018-09-06T16:55:44Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Performed the following:\r\n> curl -H \"Authorization: ****\" -H \"Content-Type: application/json\" --request DELETE http://localhost:8080/api/2/collections/1\r\n\r\nChecked that it was removed:\r\n\r\n> curl -H \"Authorization: *****\" -H \"Content-Type: application/json\" \"http://localhost:8080/api/2/entities?filter:collection_id=1&offset=0&limit=0\"\r\n\r\nYet, the result is full of entities:\r\n\r\n> {\"status\": \"ok\", \"results\": [], \"total\": 2157947, \"page\": 1, \"limit\": 0, \"offset\": 0, \"pages\": 1, \"next\": null, \"previous\": null, \"facets\": {}}\r\n\r\nExpected a total of 0."},"comment":{"url":"https://api.github.com/repos/alephdata/aleph/issues/comments/419166562","html_url":"https://github.com/alephdata/aleph/issues/478#issuecomment-419166562","issue_url":"https://api.github.com/repos/alephdata/aleph/issues/478","id":419166562,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTE2NjU2Mg==","user":{"login":"Ueland","id":97825,"node_id":"MDQ6VXNlcjk3ODI1","avatar_url":"https://avatars0.githubusercontent.com/u/97825?v=4","gravatar_id":"","url":"https://api.github.com/users/Ueland","html_url":"https://github.com/Ueland","followers_url":"https://api.github.com/users/Ueland/followers","following_url":"https://api.github.com/users/Ueland/following{/other_user}","gists_url":"https://api.github.com/users/Ueland/gists{/gist_id}","starred_url":"https://api.github.com/users/Ueland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ueland/subscriptions","organizations_url":"https://api.github.com/users/Ueland/orgs","repos_url":"https://api.github.com/users/Ueland/repos","events_url":"https://api.github.com/users/Ueland/events{/privacy}","received_events_url":"https://api.github.com/users/Ueland/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T16:55:44Z","updated_at":"2018-09-06T16:55:44Z","author_association":"CONTRIBUTOR","body":"Yup, its running in the k8s world. So i assume that it will get deleted over time then? I will update the documentation and add a note about it in such case."}}
{"actor":{"display_login":"Ueland"}}