{"action":"created","issue":{"url":"https://api.github.com/repos/juju/juju/issues/3035","labels_url":"https://api.github.com/repos/juju/juju/issues/3035/labels{/name}","comments_url":"https://api.github.com/repos/juju/juju/issues/3035/comments","events_url":"https://api.github.com/repos/juju/juju/issues/3035/events","html_url":"https://github.com/juju/juju/pull/3035","id":101893429,"number":3035,"title":"API endpoint for retrieving bundle changes.","user":{"login":"frankban","id":1408172,"avatar_url":"https://avatars.githubusercontent.com/u/1408172?v=3","gravatar_id":"","url":"https://api.github.com/users/frankban","html_url":"https://github.com/frankban","followers_url":"https://api.github.com/users/frankban/followers","following_url":"https://api.github.com/users/frankban/following{/other_user}","gists_url":"https://api.github.com/users/frankban/gists{/gist_id}","starred_url":"https://api.github.com/users/frankban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankban/subscriptions","organizations_url":"https://api.github.com/users/frankban/orgs","repos_url":"https://api.github.com/users/frankban/repos","events_url":"https://api.github.com/users/frankban/events{/privacy}","received_events_url":"https://api.github.com/users/frankban/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T13:27:13Z","updated_at":"2015-08-19T13:27:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juju/juju/pulls/3035","html_url":"https://github.com/juju/juju/pull/3035","diff_url":"https://github.com/juju/juju/pull/3035.diff","patch_url":"https://github.com/juju/juju/pull/3035.patch"},"body":"Implement the GetBundleChanges API endpoint on the Client.\r\nThis is used to generate end return the list of changes\r\nrequired to deploy a bundle (from the GUI perspective),\r\ngiven a bundle YAML content.\n\n(Review request: http://reviews.vapour.ws/r/2416/)"},"comment":{"url":"https://api.github.com/repos/juju/juju/issues/comments/132596447","html_url":"https://github.com/juju/juju/pull/3035#issuecomment-132596447","issue_url":"https://api.github.com/repos/juju/juju/issues/3035","id":132596447,"user":{"login":"frankban","id":1408172,"avatar_url":"https://avatars.githubusercontent.com/u/1408172?v=3","gravatar_id":"","url":"https://api.github.com/users/frankban","html_url":"https://github.com/frankban","followers_url":"https://api.github.com/users/frankban/followers","following_url":"https://api.github.com/users/frankban/following{/other_user}","gists_url":"https://api.github.com/users/frankban/gists{/gist_id}","starred_url":"https://api.github.com/users/frankban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankban/subscriptions","organizations_url":"https://api.github.com/users/frankban/orgs","repos_url":"https://api.github.com/users/frankban/repos","events_url":"https://api.github.com/users/frankban/events{/privacy}","received_events_url":"https://api.github.com/users/frankban/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T13:27:37Z","updated_at":"2015-08-19T13:27:37Z","body":"QA:\r\n- `juju bootstrap` an environment with this branch;\r\n- run the script at http://pastebin.ubuntu.com/12124421/ : you should\r\n  see three `Client:GetBundleChanges` requests, the first one succeeding\r\n  and returning the changes, the second one failing with verification\r\n  errors, the third one failing with a more global yaml error;\r\n- destroy the environment.\r\n\r\nI am copy/pasting the script in a comment below for future reference."}}