{"action":"created","comment":{"url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/comments/24486911","id":24486911,"diff_hunk":"@@ -0,0 +1,47 @@\n+package com.ofg.stub\n+import com.ofg.infrastructure.discovery.ServiceConfigurationResolver\n+import org.apache.curator.framework.CuratorFramework\n+import org.apache.curator.test.TestingServer\n+import spock.lang.Specification\n+\n+import java.nio.file.Files\n+\n+class StubRunnerFactorySpec extends Specification {\n+\n+    ServiceConfigurationResolver configurationResolver = Stub(ServiceConfigurationResolver)\n+    TestingServer testingServer = Stub(TestingServer)\n+    CuratorFramework curatorClient = Stub(CuratorFramework)\n+    StubDownloader downloader = Mock(StubDownloader)\n+    StubRunnerFactory factory = new StubRunnerFactory(testingServer, configurationResolver, curatorClient, downloader)\n+\n+    void setup() {\n+        factory.withStubRepositoryRoot(\"http://123.0.0.1/repository\")\n+        testingServer.connectString >> \"localhost:12345\"\n+        configurationResolver.dependencies >> [\"pl\": [\"path\": \"com/ofg/risk-service\"], eu: [\"path\": \"com/ofg/fraud\"]]","path":"stub-runner/stub-runner-spring/src/test/groovy/com/ofg/stub/StubRunnerFactorySpec.groovy","position":20,"original_position":20,"commit_id":"ff19e57123e3e32dbb965e2286920cf2a60070e5","original_commit_id":"7109ec8bbcfffd35193ae54f297ef967f76fa83a","user":{"login":"marcingrzejszczak","id":3297437,"avatar_url":"https://avatars.githubusercontent.com/u/3297437?v=3","gravatar_id":"","url":"https://api.github.com/users/marcingrzejszczak","html_url":"https://github.com/marcingrzejszczak","followers_url":"https://api.github.com/users/marcingrzejszczak/followers","following_url":"https://api.github.com/users/marcingrzejszczak/following{/other_user}","gists_url":"https://api.github.com/users/marcingrzejszczak/gists{/gist_id}","starred_url":"https://api.github.com/users/marcingrzejszczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcingrzejszczak/subscriptions","organizations_url":"https://api.github.com/users/marcingrzejszczak/orgs","repos_url":"https://api.github.com/users/marcingrzejszczak/repos","events_url":"https://api.github.com/users/marcingrzejszczak/events{/privacy}","received_events_url":"https://api.github.com/users/marcingrzejszczak/received_events","type":"User","site_admin":false},"body":"do pl instead of \"pl\"","created_at":"2015-02-11T10:59:03Z","updated_at":"2015-02-11T10:59:03Z","html_url":"https://github.com/4finance/micro-infra-spring/pull/263#discussion_r24486911","pull_request_url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/263","_links":{"self":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/comments/24486911"},"html":{"href":"https://github.com/4finance/micro-infra-spring/pull/263#discussion_r24486911"},"pull_request":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/263"}}},"pull_request":{"url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/263","id":29075920,"html_url":"https://github.com/4finance/micro-infra-spring/pull/263","diff_url":"https://github.com/4finance/micro-infra-spring/pull/263.diff","patch_url":"https://github.com/4finance/micro-infra-spring/pull/263.patch","issue_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues/263","number":263,"state":"open","locked":false,"title":"Additional way to download definitions of stub","user":{"login":"cameleeck","id":4682097,"avatar_url":"https://avatars.githubusercontent.com/u/4682097?v=3","gravatar_id":"","url":"https://api.github.com/users/cameleeck","html_url":"https://github.com/cameleeck","followers_url":"https://api.github.com/users/cameleeck/followers","following_url":"https://api.github.com/users/cameleeck/following{/other_user}","gists_url":"https://api.github.com/users/cameleeck/gists{/gist_id}","starred_url":"https://api.github.com/users/cameleeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cameleeck/subscriptions","organizations_url":"https://api.github.com/users/cameleeck/orgs","repos_url":"https://api.github.com/users/cameleeck/repos","events_url":"https://api.github.com/users/cameleeck/events{/privacy}","received_events_url":"https://api.github.com/users/cameleeck/received_events","type":"User","site_admin":false},"body":"[#262] Additional way to download definitions of stub","created_at":"2015-02-11T09:07:01Z","updated_at":"2015-02-11T10:59:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f75e678087e6a58143c384d1197a75fedd87e44","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/263/commits","review_comments_url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/263/comments","review_comment_url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/comments/{number}","comments_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues/263/comments","statuses_url":"https://api.github.com/repos/4finance/micro-infra-spring/statuses/ff19e57123e3e32dbb965e2286920cf2a60070e5","head":{"label":"4finance:issues/262","ref":"issues/262","sha":"ff19e57123e3e32dbb965e2286920cf2a60070e5","user":{"login":"4finance","id":7083380,"avatar_url":"https://avatars.githubusercontent.com/u/7083380?v=3","gravatar_id":"","url":"https://api.github.com/users/4finance","html_url":"https://github.com/4finance","followers_url":"https://api.github.com/users/4finance/followers","following_url":"https://api.github.com/users/4finance/following{/other_user}","gists_url":"https://api.github.com/users/4finance/gists{/gist_id}","starred_url":"https://api.github.com/users/4finance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4finance/subscriptions","organizations_url":"https://api.github.com/users/4finance/orgs","repos_url":"https://api.github.com/users/4finance/repos","events_url":"https://api.github.com/users/4finance/events{/privacy}","received_events_url":"https://api.github.com/users/4finance/received_events","type":"Organization","site_admin":false},"repo":{"id":22647956,"name":"micro-infra-spring","full_name":"4finance/micro-infra-spring","owner":{"login":"4finance","id":7083380,"avatar_url":"https://avatars.githubusercontent.com/u/7083380?v=3","gravatar_id":"","url":"https://api.github.com/users/4finance","html_url":"https://github.com/4finance","followers_url":"https://api.github.com/users/4finance/followers","following_url":"https://api.github.com/users/4finance/following{/other_user}","gists_url":"https://api.github.com/users/4finance/gists{/gist_id}","starred_url":"https://api.github.com/users/4finance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4finance/subscriptions","organizations_url":"https://api.github.com/users/4finance/orgs","repos_url":"https://api.github.com/users/4finance/repos","events_url":"https://api.github.com/users/4finance/events{/privacy}","received_events_url":"https://api.github.com/users/4finance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/4finance/micro-infra-spring","description":"Repository containing default microservice infrastructure set up using Spring configuration","fork":false,"url":"https://api.github.com/repos/4finance/micro-infra-spring","forks_url":"https://api.github.com/repos/4finance/micro-infra-spring/forks","keys_url":"https://api.github.com/repos/4finance/micro-infra-spring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4finance/micro-infra-spring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4finance/micro-infra-spring/teams","hooks_url":"https://api.github.com/repos/4finance/micro-infra-spring/hooks","issue_events_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues/events{/number}","events_url":"https://api.github.com/repos/4finance/micro-infra-spring/events","assignees_url":"https://api.github.com/repos/4finance/micro-infra-spring/assignees{/user}","branches_url":"https://api.github.com/repos/4finance/micro-infra-spring/branches{/branch}","tags_url":"https://api.github.com/repos/4finance/micro-infra-spring/tags","blobs_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/refs{/sha}","trees_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4finance/micro-infra-spring/statuses/{sha}","languages_url":"https://api.github.com/repos/4finance/micro-infra-spring/languages","stargazers_url":"https://api.github.com/repos/4finance/micro-infra-spring/stargazers","contributors_url":"https://api.github.com/repos/4finance/micro-infra-spring/contributors","subscribers_url":"https://api.github.com/repos/4finance/micro-infra-spring/subscribers","subscription_url":"https://api.github.com/repos/4finance/micro-infra-spring/subscription","commits_url":"https://api.github.com/repos/4finance/micro-infra-spring/commits{/sha}","git_commits_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/commits{/sha}","comments_url":"https://api.github.com/repos/4finance/micro-infra-spring/comments{/number}","issue_comment_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues/comments/{number}","contents_url":"https://api.github.com/repos/4finance/micro-infra-spring/contents/{+path}","compare_url":"https://api.github.com/repos/4finance/micro-infra-spring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4finance/micro-infra-spring/merges","archive_url":"https://api.github.com/repos/4finance/micro-infra-spring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4finance/micro-infra-spring/downloads","issues_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues{/number}","pulls_url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls{/number}","milestones_url":"https://api.github.com/repos/4finance/micro-infra-spring/milestones{/number}","notifications_url":"https://api.github.com/repos/4finance/micro-infra-spring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4finance/micro-infra-spring/labels{/name}","releases_url":"https://api.github.com/repos/4finance/micro-infra-spring/releases{/id}","created_at":"2014-08-05T15:07:55Z","updated_at":"2015-02-10T10:03:21Z","pushed_at":"2015-02-11T10:38:17Z","git_url":"git://github.com/4finance/micro-infra-spring.git","ssh_url":"git@github.com:4finance/micro-infra-spring.git","clone_url":"https://github.com/4finance/micro-infra-spring.git","svn_url":"https://github.com/4finance/micro-infra-spring","homepage":"","size":5863,"stargazers_count":68,"watchers_count":68,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":53,"forks":12,"open_issues":53,"watchers":68,"default_branch":"master"}},"base":{"label":"4finance:master","ref":"master","sha":"14fe9635ede030646308cd72f735673888381352","user":{"login":"4finance","id":7083380,"avatar_url":"https://avatars.githubusercontent.com/u/7083380?v=3","gravatar_id":"","url":"https://api.github.com/users/4finance","html_url":"https://github.com/4finance","followers_url":"https://api.github.com/users/4finance/followers","following_url":"https://api.github.com/users/4finance/following{/other_user}","gists_url":"https://api.github.com/users/4finance/gists{/gist_id}","starred_url":"https://api.github.com/users/4finance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4finance/subscriptions","organizations_url":"https://api.github.com/users/4finance/orgs","repos_url":"https://api.github.com/users/4finance/repos","events_url":"https://api.github.com/users/4finance/events{/privacy}","received_events_url":"https://api.github.com/users/4finance/received_events","type":"Organization","site_admin":false},"repo":{"id":22647956,"name":"micro-infra-spring","full_name":"4finance/micro-infra-spring","owner":{"login":"4finance","id":7083380,"avatar_url":"https://avatars.githubusercontent.com/u/7083380?v=3","gravatar_id":"","url":"https://api.github.com/users/4finance","html_url":"https://github.com/4finance","followers_url":"https://api.github.com/users/4finance/followers","following_url":"https://api.github.com/users/4finance/following{/other_user}","gists_url":"https://api.github.com/users/4finance/gists{/gist_id}","starred_url":"https://api.github.com/users/4finance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4finance/subscriptions","organizations_url":"https://api.github.com/users/4finance/orgs","repos_url":"https://api.github.com/users/4finance/repos","events_url":"https://api.github.com/users/4finance/events{/privacy}","received_events_url":"https://api.github.com/users/4finance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/4finance/micro-infra-spring","description":"Repository containing default microservice infrastructure set up using Spring configuration","fork":false,"url":"https://api.github.com/repos/4finance/micro-infra-spring","forks_url":"https://api.github.com/repos/4finance/micro-infra-spring/forks","keys_url":"https://api.github.com/repos/4finance/micro-infra-spring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4finance/micro-infra-spring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4finance/micro-infra-spring/teams","hooks_url":"https://api.github.com/repos/4finance/micro-infra-spring/hooks","issue_events_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues/events{/number}","events_url":"https://api.github.com/repos/4finance/micro-infra-spring/events","assignees_url":"https://api.github.com/repos/4finance/micro-infra-spring/assignees{/user}","branches_url":"https://api.github.com/repos/4finance/micro-infra-spring/branches{/branch}","tags_url":"https://api.github.com/repos/4finance/micro-infra-spring/tags","blobs_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/refs{/sha}","trees_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4finance/micro-infra-spring/statuses/{sha}","languages_url":"https://api.github.com/repos/4finance/micro-infra-spring/languages","stargazers_url":"https://api.github.com/repos/4finance/micro-infra-spring/stargazers","contributors_url":"https://api.github.com/repos/4finance/micro-infra-spring/contributors","subscribers_url":"https://api.github.com/repos/4finance/micro-infra-spring/subscribers","subscription_url":"https://api.github.com/repos/4finance/micro-infra-spring/subscription","commits_url":"https://api.github.com/repos/4finance/micro-infra-spring/commits{/sha}","git_commits_url":"https://api.github.com/repos/4finance/micro-infra-spring/git/commits{/sha}","comments_url":"https://api.github.com/repos/4finance/micro-infra-spring/comments{/number}","issue_comment_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues/comments/{number}","contents_url":"https://api.github.com/repos/4finance/micro-infra-spring/contents/{+path}","compare_url":"https://api.github.com/repos/4finance/micro-infra-spring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4finance/micro-infra-spring/merges","archive_url":"https://api.github.com/repos/4finance/micro-infra-spring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4finance/micro-infra-spring/downloads","issues_url":"https://api.github.com/repos/4finance/micro-infra-spring/issues{/number}","pulls_url":"https://api.github.com/repos/4finance/micro-infra-spring/pulls{/number}","milestones_url":"https://api.github.com/repos/4finance/micro-infra-spring/milestones{/number}","notifications_url":"https://api.github.com/repos/4finance/micro-infra-spring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4finance/micro-infra-spring/labels{/name}","releases_url":"https://api.github.com/repos/4finance/micro-infra-spring/releases{/id}","created_at":"2014-08-05T15:07:55Z","updated_at":"2015-02-10T10:03:21Z","pushed_at":"2015-02-11T10:38:17Z","git_url":"git://github.com/4finance/micro-infra-spring.git","ssh_url":"git@github.com:4finance/micro-infra-spring.git","clone_url":"https://github.com/4finance/micro-infra-spring.git","svn_url":"https://github.com/4finance/micro-infra-spring","homepage":"","size":5863,"stargazers_count":68,"watchers_count":68,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":53,"forks":12,"open_issues":53,"watchers":68,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/263"},"html":{"href":"https://github.com/4finance/micro-infra-spring/pull/263"},"issue":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/issues/263"},"comments":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/issues/263/comments"},"review_comments":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/263/comments"},"review_comment":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/pulls/263/commits"},"statuses":{"href":"https://api.github.com/repos/4finance/micro-infra-spring/statuses/ff19e57123e3e32dbb965e2286920cf2a60070e5"}}}}