{"action":"created","comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/comments/42089897","id":42089897,"diff_hunk":"@@ -0,0 +1,205 @@\n+/*\n+ * Copyright 2015 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.module.cassandra.sink;\n+\n+import java.util.ArrayList;\n+import java.util.LinkedList;\n+import java.util.List;\n+import java.util.Map;\n+import java.util.UUID;\n+import java.util.regex.Matcher;\n+import java.util.regex.Pattern;\n+\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.boot.context.properties.EnableConfigurationProperties;\n+import org.springframework.cassandra.core.WriteOptions;\n+import org.springframework.context.annotation.Bean;\n+import org.springframework.context.annotation.Configuration;\n+import org.springframework.context.annotation.Import;\n+import org.springframework.context.annotation.Primary;\n+import org.springframework.data.cassandra.core.CassandraOperations;\n+import org.springframework.expression.Expression;\n+import org.springframework.expression.spel.standard.SpelExpressionParser;\n+import org.springframework.integration.annotation.ServiceActivator;\n+import org.springframework.integration.cassandra.outbound.CassandraMessageHandler;\n+import org.springframework.integration.channel.DirectChannel;\n+import org.springframework.integration.config.EnableIntegration;\n+import org.springframework.integration.handler.AbstractMessageProducingHandler;\n+import org.springframework.integration.handler.BridgeHandler;\n+import org.springframework.integration.support.json.Jackson2JsonObjectMapper;\n+import org.springframework.integration.support.json.JsonObjectMapper;\n+import org.springframework.integration.transformer.AbstractPayloadTransformer;\n+import org.springframework.integration.transformer.MessageTransformingHandler;\n+import org.springframework.messaging.MessageChannel;\n+import org.springframework.messaging.MessageHandler;\n+import org.springframework.util.StringUtils;\n+import org.springframework.cloud.stream.module.cassandra.CassandraConfiguration;\n+\n+import com.fasterxml.jackson.databind.DeserializationFeature;\n+import com.fasterxml.jackson.databind.ObjectMapper;\n+import com.fasterxml.jackson.databind.util.StdDateFormat;\n+\n+/**\n+ * @author Artem Bilan\n+ * @author Thomas Risberg\n+ */\n+@Configuration\n+@Import(CassandraConfiguration.class)\n+@EnableIntegration\n+@EnableConfigurationProperties(CassandraSinkProperties.class)\n+public class CassandraSinkConfiguration {\n+\n+\tprivate static final SpelExpressionParser PARSER = new SpelExpressionParser();\n+\n+\t@Autowired\n+\tprivate CassandraSinkProperties cassandraSinkProperties;\n+\t\n+\t@Autowired\n+\tprivate CassandraOperations template;\n+\n+\t@Bean\n+\tpublic MessageChannel input() {\n+\t\treturn new DirectChannel();\n+\t}\n+\n+\t@Bean\n+\tpublic MessageChannel toSink() {\n+\t\treturn new DirectChannel();\n+\t}\n+\n+\t@Bean\n+\t@Primary\n+\tpublic MessageHandler bridgeMessageHandler() {\n+\t\tAbstractMessageProducingHandler messageHandler;\n+\t\tif (StringUtils.hasText(cassandraSinkProperties.getIngestQuery())) {\n+\t\t\tmessageHandler = new MessageTransformingHandler(new PayloadToMatrixTransformer(cassandraSinkProperties.getIngestQuery()));\n+\t\t}\n+\t\telse {\n+\t\t\tmessageHandler = new BridgeHandler();\n+\t\t}\n+\t\tmessageHandler.setOutputChannel(toSink());\n+\t\treturn messageHandler;\n+\t}\n+\n+\t@Bean\n+\t@ServiceActivator(inputChannel = \"toSink\")\n+\tpublic MessageHandler cassandraSinkMessageHandler() {\n+\t\tCassandraMessageHandler<?> cassandraMessageHandler = new CassandraMessageHandler<>(this.template, cassandraSinkProperties.getQueryType());\n+\t\tcassandraMessageHandler.setProducesReply(false);\n+\t\tif (cassandraSinkProperties.getConsistencyLevel() != null || cassandraSinkProperties.getRetryPolicy() != null || cassandraSinkProperties.getTtl() > 0) {\n+\t\t\tcassandraMessageHandler.setWriteOptions(\n+\t\t\t\t\tnew WriteOptions(cassandraSinkProperties.getConsistencyLevel(), cassandraSinkProperties.getRetryPolicy(), cassandraSinkProperties.getTtl()));\n+\t\t}\n+\t\tif (StringUtils.hasText(cassandraSinkProperties.getIngestQuery())) {\n+\t\t\tcassandraMessageHandler.setIngestQuery(cassandraSinkProperties.getIngestQuery());\n+\t\t}\n+\t\telse if (StringUtils.hasText(cassandraSinkProperties.getStatementExpression())) {\n+\t\t\tExpression expression = PARSER.parseExpression(cassandraSinkProperties.getStatementExpression());\n+\t\t\tcassandraMessageHandler.setStatementExpression(expression);\n+\t\t}\n+\t\treturn cassandraMessageHandler;\n+\t}\n+\n+\tprivate static boolean isUuid(String uuid) {\n+\t\tif (uuid.length() == 36) {\n+\t\t\tString[] parts = uuid.split(\"-\");\n+\t\t\tif (parts.length == 5) {\n+\t\t\t\tif ((parts[0].length() == 8) && (parts[1].length() == 4) &&\n+\t\t\t\t\t\t(parts[2].length() == 4) && (parts[3].length() == 4) &&\n+\t\t\t\t\t\t(parts[4].length() == 12)) {\n+\t\t\t\t\treturn true;\n+\t\t\t\t}\n+\t\t\t}\n+\t\t}\n+\t\treturn false;\n+\t}\n+\n+\n+\tprivate static class PayloadToMatrixTransformer extends AbstractPayloadTransformer<Object, List<List<Object>>> {\n+\n+\t\tprivate static final Pattern PATTERN = Pattern.compile(\".+\\\\((.+)\\\\).+(?:values\\\\s*\\\\((.+)\\\\))\");\n+\n+\t\tprivate final ObjectMapper objectMapper = new ObjectMapper();\n+\n+\t\tprivate final JsonObjectMapper<?, ?> jsonObjectMapper = new Jackson2JsonObjectMapper(this.objectMapper);\n+\n+\t\tprivate final List<String> columns = new LinkedList<>();\n+\n+\t\tprivate final ISO8601StdDateFormat dateFormat = new ISO8601StdDateFormat();\n+\n+\t\tpublic PayloadToMatrixTransformer(String query) {\n+\t\t\tMatcher matcher = PATTERN.matcher(query);\n+\t\t\tif (matcher.matches()) {\n+\t\t\t\tString[] columns = StringUtils.delimitedListToStringArray(matcher.group(1), \",\", \" \");\n+\t\t\t\tString[] values = StringUtils.delimitedListToStringArray(matcher.group(2), \",\", \" \");\n+\t\t\t\tfor (int i = 0; i < columns.length; i++) {\n+\t\t\t\t\tif (values[i].equals(\"?\")) {\n+\t\t\t\t\t\tthis.columns.add(columns[i]);\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t}\n+\t\t\telse {\n+\t\t\t\tthrow new IllegalArgumentException(\"Invalid CQL insert query syntax: \" + query);\n+\t\t\t}\n+\t\t\tthis.objectMapper.configure(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY, true);\n+\t\t}\n+\n+\t\t@Override\n+\t\t@SuppressWarnings(\"unchecked\")\n+\t\tprotected List<List<Object>> transformPayload(Object payload) throws Exception {\n+\t\t\tif (payload instanceof List) {\n+\t\t\t\treturn (List<List<Object>>) payload;\n+\t\t\t}\n+\t\t\telse {\n+\t\t\t\tList<Map<String, Object>> model = this.jsonObjectMapper.fromJson(payload, List.class);\n+\t\t\t\tList<List<Object>> data = new ArrayList<>(model.size());\n+\t\t\t\tfor (Map<String, Object> entity : model) {\n+\t\t\t\t\tList<Object> row = new ArrayList<>(this.columns.size());\n+\t\t\t\t\tfor (String column : this.columns) {\n+\t\t\t\t\t\tObject value = entity.get(column);\n+\t\t\t\t\t\tif (value instanceof String) {\n+\t\t\t\t\t\t\tString string = (String) value;\n+\t\t\t\t\t\t\tif (this.dateFormat.looksLikeISO8601(string)) {\n+\t\t\t\t\t\t\t\tsynchronized (this.dateFormat) {\n+\t\t\t\t\t\t\t\t\tvalue = this.dateFormat.parse(string);\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\tif (isUuid(string)) {\n+\t\t\t\t\t\t\t\tvalue = UUID.fromString(string);\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t}\n+\t\t\t\t\t\trow.add(value);\n+\t\t\t\t\t}\n+\t\t\t\t\tdata.add(row);\n+\t\t\t\t}\n+\t\t\t\treturn data;\n+\t\t\t}\n+\t\t}\n+\n+\t}\n+\n+\t@SuppressWarnings(\"serial\")\n+\tprivate static class ISO8601StdDateFormat extends StdDateFormat {\n+\n+\t\t@Override\n+\t\tprotected boolean looksLikeISO8601(String dateStr) {","path":"cassandra-sink/src/main/java/org/springframework/cloud/stream/module/cassandra/sink/CassandraSinkConfiguration.java","position":199,"original_position":199,"commit_id":"5f994893e70c415fca6470686366ecbc95a4eb65","original_commit_id":"5f994893e70c415fca6470686366ecbc95a4eb65","user":{"login":"ericbottard","id":313494,"avatar_url":"https://avatars.githubusercontent.com/u/313494?v=3","gravatar_id":"","url":"https://api.github.com/users/ericbottard","html_url":"https://github.com/ericbottard","followers_url":"https://api.github.com/users/ericbottard/followers","following_url":"https://api.github.com/users/ericbottard/following{/other_user}","gists_url":"https://api.github.com/users/ericbottard/gists{/gist_id}","starred_url":"https://api.github.com/users/ericbottard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericbottard/subscriptions","organizations_url":"https://api.github.com/users/ericbottard/orgs","repos_url":"https://api.github.com/users/ericbottard/repos","events_url":"https://api.github.com/users/ericbottard/events{/privacy}","received_events_url":"https://api.github.com/users/ericbottard/received_events","type":"User","site_admin":false},"body":"What's the point of this?","created_at":"2015-10-15T07:14:39Z","updated_at":"2015-10-15T07:14:39Z","html_url":"https://github.com/spring-cloud/spring-cloud-stream-modules/pull/46#discussion_r42089897","pull_request_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/comments/42089897"},"html":{"href":"https://github.com/spring-cloud/spring-cloud-stream-modules/pull/46#discussion_r42089897"},"pull_request":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/46","id":47688796,"html_url":"https://github.com/spring-cloud/spring-cloud-stream-modules/pull/46","diff_url":"https://github.com/spring-cloud/spring-cloud-stream-modules/pull/46.diff","patch_url":"https://github.com/spring-cloud/spring-cloud-stream-modules/pull/46.patch","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/issues/46","number":46,"state":"open","locked":false,"title":"XD-3571 Add Cassandra sink module","user":{"login":"trisberg","id":78614,"avatar_url":"https://avatars.githubusercontent.com/u/78614?v=3","gravatar_id":"","url":"https://api.github.com/users/trisberg","html_url":"https://github.com/trisberg","followers_url":"https://api.github.com/users/trisberg/followers","following_url":"https://api.github.com/users/trisberg/following{/other_user}","gists_url":"https://api.github.com/users/trisberg/gists{/gist_id}","starred_url":"https://api.github.com/users/trisberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trisberg/subscriptions","organizations_url":"https://api.github.com/users/trisberg/orgs","repos_url":"https://api.github.com/users/trisberg/repos","events_url":"https://api.github.com/users/trisberg/events{/privacy}","received_events_url":"https://api.github.com/users/trisberg/received_events","type":"User","site_admin":false},"body":"- Ported existing Spring XD Cassandra sink module","created_at":"2015-10-14T17:21:41Z","updated_at":"2015-10-15T07:14:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd71214c6ef97a58a997266a864d51e7188c9500","assignee":{"login":"markfisher","id":140784,"avatar_url":"https://avatars.githubusercontent.com/u/140784?v=3","gravatar_id":"","url":"https://api.github.com/users/markfisher","html_url":"https://github.com/markfisher","followers_url":"https://api.github.com/users/markfisher/followers","following_url":"https://api.github.com/users/markfisher/following{/other_user}","gists_url":"https://api.github.com/users/markfisher/gists{/gist_id}","starred_url":"https://api.github.com/users/markfisher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markfisher/subscriptions","organizations_url":"https://api.github.com/users/markfisher/orgs","repos_url":"https://api.github.com/users/markfisher/repos","events_url":"https://api.github.com/users/markfisher/events{/privacy}","received_events_url":"https://api.github.com/users/markfisher/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/46/commits","review_comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/46/comments","review_comment_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/issues/46/comments","statuses_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/statuses/5f994893e70c415fca6470686366ecbc95a4eb65","head":{"label":"trisberg:XD-3571-Cassandra-sink","ref":"XD-3571-Cassandra-sink","sha":"5f994893e70c415fca6470686366ecbc95a4eb65","user":{"login":"trisberg","id":78614,"avatar_url":"https://avatars.githubusercontent.com/u/78614?v=3","gravatar_id":"","url":"https://api.github.com/users/trisberg","html_url":"https://github.com/trisberg","followers_url":"https://api.github.com/users/trisberg/followers","following_url":"https://api.github.com/users/trisberg/following{/other_user}","gists_url":"https://api.github.com/users/trisberg/gists{/gist_id}","starred_url":"https://api.github.com/users/trisberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trisberg/subscriptions","organizations_url":"https://api.github.com/users/trisberg/orgs","repos_url":"https://api.github.com/users/trisberg/repos","events_url":"https://api.github.com/users/trisberg/events{/privacy}","received_events_url":"https://api.github.com/users/trisberg/received_events","type":"User","site_admin":false},"repo":{"id":40381186,"name":"spring-cloud-stream-modules","full_name":"trisberg/spring-cloud-stream-modules","owner":{"login":"trisberg","id":78614,"avatar_url":"https://avatars.githubusercontent.com/u/78614?v=3","gravatar_id":"","url":"https://api.github.com/users/trisberg","html_url":"https://github.com/trisberg","followers_url":"https://api.github.com/users/trisberg/followers","following_url":"https://api.github.com/users/trisberg/following{/other_user}","gists_url":"https://api.github.com/users/trisberg/gists{/gist_id}","starred_url":"https://api.github.com/users/trisberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trisberg/subscriptions","organizations_url":"https://api.github.com/users/trisberg/orgs","repos_url":"https://api.github.com/users/trisberg/repos","events_url":"https://api.github.com/users/trisberg/events{/privacy}","received_events_url":"https://api.github.com/users/trisberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trisberg/spring-cloud-stream-modules","description":"","fork":true,"url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules","forks_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/forks","keys_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/teams","hooks_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/hooks","issue_events_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/issues/events{/number}","events_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/events","assignees_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/assignees{/user}","branches_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/branches{/branch}","tags_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/tags","blobs_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/statuses/{sha}","languages_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/languages","stargazers_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/stargazers","contributors_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/contributors","subscribers_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/subscribers","subscription_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/subscription","commits_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/contents/{+path}","compare_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/merges","archive_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/downloads","issues_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/issues{/number}","pulls_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/pulls{/number}","milestones_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/milestones{/number}","notifications_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/labels{/name}","releases_url":"https://api.github.com/repos/trisberg/spring-cloud-stream-modules/releases{/id}","created_at":"2015-08-07T21:14:13Z","updated_at":"2015-08-07T21:14:13Z","pushed_at":"2015-10-14T17:30:01Z","git_url":"git://github.com/trisberg/spring-cloud-stream-modules.git","ssh_url":"git@github.com:trisberg/spring-cloud-stream-modules.git","clone_url":"https://github.com/trisberg/spring-cloud-stream-modules.git","svn_url":"https://github.com/trisberg/spring-cloud-stream-modules","homepage":null,"size":1063,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spring-cloud:master","ref":"master","sha":"b12eaba454a202a91668ee4dd4f7518bebed3616","user":{"login":"spring-cloud","id":7815877,"avatar_url":"https://avatars.githubusercontent.com/u/7815877?v=3","gravatar_id":"","url":"https://api.github.com/users/spring-cloud","html_url":"https://github.com/spring-cloud","followers_url":"https://api.github.com/users/spring-cloud/followers","following_url":"https://api.github.com/users/spring-cloud/following{/other_user}","gists_url":"https://api.github.com/users/spring-cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-cloud/subscriptions","organizations_url":"https://api.github.com/users/spring-cloud/orgs","repos_url":"https://api.github.com/users/spring-cloud/repos","events_url":"https://api.github.com/users/spring-cloud/events{/privacy}","received_events_url":"https://api.github.com/users/spring-cloud/received_events","type":"Organization","site_admin":false},"repo":{"id":40096018,"name":"spring-cloud-stream-modules","full_name":"spring-cloud/spring-cloud-stream-modules","owner":{"login":"spring-cloud","id":7815877,"avatar_url":"https://avatars.githubusercontent.com/u/7815877?v=3","gravatar_id":"","url":"https://api.github.com/users/spring-cloud","html_url":"https://github.com/spring-cloud","followers_url":"https://api.github.com/users/spring-cloud/followers","following_url":"https://api.github.com/users/spring-cloud/following{/other_user}","gists_url":"https://api.github.com/users/spring-cloud/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-cloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-cloud/subscriptions","organizations_url":"https://api.github.com/users/spring-cloud/orgs","repos_url":"https://api.github.com/users/spring-cloud/repos","events_url":"https://api.github.com/users/spring-cloud/events{/privacy}","received_events_url":"https://api.github.com/users/spring-cloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spring-cloud/spring-cloud-stream-modules","description":"","fork":false,"url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules","forks_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/forks","keys_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/teams","hooks_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/hooks","issue_events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/issues/events{/number}","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/events","assignees_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/assignees{/user}","branches_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/branches{/branch}","tags_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/tags","blobs_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/statuses/{sha}","languages_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/languages","stargazers_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/stargazers","contributors_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/contributors","subscribers_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/subscribers","subscription_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/subscription","commits_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/contents/{+path}","compare_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/merges","archive_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/downloads","issues_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/issues{/number}","pulls_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls{/number}","milestones_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/milestones{/number}","notifications_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/labels{/name}","releases_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/releases{/id}","created_at":"2015-08-02T23:22:20Z","updated_at":"2015-10-08T20:31:33Z","pushed_at":"2015-10-14T17:30:01Z","git_url":"git://github.com/spring-cloud/spring-cloud-stream-modules.git","ssh_url":"git@github.com:spring-cloud/spring-cloud-stream-modules.git","clone_url":"https://github.com/spring-cloud/spring-cloud-stream-modules.git","svn_url":"https://github.com/spring-cloud/spring-cloud-stream-modules","homepage":null,"size":1865,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":8,"forks":13,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/46"},"html":{"href":"https://github.com/spring-cloud/spring-cloud-stream-modules/pull/46"},"issue":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/issues/46"},"comments":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/statuses/5f994893e70c415fca6470686366ecbc95a4eb65"}}}}