{"action":"closed","issue":{"url":"https://api.github.com/repos/prosociallearnEU/cf-nodejs-client/issues/70","labels_url":"https://api.github.com/repos/prosociallearnEU/cf-nodejs-client/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/prosociallearnEU/cf-nodejs-client/issues/70/comments","events_url":"https://api.github.com/repos/prosociallearnEU/cf-nodejs-client/issues/70/events","html_url":"https://github.com/prosociallearnEU/cf-nodejs-client/issues/70","id":112579374,"number":70,"title":"Update Test Suite to add the support for Bluemix.","user":{"login":"jabrena","id":147263,"avatar_url":"https://avatars.githubusercontent.com/u/147263?v=3","gravatar_id":"","url":"https://api.github.com/users/jabrena","html_url":"https://github.com/jabrena","followers_url":"https://api.github.com/users/jabrena/followers","following_url":"https://api.github.com/users/jabrena/following{/other_user}","gists_url":"https://api.github.com/users/jabrena/gists{/gist_id}","starred_url":"https://api.github.com/users/jabrena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabrena/subscriptions","organizations_url":"https://api.github.com/users/jabrena/orgs","repos_url":"https://api.github.com/users/jabrena/repos","events_url":"https://api.github.com/users/jabrena/events{/privacy}","received_events_url":"https://api.github.com/users/jabrena/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/prosociallearnEU/cf-nodejs-client/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"jabrena","id":147263,"avatar_url":"https://avatars.githubusercontent.com/u/147263?v=3","gravatar_id":"","url":"https://api.github.com/users/jabrena","html_url":"https://github.com/jabrena","followers_url":"https://api.github.com/users/jabrena/followers","following_url":"https://api.github.com/users/jabrena/following{/other_user}","gists_url":"https://api.github.com/users/jabrena/gists{/gist_id}","starred_url":"https://api.github.com/users/jabrena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabrena/subscriptions","organizations_url":"https://api.github.com/users/jabrena/orgs","repos_url":"https://api.github.com/users/jabrena/repos","events_url":"https://api.github.com/users/jabrena/events{/privacy}","received_events_url":"https://api.github.com/users/jabrena/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/prosociallearnEU/cf-nodejs-client/milestones/8","html_url":"https://github.com/prosociallearnEU/cf-nodejs-client/milestones/0.9.0","labels_url":"https://api.github.com/repos/prosociallearnEU/cf-nodejs-client/milestones/8/labels","id":1327208,"number":8,"title":"0.9.0","description":"","creator":{"login":"jabrena","id":147263,"avatar_url":"https://avatars.githubusercontent.com/u/147263?v=3","gravatar_id":"","url":"https://api.github.com/users/jabrena","html_url":"https://github.com/jabrena","followers_url":"https://api.github.com/users/jabrena/followers","following_url":"https://api.github.com/users/jabrena/following{/other_user}","gists_url":"https://api.github.com/users/jabrena/gists{/gist_id}","starred_url":"https://api.github.com/users/jabrena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabrena/subscriptions","organizations_url":"https://api.github.com/users/jabrena/orgs","repos_url":"https://api.github.com/users/jabrena/repos","events_url":"https://api.github.com/users/jabrena/events{/privacy}","received_events_url":"https://api.github.com/users/jabrena/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":6,"state":"open","created_at":"2015-09-28T15:38:36Z","updated_at":"2015-10-22T07:19:13Z","due_on":"2015-10-29T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-10-21T12:42:11Z","updated_at":"2015-10-22T07:19:13Z","closed_at":"2015-10-22T07:19:13Z","body":"Change the way to do the login from token_endpoint to authorization_endpoint.\r\n\r\nExample:\r\n\r\n``` js\r\n    var authorization_endpoint = null;\r\n    var token_endpoint = null;\r\n    var token_type = null;\r\n    var access_token = null;\r\n\r\n    before(function () {\r\n        this.timeout(10000);\r\n\r\n        return CloudFoundry.getInfo().then(function (result) {\r\n            authorization_endpoint = result.authorization_endpoint;\r\n            token_endpoint = result.token_endpoint;\r\n            return CloudFoundry.login(authorization_endpoint, username, password);\r\n        }).then(function (result) {\r\n            token_type = result.token_type;\r\n            access_token = result.access_token;\r\n        });\r\n    });\r\n```"}}