{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/Backbase/bb-lp-cli/pulls/13","id":64594378,"html_url":"https://github.com/Backbase/bb-lp-cli/pull/13","diff_url":"https://github.com/Backbase/bb-lp-cli/pull/13.diff","patch_url":"https://github.com/Backbase/bb-lp-cli/pull/13.patch","issue_url":"https://api.github.com/repos/Backbase/bb-lp-cli/issues/13","number":13,"state":"open","locked":false,"title":"Add API proxy before other middlewares","user":{"login":"laurynaslu","id":6522879,"avatar_url":"https://avatars.githubusercontent.com/u/6522879?v=3","gravatar_id":"","url":"https://api.github.com/users/laurynaslu","html_url":"https://github.com/laurynaslu","followers_url":"https://api.github.com/users/laurynaslu/followers","following_url":"https://api.github.com/users/laurynaslu/following{/other_user}","gists_url":"https://api.github.com/users/laurynaslu/gists{/gist_id}","starred_url":"https://api.github.com/users/laurynaslu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurynaslu/subscriptions","organizations_url":"https://api.github.com/users/laurynaslu/orgs","repos_url":"https://api.github.com/users/laurynaslu/repos","events_url":"https://api.github.com/users/laurynaslu/events{/privacy}","received_events_url":"https://api.github.com/users/laurynaslu/received_events","type":"User","site_admin":false},"body":"Hi, v1.9.2-beta.2 did not proxy API requests properly to a real DBP backend. It seems that the cause was that the URLs were rewritten before the connect-proxy had a change to intercept the request and as a result the proxy url did not match. The fix is to add the proxy middleware before the others. I'm not sure how this impacts other functionality, it just fixes a specific issue I had.","created_at":"2016-03-30T09:11:56Z","updated_at":"2016-03-30T09:11:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Backbase/bb-lp-cli/pulls/13/commits","review_comments_url":"https://api.github.com/repos/Backbase/bb-lp-cli/pulls/13/comments","review_comment_url":"https://api.github.com/repos/Backbase/bb-lp-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Backbase/bb-lp-cli/issues/13/comments","statuses_url":"https://api.github.com/repos/Backbase/bb-lp-cli/statuses/1df4faf8f106149a7dcdc37ebbca189329ee83d4","head":{"label":"laurynaslu:develop","ref":"develop","sha":"1df4faf8f106149a7dcdc37ebbca189329ee83d4","user":{"login":"laurynaslu","id":6522879,"avatar_url":"https://avatars.githubusercontent.com/u/6522879?v=3","gravatar_id":"","url":"https://api.github.com/users/laurynaslu","html_url":"https://github.com/laurynaslu","followers_url":"https://api.github.com/users/laurynaslu/followers","following_url":"https://api.github.com/users/laurynaslu/following{/other_user}","gists_url":"https://api.github.com/users/laurynaslu/gists{/gist_id}","starred_url":"https://api.github.com/users/laurynaslu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurynaslu/subscriptions","organizations_url":"https://api.github.com/users/laurynaslu/orgs","repos_url":"https://api.github.com/users/laurynaslu/repos","events_url":"https://api.github.com/users/laurynaslu/events{/privacy}","received_events_url":"https://api.github.com/users/laurynaslu/received_events","type":"User","site_admin":false},"repo":{"id":50025642,"name":"bb-lp-cli","full_name":"laurynaslu/bb-lp-cli","owner":{"login":"laurynaslu","id":6522879,"avatar_url":"https://avatars.githubusercontent.com/u/6522879?v=3","gravatar_id":"","url":"https://api.github.com/users/laurynaslu","html_url":"https://github.com/laurynaslu","followers_url":"https://api.github.com/users/laurynaslu/followers","following_url":"https://api.github.com/users/laurynaslu/following{/other_user}","gists_url":"https://api.github.com/users/laurynaslu/gists{/gist_id}","starred_url":"https://api.github.com/users/laurynaslu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurynaslu/subscriptions","organizations_url":"https://api.github.com/users/laurynaslu/orgs","repos_url":"https://api.github.com/users/laurynaslu/repos","events_url":"https://api.github.com/users/laurynaslu/events{/privacy}","received_events_url":"https://api.github.com/users/laurynaslu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/laurynaslu/bb-lp-cli","description":"","fork":true,"url":"https://api.github.com/repos/laurynaslu/bb-lp-cli","forks_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/forks","keys_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/teams","hooks_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/hooks","issue_events_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/issues/events{/number}","events_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/events","assignees_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/assignees{/user}","branches_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/branches{/branch}","tags_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/tags","blobs_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/languages","stargazers_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/stargazers","contributors_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/contributors","subscribers_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/subscribers","subscription_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/subscription","commits_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/contents/{+path}","compare_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/merges","archive_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/downloads","issues_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/issues{/number}","pulls_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/labels{/name}","releases_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/releases{/id}","deployments_url":"https://api.github.com/repos/laurynaslu/bb-lp-cli/deployments","created_at":"2016-01-20T11:27:41Z","updated_at":"2016-01-20T11:27:42Z","pushed_at":"2016-03-30T09:09:16Z","git_url":"git://github.com/laurynaslu/bb-lp-cli.git","ssh_url":"git@github.com:laurynaslu/bb-lp-cli.git","clone_url":"https://github.com/laurynaslu/bb-lp-cli.git","svn_url":"https://github.com/laurynaslu/bb-lp-cli","homepage":null,"size":420,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Backbase:develop","ref":"develop","sha":"730c0e0fc36427a33aeeba73914fdcf3c96360bd","user":{"login":"Backbase","id":1914334,"avatar_url":"https://avatars.githubusercontent.com/u/1914334?v=3","gravatar_id":"","url":"https://api.github.com/users/Backbase","html_url":"https://github.com/Backbase","followers_url":"https://api.github.com/users/Backbase/followers","following_url":"https://api.github.com/users/Backbase/following{/other_user}","gists_url":"https://api.github.com/users/Backbase/gists{/gist_id}","starred_url":"https://api.github.com/users/Backbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Backbase/subscriptions","organizations_url":"https://api.github.com/users/Backbase/orgs","repos_url":"https://api.github.com/users/Backbase/repos","events_url":"https://api.github.com/users/Backbase/events{/privacy}","received_events_url":"https://api.github.com/users/Backbase/received_events","type":"Organization","site_admin":false},"repo":{"id":35274890,"name":"bb-lp-cli","full_name":"Backbase/bb-lp-cli","owner":{"login":"Backbase","id":1914334,"avatar_url":"https://avatars.githubusercontent.com/u/1914334?v=3","gravatar_id":"","url":"https://api.github.com/users/Backbase","html_url":"https://github.com/Backbase","followers_url":"https://api.github.com/users/Backbase/followers","following_url":"https://api.github.com/users/Backbase/following{/other_user}","gists_url":"https://api.github.com/users/Backbase/gists{/gist_id}","starred_url":"https://api.github.com/users/Backbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Backbase/subscriptions","organizations_url":"https://api.github.com/users/Backbase/orgs","repos_url":"https://api.github.com/users/Backbase/repos","events_url":"https://api.github.com/users/Backbase/events{/privacy}","received_events_url":"https://api.github.com/users/Backbase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Backbase/bb-lp-cli","description":"","fork":false,"url":"https://api.github.com/repos/Backbase/bb-lp-cli","forks_url":"https://api.github.com/repos/Backbase/bb-lp-cli/forks","keys_url":"https://api.github.com/repos/Backbase/bb-lp-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Backbase/bb-lp-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Backbase/bb-lp-cli/teams","hooks_url":"https://api.github.com/repos/Backbase/bb-lp-cli/hooks","issue_events_url":"https://api.github.com/repos/Backbase/bb-lp-cli/issues/events{/number}","events_url":"https://api.github.com/repos/Backbase/bb-lp-cli/events","assignees_url":"https://api.github.com/repos/Backbase/bb-lp-cli/assignees{/user}","branches_url":"https://api.github.com/repos/Backbase/bb-lp-cli/branches{/branch}","tags_url":"https://api.github.com/repos/Backbase/bb-lp-cli/tags","blobs_url":"https://api.github.com/repos/Backbase/bb-lp-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Backbase/bb-lp-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Backbase/bb-lp-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/Backbase/bb-lp-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Backbase/bb-lp-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/Backbase/bb-lp-cli/languages","stargazers_url":"https://api.github.com/repos/Backbase/bb-lp-cli/stargazers","contributors_url":"https://api.github.com/repos/Backbase/bb-lp-cli/contributors","subscribers_url":"https://api.github.com/repos/Backbase/bb-lp-cli/subscribers","subscription_url":"https://api.github.com/repos/Backbase/bb-lp-cli/subscription","commits_url":"https://api.github.com/repos/Backbase/bb-lp-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/Backbase/bb-lp-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/Backbase/bb-lp-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/Backbase/bb-lp-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/Backbase/bb-lp-cli/contents/{+path}","compare_url":"https://api.github.com/repos/Backbase/bb-lp-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Backbase/bb-lp-cli/merges","archive_url":"https://api.github.com/repos/Backbase/bb-lp-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Backbase/bb-lp-cli/downloads","issues_url":"https://api.github.com/repos/Backbase/bb-lp-cli/issues{/number}","pulls_url":"https://api.github.com/repos/Backbase/bb-lp-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/Backbase/bb-lp-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/Backbase/bb-lp-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Backbase/bb-lp-cli/labels{/name}","releases_url":"https://api.github.com/repos/Backbase/bb-lp-cli/releases{/id}","deployments_url":"https://api.github.com/repos/Backbase/bb-lp-cli/deployments","created_at":"2015-05-08T11:07:51Z","updated_at":"2016-03-21T12:52:32Z","pushed_at":"2016-03-14T15:33:55Z","git_url":"git://github.com/Backbase/bb-lp-cli.git","ssh_url":"git@github.com:Backbase/bb-lp-cli.git","clone_url":"https://github.com/Backbase/bb-lp-cli.git","svn_url":"https://github.com/Backbase/bb-lp-cli","homepage":null,"size":491,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Backbase/bb-lp-cli/pulls/13"},"html":{"href":"https://github.com/Backbase/bb-lp-cli/pull/13"},"issue":{"href":"https://api.github.com/repos/Backbase/bb-lp-cli/issues/13"},"comments":{"href":"https://api.github.com/repos/Backbase/bb-lp-cli/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/Backbase/bb-lp-cli/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/Backbase/bb-lp-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Backbase/bb-lp-cli/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/Backbase/bb-lp-cli/statuses/1df4faf8f106149a7dcdc37ebbca189329ee83d4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}