{"action":"created","comment":{"url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls/comments/206915298","pull_request_review_id":142421251,"id":206915298,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjkxNTI5OA==","diff_hunk":"@@ -0,0 +1,195 @@\n+package uk.gov.moj.cpp.jobmanager.it.util;\n+\n+import uk.gov.justice.services.jdbc.persistence.DataAccessException;\n+import uk.gov.justice.services.jdbc.persistence.JdbcRepositoryException;\n+import uk.gov.justice.services.jdbc.persistence.JdbcRepositoryHelper;\n+import uk.gov.justice.services.jdbc.persistence.PreparedStatementWrapper;\n+import uk.gov.justice.services.test.utils.core.messaging.Poller;\n+import uk.gov.moj.cpp.jobstore.persistence.Job;\n+import uk.gov.moj.cpp.jobstore.persistence.JobJdbcRepository;\n+\n+import javax.json.JsonObject;\n+import java.io.StringReader;\n+import java.sql.*;\n+import java.time.ZonedDateTime;\n+import java.time.temporal.ChronoUnit;\n+import java.util.Optional;\n+import java.util.UUID;\n+import java.util.function.Function;\n+import java.util.stream.Stream;\n+\n+import static java.lang.String.format;\n+import static java.time.ZonedDateTime.now;\n+import static java.util.Optional.empty;\n+import static java.util.Optional.of;\n+import static java.util.UUID.fromString;\n+import static java.util.UUID.randomUUID;\n+import static javax.json.Json.createReader;\n+import static uk.gov.justice.services.common.converter.ZonedDateTimes.fromSqlTimestamp;\n+import static uk.gov.justice.services.common.converter.ZonedDateTimes.toSqlTimestamp;\n+\n+public class OpenEjbJobJdbcRepository extends JobJdbcRepository {\n+\n+    private static final String SQL_DELETE_PATTERN = \"DELETE FROM %s\";\n+\n+    private static final String JOBS_PROCESSED_COUNT = \"SELECT COUNT(*) FROM job where worker_id is not null and worker_lock_time > ?\";\n+    private static final String JOBS_NOTPROCESSED_COUNT = \"SELECT COUNT(*) FROM job where worker_id is null and worker_lock_time is null\";\n+\n+    private static final String JOBS_PROCESSED = \"SELECT * FROM job where worker_id is not null and worker_lock_time > ?\";\n+\n+    private static final String JOBS_PROCESSED_FOR_WORKER = \"SELECT * FROM job where worker_id = ?\";\n+\n+    private static final String JOB_DATA_JSON = \"{\\\"some\\\": \\\"json\\\"}\";\n+\n+    private JdbcRepositoryHelper jdbcRepositoryHelper = new JdbcRepositoryHelper();\n+\n+\n+    public int getJobRecordCount() {\n+        int jobsCount = 0;\n+        try {\n+            final PreparedStatementWrapper ps = jdbcRepositoryHelper.preparedStatementWrapperOf(dataSource, \"SELECT COUNT(*) FROM job\");\n+            final ResultSet rs = ps.executeQuery();\n+            if (rs.next()) {\n+                jobsCount = rs.getInt(1);\n+            }\n+        } catch (SQLException e) {\n+            throw new JdbcRepositoryException(\"Exception while retrieving jobs count\", e);\n+        }\n+        return jobsCount;\n+    }\n+\n+\n+\n+    public void waitForAllJobsToBeProcessed() {\n+\n+        final Poller poller = new Poller(100, 500);\n+\n+        poller.pollUntilFound(() -> {\n+            if (getJobRecordCount() == 0) {\n+                return Optional.of(true);\n+            }\n+            return Optional.empty();\n+        });\n+    }\n+\n+    public void cleanJobTables() {\n+        cleanTable(\"job\");\n+    }\n+\n+    private void cleanTable(final String tableName) {\n+        final String sql = format(SQL_DELETE_PATTERN, tableName);\n+        Connection connection = null;\n+        try {\n+            connection = dataSource.getConnection();\n+            try (final PreparedStatement preparedStatement = connection.prepareStatement(sql)) {\n+                preparedStatement.executeUpdate();\n+            } catch (SQLException e) {\n+                throw new DataAccessException(\"Failed to delete content from table \" + tableName, e);\n+            }\n+        } catch (final Exception e) {\n+            e.printStackTrace();\n+        }\n+    }\n+\n+    public int jobsProcessed() {\n+        int jobsCount = 0;\n+        try {\n+            final PreparedStatementWrapper ps = jdbcRepositoryHelper.preparedStatementWrapperOf(dataSource, JOBS_PROCESSED_COUNT);\n+            ps.setTimestamp(1, toSqlTimestamp(now().minus(30, ChronoUnit.SECONDS)));\n+            final ResultSet rs = ps.executeQuery();\n+            if (rs.next()) {\n+                jobsCount = rs.getInt(1);\n+            }\n+        } catch (SQLException e) {\n+            throw new JdbcRepositoryException(format(\"Exception while retrieving jobs count\"), e);\n+        }\n+        return jobsCount;\n+    }\n+\n+    public Stream<Job> getProcessedRecords() {\n+        try {\n+            final PreparedStatementWrapper ps = jdbcRepositoryHelper.preparedStatementWrapperOf(dataSource, JOBS_PROCESSED);\n+            ps.setTimestamp(1, toSqlTimestamp(now().minus(30, ChronoUnit.SECONDS)));\n+            final ResultSet rs = ps.executeQuery();\n+            return jdbcRepositoryHelper.streamOf(ps, entityFromFunction());\n+        } catch (SQLException e) {\n+            throw new JdbcRepositoryException(format(\"Exception while retrieving jobs count\"), e);\n+        }\n+    }\n+\n+    public Stream<Job> getProcessedRecords(final UUID workerId) {\n+        try {\n+            final PreparedStatementWrapper ps = jdbcRepositoryHelper.preparedStatementWrapperOf(dataSource, JOBS_PROCESSED_FOR_WORKER);\n+            ps.setObject(1, workerId);\n+            final ResultSet rs = ps.executeQuery();\n+            return jdbcRepositoryHelper.streamOf(ps, entityFromFunction());\n+        } catch (SQLException e) {\n+            throw new JdbcRepositoryException(format(\"Exception while retrieving jobs count\"), e);","path":"job-manager-it/src/main/java/uk/gov/moj/cpp/jobmanager/it/util/OpenEjbJobJdbcRepository.java","position":127,"original_position":127,"commit_id":"a125a6b646f416011248e1f59ea48985174c09a7","original_commit_id":"a125a6b646f416011248e1f59ea48985174c09a7","user":{"login":"cjs-common-platform-ci","id":17479508,"node_id":"MDQ6VXNlcjE3NDc5NTA4","avatar_url":"https://avatars2.githubusercontent.com/u/17479508?v=4","gravatar_id":"","url":"https://api.github.com/users/cjs-common-platform-ci","html_url":"https://github.com/cjs-common-platform-ci","followers_url":"https://api.github.com/users/cjs-common-platform-ci/followers","following_url":"https://api.github.com/users/cjs-common-platform-ci/following{/other_user}","gists_url":"https://api.github.com/users/cjs-common-platform-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/cjs-common-platform-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjs-common-platform-ci/subscriptions","organizations_url":"https://api.github.com/users/cjs-common-platform-ci/orgs","repos_url":"https://api.github.com/users/cjs-common-platform-ci/repos","events_url":"https://api.github.com/users/cjs-common-platform-ci/events{/privacy}","received_events_url":"https://api.github.com/users/cjs-common-platform-ci/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://sonarsource.github.io/sonar-github/severity-major.png 'Severity: MAJOR') String contains no format specifiers. [![rule](https://sonarsource.github.io/sonar-github/rule.png)](https://sonarcloud.io/coding_rules#rule_key=squid%3AS3457)\n","created_at":"2018-08-01T15:01:27Z","updated_at":"2018-08-01T15:01:27Z","html_url":"https://github.com/CJSCommonPlatform/job-manager/pull/3#discussion_r206915298","pull_request_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls/3","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls/comments/206915298"},"html":{"href":"https://github.com/CJSCommonPlatform/job-manager/pull/3#discussion_r206915298"},"pull_request":{"href":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls/3","id":204470552,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NDcwNTUy","html_url":"https://github.com/CJSCommonPlatform/job-manager/pull/3","diff_url":"https://github.com/CJSCommonPlatform/job-manager/pull/3.diff","patch_url":"https://github.com/CJSCommonPlatform/job-manager/pull/3.patch","issue_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/issues/3","number":3,"state":"open","locked":false,"title":"refactor job manager","user":{"login":"benouaer","id":20416858,"node_id":"MDQ6VXNlcjIwNDE2ODU4","avatar_url":"https://avatars0.githubusercontent.com/u/20416858?v=4","gravatar_id":"","url":"https://api.github.com/users/benouaer","html_url":"https://github.com/benouaer","followers_url":"https://api.github.com/users/benouaer/followers","following_url":"https://api.github.com/users/benouaer/following{/other_user}","gists_url":"https://api.github.com/users/benouaer/gists{/gist_id}","starred_url":"https://api.github.com/users/benouaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benouaer/subscriptions","organizations_url":"https://api.github.com/users/benouaer/orgs","repos_url":"https://api.github.com/users/benouaer/repos","events_url":"https://api.github.com/users/benouaer/events{/privacy}","received_events_url":"https://api.github.com/users/benouaer/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-27T15:47:51Z","updated_at":"2018-08-01T15:01:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"821c61d94e1e51b472036b9b26b640e47e309c19","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls/3/commits","review_comments_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls/3/comments","review_comment_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/issues/3/comments","statuses_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/statuses/a125a6b646f416011248e1f59ea48985174c09a7","head":{"label":"CJSCommonPlatform:Refactor-job-manager","ref":"Refactor-job-manager","sha":"a125a6b646f416011248e1f59ea48985174c09a7","user":{"login":"CJSCommonPlatform","id":16131145,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTMxMTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/16131145?v=4","gravatar_id":"","url":"https://api.github.com/users/CJSCommonPlatform","html_url":"https://github.com/CJSCommonPlatform","followers_url":"https://api.github.com/users/CJSCommonPlatform/followers","following_url":"https://api.github.com/users/CJSCommonPlatform/following{/other_user}","gists_url":"https://api.github.com/users/CJSCommonPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/CJSCommonPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJSCommonPlatform/subscriptions","organizations_url":"https://api.github.com/users/CJSCommonPlatform/orgs","repos_url":"https://api.github.com/users/CJSCommonPlatform/repos","events_url":"https://api.github.com/users/CJSCommonPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/CJSCommonPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":138301125,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgzMDExMjU=","name":"job-manager","full_name":"CJSCommonPlatform/job-manager","owner":{"login":"CJSCommonPlatform","id":16131145,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTMxMTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/16131145?v=4","gravatar_id":"","url":"https://api.github.com/users/CJSCommonPlatform","html_url":"https://github.com/CJSCommonPlatform","followers_url":"https://api.github.com/users/CJSCommonPlatform/followers","following_url":"https://api.github.com/users/CJSCommonPlatform/following{/other_user}","gists_url":"https://api.github.com/users/CJSCommonPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/CJSCommonPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJSCommonPlatform/subscriptions","organizations_url":"https://api.github.com/users/CJSCommonPlatform/orgs","repos_url":"https://api.github.com/users/CJSCommonPlatform/repos","events_url":"https://api.github.com/users/CJSCommonPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/CJSCommonPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CJSCommonPlatform/job-manager","description":"A stateful multithreaded job and task executor ","fork":false,"url":"https://api.github.com/repos/CJSCommonPlatform/job-manager","forks_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/forks","keys_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/teams","hooks_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/hooks","issue_events_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/issues/events{/number}","events_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/events","assignees_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/assignees{/user}","branches_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/branches{/branch}","tags_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/tags","blobs_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/languages","stargazers_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/stargazers","contributors_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/contributors","subscribers_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/subscribers","subscription_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/subscription","commits_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/contents/{+path}","compare_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/merges","archive_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/downloads","issues_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/issues{/number}","pulls_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/labels{/name}","releases_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/releases{/id}","deployments_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/deployments","created_at":"2018-06-22T12:37:33Z","updated_at":"2018-07-19T11:39:45Z","pushed_at":"2018-08-01T14:57:31Z","git_url":"git://github.com/CJSCommonPlatform/job-manager.git","ssh_url":"git@github.com:CJSCommonPlatform/job-manager.git","clone_url":"https://github.com/CJSCommonPlatform/job-manager.git","svn_url":"https://github.com/CJSCommonPlatform/job-manager","homepage":null,"size":82,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"CJSCommonPlatform:master","ref":"master","sha":"4d576ba0e8bc131de20e30ae681eb702422e9caf","user":{"login":"CJSCommonPlatform","id":16131145,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTMxMTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/16131145?v=4","gravatar_id":"","url":"https://api.github.com/users/CJSCommonPlatform","html_url":"https://github.com/CJSCommonPlatform","followers_url":"https://api.github.com/users/CJSCommonPlatform/followers","following_url":"https://api.github.com/users/CJSCommonPlatform/following{/other_user}","gists_url":"https://api.github.com/users/CJSCommonPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/CJSCommonPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJSCommonPlatform/subscriptions","organizations_url":"https://api.github.com/users/CJSCommonPlatform/orgs","repos_url":"https://api.github.com/users/CJSCommonPlatform/repos","events_url":"https://api.github.com/users/CJSCommonPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/CJSCommonPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":138301125,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgzMDExMjU=","name":"job-manager","full_name":"CJSCommonPlatform/job-manager","owner":{"login":"CJSCommonPlatform","id":16131145,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MTMxMTQ1","avatar_url":"https://avatars3.githubusercontent.com/u/16131145?v=4","gravatar_id":"","url":"https://api.github.com/users/CJSCommonPlatform","html_url":"https://github.com/CJSCommonPlatform","followers_url":"https://api.github.com/users/CJSCommonPlatform/followers","following_url":"https://api.github.com/users/CJSCommonPlatform/following{/other_user}","gists_url":"https://api.github.com/users/CJSCommonPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/CJSCommonPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CJSCommonPlatform/subscriptions","organizations_url":"https://api.github.com/users/CJSCommonPlatform/orgs","repos_url":"https://api.github.com/users/CJSCommonPlatform/repos","events_url":"https://api.github.com/users/CJSCommonPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/CJSCommonPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CJSCommonPlatform/job-manager","description":"A stateful multithreaded job and task executor ","fork":false,"url":"https://api.github.com/repos/CJSCommonPlatform/job-manager","forks_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/forks","keys_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/teams","hooks_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/hooks","issue_events_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/issues/events{/number}","events_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/events","assignees_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/assignees{/user}","branches_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/branches{/branch}","tags_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/tags","blobs_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/languages","stargazers_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/stargazers","contributors_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/contributors","subscribers_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/subscribers","subscription_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/subscription","commits_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/contents/{+path}","compare_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/merges","archive_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/downloads","issues_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/issues{/number}","pulls_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/labels{/name}","releases_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/releases{/id}","deployments_url":"https://api.github.com/repos/CJSCommonPlatform/job-manager/deployments","created_at":"2018-06-22T12:37:33Z","updated_at":"2018-07-19T11:39:45Z","pushed_at":"2018-08-01T14:57:31Z","git_url":"git://github.com/CJSCommonPlatform/job-manager.git","ssh_url":"git@github.com:CJSCommonPlatform/job-manager.git","clone_url":"https://github.com/CJSCommonPlatform/job-manager.git","svn_url":"https://github.com/CJSCommonPlatform/job-manager","homepage":null,"size":82,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls/3"},"html":{"href":"https://github.com/CJSCommonPlatform/job-manager/pull/3"},"issue":{"href":"https://api.github.com/repos/CJSCommonPlatform/job-manager/issues/3"},"comments":{"href":"https://api.github.com/repos/CJSCommonPlatform/job-manager/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CJSCommonPlatform/job-manager/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/CJSCommonPlatform/job-manager/statuses/a125a6b646f416011248e1f59ea48985174c09a7"}},"author_association":"NONE"}}
{"actor":{"display_login":"cjs-common-platform-ci"}}