{"action":"created","issue":{"url":"https://api.github.com/repos/marklogic/roxy/issues/681","repository_url":"https://api.github.com/repos/marklogic/roxy","labels_url":"https://api.github.com/repos/marklogic/roxy/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/marklogic/roxy/issues/681/comments","events_url":"https://api.github.com/repos/marklogic/roxy/issues/681/events","html_url":"https://github.com/marklogic/roxy/issues/681","id":185126508,"number":681,"title":"bootstrap does not remove amps","user":{"login":"dmcassel","id":701394,"avatar_url":"https://avatars2.githubusercontent.com/u/701394?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcassel","html_url":"https://github.com/dmcassel","followers_url":"https://api.github.com/users/dmcassel/followers","following_url":"https://api.github.com/users/dmcassel/following{/other_user}","gists_url":"https://api.github.com/users/dmcassel/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcassel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcassel/subscriptions","organizations_url":"https://api.github.com/users/dmcassel/orgs","repos_url":"https://api.github.com/users/dmcassel/repos","events_url":"https://api.github.com/users/dmcassel/events{/privacy}","received_events_url":"https://api.github.com/users/dmcassel/received_events","type":"User","site_admin":false},"labels":[{"id":540348,"url":"https://api.github.com/repos/marklogic/roxy/labels/bug","name":"bug","color":"fc2929","default":true},{"id":150108626,"url":"https://api.github.com/repos/marklogic/roxy/labels/deployer","name":"deployer","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":{"login":"RobertSzkutak","id":653270,"avatar_url":"https://avatars2.githubusercontent.com/u/653270?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertSzkutak","html_url":"https://github.com/RobertSzkutak","followers_url":"https://api.github.com/users/RobertSzkutak/followers","following_url":"https://api.github.com/users/RobertSzkutak/following{/other_user}","gists_url":"https://api.github.com/users/RobertSzkutak/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertSzkutak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertSzkutak/subscriptions","organizations_url":"https://api.github.com/users/RobertSzkutak/orgs","repos_url":"https://api.github.com/users/RobertSzkutak/repos","events_url":"https://api.github.com/users/RobertSzkutak/events{/privacy}","received_events_url":"https://api.github.com/users/RobertSzkutak/received_events","type":"User","site_admin":false},"assignees":[{"login":"RobertSzkutak","id":653270,"avatar_url":"https://avatars2.githubusercontent.com/u/653270?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertSzkutak","html_url":"https://github.com/RobertSzkutak","followers_url":"https://api.github.com/users/RobertSzkutak/followers","following_url":"https://api.github.com/users/RobertSzkutak/following{/other_user}","gists_url":"https://api.github.com/users/RobertSzkutak/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertSzkutak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertSzkutak/subscriptions","organizations_url":"https://api.github.com/users/RobertSzkutak/orgs","repos_url":"https://api.github.com/users/RobertSzkutak/repos","events_url":"https://api.github.com/users/RobertSzkutak/events{/privacy}","received_events_url":"https://api.github.com/users/RobertSzkutak/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/marklogic/roxy/milestones/9","html_url":"https://github.com/marklogic/roxy/milestone/9","labels_url":"https://api.github.com/repos/marklogic/roxy/milestones/9/labels","id":2486674,"number":9,"title":"July 2017","description":"","creator":{"login":"dmcassel","id":701394,"avatar_url":"https://avatars2.githubusercontent.com/u/701394?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcassel","html_url":"https://github.com/dmcassel","followers_url":"https://api.github.com/users/dmcassel/followers","following_url":"https://api.github.com/users/dmcassel/following{/other_user}","gists_url":"https://api.github.com/users/dmcassel/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcassel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcassel/subscriptions","organizations_url":"https://api.github.com/users/dmcassel/orgs","repos_url":"https://api.github.com/users/dmcassel/repos","events_url":"https://api.github.com/users/dmcassel/events{/privacy}","received_events_url":"https://api.github.com/users/dmcassel/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":0,"state":"open","created_at":"2017-04-27T18:10:05Z","updated_at":"2017-06-07T14:24:46Z","due_on":"2017-07-31T07:00:00Z","closed_at":null},"comments":5,"created_at":"2016-10-25T14:01:55Z","updated_at":"2017-06-07T14:32:45Z","closed_at":null,"body":"If you remove an amp from ml-config.xml and then bootstrap, the amp is not removed. \n\nSince amps are written to the Security database, which is likely shared among multiple applications, I'm not sure what a good way to address this is. \n"},"comment":{"url":"https://api.github.com/repos/marklogic/roxy/issues/comments/306813384","html_url":"https://github.com/marklogic/roxy/issues/681#issuecomment-306813384","issue_url":"https://api.github.com/repos/marklogic/roxy/issues/681","id":306813384,"user":{"login":"grtjn","id":611397,"avatar_url":"https://avatars3.githubusercontent.com/u/611397?v=3","gravatar_id":"","url":"https://api.github.com/users/grtjn","html_url":"https://github.com/grtjn","followers_url":"https://api.github.com/users/grtjn/followers","following_url":"https://api.github.com/users/grtjn/following{/other_user}","gists_url":"https://api.github.com/users/grtjn/gists{/gist_id}","starred_url":"https://api.github.com/users/grtjn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grtjn/subscriptions","organizations_url":"https://api.github.com/users/grtjn/orgs","repos_url":"https://api.github.com/users/grtjn/repos","events_url":"https://api.github.com/users/grtjn/events{/privacy}","received_events_url":"https://api.github.com/users/grtjn/received_events","type":"User","site_admin":false},"created_at":"2017-06-07T14:32:45Z","updated_at":"2017-06-07T14:32:45Z","body":"This also occurs when someone decides to change the name of a user, role, amp or whatever. Changing `${app-name}-my-role` into `${app-name}-our-role` is already enough to get an orphaned artifact..\r\n\r\nMost sensible thing I could imagine to do in `wipe` would be to scan through those Security items, and look for anything starting with `${app-name}-`. If anything is lingering after wipe itself completed, we could warn about it, and suggest to remove it using something like `./ml env wipe --users=my-app-org-user --roles=.... etc`.\r\n\r\nAn interactive mode to wipe (`--interactive` flag?) sounds intriguing too, but perhaps worth a separate ticket.."}}
{"actor":{"display_login":"grtjn"}}