{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/648","labels_url":"https://api.github.com/repos/openshift/origin/issues/648/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/648/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/648/events","html_url":"https://github.com/openshift/origin/pull/648","id":54235207,"number":648,"title":"Introduce a deployment rollback API","user":{"login":"ironcladlou","id":298299,"avatar_url":"https://avatars.githubusercontent.com/u/298299?v=3","gravatar_id":"","url":"https://api.github.com/users/ironcladlou","html_url":"https://github.com/ironcladlou","followers_url":"https://api.github.com/users/ironcladlou/followers","following_url":"https://api.github.com/users/ironcladlou/following{/other_user}","gists_url":"https://api.github.com/users/ironcladlou/gists{/gist_id}","starred_url":"https://api.github.com/users/ironcladlou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironcladlou/subscriptions","organizations_url":"https://api.github.com/users/ironcladlou/orgs","repos_url":"https://api.github.com/users/ironcladlou/repos","events_url":"https://api.github.com/users/ironcladlou/events{/privacy}","received_events_url":"https://api.github.com/users/ironcladlou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":47,"created_at":"2015-01-13T19:19:13Z","updated_at":"2015-01-21T20:56:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/648","html_url":"https://github.com/openshift/origin/pull/648","diff_url":"https://github.com/openshift/origin/pull/648.diff","patch_url":"https://github.com/openshift/origin/pull/648.patch"},"body":"## Deployment Rollback API\r\n\r\nThis PR is to open discussion about a concrete rollback API. It builds on the discussion and documentation started with #435. The prototype here promotes a rollback system which builds on the core deployment API by providing a new generator endpoint which can provide clients with new DeploymentConfigs based on old deployments.\r\n\r\n#### Example workflow\r\n\r\n1. POST new deploymentConfig `config` to /deploymentConfigs (results in replicationController `deployment-1`)\r\n2. PUT updated deploymentConfig (results in replicationController `deployment-2`)\r\n3. POST /generateRollback (returns a valid DeploymentConfig based on `deployment-1`)\r\n4. PUT output of 3 to /deploymentConfigs/config (results in replicationController `deployment-3` based on `deployment-1`)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/70919803","html_url":"https://github.com/openshift/origin/pull/648#issuecomment-70919803","issue_url":"https://api.github.com/repos/openshift/origin/issues/648","id":70919803,"user":{"login":"openshift-bot","id":1779249,"avatar_url":"https://avatars.githubusercontent.com/u/1779249?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-bot","html_url":"https://github.com/openshift-bot","followers_url":"https://api.github.com/users/openshift-bot/followers","following_url":"https://api.github.com/users/openshift-bot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-bot/subscriptions","organizations_url":"https://api.github.com/users/openshift-bot/orgs","repos_url":"https://api.github.com/users/openshift-bot/repos","events_url":"https://api.github.com/users/openshift-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-bot/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T20:56:09Z","updated_at":"2015-01-21T20:56:09Z","body":"Evaluated for origin up to 2a1e26c596ab58fbd163a4fe8c772480fc809757"}}