{"action":"opened","number":193,"pull_request":{"url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/193","id":58477697,"html_url":"https://github.com/wildfly-swarm/wildfly-swarm/pull/193","diff_url":"https://github.com/wildfly-swarm/wildfly-swarm/pull/193.diff","patch_url":"https://github.com/wildfly-swarm/wildfly-swarm/pull/193.patch","issue_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/193","number":193,"state":"open","locked":false,"title":"Allows user to configure maximum Ribbon payload size","user":{"login":"jhovell","id":1376570,"avatar_url":"https://avatars.githubusercontent.com/u/1376570?v=3","gravatar_id":"","url":"https://api.github.com/users/jhovell","html_url":"https://github.com/jhovell","followers_url":"https://api.github.com/users/jhovell/followers","following_url":"https://api.github.com/users/jhovell/following{/other_user}","gists_url":"https://api.github.com/users/jhovell/gists{/gist_id}","starred_url":"https://api.github.com/users/jhovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhovell/subscriptions","organizations_url":"https://api.github.com/users/jhovell/orgs","repos_url":"https://api.github.com/users/jhovell/repos","events_url":"https://api.github.com/users/jhovell/events{/privacy}","received_events_url":"https://api.github.com/users/jhovell/received_events","type":"User","site_admin":false},"body":"@bobmcwhirter \r\n\r\nSo far the only default configuration with Ribbon that I think is \"unreasonable\" is the HttpObjectAggregationConfigurator.DEFAULT_CHUNK_SIZE (1MB). Basically if you have a REST payload that exceeds 1MB Ribbon fails. You need to configure Ribbon for the maximum message size you want ionetty to be capable of dealing with\r\n\r\nhttps://groups.google.com/forum/#!topic/ribbon-users/nviL9gcIows\r\n\r\nI have expanded the secured ribbon client api slightly to allow users to pass in their own SecuredRibbonResourceFactory which can be constructed via a simplified public constructor. Maybe an options object or more generally options belong here, but I guess it is a start.\r\n\r\nYou can now use RibbonSecured with a custom chunk size in a variety of ways :\r\n\r\n```java\r\n// I want 4MB messages\r\nfinal SecuredRibbonResourceFactory ribbonResourceFactory = new SecuredRibbonResourceFactory(HttpObjectAggregationConfigurator.DEFAULT_CHUNK_SIZE * 4);\r\n// use proxies\r\nfinal MyService service = SecuredRibbon.from(ribbonResourceFactory, MyService.class);\r\n// work with resource groups directly\r\nfinal HttpResourceGroup resourceGroup = ribbonResourceFactory.createHttpResourceGroup(\"MyOtherService\");\r\n\r\n```\r\n\r\n\r\n\r\n","created_at":"2016-02-05T20:07:07Z","updated_at":"2016-02-05T20:07:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/193/commits","review_comments_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/193/comments","review_comment_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/193/comments","statuses_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/statuses/2d72c6c9554b4ce8e49233d31bb67b8db3b0df6e","head":{"label":"jhovell:ribbon-chunk-size","ref":"ribbon-chunk-size","sha":"2d72c6c9554b4ce8e49233d31bb67b8db3b0df6e","user":{"login":"jhovell","id":1376570,"avatar_url":"https://avatars.githubusercontent.com/u/1376570?v=3","gravatar_id":"","url":"https://api.github.com/users/jhovell","html_url":"https://github.com/jhovell","followers_url":"https://api.github.com/users/jhovell/followers","following_url":"https://api.github.com/users/jhovell/following{/other_user}","gists_url":"https://api.github.com/users/jhovell/gists{/gist_id}","starred_url":"https://api.github.com/users/jhovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhovell/subscriptions","organizations_url":"https://api.github.com/users/jhovell/orgs","repos_url":"https://api.github.com/users/jhovell/repos","events_url":"https://api.github.com/users/jhovell/events{/privacy}","received_events_url":"https://api.github.com/users/jhovell/received_events","type":"User","site_admin":false},"repo":{"id":47512346,"name":"wildfly-swarm","full_name":"jhovell/wildfly-swarm","owner":{"login":"jhovell","id":1376570,"avatar_url":"https://avatars.githubusercontent.com/u/1376570?v=3","gravatar_id":"","url":"https://api.github.com/users/jhovell","html_url":"https://github.com/jhovell","followers_url":"https://api.github.com/users/jhovell/followers","following_url":"https://api.github.com/users/jhovell/following{/other_user}","gists_url":"https://api.github.com/users/jhovell/gists{/gist_id}","starred_url":"https://api.github.com/users/jhovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhovell/subscriptions","organizations_url":"https://api.github.com/users/jhovell/orgs","repos_url":"https://api.github.com/users/jhovell/repos","events_url":"https://api.github.com/users/jhovell/events{/privacy}","received_events_url":"https://api.github.com/users/jhovell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhovell/wildfly-swarm","description":"","fork":true,"url":"https://api.github.com/repos/jhovell/wildfly-swarm","forks_url":"https://api.github.com/repos/jhovell/wildfly-swarm/forks","keys_url":"https://api.github.com/repos/jhovell/wildfly-swarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhovell/wildfly-swarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhovell/wildfly-swarm/teams","hooks_url":"https://api.github.com/repos/jhovell/wildfly-swarm/hooks","issue_events_url":"https://api.github.com/repos/jhovell/wildfly-swarm/issues/events{/number}","events_url":"https://api.github.com/repos/jhovell/wildfly-swarm/events","assignees_url":"https://api.github.com/repos/jhovell/wildfly-swarm/assignees{/user}","branches_url":"https://api.github.com/repos/jhovell/wildfly-swarm/branches{/branch}","tags_url":"https://api.github.com/repos/jhovell/wildfly-swarm/tags","blobs_url":"https://api.github.com/repos/jhovell/wildfly-swarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhovell/wildfly-swarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhovell/wildfly-swarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhovell/wildfly-swarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhovell/wildfly-swarm/statuses/{sha}","languages_url":"https://api.github.com/repos/jhovell/wildfly-swarm/languages","stargazers_url":"https://api.github.com/repos/jhovell/wildfly-swarm/stargazers","contributors_url":"https://api.github.com/repos/jhovell/wildfly-swarm/contributors","subscribers_url":"https://api.github.com/repos/jhovell/wildfly-swarm/subscribers","subscription_url":"https://api.github.com/repos/jhovell/wildfly-swarm/subscription","commits_url":"https://api.github.com/repos/jhovell/wildfly-swarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhovell/wildfly-swarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhovell/wildfly-swarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhovell/wildfly-swarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhovell/wildfly-swarm/contents/{+path}","compare_url":"https://api.github.com/repos/jhovell/wildfly-swarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhovell/wildfly-swarm/merges","archive_url":"https://api.github.com/repos/jhovell/wildfly-swarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhovell/wildfly-swarm/downloads","issues_url":"https://api.github.com/repos/jhovell/wildfly-swarm/issues{/number}","pulls_url":"https://api.github.com/repos/jhovell/wildfly-swarm/pulls{/number}","milestones_url":"https://api.github.com/repos/jhovell/wildfly-swarm/milestones{/number}","notifications_url":"https://api.github.com/repos/jhovell/wildfly-swarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhovell/wildfly-swarm/labels{/name}","releases_url":"https://api.github.com/repos/jhovell/wildfly-swarm/releases{/id}","deployments_url":"https://api.github.com/repos/jhovell/wildfly-swarm/deployments","created_at":"2015-12-06T20:22:51Z","updated_at":"2016-01-20T21:31:42Z","pushed_at":"2016-02-05T19:56:49Z","git_url":"git://github.com/jhovell/wildfly-swarm.git","ssh_url":"git@github.com:jhovell/wildfly-swarm.git","clone_url":"https://github.com/jhovell/wildfly-swarm.git","svn_url":"https://github.com/jhovell/wildfly-swarm","homepage":null,"size":5792,"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":"wildfly-swarm:master","ref":"master","sha":"344b5818cba3d646a70a1c9e9c9afdbe2d061c99","user":{"login":"wildfly-swarm","id":11523816,"avatar_url":"https://avatars.githubusercontent.com/u/11523816?v=3","gravatar_id":"","url":"https://api.github.com/users/wildfly-swarm","html_url":"https://github.com/wildfly-swarm","followers_url":"https://api.github.com/users/wildfly-swarm/followers","following_url":"https://api.github.com/users/wildfly-swarm/following{/other_user}","gists_url":"https://api.github.com/users/wildfly-swarm/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly-swarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly-swarm/subscriptions","organizations_url":"https://api.github.com/users/wildfly-swarm/orgs","repos_url":"https://api.github.com/users/wildfly-swarm/repos","events_url":"https://api.github.com/users/wildfly-swarm/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly-swarm/received_events","type":"Organization","site_admin":false},"repo":{"id":32403249,"name":"wildfly-swarm","full_name":"wildfly-swarm/wildfly-swarm","owner":{"login":"wildfly-swarm","id":11523816,"avatar_url":"https://avatars.githubusercontent.com/u/11523816?v=3","gravatar_id":"","url":"https://api.github.com/users/wildfly-swarm","html_url":"https://github.com/wildfly-swarm","followers_url":"https://api.github.com/users/wildfly-swarm/followers","following_url":"https://api.github.com/users/wildfly-swarm/following{/other_user}","gists_url":"https://api.github.com/users/wildfly-swarm/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly-swarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly-swarm/subscriptions","organizations_url":"https://api.github.com/users/wildfly-swarm/orgs","repos_url":"https://api.github.com/users/wildfly-swarm/repos","events_url":"https://api.github.com/users/wildfly-swarm/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly-swarm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wildfly-swarm/wildfly-swarm","description":"Rightsize Your Services","fork":false,"url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm","forks_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/forks","keys_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/teams","hooks_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/hooks","issue_events_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/events{/number}","events_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/events","assignees_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/assignees{/user}","branches_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/branches{/branch}","tags_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/tags","blobs_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/git/refs{/sha}","trees_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/statuses/{sha}","languages_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/languages","stargazers_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/stargazers","contributors_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/contributors","subscribers_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/subscribers","subscription_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/subscription","commits_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/commits{/sha}","git_commits_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/git/commits{/sha}","comments_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/comments{/number}","issue_comment_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/comments{/number}","contents_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/contents/{+path}","compare_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/merges","archive_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/downloads","issues_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues{/number}","pulls_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls{/number}","milestones_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/milestones{/number}","notifications_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/labels{/name}","releases_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/releases{/id}","deployments_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/deployments","created_at":"2015-03-17T15:47:09Z","updated_at":"2016-02-01T04:22:52Z","pushed_at":"2016-02-05T20:07:07Z","git_url":"git://github.com/wildfly-swarm/wildfly-swarm.git","ssh_url":"git@github.com:wildfly-swarm/wildfly-swarm.git","clone_url":"https://github.com/wildfly-swarm/wildfly-swarm.git","svn_url":"https://github.com/wildfly-swarm/wildfly-swarm","homepage":"http://wildfly-swarm.io/","size":6029,"stargazers_count":149,"watchers_count":149,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":23,"forks":41,"open_issues":23,"watchers":149,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/193"},"html":{"href":"https://github.com/wildfly-swarm/wildfly-swarm/pull/193"},"issue":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/193"},"comments":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/193/comments"},"review_comments":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/193/comments"},"review_comment":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/pulls/193/commits"},"statuses":{"href":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/statuses/2d72c6c9554b4ce8e49233d31bb67b8db3b0df6e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":29,"deletions":12,"changed_files":3}}