{"action":"created","comment":{"url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/comments/48558230","id":48558230,"diff_hunk":"@@ -0,0 +1,87 @@\n+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<beans xmlns=\"http://www.springframework.org/schema/beans\"\n+\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:int=\"http://www.springframework.org/schema/integration\"\n+\txmlns:util=\"http://www.springframework.org/schema/util\"\n+\txmlns:cassandra=\"http://www.springframework.org/schema/data/cassandra\"\n+\txmlns:context=\"http://www.springframework.org/schema/context\"\n+\txmlns:int-cassandra=\"http://www.springframework.org/schema/integration/cassandra\"\n+\txsi:schemaLocation=\"http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd\n+\t\thttp://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd\n+\t\thttp://www.springframework.org/schema/data/cassandra http://www.springframework.org/schema/data/cassandra/spring-cassandra.xsd\n+\t\thttp://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd\n+\t\thttp://www.springframework.org/schema/integration/cassandra http://www.springframework.org/schema/integration/cassandra/spring-integration-cassandra.xsd\n+\t\thttp://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd\">\n+\n+\n+\t<context:property-placeholder location=\"classpath:cassandra.properties\" />\n+\t\n+\t<int:poller default=\"true\" fixed-delay=\"50\" />\n+\n+\t<cassandra:mapping entity-base-packages=\"org.springframework.integration.cassandra.test.domain\">\n+\t\t<cassandra:entity\n+\t\t\tclass=\"org.springframework.integration.cassandra.test.domain.Book\">\n+\t\t\t<cassandra:table name=\"book\" />\n+\t\t</cassandra:entity>\n+\t</cassandra:mapping>\n+\n+\t<cassandra:cluster contact-points=\"${cassandra.contactpoints}\" port=\"${cassandra.port}\">\n+\t\t<cassandra:keyspace action=\"CREATE_DROP\" name=\"${cassandra.keyspace}\" />\n+\t</cassandra:cluster>\n+\n+\t<cassandra:session keyspace-name=\"${cassandra.keyspace}\" schema-action=\"RECREATE\"/>\n+\n+\n+\t\n+\t<cassandra:converter />\n+\t<cassandra:template id=\"cassandraTemplate\"  />\n+\n+\t<int-cassandra:outbound-channel-adapter id=\"cassandraMessageHandler1\" \n+\t\t\t\t\t\t\tcassandra-template=\"cassandraTemplate\" \n+\t\t\t\t\t\t\ttype=\"INSERT\"\n+\t\t\t\t\t\t\tauto-startup=\"true\" />\n+\t\t\t\t\t\t\t\n+\t<bean id=\"writeOptions\" class=\"org.springframework.cassandra.core.WriteOptions\">\n+\t\t<property name=\"ttl\" value=\"60\" />\n+\t\t<property name=\"consistencyLevel\">\n+\t\t\t<util:constant\n+\t\t\t\tstatic-field=\"org.springframework.cassandra.core.ConsistencyLevel.ONE\" />\n+\t\t</property>\n+\t\t<property name=\"retryPolicy\">\n+\t\t\t<util:constant\n+\t\t\t\tstatic-field=\"org.springframework.cassandra.core.RetryPolicy.DOWNGRADING_CONSISTENCY\" />\n+\t\t</property>\n+\t</bean>\n+\t\n+\t<bean id=\"resultChannel\" class=\"org.springframework.integration.channel.QueueChannel\"/>\n+\t\n+\t\t\t\t\t\t\t\n+     <int-cassandra:outbound-channel-adapter id=\"cassandraMessageHandler2\" \n+\t\t\t\t\t\t\tcassandra-template=\"cassandraTemplate\" \n+\t\t\t\t\t\t\twrite-options=\"writeOptions\"\n+\t\t\t\t\t\t\tauto-startup=\"true\" />\n+\n+\t<int-cassandra:outbound-channel-adapter id=\"cassandraMessageHandler3\" \n+\t\t\t\t  \tcassandra-template=\"cassandraTemplate\"\n+\t\t\t\t\tcql-ingest=\"insert into book (isbn, title, author, pages, saleDate, isInStock) values (?, ?, ?, ?, ?, ?)\"\n+\t\t\t\t\tauto-startup=\"true\" />\n+\n+\t<int-cassandra:outbound-channel-adapter id=\"cassandraMessageHandler4\" \n+\t\t\t\t\t\t\tcassandra-template=\"cassandraTemplate\" \n+\t\t\t\t\t\t\tstatement-expression=\"T(com.datastax.driver.core.querybuilder.QueryBuilder).truncate('book')\"","path":"spring-integration-cassandra/src/test/java/org/springframework/integration/cassandra/config/outbound-adapter-parser-config.xml","position":70,"original_position":70,"commit_id":"e76c98375a5c94c7701f5a97291f8a92df1fda1e","original_commit_id":"e76c98375a5c94c7701f5a97291f8a92df1fda1e","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":"Minor, but see comment in the `CassandraMessageHandler`:\r\n```\r\n/*\r\n * Register the Cassandra Query DSL package so they don't need a FQCN for QueryBuilder, for example.\r\n */\r\n((StandardTypeLocator) typeLocator).registerImport(\"com.datastax.driver.core.querybuilder\");\r\n```\r\nSo, you can omit the package in this expression.","created_at":"2015-12-29T18:08:27Z","updated_at":"2015-12-29T18:08:27Z","html_url":"https://github.com/spring-projects/spring-integration-extensions/pull/154#discussion_r48558230","pull_request_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/154","_links":{"self":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/comments/48558230"},"html":{"href":"https://github.com/spring-projects/spring-integration-extensions/pull/154#discussion_r48558230"},"pull_request":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/154"}}},"pull_request":{"url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/154","id":54515162,"html_url":"https://github.com/spring-projects/spring-integration-extensions/pull/154","diff_url":"https://github.com/spring-projects/spring-integration-extensions/pull/154.diff","patch_url":"https://github.com/spring-projects/spring-integration-extensions/pull/154.patch","issue_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/154","number":154,"state":"open","locked":false,"title":"Intext 215","user":{"login":"fbalicchia","id":1023535,"avatar_url":"https://avatars.githubusercontent.com/u/1023535?v=3","gravatar_id":"","url":"https://api.github.com/users/fbalicchia","html_url":"https://github.com/fbalicchia","followers_url":"https://api.github.com/users/fbalicchia/followers","following_url":"https://api.github.com/users/fbalicchia/following{/other_user}","gists_url":"https://api.github.com/users/fbalicchia/gists{/gist_id}","starred_url":"https://api.github.com/users/fbalicchia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbalicchia/subscriptions","organizations_url":"https://api.github.com/users/fbalicchia/orgs","repos_url":"https://api.github.com/users/fbalicchia/repos","events_url":"https://api.github.com/users/fbalicchia/events{/privacy}","received_events_url":"https://api.github.com/users/fbalicchia/received_events","type":"User","site_admin":false},"body":"JIRA: https://jira.spring.io/browse/INTEXT-215\r\n\r\n* add  XSD for CassandraMessageHandler\r\n* add `CassandraOutboundChannelAdapterParser`\r\n* minor refactoring for `CassandraMessageHandler`\r\n* CassandraMessageHandlerTests doesn't change (thanks for exists)\r\n* add `CassandraOutboundChannelAdapterIntegrationTests` that is the mirror of `CassandraMessageHandlerTests` in declarative mode\r\n","created_at":"2015-12-23T23:24:20Z","updated_at":"2015-12-29T18:08:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"edd0634086eb9f90f81262e7971e309222f8c82c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/154/commits","review_comments_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/154/comments","review_comment_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/154/comments","statuses_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/statuses/e76c98375a5c94c7701f5a97291f8a92df1fda1e","head":{"label":"fbalicchia:INTEXT-215","ref":"INTEXT-215","sha":"e76c98375a5c94c7701f5a97291f8a92df1fda1e","user":{"login":"fbalicchia","id":1023535,"avatar_url":"https://avatars.githubusercontent.com/u/1023535?v=3","gravatar_id":"","url":"https://api.github.com/users/fbalicchia","html_url":"https://github.com/fbalicchia","followers_url":"https://api.github.com/users/fbalicchia/followers","following_url":"https://api.github.com/users/fbalicchia/following{/other_user}","gists_url":"https://api.github.com/users/fbalicchia/gists{/gist_id}","starred_url":"https://api.github.com/users/fbalicchia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbalicchia/subscriptions","organizations_url":"https://api.github.com/users/fbalicchia/orgs","repos_url":"https://api.github.com/users/fbalicchia/repos","events_url":"https://api.github.com/users/fbalicchia/events{/privacy}","received_events_url":"https://api.github.com/users/fbalicchia/received_events","type":"User","site_admin":false},"repo":{"id":46448109,"name":"spring-integration-extensions","full_name":"fbalicchia/spring-integration-extensions","owner":{"login":"fbalicchia","id":1023535,"avatar_url":"https://avatars.githubusercontent.com/u/1023535?v=3","gravatar_id":"","url":"https://api.github.com/users/fbalicchia","html_url":"https://github.com/fbalicchia","followers_url":"https://api.github.com/users/fbalicchia/followers","following_url":"https://api.github.com/users/fbalicchia/following{/other_user}","gists_url":"https://api.github.com/users/fbalicchia/gists{/gist_id}","starred_url":"https://api.github.com/users/fbalicchia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbalicchia/subscriptions","organizations_url":"https://api.github.com/users/fbalicchia/orgs","repos_url":"https://api.github.com/users/fbalicchia/repos","events_url":"https://api.github.com/users/fbalicchia/events{/privacy}","received_events_url":"https://api.github.com/users/fbalicchia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fbalicchia/spring-integration-extensions","description":"The Spring Integration Extensions project provides extension components for Spring Integration","fork":true,"url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions","forks_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/forks","keys_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/teams","hooks_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/hooks","issue_events_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/events","assignees_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/tags","blobs_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/languages","stargazers_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/stargazers","contributors_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/contributors","subscribers_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/subscribers","subscription_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/subscription","commits_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/merges","archive_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/downloads","issues_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/labels{/name}","releases_url":"https://api.github.com/repos/fbalicchia/spring-integration-extensions/releases{/id}","created_at":"2015-11-18T21:18:21Z","updated_at":"2015-11-18T21:18:22Z","pushed_at":"2015-12-29T07:02:37Z","git_url":"git://github.com/fbalicchia/spring-integration-extensions.git","ssh_url":"git@github.com:fbalicchia/spring-integration-extensions.git","clone_url":"https://github.com/fbalicchia/spring-integration-extensions.git","svn_url":"https://github.com/fbalicchia/spring-integration-extensions","homepage":"http://www.springintegration.org/","size":2119,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"spring-projects:master","ref":"master","sha":"2e9247711d72959dc1a3509451bd377e34ec1c29","user":{"login":"spring-projects","id":317776,"avatar_url":"https://avatars.githubusercontent.com/u/317776?v=3","gravatar_id":"","url":"https://api.github.com/users/spring-projects","html_url":"https://github.com/spring-projects","followers_url":"https://api.github.com/users/spring-projects/followers","following_url":"https://api.github.com/users/spring-projects/following{/other_user}","gists_url":"https://api.github.com/users/spring-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-projects/subscriptions","organizations_url":"https://api.github.com/users/spring-projects/orgs","repos_url":"https://api.github.com/users/spring-projects/repos","events_url":"https://api.github.com/users/spring-projects/events{/privacy}","received_events_url":"https://api.github.com/users/spring-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":4653065,"name":"spring-integration-extensions","full_name":"spring-projects/spring-integration-extensions","owner":{"login":"spring-projects","id":317776,"avatar_url":"https://avatars.githubusercontent.com/u/317776?v=3","gravatar_id":"","url":"https://api.github.com/users/spring-projects","html_url":"https://github.com/spring-projects","followers_url":"https://api.github.com/users/spring-projects/followers","following_url":"https://api.github.com/users/spring-projects/following{/other_user}","gists_url":"https://api.github.com/users/spring-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-projects/subscriptions","organizations_url":"https://api.github.com/users/spring-projects/orgs","repos_url":"https://api.github.com/users/spring-projects/repos","events_url":"https://api.github.com/users/spring-projects/events{/privacy}","received_events_url":"https://api.github.com/users/spring-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spring-projects/spring-integration-extensions","description":"The Spring Integration Extensions project provides extension components for Spring Integration","fork":false,"url":"https://api.github.com/repos/spring-projects/spring-integration-extensions","forks_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/forks","keys_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/teams","hooks_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/hooks","issue_events_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/events","assignees_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/tags","blobs_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/languages","stargazers_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/stargazers","contributors_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/contributors","subscribers_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/subscribers","subscription_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/subscription","commits_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/merges","archive_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/downloads","issues_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/labels{/name}","releases_url":"https://api.github.com/repos/spring-projects/spring-integration-extensions/releases{/id}","created_at":"2012-06-13T16:05:52Z","updated_at":"2015-12-23T14:07:07Z","pushed_at":"2015-12-29T07:02:38Z","git_url":"git://github.com/spring-projects/spring-integration-extensions.git","ssh_url":"git@github.com:spring-projects/spring-integration-extensions.git","clone_url":"https://github.com/spring-projects/spring-integration-extensions.git","svn_url":"https://github.com/spring-projects/spring-integration-extensions","homepage":"http://www.springintegration.org/","size":21715,"stargazers_count":120,"watchers_count":120,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":162,"mirror_url":null,"open_issues_count":6,"forks":162,"open_issues":6,"watchers":120,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/154"},"html":{"href":"https://github.com/spring-projects/spring-integration-extensions/pull/154"},"issue":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/154"},"comments":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/issues/154/comments"},"review_comments":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/154/comments"},"review_comment":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/pulls/154/commits"},"statuses":{"href":"https://api.github.com/repos/spring-projects/spring-integration-extensions/statuses/e76c98375a5c94c7701f5a97291f8a92df1fda1e"}}}}