{"action":"created","comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/comments/43298891","id":43298891,"diff_hunk":"@@ -0,0 +1,217 @@\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.jdbc;\n+\n+import java.util.List;\n+import java.util.Map;\n+import java.util.Set;\n+\n+import javax.annotation.PostConstruct;\n+import javax.sql.DataSource;\n+\n+import com.fasterxml.jackson.databind.JsonNode;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+import org.springframework.beans.DirectFieldAccessor;\n+import org.springframework.beans.factory.BeanFactory;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;\n+import org.springframework.boot.context.properties.ConfigurationPropertiesBinding;\n+import org.springframework.boot.context.properties.EnableConfigurationProperties;\n+import org.springframework.cloud.stream.annotation.EnableBinding;\n+import org.springframework.cloud.stream.messaging.Sink;\n+import org.springframework.context.annotation.Bean;\n+import org.springframework.core.io.ResourceLoader;\n+import org.springframework.expression.EvaluationContext;\n+import org.springframework.expression.EvaluationException;\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.context.IntegrationContextUtils;\n+import org.springframework.integration.jdbc.JdbcMessageHandler;\n+import org.springframework.integration.jdbc.SqlParameterSourceFactory;\n+import org.springframework.integration.json.JsonPropertyAccessor;\n+import org.springframework.jdbc.core.JdbcOperations;\n+import org.springframework.jdbc.core.JdbcTemplate;\n+import org.springframework.jdbc.core.namedparam.MapSqlParameterSource;\n+import org.springframework.jdbc.core.namedparam.SqlParameterSource;\n+import org.springframework.jdbc.datasource.init.DataSourceInitializer;\n+import org.springframework.jdbc.datasource.init.ResourceDatabasePopulator;\n+import org.springframework.messaging.Message;\n+import org.springframework.util.LinkedMultiValueMap;\n+import org.springframework.util.MultiValueMap;\n+\n+/**\n+ * A module that writes its incoming payload to an RDBMS using JDBC.\n+ *\n+ * @author Eric Bottard\n+ * @author Thomas Risberg\n+ */\n+@EnableBinding(Sink.class)\n+@EnableConfigurationProperties(JdbcSinkProperties.class)\n+public class JdbcSinkConfiguration {\n+\n+\tprivate static final Logger logger = LoggerFactory.getLogger(JdbcSinkConfiguration.class);\n+\n+\tpublic static final Object NOT_SET = new Object();\n+\n+\t@Autowired(required = false)\n+\tprivate SpelExpressionParser spelExpressionParser = new SpelExpressionParser();\n+\n+\t@Autowired\n+\tprivate BeanFactory beanFactory;\n+\n+\tprotected EvaluationContext evaluationContext;\n+\n+\t@Autowired\n+\tprivate JdbcSinkProperties properties;\n+\n+\t@Autowired\n+\tprivate JdbcMessageHandler msgHandler;\n+\n+\n+\t@Bean\n+\tpublic JdbcMessageHandler jdbcMessageHandler(DataSource dataSource) {\n+\t\tfinal MultiValueMap<String, Expression> columnExpressionVariations = new LinkedMultiValueMap<>();\n+\t\tfor (Map.Entry<String, String> entry : properties.getColumns().entrySet()) {\n+\t\t\tString value = entry.getValue();\n+\t\t\tcolumnExpressionVariations.add(entry.getKey(), spelExpressionParser.parseExpression(value));\n+\t\t\tif (!value.startsWith(\"payload\")) {\n+\t\t\t\tcolumnExpressionVariations.add(entry.getKey(), spelExpressionParser.parseExpression(\"payload.\" + value));\n+\t\t\t}\n+\t\t}\n+\t\tJdbcMessageHandler jdbcMessageHandler = new JdbcMessageHandler(dataSource,\n+\t\t\t\tgenerateSql(properties.getTableName(),columnExpressionVariations.keySet()));\n+\t\tjdbcMessageHandler.setSqlParameterSourceFactory(\n+\t\t\t\tnew SqlParameterSourceFactory() {\n+\t\t\t\t\t@Override\n+\t\t\t\t\tpublic SqlParameterSource createParameterSource(Object o) {\n+\t\t\t\t\t\tif (!(o instanceof Message)) {\n+\t\t\t\t\t\t\tthrow new IllegalArgumentException(\"Unable to handle type \" + o.getClass().getName());\n+\t\t\t\t\t\t}\n+\t\t\t\t\t\tMessage<?> message = (Message<?>) o;\n+\t\t\t\t\t\tMapSqlParameterSource parameterSource = new MapSqlParameterSource();\n+\t\t\t\t\t\tfor (String key: columnExpressionVariations.keySet()) {\n+\t\t\t\t\t\t\tList<Expression> spels = columnExpressionVariations.get(key);\n+\t\t\t\t\t\t\tObject value = NOT_SET;\n+\t\t\t\t\t\t\tEvaluationException lastException = null;\n+\t\t\t\t\t\t\tfor (Expression spel : spels) {\n+\t\t\t\t\t\t\t\ttry {\n+\t\t\t\t\t\t\t\t\tvalue = spel.getValue(evaluationContext, message);\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\tcatch (EvaluationException e) {\n+\t\t\t\t\t\t\t\t\tlastException = e;\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 (value == NOT_SET) {\n+\t\t\t\t\t\t\t\tif (lastException != null) {\n+\t\t\t\t\t\t\t\t\tlogger.info(\"Could not find value for column '\" + key + \"': \" + lastException.getMessage());\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\tparameterSource.addValue(key, null);\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\telse {\n+\t\t\t\t\t\t\t\tif (value instanceof JsonPropertyAccessor.ToStringFriendlyJsonNode) {\n+\t\t\t\t\t\t\t\t\t// Need to do some reflection until we have a getter for the Node\n+\t\t\t\t\t\t\t\t\tDirectFieldAccessor dfa = new DirectFieldAccessor(value);\n+\t\t\t\t\t\t\t\t\tJsonNode node = (JsonNode) dfa.getPropertyValue(\"node\");\n+\t\t\t\t\t\t\t\t\tObject valueToUse;\n+\t\t\t\t\t\t\t\t\tif (node == null || node.isNull()) {\n+\t\t\t\t\t\t\t\t\t\tvalueToUse = null;\n+\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t\telse if (node.isNumber()) {\n+\t\t\t\t\t\t\t\t\t\tvalueToUse = node.numberValue();\n+\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t\telse if (node.isBoolean()) {\n+\t\t\t\t\t\t\t\t\t\tvalueToUse = node.booleanValue();\n+\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t\telse {\n+\t\t\t\t\t\t\t\t\t\tvalueToUse = node.textValue();\n+\t\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\t\tparameterSource.addValue(key, valueToUse);\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t\telse {\n+\t\t\t\t\t\t\t\t\tparameterSource.addValue(key, value);\n+\t\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t\t}\n+\t\t\t\t\t\t}\n+\t\t\t\t\t\treturn parameterSource;\n+\t\t\t\t\t}\n+\t\t\t\t});\n+\t\treturn jdbcMessageHandler;\n+\t}\n+\n+\t@ServiceActivator(autoStartup = \"false\", inputChannel = Sink.INPUT)\n+\tpublic void handleMessage(Message<?> msg) {\n+\t\tmsgHandler.handleMessage(msg);\n+\t}\n+\n+\t@ConditionalOnProperty(\"initialize\")\n+\t@Bean\n+\tpublic DataSourceInitializer nonBootDataSourceInitializer(DataSource dataSource, ResourceLoader resourceLoader) {\n+\t\tDataSourceInitializer dataSourceInitializer = new DataSourceInitializer();\n+\t\tdataSourceInitializer.setDataSource(dataSource);\n+\t\tResourceDatabasePopulator databasePopulator = new ResourceDatabasePopulator();\n+\t\tdatabasePopulator.setIgnoreFailedDrops(true);\n+\t\tdataSourceInitializer.setDatabasePopulator(databasePopulator);\n+\t\tif (\"true\".equals(properties.getInitialize())) {\n+\t\t\tdatabasePopulator.addScript(new DefaultInitializationScriptResource(properties));\n+\t\t} else {\n+\t\t\tdatabasePopulator.addScript(resourceLoader.getResource(properties.getInitialize()));\n+\t\t}\n+\t\treturn dataSourceInitializer;\n+\t}\n+\n+\t@Bean\n+\tpublic JdbcOperations jdbcOperations(DataSource dataSource) {\n+\t\treturn new JdbcTemplate(dataSource);\n+\t}\n+\n+\t/*\n+\t * This is needed to prevent a circular dependency issue with the creation of the converter.\n+\t */\n+\tpublic static class Nested {\n+\t\t@Bean\n+\t\t@ConfigurationPropertiesBinding\n+\t\tpublic ShorthandMapConverter shorthandMapConverter() {","path":"jdbc-sink/src/main/java/org/springframework/cloud/stream/module/jdbc/JdbcSinkConfiguration.java","position":189,"original_position":189,"commit_id":"c2953709e597cad702ca3fa3edee112f42dfa666","original_commit_id":"c2953709e597cad702ca3fa3edee112f42dfa666","user":{"login":"artembilan","id":1071590,"avatar_url":"https://avatars.githubusercontent.com/u/1071590?v=3","gravatar_id":"","url":"https://api.github.com/users/artembilan","html_url":"https://github.com/artembilan","followers_url":"https://api.github.com/users/artembilan/followers","following_url":"https://api.github.com/users/artembilan/following{/other_user}","gists_url":"https://api.github.com/users/artembilan/gists{/gist_id}","starred_url":"https://api.github.com/users/artembilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artembilan/subscriptions","organizations_url":"https://api.github.com/users/artembilan/orgs","repos_url":"https://api.github.com/users/artembilan/repos","events_url":"https://api.github.com/users/artembilan/events{/privacy}","received_events_url":"https://api.github.com/users/artembilan/received_events","type":"User","site_admin":false},"body":"I wonder how is it resolved if we don't have here `@Configuration` or even `@Component` for `light` `@Bean`?..","created_at":"2015-10-28T18:34:37Z","updated_at":"2015-10-28T18:34:37Z","html_url":"https://github.com/spring-cloud/spring-cloud-stream-modules/pull/55#discussion_r43298891","pull_request_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/comments/43298891"},"html":{"href":"https://github.com/spring-cloud/spring-cloud-stream-modules/pull/55#discussion_r43298891"},"pull_request":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/55","id":48953407,"html_url":"https://github.com/spring-cloud/spring-cloud-stream-modules/pull/55","diff_url":"https://github.com/spring-cloud/spring-cloud-stream-modules/pull/55.diff","patch_url":"https://github.com/spring-cloud/spring-cloud-stream-modules/pull/55.patch","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/issues/55","number":55,"state":"open","locked":false,"title":"XD-3482 Add jdbc sink","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":"- based on Eric's PR #40\r\n\r\n- change to use JdbcMessageHandler from Spring Integration\r\n","created_at":"2015-10-28T01:05:33Z","updated_at":"2015-10-28T18:34:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc08465125cd4995b455ad6954c63645954648ba","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/55/commits","review_comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/55/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/55/comments","statuses_url":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/statuses/c2953709e597cad702ca3fa3edee112f42dfa666","head":{"label":"trisberg:XD-3482-jdbc-sink","ref":"XD-3482-jdbc-sink","sha":"c2953709e597cad702ca3fa3edee112f42dfa666","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-28T14:54:22Z","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":1111,"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":"ed9a37782e155afd882874e44409c87e55084114","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-15T20:02:14Z","pushed_at":"2015-10-28T14:54:22Z","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":1820,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":17,"mirror_url":null,"open_issues_count":7,"forks":17,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/55"},"html":{"href":"https://github.com/spring-cloud/spring-cloud-stream-modules/pull/55"},"issue":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/issues/55"},"comments":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/pulls/55/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/55/commits"},"statuses":{"href":"https://api.github.com/repos/spring-cloud/spring-cloud-stream-modules/statuses/c2953709e597cad702ca3fa3edee112f42dfa666"}}}}