{"action":"created","comment":{"url":"https://api.github.com/repos/lookout/deploydb/pulls/comments/24937903","id":24937903,"diff_hunk":"@@ -21,3 +21,25 @@ Given(~/^there are artifacts$/) { ->\n         dao.persist(a2)\n     }\n }\n+\n+Given(~/^I have an artifact request$/) { ->\n+}\n+\n+And(~/^the (.*?) is over ([1-9][0-9]*) characters$/) { String var, int varSize ->\n+\n+    // Create a randomString of size varSize+1\n+    String randomString = \"test-\".padRight(varSize+1, \"a\")\n+\n+    group = var == \"group\" ? randomString : \"com.example.cucumber\"\n+    name  = var == \"name\" ? randomString : \"cukes\"\n+    version = var == \"version\" ? randomString : \"1.2.345\"\n+    sourceUrl = var == \"sourceUrl\" ? randomString : \"http://example.com/cucumber.jar\"\n+\n+    requestBody = \"\"\" {\n+        \"group\" : \"$group\",\n+        \"name\" : \"$name\",\n+        \"version\" : \"$version\",\n+        \"sourceUrl\" : \"$sourceUrl\"\n+      }","path":"src/cucumber/groovy/step_definitions/ArtifactSteps.groovy","position":23,"original_position":23,"commit_id":"898dc137dcf63ecaa320d74a6ebe44dfc4e83043","original_commit_id":"898dc137dcf63ecaa320d74a6ebe44dfc4e83043","user":{"login":"GiriDandu","id":4194632,"avatar_url":"https://avatars.githubusercontent.com/u/4194632?v=3","gravatar_id":"","url":"https://api.github.com/users/GiriDandu","html_url":"https://github.com/GiriDandu","followers_url":"https://api.github.com/users/GiriDandu/followers","following_url":"https://api.github.com/users/GiriDandu/following{/other_user}","gists_url":"https://api.github.com/users/GiriDandu/gists{/gist_id}","starred_url":"https://api.github.com/users/GiriDandu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GiriDandu/subscriptions","organizations_url":"https://api.github.com/users/GiriDandu/orgs","repos_url":"https://api.github.com/users/GiriDandu/repos","events_url":"https://api.github.com/users/GiriDandu/events{/privacy}","received_events_url":"https://api.github.com/users/GiriDandu/received_events","type":"User","site_admin":false},"body":"Not sure why this is moved here.","created_at":"2015-02-18T20:34:31Z","updated_at":"2015-02-18T20:34:31Z","html_url":"https://github.com/lookout/deploydb/pull/52#discussion_r24937903","pull_request_url":"https://api.github.com/repos/lookout/deploydb/pulls/52","_links":{"self":{"href":"https://api.github.com/repos/lookout/deploydb/pulls/comments/24937903"},"html":{"href":"https://github.com/lookout/deploydb/pull/52#discussion_r24937903"},"pull_request":{"href":"https://api.github.com/repos/lookout/deploydb/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/lookout/deploydb/pulls/52","id":29552247,"html_url":"https://github.com/lookout/deploydb/pull/52","diff_url":"https://github.com/lookout/deploydb/pull/52.diff","patch_url":"https://github.com/lookout/deploydb/pull/52.patch","issue_url":"https://api.github.com/repos/lookout/deploydb/issues/52","number":52,"state":"open","locked":false,"title":"Initial cut at restructuring of APIs","user":{"login":"rtyler","id":26594,"avatar_url":"https://avatars.githubusercontent.com/u/26594?v=3","gravatar_id":"","url":"https://api.github.com/users/rtyler","html_url":"https://github.com/rtyler","followers_url":"https://api.github.com/users/rtyler/followers","following_url":"https://api.github.com/users/rtyler/following{/other_user}","gists_url":"https://api.github.com/users/rtyler/gists{/gist_id}","starred_url":"https://api.github.com/users/rtyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtyler/subscriptions","organizations_url":"https://api.github.com/users/rtyler/orgs","repos_url":"https://api.github.com/users/rtyler/repos","events_url":"https://api.github.com/users/rtyler/events{/privacy}","received_events_url":"https://api.github.com/users/rtyler/received_events","type":"User","site_admin":false},"body":"See the commit messages for more specific details","created_at":"2015-02-18T18:56:03Z","updated_at":"2015-02-18T20:34:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e678649316fca04eeefc80f5cab7f00471364bae","assignee":{"login":"GiriDandu","id":4194632,"avatar_url":"https://avatars.githubusercontent.com/u/4194632?v=3","gravatar_id":"","url":"https://api.github.com/users/GiriDandu","html_url":"https://github.com/GiriDandu","followers_url":"https://api.github.com/users/GiriDandu/followers","following_url":"https://api.github.com/users/GiriDandu/following{/other_user}","gists_url":"https://api.github.com/users/GiriDandu/gists{/gist_id}","starred_url":"https://api.github.com/users/GiriDandu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GiriDandu/subscriptions","organizations_url":"https://api.github.com/users/GiriDandu/orgs","repos_url":"https://api.github.com/users/GiriDandu/repos","events_url":"https://api.github.com/users/GiriDandu/events{/privacy}","received_events_url":"https://api.github.com/users/GiriDandu/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/lookout/deploydb/milestones/1","labels_url":"https://api.github.com/repos/lookout/deploydb/milestones/1/labels","id":907359,"number":1,"title":"0.1.0 - Minimum Loveable Pipeline","description":"Something approximating a prototype of #DeployDB","creator":{"login":"rtyler","id":26594,"avatar_url":"https://avatars.githubusercontent.com/u/26594?v=3","gravatar_id":"","url":"https://api.github.com/users/rtyler","html_url":"https://github.com/rtyler","followers_url":"https://api.github.com/users/rtyler/followers","following_url":"https://api.github.com/users/rtyler/following{/other_user}","gists_url":"https://api.github.com/users/rtyler/gists{/gist_id}","starred_url":"https://api.github.com/users/rtyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtyler/subscriptions","organizations_url":"https://api.github.com/users/rtyler/orgs","repos_url":"https://api.github.com/users/rtyler/repos","events_url":"https://api.github.com/users/rtyler/events{/privacy}","received_events_url":"https://api.github.com/users/rtyler/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":20,"state":"open","created_at":"2014-12-17T18:41:33Z","updated_at":"2015-02-18T19:40:39Z","due_on":"2015-02-28T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/lookout/deploydb/pulls/52/commits","review_comments_url":"https://api.github.com/repos/lookout/deploydb/pulls/52/comments","review_comment_url":"https://api.github.com/repos/lookout/deploydb/pulls/comments/{number}","comments_url":"https://api.github.com/repos/lookout/deploydb/issues/52/comments","statuses_url":"https://api.github.com/repos/lookout/deploydb/statuses/898dc137dcf63ecaa320d74a6ebe44dfc4e83043","head":{"label":"rtyler:issues/49-api-restructuring","ref":"issues/49-api-restructuring","sha":"898dc137dcf63ecaa320d74a6ebe44dfc4e83043","user":{"login":"rtyler","id":26594,"avatar_url":"https://avatars.githubusercontent.com/u/26594?v=3","gravatar_id":"","url":"https://api.github.com/users/rtyler","html_url":"https://github.com/rtyler","followers_url":"https://api.github.com/users/rtyler/followers","following_url":"https://api.github.com/users/rtyler/following{/other_user}","gists_url":"https://api.github.com/users/rtyler/gists{/gist_id}","starred_url":"https://api.github.com/users/rtyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtyler/subscriptions","organizations_url":"https://api.github.com/users/rtyler/orgs","repos_url":"https://api.github.com/users/rtyler/repos","events_url":"https://api.github.com/users/rtyler/events{/privacy}","received_events_url":"https://api.github.com/users/rtyler/received_events","type":"User","site_admin":false},"repo":{"id":29916371,"name":"deploydb","full_name":"rtyler/deploydb","owner":{"login":"rtyler","id":26594,"avatar_url":"https://avatars.githubusercontent.com/u/26594?v=3","gravatar_id":"","url":"https://api.github.com/users/rtyler","html_url":"https://github.com/rtyler","followers_url":"https://api.github.com/users/rtyler/followers","following_url":"https://api.github.com/users/rtyler/following{/other_user}","gists_url":"https://api.github.com/users/rtyler/gists{/gist_id}","starred_url":"https://api.github.com/users/rtyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtyler/subscriptions","organizations_url":"https://api.github.com/users/rtyler/orgs","repos_url":"https://api.github.com/users/rtyler/repos","events_url":"https://api.github.com/users/rtyler/events{/privacy}","received_events_url":"https://api.github.com/users/rtyler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rtyler/deploydb","description":"Your deployments: who, what, where and when.","fork":true,"url":"https://api.github.com/repos/rtyler/deploydb","forks_url":"https://api.github.com/repos/rtyler/deploydb/forks","keys_url":"https://api.github.com/repos/rtyler/deploydb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rtyler/deploydb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rtyler/deploydb/teams","hooks_url":"https://api.github.com/repos/rtyler/deploydb/hooks","issue_events_url":"https://api.github.com/repos/rtyler/deploydb/issues/events{/number}","events_url":"https://api.github.com/repos/rtyler/deploydb/events","assignees_url":"https://api.github.com/repos/rtyler/deploydb/assignees{/user}","branches_url":"https://api.github.com/repos/rtyler/deploydb/branches{/branch}","tags_url":"https://api.github.com/repos/rtyler/deploydb/tags","blobs_url":"https://api.github.com/repos/rtyler/deploydb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rtyler/deploydb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rtyler/deploydb/git/refs{/sha}","trees_url":"https://api.github.com/repos/rtyler/deploydb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rtyler/deploydb/statuses/{sha}","languages_url":"https://api.github.com/repos/rtyler/deploydb/languages","stargazers_url":"https://api.github.com/repos/rtyler/deploydb/stargazers","contributors_url":"https://api.github.com/repos/rtyler/deploydb/contributors","subscribers_url":"https://api.github.com/repos/rtyler/deploydb/subscribers","subscription_url":"https://api.github.com/repos/rtyler/deploydb/subscription","commits_url":"https://api.github.com/repos/rtyler/deploydb/commits{/sha}","git_commits_url":"https://api.github.com/repos/rtyler/deploydb/git/commits{/sha}","comments_url":"https://api.github.com/repos/rtyler/deploydb/comments{/number}","issue_comment_url":"https://api.github.com/repos/rtyler/deploydb/issues/comments/{number}","contents_url":"https://api.github.com/repos/rtyler/deploydb/contents/{+path}","compare_url":"https://api.github.com/repos/rtyler/deploydb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rtyler/deploydb/merges","archive_url":"https://api.github.com/repos/rtyler/deploydb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rtyler/deploydb/downloads","issues_url":"https://api.github.com/repos/rtyler/deploydb/issues{/number}","pulls_url":"https://api.github.com/repos/rtyler/deploydb/pulls{/number}","milestones_url":"https://api.github.com/repos/rtyler/deploydb/milestones{/number}","notifications_url":"https://api.github.com/repos/rtyler/deploydb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rtyler/deploydb/labels{/name}","releases_url":"https://api.github.com/repos/rtyler/deploydb/releases{/id}","created_at":"2015-01-27T13:57:03Z","updated_at":"2015-02-18T14:53:24Z","pushed_at":"2015-02-18T18:55:19Z","git_url":"git://github.com/rtyler/deploydb.git","ssh_url":"git@github.com:rtyler/deploydb.git","clone_url":"https://github.com/rtyler/deploydb.git","svn_url":"https://github.com/rtyler/deploydb","homepage":"http://hackers.lookout.com/deploydb/","size":520,"stargazers_count":0,"watchers_count":0,"language":"Groovy","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":"lookout:master","ref":"master","sha":"b34fe4d23c1c1dc649b345673c7b8a854b373e63","user":{"login":"lookout","id":47237,"avatar_url":"https://avatars.githubusercontent.com/u/47237?v=3","gravatar_id":"","url":"https://api.github.com/users/lookout","html_url":"https://github.com/lookout","followers_url":"https://api.github.com/users/lookout/followers","following_url":"https://api.github.com/users/lookout/following{/other_user}","gists_url":"https://api.github.com/users/lookout/gists{/gist_id}","starred_url":"https://api.github.com/users/lookout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lookout/subscriptions","organizations_url":"https://api.github.com/users/lookout/orgs","repos_url":"https://api.github.com/users/lookout/repos","events_url":"https://api.github.com/users/lookout/events{/privacy}","received_events_url":"https://api.github.com/users/lookout/received_events","type":"Organization","site_admin":false},"repo":{"id":28099382,"name":"deploydb","full_name":"lookout/deploydb","owner":{"login":"lookout","id":47237,"avatar_url":"https://avatars.githubusercontent.com/u/47237?v=3","gravatar_id":"","url":"https://api.github.com/users/lookout","html_url":"https://github.com/lookout","followers_url":"https://api.github.com/users/lookout/followers","following_url":"https://api.github.com/users/lookout/following{/other_user}","gists_url":"https://api.github.com/users/lookout/gists{/gist_id}","starred_url":"https://api.github.com/users/lookout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lookout/subscriptions","organizations_url":"https://api.github.com/users/lookout/orgs","repos_url":"https://api.github.com/users/lookout/repos","events_url":"https://api.github.com/users/lookout/events{/privacy}","received_events_url":"https://api.github.com/users/lookout/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lookout/deploydb","description":"Your deployments: who, what, where and when.","fork":false,"url":"https://api.github.com/repos/lookout/deploydb","forks_url":"https://api.github.com/repos/lookout/deploydb/forks","keys_url":"https://api.github.com/repos/lookout/deploydb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lookout/deploydb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lookout/deploydb/teams","hooks_url":"https://api.github.com/repos/lookout/deploydb/hooks","issue_events_url":"https://api.github.com/repos/lookout/deploydb/issues/events{/number}","events_url":"https://api.github.com/repos/lookout/deploydb/events","assignees_url":"https://api.github.com/repos/lookout/deploydb/assignees{/user}","branches_url":"https://api.github.com/repos/lookout/deploydb/branches{/branch}","tags_url":"https://api.github.com/repos/lookout/deploydb/tags","blobs_url":"https://api.github.com/repos/lookout/deploydb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lookout/deploydb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lookout/deploydb/git/refs{/sha}","trees_url":"https://api.github.com/repos/lookout/deploydb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lookout/deploydb/statuses/{sha}","languages_url":"https://api.github.com/repos/lookout/deploydb/languages","stargazers_url":"https://api.github.com/repos/lookout/deploydb/stargazers","contributors_url":"https://api.github.com/repos/lookout/deploydb/contributors","subscribers_url":"https://api.github.com/repos/lookout/deploydb/subscribers","subscription_url":"https://api.github.com/repos/lookout/deploydb/subscription","commits_url":"https://api.github.com/repos/lookout/deploydb/commits{/sha}","git_commits_url":"https://api.github.com/repos/lookout/deploydb/git/commits{/sha}","comments_url":"https://api.github.com/repos/lookout/deploydb/comments{/number}","issue_comment_url":"https://api.github.com/repos/lookout/deploydb/issues/comments/{number}","contents_url":"https://api.github.com/repos/lookout/deploydb/contents/{+path}","compare_url":"https://api.github.com/repos/lookout/deploydb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lookout/deploydb/merges","archive_url":"https://api.github.com/repos/lookout/deploydb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lookout/deploydb/downloads","issues_url":"https://api.github.com/repos/lookout/deploydb/issues{/number}","pulls_url":"https://api.github.com/repos/lookout/deploydb/pulls{/number}","milestones_url":"https://api.github.com/repos/lookout/deploydb/milestones{/number}","notifications_url":"https://api.github.com/repos/lookout/deploydb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lookout/deploydb/labels{/name}","releases_url":"https://api.github.com/repos/lookout/deploydb/releases{/id}","created_at":"2014-12-16T18:04:06Z","updated_at":"2015-02-18T19:40:40Z","pushed_at":"2015-02-18T19:40:39Z","git_url":"git://github.com/lookout/deploydb.git","ssh_url":"git@github.com:lookout/deploydb.git","clone_url":"https://github.com/lookout/deploydb.git","svn_url":"https://github.com/lookout/deploydb","homepage":"http://hackers.lookout.com/deploydb/","size":1031,"stargazers_count":33,"watchers_count":33,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":22,"forks":5,"open_issues":22,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lookout/deploydb/pulls/52"},"html":{"href":"https://github.com/lookout/deploydb/pull/52"},"issue":{"href":"https://api.github.com/repos/lookout/deploydb/issues/52"},"comments":{"href":"https://api.github.com/repos/lookout/deploydb/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/lookout/deploydb/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/lookout/deploydb/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/lookout/deploydb/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/lookout/deploydb/statuses/898dc137dcf63ecaa320d74a6ebe44dfc4e83043"}}}}