{"action":"created","comment":{"url":"https://api.github.com/repos/ow2-proactive/scheduling/pulls/comments/225923188","pull_request_review_id":165623701,"id":225923188,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTkyMzE4OA==","diff_hunk":"@@ -350,4 +374,25 @@\n         }\n         return variables;\n     }\n+\n+    /**\n+     * Extract job map results from the previous task result to be used now.\n+     *\n+     * @param taskContext contains the information needed to extract.\n+     *\n+     * @return a map containing extracted job results variables or an empty hash if there are no variables.\n+     */\n+    private Map<String, Serializable> extractJobMapVariables(TaskContext taskContext)\n+            throws IOException, ClassNotFoundException {\n+        Map<String, Serializable> JobMap = new HashMap<>();","path":"scheduler/scheduler-node/src/main/java/org/ow2/proactive/scheduler/task/context/TaskContextVariableExtractor.java","position":45,"original_position":45,"commit_id":"7c069cbd9e59b278cdf9d84afd925ee462b6e946","original_commit_id":"7c069cbd9e59b278cdf9d84afd925ee462b6e946","user":{"login":"sonarqube-activeeon","id":14940028,"node_id":"MDQ6VXNlcjE0OTQwMDI4","avatar_url":"https://avatars1.githubusercontent.com/u/14940028?v=4","gravatar_id":"","url":"https://api.github.com/users/sonarqube-activeeon","html_url":"https://github.com/sonarqube-activeeon","followers_url":"https://api.github.com/users/sonarqube-activeeon/followers","following_url":"https://api.github.com/users/sonarqube-activeeon/following{/other_user}","gists_url":"https://api.github.com/users/sonarqube-activeeon/gists{/gist_id}","starred_url":"https://api.github.com/users/sonarqube-activeeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonarqube-activeeon/subscriptions","organizations_url":"https://api.github.com/users/sonarqube-activeeon/orgs","repos_url":"https://api.github.com/users/sonarqube-activeeon/repos","events_url":"https://api.github.com/users/sonarqube-activeeon/events{/privacy}","received_events_url":"https://api.github.com/users/sonarqube-activeeon/received_events","type":"User","site_admin":false},"body":"![MINOR](https://sonarsource.github.io/sonar-github/severity-minor.png 'Severity: MINOR') Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'. [![rule](https://sonarsource.github.io/sonar-github/rule.png)](https://sonarcloud.io/coding_rules#rule_key=squid%3AS00117)\n","created_at":"2018-10-17T13:17:50Z","updated_at":"2018-10-17T13:17:50Z","html_url":"https://github.com/ow2-proactive/scheduling/pull/3385#discussion_r225923188","pull_request_url":"https://api.github.com/repos/ow2-proactive/scheduling/pulls/3385","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ow2-proactive/scheduling/pulls/comments/225923188"},"html":{"href":"https://github.com/ow2-proactive/scheduling/pull/3385#discussion_r225923188"},"pull_request":{"href":"https://api.github.com/repos/ow2-proactive/scheduling/pulls/3385"}}},"pull_request":{"url":"https://api.github.com/repos/ow2-proactive/scheduling/pulls/3385","id":223543687,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNTQzNjg3","html_url":"https://github.com/ow2-proactive/scheduling/pull/3385","diff_url":"https://github.com/ow2-proactive/scheduling/pull/3385.diff","patch_url":"https://github.com/ow2-proactive/scheduling/pull/3385.patch","issue_url":"https://api.github.com/repos/ow2-proactive/scheduling/issues/3385","number":3385,"state":"open","locked":false,"title":"Add jobResult binding","user":{"login":"Aminelouati","id":29118247,"node_id":"MDQ6VXNlcjI5MTE4MjQ3","avatar_url":"https://avatars1.githubusercontent.com/u/29118247?v=4","gravatar_id":"","url":"https://api.github.com/users/Aminelouati","html_url":"https://github.com/Aminelouati","followers_url":"https://api.github.com/users/Aminelouati/followers","following_url":"https://api.github.com/users/Aminelouati/following{/other_user}","gists_url":"https://api.github.com/users/Aminelouati/gists{/gist_id}","starred_url":"https://api.github.com/users/Aminelouati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aminelouati/subscriptions","organizations_url":"https://api.github.com/users/Aminelouati/orgs","repos_url":"https://api.github.com/users/Aminelouati/repos","events_url":"https://api.github.com/users/Aminelouati/events{/privacy}","received_events_url":"https://api.github.com/users/Aminelouati/received_events","type":"User","site_admin":false},"body":"In this PR, we add a new binding called jobResult used to store some specific results. This binding will be accessible from the job level via rest api. A new endpoint will be implemented for this purpose. ","created_at":"2018-10-17T10:10:42Z","updated_at":"2018-10-17T13:17:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7926d138bc262e6a37816a5a1d25127bb9fdee07","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ow2-proactive/scheduling/pulls/3385/commits","review_comments_url":"https://api.github.com/repos/ow2-proactive/scheduling/pulls/3385/comments","review_comment_url":"https://api.github.com/repos/ow2-proactive/scheduling/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ow2-proactive/scheduling/issues/3385/comments","statuses_url":"https://api.github.com/repos/ow2-proactive/scheduling/statuses/7c069cbd9e59b278cdf9d84afd925ee462b6e946","head":{"label":"Aminelouati:add-job-results","ref":"add-job-results","sha":"7c069cbd9e59b278cdf9d84afd925ee462b6e946","user":{"login":"Aminelouati","id":29118247,"node_id":"MDQ6VXNlcjI5MTE4MjQ3","avatar_url":"https://avatars1.githubusercontent.com/u/29118247?v=4","gravatar_id":"","url":"https://api.github.com/users/Aminelouati","html_url":"https://github.com/Aminelouati","followers_url":"https://api.github.com/users/Aminelouati/followers","following_url":"https://api.github.com/users/Aminelouati/following{/other_user}","gists_url":"https://api.github.com/users/Aminelouati/gists{/gist_id}","starred_url":"https://api.github.com/users/Aminelouati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aminelouati/subscriptions","organizations_url":"https://api.github.com/users/Aminelouati/orgs","repos_url":"https://api.github.com/users/Aminelouati/repos","events_url":"https://api.github.com/users/Aminelouati/events{/privacy}","received_events_url":"https://api.github.com/users/Aminelouati/received_events","type":"User","site_admin":false},"repo":{"id":124109253,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQxMDkyNTM=","name":"scheduling","full_name":"Aminelouati/scheduling","private":false,"owner":{"login":"Aminelouati","id":29118247,"node_id":"MDQ6VXNlcjI5MTE4MjQ3","avatar_url":"https://avatars1.githubusercontent.com/u/29118247?v=4","gravatar_id":"","url":"https://api.github.com/users/Aminelouati","html_url":"https://github.com/Aminelouati","followers_url":"https://api.github.com/users/Aminelouati/followers","following_url":"https://api.github.com/users/Aminelouati/following{/other_user}","gists_url":"https://api.github.com/users/Aminelouati/gists{/gist_id}","starred_url":"https://api.github.com/users/Aminelouati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aminelouati/subscriptions","organizations_url":"https://api.github.com/users/Aminelouati/orgs","repos_url":"https://api.github.com/users/Aminelouati/repos","events_url":"https://api.github.com/users/Aminelouati/events{/privacy}","received_events_url":"https://api.github.com/users/Aminelouati/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Aminelouati/scheduling","description":"Multi-platform Scheduling and Workflows Engine","fork":true,"url":"https://api.github.com/repos/Aminelouati/scheduling","forks_url":"https://api.github.com/repos/Aminelouati/scheduling/forks","keys_url":"https://api.github.com/repos/Aminelouati/scheduling/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aminelouati/scheduling/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aminelouati/scheduling/teams","hooks_url":"https://api.github.com/repos/Aminelouati/scheduling/hooks","issue_events_url":"https://api.github.com/repos/Aminelouati/scheduling/issues/events{/number}","events_url":"https://api.github.com/repos/Aminelouati/scheduling/events","assignees_url":"https://api.github.com/repos/Aminelouati/scheduling/assignees{/user}","branches_url":"https://api.github.com/repos/Aminelouati/scheduling/branches{/branch}","tags_url":"https://api.github.com/repos/Aminelouati/scheduling/tags","blobs_url":"https://api.github.com/repos/Aminelouati/scheduling/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aminelouati/scheduling/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aminelouati/scheduling/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aminelouati/scheduling/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aminelouati/scheduling/statuses/{sha}","languages_url":"https://api.github.com/repos/Aminelouati/scheduling/languages","stargazers_url":"https://api.github.com/repos/Aminelouati/scheduling/stargazers","contributors_url":"https://api.github.com/repos/Aminelouati/scheduling/contributors","subscribers_url":"https://api.github.com/repos/Aminelouati/scheduling/subscribers","subscription_url":"https://api.github.com/repos/Aminelouati/scheduling/subscription","commits_url":"https://api.github.com/repos/Aminelouati/scheduling/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aminelouati/scheduling/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aminelouati/scheduling/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aminelouati/scheduling/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aminelouati/scheduling/contents/{+path}","compare_url":"https://api.github.com/repos/Aminelouati/scheduling/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aminelouati/scheduling/merges","archive_url":"https://api.github.com/repos/Aminelouati/scheduling/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aminelouati/scheduling/downloads","issues_url":"https://api.github.com/repos/Aminelouati/scheduling/issues{/number}","pulls_url":"https://api.github.com/repos/Aminelouati/scheduling/pulls{/number}","milestones_url":"https://api.github.com/repos/Aminelouati/scheduling/milestones{/number}","notifications_url":"https://api.github.com/repos/Aminelouati/scheduling/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aminelouati/scheduling/labels{/name}","releases_url":"https://api.github.com/repos/Aminelouati/scheduling/releases{/id}","deployments_url":"https://api.github.com/repos/Aminelouati/scheduling/deployments","created_at":"2018-03-06T16:51:28Z","updated_at":"2018-10-04T09:41:53Z","pushed_at":"2018-10-17T12:18:41Z","git_url":"git://github.com/Aminelouati/scheduling.git","ssh_url":"git@github.com:Aminelouati/scheduling.git","clone_url":"https://github.com/Aminelouati/scheduling.git","svn_url":"https://github.com/Aminelouati/scheduling","homepage":"http://www.activeeon.com/workflows-scheduling","size":74619,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ow2-proactive:master","ref":"master","sha":"da68bab614b1a4ceadae43c476cb7dc3952a0631","user":{"login":"ow2-proactive","id":11553998,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTUzOTk4","avatar_url":"https://avatars1.githubusercontent.com/u/11553998?v=4","gravatar_id":"","url":"https://api.github.com/users/ow2-proactive","html_url":"https://github.com/ow2-proactive","followers_url":"https://api.github.com/users/ow2-proactive/followers","following_url":"https://api.github.com/users/ow2-proactive/following{/other_user}","gists_url":"https://api.github.com/users/ow2-proactive/gists{/gist_id}","starred_url":"https://api.github.com/users/ow2-proactive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ow2-proactive/subscriptions","organizations_url":"https://api.github.com/users/ow2-proactive/orgs","repos_url":"https://api.github.com/users/ow2-proactive/repos","events_url":"https://api.github.com/users/ow2-proactive/events{/privacy}","received_events_url":"https://api.github.com/users/ow2-proactive/received_events","type":"Organization","site_admin":false},"repo":{"id":35725079,"node_id":"MDEwOlJlcG9zaXRvcnkzNTcyNTA3OQ==","name":"scheduling","full_name":"ow2-proactive/scheduling","private":false,"owner":{"login":"ow2-proactive","id":11553998,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTUzOTk4","avatar_url":"https://avatars1.githubusercontent.com/u/11553998?v=4","gravatar_id":"","url":"https://api.github.com/users/ow2-proactive","html_url":"https://github.com/ow2-proactive","followers_url":"https://api.github.com/users/ow2-proactive/followers","following_url":"https://api.github.com/users/ow2-proactive/following{/other_user}","gists_url":"https://api.github.com/users/ow2-proactive/gists{/gist_id}","starred_url":"https://api.github.com/users/ow2-proactive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ow2-proactive/subscriptions","organizations_url":"https://api.github.com/users/ow2-proactive/orgs","repos_url":"https://api.github.com/users/ow2-proactive/repos","events_url":"https://api.github.com/users/ow2-proactive/events{/privacy}","received_events_url":"https://api.github.com/users/ow2-proactive/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ow2-proactive/scheduling","description":"Multi-platform Scheduling and Workflows Engine","fork":false,"url":"https://api.github.com/repos/ow2-proactive/scheduling","forks_url":"https://api.github.com/repos/ow2-proactive/scheduling/forks","keys_url":"https://api.github.com/repos/ow2-proactive/scheduling/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ow2-proactive/scheduling/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ow2-proactive/scheduling/teams","hooks_url":"https://api.github.com/repos/ow2-proactive/scheduling/hooks","issue_events_url":"https://api.github.com/repos/ow2-proactive/scheduling/issues/events{/number}","events_url":"https://api.github.com/repos/ow2-proactive/scheduling/events","assignees_url":"https://api.github.com/repos/ow2-proactive/scheduling/assignees{/user}","branches_url":"https://api.github.com/repos/ow2-proactive/scheduling/branches{/branch}","tags_url":"https://api.github.com/repos/ow2-proactive/scheduling/tags","blobs_url":"https://api.github.com/repos/ow2-proactive/scheduling/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ow2-proactive/scheduling/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ow2-proactive/scheduling/git/refs{/sha}","trees_url":"https://api.github.com/repos/ow2-proactive/scheduling/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ow2-proactive/scheduling/statuses/{sha}","languages_url":"https://api.github.com/repos/ow2-proactive/scheduling/languages","stargazers_url":"https://api.github.com/repos/ow2-proactive/scheduling/stargazers","contributors_url":"https://api.github.com/repos/ow2-proactive/scheduling/contributors","subscribers_url":"https://api.github.com/repos/ow2-proactive/scheduling/subscribers","subscription_url":"https://api.github.com/repos/ow2-proactive/scheduling/subscription","commits_url":"https://api.github.com/repos/ow2-proactive/scheduling/commits{/sha}","git_commits_url":"https://api.github.com/repos/ow2-proactive/scheduling/git/commits{/sha}","comments_url":"https://api.github.com/repos/ow2-proactive/scheduling/comments{/number}","issue_comment_url":"https://api.github.com/repos/ow2-proactive/scheduling/issues/comments{/number}","contents_url":"https://api.github.com/repos/ow2-proactive/scheduling/contents/{+path}","compare_url":"https://api.github.com/repos/ow2-proactive/scheduling/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ow2-proactive/scheduling/merges","archive_url":"https://api.github.com/repos/ow2-proactive/scheduling/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ow2-proactive/scheduling/downloads","issues_url":"https://api.github.com/repos/ow2-proactive/scheduling/issues{/number}","pulls_url":"https://api.github.com/repos/ow2-proactive/scheduling/pulls{/number}","milestones_url":"https://api.github.com/repos/ow2-proactive/scheduling/milestones{/number}","notifications_url":"https://api.github.com/repos/ow2-proactive/scheduling/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ow2-proactive/scheduling/labels{/name}","releases_url":"https://api.github.com/repos/ow2-proactive/scheduling/releases{/id}","deployments_url":"https://api.github.com/repos/ow2-proactive/scheduling/deployments","created_at":"2015-05-16T13:38:55Z","updated_at":"2018-10-17T13:00:16Z","pushed_at":"2018-10-17T13:00:14Z","git_url":"git://github.com/ow2-proactive/scheduling.git","ssh_url":"git@github.com:ow2-proactive/scheduling.git","clone_url":"https://github.com/ow2-proactive/scheduling.git","svn_url":"https://github.com/ow2-proactive/scheduling","homepage":"http://www.activeeon.com/workflows-scheduling","size":74762,"stargazers_count":32,"watchers_count":32,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"archived":false,"open_issues_count":181,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":41,"open_issues":181,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ow2-proactive/scheduling/pulls/3385"},"html":{"href":"https://github.com/ow2-proactive/scheduling/pull/3385"},"issue":{"href":"https://api.github.com/repos/ow2-proactive/scheduling/issues/3385"},"comments":{"href":"https://api.github.com/repos/ow2-proactive/scheduling/issues/3385/comments"},"review_comments":{"href":"https://api.github.com/repos/ow2-proactive/scheduling/pulls/3385/comments"},"review_comment":{"href":"https://api.github.com/repos/ow2-proactive/scheduling/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ow2-proactive/scheduling/pulls/3385/commits"},"statuses":{"href":"https://api.github.com/repos/ow2-proactive/scheduling/statuses/7c069cbd9e59b278cdf9d84afd925ee462b6e946"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sonarqube-activeeon"}}