{"action":"created","comment":{"url":"https://api.github.com/repos/griddynamics/jagger/pulls/comments/31216128","id":31216128,"diff_hunk":"@@ -0,0 +1,407 @@\n+/*\n+ * Copyright (c) 2010-2012 Grid Dynamics Consulting Services, Inc, All Rights Reserved\n+ * http://www.griddynamics.com\n+ *\n+ * This library is free software; you can redistribute it and/or modify it under the terms of\n+ * the GNU Lesser General Public License as published by the Free Software Foundation; either\n+ * version 2.1 of the License, or any later version.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\n+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ */\n+\n+package com.griddynamics.jagger.engine.e1.process;\n+\n+import com.google.common.base.Throwables;\n+import com.google.common.collect.ImmutableList;\n+import com.google.common.util.concurrent.AbstractExecutionThreadService;\n+import com.google.common.util.concurrent.AbstractListenableFuture;\n+import com.google.common.util.concurrent.Futures;\n+import com.google.common.util.concurrent.ListenableFuture;\n+import com.griddynamics.jagger.engine.e1.collector.Validator;\n+import com.griddynamics.jagger.engine.e1.collector.invocation.InvocationListener;\n+import com.griddynamics.jagger.engine.e1.scenario.Flushable;\n+import com.griddynamics.jagger.engine.e1.scenario.ScenarioCollector;\n+import com.griddynamics.jagger.invoker.Invokers;\n+import com.griddynamics.jagger.invoker.Scenario;\n+import com.griddynamics.jagger.util.NewThreadExecutor;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+import java.util.List;\n+import java.util.concurrent.*;\n+import java.util.concurrent.atomic.AtomicInteger;\n+import java.util.concurrent.locks.ReentrantLock;\n+\n+import static com.griddynamics.jagger.util.TimeUtils.sleepMillis;\n+\n+public abstract class AbstractWorkloadService extends AbstractExecutionThreadService implements WorkloadService {\n+    private static final Logger log = LoggerFactory.getLogger(AbstractWorkloadService.class);\n+\n+    private final Executor executor;\n+    private final Scenario<?, ?, ?> scenario;\n+    private final List<? extends Flushable> collectors;\n+\n+    private final AtomicInteger delay = new AtomicInteger(0);\n+    private final AtomicInteger startedSamples = new AtomicInteger(0);\n+    private final AtomicInteger finishedSamples = new AtomicInteger(0);\n+\n+    public static WorkloadServiceBuilder builder(Scenario<Object, Object, Object> scenario) {\n+        return new WorkloadServiceBuilder(scenario);\n+    }\n+\n+    private AbstractWorkloadService(Executor executor, Scenario<?, ?, ?> scenario, List<? extends Flushable> collectors) {\n+        this.executor = executor;\n+        this.scenario = scenario;\n+        this.collectors = collectors;\n+    }\n+\n+    @Override\n+    protected void run() throws Exception {\n+        try {\n+            while (isRunning() && !terminationRequired()) {\n+                log.debug(\"Scenario {} doTransaction called\", scenario);\n+                startedSamples.incrementAndGet();\n+                scenario.doTransaction();\n+                log.debug(\"Sleep between invocations for {}\", delay);\n+                sleepMillis(delay.get());\n+                finishedSamples.incrementAndGet();\n+            }\n+        } catch (Throwable error) {\n+            log.error(\"Error during the invocation\", error);\n+        }\n+    }\n+\n+    @Override\n+    protected void shutDown() throws Exception {\n+        try {\n+            for (Flushable collector : collectors) {\n+                collector.flush();\n+            }\n+        } catch (Throwable error) {\n+            log.error(\"Error during flushing\", error);\n+        }\n+    }\n+\n+    @Override\n+    protected Executor executor() {\n+        return executor;\n+    }\n+\n+    protected abstract boolean terminationRequired();\n+\n+\n+    public Integer getStartedSamples() {\n+        return startedSamples.get();\n+    }\n+\n+    public Integer getFinishedSamples() {\n+        return finishedSamples.get();\n+    }\n+\n+    public void changeDelay(int delay) {\n+        this.delay.set(delay);\n+    }\n+\n+    public static class WorkloadServiceBuilder {\n+        private final Scenario<Object, Object, Object> scenario;\n+        private Executor executor = NewThreadExecutor.INSTANCE;\n+        private ImmutableList.Builder<ScenarioCollector<?, ?, ?>> collectors = ImmutableList.builder();\n+        private ImmutableList.Builder<Validator> validators = ImmutableList.builder();\n+        private ImmutableList.Builder<InvocationListener> listeners = ImmutableList.builder();\n+\n+        private WorkloadServiceBuilder(Scenario<Object, Object, Object> scenario) {\n+            this.scenario = scenario;\n+        }\n+\n+        public WorkloadServiceBuilder addCollectors(List<ScenarioCollector<?, ?, ?>> collectors) {\n+            this.collectors.addAll(collectors);\n+            return this;\n+        }\n+\n+        public WorkloadServiceBuilder addCollector(ScenarioCollector<?, ?, ?> collector) {\n+            collectors.add(collector);\n+            return this;\n+        }\n+\n+        public WorkloadServiceBuilder addValidators(List<Validator> validators) {\n+            this.validators.addAll(validators);\n+            return this;\n+        }\n+\n+        public WorkloadServiceBuilder addListeners(List<InvocationListener<?, ?, ?>> listeners) {\n+            this.listeners.addAll(listeners);\n+            return this;\n+        }\n+\n+        public WorkloadServiceBuilder useExecutor(Executor executor) {\n+            this.executor = executor;\n+            return this;\n+        }\n+\n+        public WorkloadService buildInfiniteService() {\n+            ImmutableList<ScenarioCollector<?, ?, ?>> collectorsList = collectors.build();\n+            ImmutableList<Validator> validatorList = validators.build();\n+            ImmutableList<InvocationListener> listenersList = listeners.build();\n+\n+            scenario.setInvocationListener(Invokers.validateListener(validatorList, (Iterable) collectorsList, (List)listenersList));\n+            return new InfiniteWorkloadService(Invokers.mergeFlushElements(validatorList, collectorsList));\n+        }\n+\n+        public WorkloadService buildServiceWithPredefinedSamples(final int samples) {\n+            ImmutableList<ScenarioCollector<?, ?, ?>> collectorsList = collectors.build();\n+            ImmutableList<Validator> validatorList = validators.build();\n+            ImmutableList<InvocationListener> listenersList = listeners.build();\n+\n+            scenario.setInvocationListener(Invokers.validateListener(validatorList, (Iterable) collectorsList, (List)listenersList));\n+            return new PredefinedSamplesWorkloadService(Invokers.mergeFlushElements(validatorList, collectorsList), samples);\n+        }\n+\n+        public WorkloadService buildServiceWithSharedSamplesCount(final AtomicInteger samples) {\n+            ImmutableList<ScenarioCollector<?, ?, ?>> collectorsList = collectors.build();\n+            ImmutableList<Validator> validatorList = validators.build();","path":"chassis/core/src/main/java/com/griddynamics/jagger/engine/e1/process/AbstractWorkloadService.java","position":170,"original_position":170,"commit_id":"cdf555cb553a63204d4becc6b3c1bf5a1b5e2c6c","original_commit_id":"cdf555cb553a63204d4becc6b3c1bf5a1b5e2c6c","user":{"login":"nmusienko","id":2776742,"avatar_url":"https://avatars.githubusercontent.com/u/2776742?v=3","gravatar_id":"","url":"https://api.github.com/users/nmusienko","html_url":"https://github.com/nmusienko","followers_url":"https://api.github.com/users/nmusienko/followers","following_url":"https://api.github.com/users/nmusienko/following{/other_user}","gists_url":"https://api.github.com/users/nmusienko/gists{/gist_id}","starred_url":"https://api.github.com/users/nmusienko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmusienko/subscriptions","organizations_url":"https://api.github.com/users/nmusienko/orgs","repos_url":"https://api.github.com/users/nmusienko/repos","events_url":"https://api.github.com/users/nmusienko/events{/privacy}","received_events_url":"https://api.github.com/users/nmusienko/received_events","type":"User","site_admin":false},"body":"sooo?)","created_at":"2015-05-28T09:21:50Z","updated_at":"2015-05-28T09:21:50Z","html_url":"https://github.com/griddynamics/jagger/pull/581#discussion_r31216128","pull_request_url":"https://api.github.com/repos/griddynamics/jagger/pulls/581","_links":{"self":{"href":"https://api.github.com/repos/griddynamics/jagger/pulls/comments/31216128"},"html":{"href":"https://github.com/griddynamics/jagger/pull/581#discussion_r31216128"},"pull_request":{"href":"https://api.github.com/repos/griddynamics/jagger/pulls/581"}}},"pull_request":{"url":"https://api.github.com/repos/griddynamics/jagger/pulls/581","id":27264783,"html_url":"https://github.com/griddynamics/jagger/pull/581","diff_url":"https://github.com/griddynamics/jagger/pull/581.diff","patch_url":"https://github.com/griddynamics/jagger/pull/581.patch","issue_url":"https://api.github.com/repos/griddynamics/jagger/issues/581","number":581,"state":"closed","locked":false,"title":"New implementation of RPS load with periodic workload process.","user":{"login":"amikryukov","id":2980577,"avatar_url":"https://avatars.githubusercontent.com/u/2980577?v=3","gravatar_id":"","url":"https://api.github.com/users/amikryukov","html_url":"https://github.com/amikryukov","followers_url":"https://api.github.com/users/amikryukov/followers","following_url":"https://api.github.com/users/amikryukov/following{/other_user}","gists_url":"https://api.github.com/users/amikryukov/gists{/gist_id}","starred_url":"https://api.github.com/users/amikryukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amikryukov/subscriptions","organizations_url":"https://api.github.com/users/amikryukov/orgs","repos_url":"https://api.github.com/users/amikryukov/repos","events_url":"https://api.github.com/users/amikryukov/events{/privacy}","received_events_url":"https://api.github.com/users/amikryukov/received_events","type":"User","site_admin":false},"body":"Invocations starts with calculated period.\r\nIf thread pull is full (not enough threads to provide specified rps) - WARN message occurs. ","created_at":"2015-01-13T11:34:50Z","updated_at":"2015-05-28T09:21:50Z","closed_at":"2015-05-28T07:50:23Z","merged_at":"2015-05-28T07:50:23Z","merge_commit_sha":"da1ff4ec14094d274f5a9d18a80889a08151f9ed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/griddynamics/jagger/pulls/581/commits","review_comments_url":"https://api.github.com/repos/griddynamics/jagger/pulls/581/comments","review_comment_url":"https://api.github.com/repos/griddynamics/jagger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/griddynamics/jagger/issues/581/comments","statuses_url":"https://api.github.com/repos/griddynamics/jagger/statuses/cdf555cb553a63204d4becc6b3c1bf5a1b5e2c6c","head":{"label":"amikryukov:playaround","ref":"playaround","sha":"cdf555cb553a63204d4becc6b3c1bf5a1b5e2c6c","user":{"login":"amikryukov","id":2980577,"avatar_url":"https://avatars.githubusercontent.com/u/2980577?v=3","gravatar_id":"","url":"https://api.github.com/users/amikryukov","html_url":"https://github.com/amikryukov","followers_url":"https://api.github.com/users/amikryukov/followers","following_url":"https://api.github.com/users/amikryukov/following{/other_user}","gists_url":"https://api.github.com/users/amikryukov/gists{/gist_id}","starred_url":"https://api.github.com/users/amikryukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amikryukov/subscriptions","organizations_url":"https://api.github.com/users/amikryukov/orgs","repos_url":"https://api.github.com/users/amikryukov/repos","events_url":"https://api.github.com/users/amikryukov/events{/privacy}","received_events_url":"https://api.github.com/users/amikryukov/received_events","type":"User","site_admin":false},"repo":{"id":7036444,"name":"jagger","full_name":"amikryukov/jagger","owner":{"login":"amikryukov","id":2980577,"avatar_url":"https://avatars.githubusercontent.com/u/2980577?v=3","gravatar_id":"","url":"https://api.github.com/users/amikryukov","html_url":"https://github.com/amikryukov","followers_url":"https://api.github.com/users/amikryukov/followers","following_url":"https://api.github.com/users/amikryukov/following{/other_user}","gists_url":"https://api.github.com/users/amikryukov/gists{/gist_id}","starred_url":"https://api.github.com/users/amikryukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amikryukov/subscriptions","organizations_url":"https://api.github.com/users/amikryukov/orgs","repos_url":"https://api.github.com/users/amikryukov/repos","events_url":"https://api.github.com/users/amikryukov/events{/privacy}","received_events_url":"https://api.github.com/users/amikryukov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amikryukov/jagger","description":"Jagger","fork":true,"url":"https://api.github.com/repos/amikryukov/jagger","forks_url":"https://api.github.com/repos/amikryukov/jagger/forks","keys_url":"https://api.github.com/repos/amikryukov/jagger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amikryukov/jagger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amikryukov/jagger/teams","hooks_url":"https://api.github.com/repos/amikryukov/jagger/hooks","issue_events_url":"https://api.github.com/repos/amikryukov/jagger/issues/events{/number}","events_url":"https://api.github.com/repos/amikryukov/jagger/events","assignees_url":"https://api.github.com/repos/amikryukov/jagger/assignees{/user}","branches_url":"https://api.github.com/repos/amikryukov/jagger/branches{/branch}","tags_url":"https://api.github.com/repos/amikryukov/jagger/tags","blobs_url":"https://api.github.com/repos/amikryukov/jagger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amikryukov/jagger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amikryukov/jagger/git/refs{/sha}","trees_url":"https://api.github.com/repos/amikryukov/jagger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amikryukov/jagger/statuses/{sha}","languages_url":"https://api.github.com/repos/amikryukov/jagger/languages","stargazers_url":"https://api.github.com/repos/amikryukov/jagger/stargazers","contributors_url":"https://api.github.com/repos/amikryukov/jagger/contributors","subscribers_url":"https://api.github.com/repos/amikryukov/jagger/subscribers","subscription_url":"https://api.github.com/repos/amikryukov/jagger/subscription","commits_url":"https://api.github.com/repos/amikryukov/jagger/commits{/sha}","git_commits_url":"https://api.github.com/repos/amikryukov/jagger/git/commits{/sha}","comments_url":"https://api.github.com/repos/amikryukov/jagger/comments{/number}","issue_comment_url":"https://api.github.com/repos/amikryukov/jagger/issues/comments{/number}","contents_url":"https://api.github.com/repos/amikryukov/jagger/contents/{+path}","compare_url":"https://api.github.com/repos/amikryukov/jagger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amikryukov/jagger/merges","archive_url":"https://api.github.com/repos/amikryukov/jagger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amikryukov/jagger/downloads","issues_url":"https://api.github.com/repos/amikryukov/jagger/issues{/number}","pulls_url":"https://api.github.com/repos/amikryukov/jagger/pulls{/number}","milestones_url":"https://api.github.com/repos/amikryukov/jagger/milestones{/number}","notifications_url":"https://api.github.com/repos/amikryukov/jagger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amikryukov/jagger/labels{/name}","releases_url":"https://api.github.com/repos/amikryukov/jagger/releases{/id}","created_at":"2012-12-06T13:53:45Z","updated_at":"2014-06-11T13:53:48Z","pushed_at":"2015-05-25T07:58:33Z","git_url":"git://github.com/amikryukov/jagger.git","ssh_url":"git@github.com:amikryukov/jagger.git","clone_url":"https://github.com/amikryukov/jagger.git","svn_url":"https://github.com/amikryukov/jagger","homepage":"https://jagger.griddynamics.net","size":27572,"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":"griddynamics:master","ref":"master","sha":"c2188cb3258305a3ce2c03a9cedc8b44de7f457b","user":{"login":"griddynamics","id":54911,"avatar_url":"https://avatars.githubusercontent.com/u/54911?v=3","gravatar_id":"","url":"https://api.github.com/users/griddynamics","html_url":"https://github.com/griddynamics","followers_url":"https://api.github.com/users/griddynamics/followers","following_url":"https://api.github.com/users/griddynamics/following{/other_user}","gists_url":"https://api.github.com/users/griddynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/griddynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griddynamics/subscriptions","organizations_url":"https://api.github.com/users/griddynamics/orgs","repos_url":"https://api.github.com/users/griddynamics/repos","events_url":"https://api.github.com/users/griddynamics/events{/privacy}","received_events_url":"https://api.github.com/users/griddynamics/received_events","type":"Organization","site_admin":false},"repo":{"id":3430789,"name":"jagger","full_name":"griddynamics/jagger","owner":{"login":"griddynamics","id":54911,"avatar_url":"https://avatars.githubusercontent.com/u/54911?v=3","gravatar_id":"","url":"https://api.github.com/users/griddynamics","html_url":"https://github.com/griddynamics","followers_url":"https://api.github.com/users/griddynamics/followers","following_url":"https://api.github.com/users/griddynamics/following{/other_user}","gists_url":"https://api.github.com/users/griddynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/griddynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griddynamics/subscriptions","organizations_url":"https://api.github.com/users/griddynamics/orgs","repos_url":"https://api.github.com/users/griddynamics/repos","events_url":"https://api.github.com/users/griddynamics/events{/privacy}","received_events_url":"https://api.github.com/users/griddynamics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/griddynamics/jagger","description":"Jagger","fork":false,"url":"https://api.github.com/repos/griddynamics/jagger","forks_url":"https://api.github.com/repos/griddynamics/jagger/forks","keys_url":"https://api.github.com/repos/griddynamics/jagger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/griddynamics/jagger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/griddynamics/jagger/teams","hooks_url":"https://api.github.com/repos/griddynamics/jagger/hooks","issue_events_url":"https://api.github.com/repos/griddynamics/jagger/issues/events{/number}","events_url":"https://api.github.com/repos/griddynamics/jagger/events","assignees_url":"https://api.github.com/repos/griddynamics/jagger/assignees{/user}","branches_url":"https://api.github.com/repos/griddynamics/jagger/branches{/branch}","tags_url":"https://api.github.com/repos/griddynamics/jagger/tags","blobs_url":"https://api.github.com/repos/griddynamics/jagger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/griddynamics/jagger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/griddynamics/jagger/git/refs{/sha}","trees_url":"https://api.github.com/repos/griddynamics/jagger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/griddynamics/jagger/statuses/{sha}","languages_url":"https://api.github.com/repos/griddynamics/jagger/languages","stargazers_url":"https://api.github.com/repos/griddynamics/jagger/stargazers","contributors_url":"https://api.github.com/repos/griddynamics/jagger/contributors","subscribers_url":"https://api.github.com/repos/griddynamics/jagger/subscribers","subscription_url":"https://api.github.com/repos/griddynamics/jagger/subscription","commits_url":"https://api.github.com/repos/griddynamics/jagger/commits{/sha}","git_commits_url":"https://api.github.com/repos/griddynamics/jagger/git/commits{/sha}","comments_url":"https://api.github.com/repos/griddynamics/jagger/comments{/number}","issue_comment_url":"https://api.github.com/repos/griddynamics/jagger/issues/comments{/number}","contents_url":"https://api.github.com/repos/griddynamics/jagger/contents/{+path}","compare_url":"https://api.github.com/repos/griddynamics/jagger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/griddynamics/jagger/merges","archive_url":"https://api.github.com/repos/griddynamics/jagger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/griddynamics/jagger/downloads","issues_url":"https://api.github.com/repos/griddynamics/jagger/issues{/number}","pulls_url":"https://api.github.com/repos/griddynamics/jagger/pulls{/number}","milestones_url":"https://api.github.com/repos/griddynamics/jagger/milestones{/number}","notifications_url":"https://api.github.com/repos/griddynamics/jagger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/griddynamics/jagger/labels{/name}","releases_url":"https://api.github.com/repos/griddynamics/jagger/releases{/id}","created_at":"2012-02-13T14:47:01Z","updated_at":"2015-04-01T03:26:29Z","pushed_at":"2015-05-28T07:50:23Z","git_url":"git://github.com/griddynamics/jagger.git","ssh_url":"git@github.com:griddynamics/jagger.git","clone_url":"https://github.com/griddynamics/jagger.git","svn_url":"https://github.com/griddynamics/jagger","homepage":"https://jagger.griddynamics.net","size":36852,"stargazers_count":33,"watchers_count":33,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"open_issues_count":21,"forks":25,"open_issues":21,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/griddynamics/jagger/pulls/581"},"html":{"href":"https://github.com/griddynamics/jagger/pull/581"},"issue":{"href":"https://api.github.com/repos/griddynamics/jagger/issues/581"},"comments":{"href":"https://api.github.com/repos/griddynamics/jagger/issues/581/comments"},"review_comments":{"href":"https://api.github.com/repos/griddynamics/jagger/pulls/581/comments"},"review_comment":{"href":"https://api.github.com/repos/griddynamics/jagger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/griddynamics/jagger/pulls/581/commits"},"statuses":{"href":"https://api.github.com/repos/griddynamics/jagger/statuses/cdf555cb553a63204d4becc6b3c1bf5a1b5e2c6c"}}}}