{"action":"created","comment":{"url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls/comments/237640718","pull_request_review_id":179991066,"id":237640718,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzY0MDcxOA==","diff_hunk":"@@ -0,0 +1,105 @@\n+/*\n+ * Copyright 2018 the original author or authors.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *        http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package org.springframework.cloud.stream.app.httpclient.processor;\n+\n+import java.net.URI;\n+import java.net.URISyntaxException;\n+import java.util.Map;\n+import java.util.function.Function;\n+\n+import org.springframework.boot.context.properties.EnableConfigurationProperties;\n+import org.springframework.context.annotation.Bean;\n+import org.springframework.context.annotation.Configuration;\n+import org.springframework.http.HttpHeaders;\n+import org.springframework.http.HttpMethod;\n+import org.springframework.http.RequestEntity;\n+import org.springframework.http.ResponseEntity;\n+import org.springframework.messaging.Message;\n+import org.springframework.web.client.RestTemplate;\n+\n+/**\n+ * A {@link Function} that makes requests to an HTTP resource and emits the\n+ * response body as a message payload.\n+ *\n+ * @author Waldemar Hummer\n+ * @author Mark Fisher\n+ * @author Gary Russell\n+ * @author Christian Tzolov\n+ * @author David Turanski\n+ **/\n+@Configuration\n+@EnableConfigurationProperties(HttpclientProcessorProperties.class)\n+public class HttpclientProcessorFunctionConfiguration {\n+\n+\tpublic static final String HTTPCLIENT_PROCESSOR_FUNCTION_NAME = \"httpRequest\";\n+\n+\t@Bean\n+\tpublic RestTemplate restTemplate() {\n+\t\treturn new RestTemplate();\n+\t}\n+\n+\t@Bean(name = HTTPCLIENT_PROCESSOR_FUNCTION_NAME)\n+\tpublic Function<Message<?>, Object> httpRequest(RestTemplate restTemplate,\n+\t\tHttpclientProcessorProperties properties) {\n+\n+\t\treturn message -> {\n+\n+\t\t\t/* construct headers */\n+\t\t\tHttpHeaders headers = new HttpHeaders();\n+\t\t\tif (properties.getHeadersExpression() != null) {\n+\t\t\t\tMap<?, ?> headersMap = properties.getHeadersExpression().getValue(message, Map.class);\n+\t\t\t\tfor (Map.Entry<?, ?> header : headersMap.entrySet()) {\n+\t\t\t\t\tif (header.getKey() != null && header.getValue() != null) {\n+\t\t\t\t\t\theaders.add(header.getKey().toString(),\n+\t\t\t\t\t\t\theader.getValue().toString());\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t}\n+\n+\t\t\tClass<?> responseType = properties.getExpectedResponseType();\n+\t\t\tHttpMethod method = null;\n+\t\t\tif (properties.getHttpMethodExpression() != null) {\n+\t\t\t\tmethod = properties.getHttpMethodExpression().getValue(message, HttpMethod.class);\n+\t\t\t}\n+\t\t\telse {\n+\t\t\t\tmethod = properties.getHttpMethod();\n+\t\t\t}\n+\t\t\tString url = properties.getUrlExpression().getValue(message, String.class);\n+\t\t\tObject body = null;\n+\t\t\tif (properties.getBody() != null) {\n+\t\t\t\tbody = properties.getBody();\n+\t\t\t}\n+\t\t\telse if (properties.getBodyExpression() != null) {\n+\t\t\t\tbody = properties.getBodyExpression().getValue(message);\n+\t\t\t}\n+\t\t\telse {\n+\t\t\t\tbody = message.getPayload();\n+\t\t\t}\n+\n+\t\t\tURI uri;\n+\t\t\ttry {\n+\t\t\t\turi = new URI(url);\n+\t\t\t}\n+\t\t\tcatch (URISyntaxException e) {\n+\t\t\t\tthrow new RuntimeException(e.getMessage(), e);","path":"spring-cloud-starter-stream-processor-httpclient/src/main/java/org/springframework/cloud/stream/app/httpclient/processor/HttpclientProcessorFunctionConfiguration.java","position":98,"original_position":98,"commit_id":"0f0d93b6eb05f70b7cac9ca510e6dc222d5d73d6","original_commit_id":"0f0d93b6eb05f70b7cac9ca510e6dc222d5d73d6","user":{"login":"dturanski","id":886859,"node_id":"MDQ6VXNlcjg4Njg1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/886859?v=4","gravatar_id":"","url":"https://api.github.com/users/dturanski","html_url":"https://github.com/dturanski","followers_url":"https://api.github.com/users/dturanski/followers","following_url":"https://api.github.com/users/dturanski/following{/other_user}","gists_url":"https://api.github.com/users/dturanski/gists{/gist_id}","starred_url":"https://api.github.com/users/dturanski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dturanski/subscriptions","organizations_url":"https://api.github.com/users/dturanski/orgs","repos_url":"https://api.github.com/users/dturanski/repos","events_url":"https://api.github.com/users/dturanski/events{/privacy}","received_events_url":"https://api.github.com/users/dturanski/received_events","type":"User","site_admin":false},"body":"I use RTE a lot in these situations. IlegalState or IlegalArg is appropriate ","created_at":"2018-11-29T20:08:08Z","updated_at":"2018-11-29T20:08:08Z","html_url":"https://github.com/spring-cloud-stream-app-starters/httpclient/pull/14#discussion_r237640718","pull_request_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls/14","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls/comments/237640718"},"html":{"href":"https://github.com/spring-cloud-stream-app-starters/httpclient/pull/14#discussion_r237640718"},"pull_request":{"href":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls/14"}},"in_reply_to_id":237637980},"pull_request":{"url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls/14","id":234760867,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NzYwODY3","html_url":"https://github.com/spring-cloud-stream-app-starters/httpclient/pull/14","diff_url":"https://github.com/spring-cloud-stream-app-starters/httpclient/pull/14.diff","patch_url":"https://github.com/spring-cloud-stream-app-starters/httpclient/pull/14.patch","issue_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/issues/14","number":14,"state":"open","locked":false,"title":"Refactor to use Function","user":{"login":"dturanski","id":886859,"node_id":"MDQ6VXNlcjg4Njg1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/886859?v=4","gravatar_id":"","url":"https://api.github.com/users/dturanski","html_url":"https://github.com/dturanski","followers_url":"https://api.github.com/users/dturanski/followers","following_url":"https://api.github.com/users/dturanski/following{/other_user}","gists_url":"https://api.github.com/users/dturanski/gists{/gist_id}","starred_url":"https://api.github.com/users/dturanski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dturanski/subscriptions","organizations_url":"https://api.github.com/users/dturanski/orgs","repos_url":"https://api.github.com/users/dturanski/repos","events_url":"https://api.github.com/users/dturanski/events{/privacy}","received_events_url":"https://api.github.com/users/dturanski/received_events","type":"User","site_admin":false},"body":"Fixes #13","created_at":"2018-11-29T19:37:11Z","updated_at":"2018-11-29T20:08:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d847d56563cbcf5d8d0213a7f1a262858449bb4","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ilayaperumalg","id":151690,"node_id":"MDQ6VXNlcjE1MTY5MA==","avatar_url":"https://avatars2.githubusercontent.com/u/151690?v=4","gravatar_id":"","url":"https://api.github.com/users/ilayaperumalg","html_url":"https://github.com/ilayaperumalg","followers_url":"https://api.github.com/users/ilayaperumalg/followers","following_url":"https://api.github.com/users/ilayaperumalg/following{/other_user}","gists_url":"https://api.github.com/users/ilayaperumalg/gists{/gist_id}","starred_url":"https://api.github.com/users/ilayaperumalg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilayaperumalg/subscriptions","organizations_url":"https://api.github.com/users/ilayaperumalg/orgs","repos_url":"https://api.github.com/users/ilayaperumalg/repos","events_url":"https://api.github.com/users/ilayaperumalg/events{/privacy}","received_events_url":"https://api.github.com/users/ilayaperumalg/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls/14/commits","review_comments_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls/14/comments","review_comment_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/issues/14/comments","statuses_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/statuses/0f0d93b6eb05f70b7cac9ca510e6dc222d5d73d6","head":{"label":"dturanski:issue-13","ref":"issue-13","sha":"0f0d93b6eb05f70b7cac9ca510e6dc222d5d73d6","user":{"login":"dturanski","id":886859,"node_id":"MDQ6VXNlcjg4Njg1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/886859?v=4","gravatar_id":"","url":"https://api.github.com/users/dturanski","html_url":"https://github.com/dturanski","followers_url":"https://api.github.com/users/dturanski/followers","following_url":"https://api.github.com/users/dturanski/following{/other_user}","gists_url":"https://api.github.com/users/dturanski/gists{/gist_id}","starred_url":"https://api.github.com/users/dturanski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dturanski/subscriptions","organizations_url":"https://api.github.com/users/dturanski/orgs","repos_url":"https://api.github.com/users/dturanski/repos","events_url":"https://api.github.com/users/dturanski/events{/privacy}","received_events_url":"https://api.github.com/users/dturanski/received_events","type":"User","site_admin":false},"repo":{"id":100288505,"node_id":"MDEwOlJlcG9zaXRvcnkxMDAyODg1MDU=","name":"spring-cloud-stream-app-starters-httpclient","full_name":"dturanski/spring-cloud-stream-app-starters-httpclient","private":false,"owner":{"login":"dturanski","id":886859,"node_id":"MDQ6VXNlcjg4Njg1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/886859?v=4","gravatar_id":"","url":"https://api.github.com/users/dturanski","html_url":"https://github.com/dturanski","followers_url":"https://api.github.com/users/dturanski/followers","following_url":"https://api.github.com/users/dturanski/following{/other_user}","gists_url":"https://api.github.com/users/dturanski/gists{/gist_id}","starred_url":"https://api.github.com/users/dturanski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dturanski/subscriptions","organizations_url":"https://api.github.com/users/dturanski/orgs","repos_url":"https://api.github.com/users/dturanski/repos","events_url":"https://api.github.com/users/dturanski/events{/privacy}","received_events_url":"https://api.github.com/users/dturanski/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dturanski/spring-cloud-stream-app-starters-httpclient","description":null,"fork":true,"url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient","forks_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/forks","keys_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/teams","hooks_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/hooks","issue_events_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/issues/events{/number}","events_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/events","assignees_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/assignees{/user}","branches_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/branches{/branch}","tags_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/tags","blobs_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/statuses/{sha}","languages_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/languages","stargazers_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/stargazers","contributors_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/contributors","subscribers_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/subscribers","subscription_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/subscription","commits_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/contents/{+path}","compare_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/merges","archive_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/downloads","issues_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/issues{/number}","pulls_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/pulls{/number}","milestones_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/milestones{/number}","notifications_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/labels{/name}","releases_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/releases{/id}","deployments_url":"https://api.github.com/repos/dturanski/spring-cloud-stream-app-starters-httpclient/deployments","created_at":"2017-08-14T16:38:03Z","updated_at":"2017-08-17T19:12:43Z","pushed_at":"2018-11-29T19:55:39Z","git_url":"git://github.com/dturanski/spring-cloud-stream-app-starters-httpclient.git","ssh_url":"git@github.com:dturanski/spring-cloud-stream-app-starters-httpclient.git","clone_url":"https://github.com/dturanski/spring-cloud-stream-app-starters-httpclient.git","svn_url":"https://github.com/dturanski/spring-cloud-stream-app-starters-httpclient","homepage":null,"size":87,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spring-cloud-stream-app-starters:master","ref":"master","sha":"29cff9c25cc84e9f783d3a1b1a1f93f3e6eeb984","user":{"login":"spring-cloud-stream-app-starters","id":22753134,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNzUzMTM0","avatar_url":"https://avatars1.githubusercontent.com/u/22753134?v=4","gravatar_id":"","url":"https://api.github.com/users/spring-cloud-stream-app-starters","html_url":"https://github.com/spring-cloud-stream-app-starters","followers_url":"https://api.github.com/users/spring-cloud-stream-app-starters/followers","following_url":"https://api.github.com/users/spring-cloud-stream-app-starters/following{/other_user}","gists_url":"https://api.github.com/users/spring-cloud-stream-app-starters/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-cloud-stream-app-starters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-cloud-stream-app-starters/subscriptions","organizations_url":"https://api.github.com/users/spring-cloud-stream-app-starters/orgs","repos_url":"https://api.github.com/users/spring-cloud-stream-app-starters/repos","events_url":"https://api.github.com/users/spring-cloud-stream-app-starters/events{/privacy}","received_events_url":"https://api.github.com/users/spring-cloud-stream-app-starters/received_events","type":"Organization","site_admin":false},"repo":{"id":72783569,"node_id":"MDEwOlJlcG9zaXRvcnk3Mjc4MzU2OQ==","name":"httpclient","full_name":"spring-cloud-stream-app-starters/httpclient","private":false,"owner":{"login":"spring-cloud-stream-app-starters","id":22753134,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNzUzMTM0","avatar_url":"https://avatars1.githubusercontent.com/u/22753134?v=4","gravatar_id":"","url":"https://api.github.com/users/spring-cloud-stream-app-starters","html_url":"https://github.com/spring-cloud-stream-app-starters","followers_url":"https://api.github.com/users/spring-cloud-stream-app-starters/followers","following_url":"https://api.github.com/users/spring-cloud-stream-app-starters/following{/other_user}","gists_url":"https://api.github.com/users/spring-cloud-stream-app-starters/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-cloud-stream-app-starters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-cloud-stream-app-starters/subscriptions","organizations_url":"https://api.github.com/users/spring-cloud-stream-app-starters/orgs","repos_url":"https://api.github.com/users/spring-cloud-stream-app-starters/repos","events_url":"https://api.github.com/users/spring-cloud-stream-app-starters/events{/privacy}","received_events_url":"https://api.github.com/users/spring-cloud-stream-app-starters/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/spring-cloud-stream-app-starters/httpclient","description":null,"fork":false,"url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient","forks_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/forks","keys_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/teams","hooks_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/hooks","issue_events_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/issues/events{/number}","events_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/events","assignees_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/assignees{/user}","branches_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/branches{/branch}","tags_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/tags","blobs_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/statuses/{sha}","languages_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/languages","stargazers_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/stargazers","contributors_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/contributors","subscribers_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/subscribers","subscription_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/subscription","commits_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/contents/{+path}","compare_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/merges","archive_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/downloads","issues_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/issues{/number}","pulls_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls{/number}","milestones_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/milestones{/number}","notifications_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/labels{/name}","releases_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/releases{/id}","deployments_url":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/deployments","created_at":"2016-11-03T20:22:57Z","updated_at":"2018-11-28T00:34:17Z","pushed_at":"2018-11-29T19:55:40Z","git_url":"git://github.com/spring-cloud-stream-app-starters/httpclient.git","ssh_url":"git@github.com:spring-cloud-stream-app-starters/httpclient.git","clone_url":"https://github.com/spring-cloud-stream-app-starters/httpclient.git","svn_url":"https://github.com/spring-cloud-stream-app-starters/httpclient","homepage":null,"size":112,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":10,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls/14"},"html":{"href":"https://github.com/spring-cloud-stream-app-starters/httpclient/pull/14"},"issue":{"href":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/issues/14"},"comments":{"href":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/spring-cloud-stream-app-starters/httpclient/statuses/0f0d93b6eb05f70b7cac9ca510e6dc222d5d73d6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dturanski"}}