{"action":"created","comment":{"url":"https://api.github.com/repos/aodn/geoserver-build/pulls/comments/73272426","id":73272426,"diff_hunk":"@@ -291,20 +301,24 @@ public void run() {\n             }\n \n             gogoduck.userLog.log(String.format(\"Processing file '%s'\", file.toPath().getFileName()));\n-            applySubsetSingleFileNcks(file, module);\n+            gogoduck.applySubsetSingleFileNcks(file, module, ncksSubsetParameters);\n         }\n     }\n \n     private void applySubsetMultiThread(Path tmpDir, GoGoDuckModule module, int threadCount) throws GoGoDuckException {\n-        userLog.log(String.format(\"Applying subset '%s'\", module.getNcksSubsetParameters().toString()));\n         logger.info(String.format(\"Applying subset on directory '%s'\", tmpDir));\n \n         File[] directoryListing = tmpDir.toFile().listFiles();\n-        logger.info(String.format(\"Subset for operation is '%s'\", module.getNcksSubsetParameters()));\n \n         ExecutorService executorService = Executors.newFixedThreadPool(threadCount);\n+        List<String> ncksSubsetParameters = null;\n         for (final File file : directoryListing) {\n-            executorService.submit(new NcksRunnable(file, module, this));\n+            if (ncksSubsetParameters == null) {\n+                ncksSubsetParameters = module.getNcksSubsetParameters(file.getAbsoluteFile().toString()).getNcksParameters();","path":"src/extension/wps/src/main/java/au/org/emii/gogoduck/worker/GoGoDuck.java","position":162,"original_position":162,"commit_id":"782c0f96fc0e12394a79bd8803627582044bee0f","original_commit_id":"782c0f96fc0e12394a79bd8803627582044bee0f","user":{"login":"bhasin85","id":2552378,"avatar_url":"https://avatars.githubusercontent.com/u/2552378?v=3","gravatar_id":"","url":"https://api.github.com/users/bhasin85","html_url":"https://github.com/bhasin85","followers_url":"https://api.github.com/users/bhasin85/followers","following_url":"https://api.github.com/users/bhasin85/following{/other_user}","gists_url":"https://api.github.com/users/bhasin85/gists{/gist_id}","starred_url":"https://api.github.com/users/bhasin85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhasin85/subscriptions","organizations_url":"https://api.github.com/users/bhasin85/orgs","repos_url":"https://api.github.com/users/bhasin85/repos","events_url":"https://api.github.com/users/bhasin85/events{/privacy}","received_events_url":"https://api.github.com/users/bhasin85/received_events","type":"User","site_admin":false},"body":"Fixed ","created_at":"2016-08-03T02:34:59Z","updated_at":"2016-08-03T02:34:59Z","html_url":"https://github.com/aodn/geoserver-build/pull/152#discussion_r73272426","pull_request_url":"https://api.github.com/repos/aodn/geoserver-build/pulls/152","_links":{"self":{"href":"https://api.github.com/repos/aodn/geoserver-build/pulls/comments/73272426"},"html":{"href":"https://github.com/aodn/geoserver-build/pull/152#discussion_r73272426"},"pull_request":{"href":"https://api.github.com/repos/aodn/geoserver-build/pulls/152"}}},"pull_request":{"url":"https://api.github.com/repos/aodn/geoserver-build/pulls/152","id":79504413,"html_url":"https://github.com/aodn/geoserver-build/pull/152","diff_url":"https://github.com/aodn/geoserver-build/pull/152.diff","patch_url":"https://github.com/aodn/geoserver-build/pull/152.patch","issue_url":"https://api.github.com/repos/aodn/geoserver-build/issues/152","number":152,"state":"open","locked":false,"title":"Multi time slice temp","user":{"login":"bhasin85","id":2552378,"avatar_url":"https://avatars.githubusercontent.com/u/2552378?v=3","gravatar_id":"","url":"https://api.github.com/users/bhasin85","html_url":"https://github.com/bhasin85","followers_url":"https://api.github.com/users/bhasin85/followers","following_url":"https://api.github.com/users/bhasin85/following{/other_user}","gists_url":"https://api.github.com/users/bhasin85/gists{/gist_id}","starred_url":"https://api.github.com/users/bhasin85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhasin85/subscriptions","organizations_url":"https://api.github.com/users/bhasin85/orgs","repos_url":"https://api.github.com/users/bhasin85/repos","events_url":"https://api.github.com/users/bhasin85/events{/privacy}","received_events_url":"https://api.github.com/users/bhasin85/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-01T02:03:37Z","updated_at":"2016-08-03T02:34:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ef19767f35837e7038d1afe2b52330433e5f999","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/aodn/geoserver-build/pulls/152/commits","review_comments_url":"https://api.github.com/repos/aodn/geoserver-build/pulls/152/comments","review_comment_url":"https://api.github.com/repos/aodn/geoserver-build/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aodn/geoserver-build/issues/152/comments","statuses_url":"https://api.github.com/repos/aodn/geoserver-build/statuses/782c0f96fc0e12394a79bd8803627582044bee0f","head":{"label":"aodn:multi_time_slice_temp","ref":"multi_time_slice_temp","sha":"782c0f96fc0e12394a79bd8803627582044bee0f","user":{"login":"aodn","id":2802166,"avatar_url":"https://avatars.githubusercontent.com/u/2802166?v=3","gravatar_id":"","url":"https://api.github.com/users/aodn","html_url":"https://github.com/aodn","followers_url":"https://api.github.com/users/aodn/followers","following_url":"https://api.github.com/users/aodn/following{/other_user}","gists_url":"https://api.github.com/users/aodn/gists{/gist_id}","starred_url":"https://api.github.com/users/aodn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aodn/subscriptions","organizations_url":"https://api.github.com/users/aodn/orgs","repos_url":"https://api.github.com/users/aodn/repos","events_url":"https://api.github.com/users/aodn/events{/privacy}","received_events_url":"https://api.github.com/users/aodn/received_events","type":"Organization","site_admin":false},"repo":{"id":17969422,"name":"geoserver-build","full_name":"aodn/geoserver-build","owner":{"login":"aodn","id":2802166,"avatar_url":"https://avatars.githubusercontent.com/u/2802166?v=3","gravatar_id":"","url":"https://api.github.com/users/aodn","html_url":"https://github.com/aodn","followers_url":"https://api.github.com/users/aodn/followers","following_url":"https://api.github.com/users/aodn/following{/other_user}","gists_url":"https://api.github.com/users/aodn/gists{/gist_id}","starred_url":"https://api.github.com/users/aodn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aodn/subscriptions","organizations_url":"https://api.github.com/users/aodn/orgs","repos_url":"https://api.github.com/users/aodn/repos","events_url":"https://api.github.com/users/aodn/events{/privacy}","received_events_url":"https://api.github.com/users/aodn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aodn/geoserver-build","description":"Configures a GeoServer war containing extensions and configuration required by AODN instances","fork":false,"url":"https://api.github.com/repos/aodn/geoserver-build","forks_url":"https://api.github.com/repos/aodn/geoserver-build/forks","keys_url":"https://api.github.com/repos/aodn/geoserver-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aodn/geoserver-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aodn/geoserver-build/teams","hooks_url":"https://api.github.com/repos/aodn/geoserver-build/hooks","issue_events_url":"https://api.github.com/repos/aodn/geoserver-build/issues/events{/number}","events_url":"https://api.github.com/repos/aodn/geoserver-build/events","assignees_url":"https://api.github.com/repos/aodn/geoserver-build/assignees{/user}","branches_url":"https://api.github.com/repos/aodn/geoserver-build/branches{/branch}","tags_url":"https://api.github.com/repos/aodn/geoserver-build/tags","blobs_url":"https://api.github.com/repos/aodn/geoserver-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aodn/geoserver-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aodn/geoserver-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/aodn/geoserver-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aodn/geoserver-build/statuses/{sha}","languages_url":"https://api.github.com/repos/aodn/geoserver-build/languages","stargazers_url":"https://api.github.com/repos/aodn/geoserver-build/stargazers","contributors_url":"https://api.github.com/repos/aodn/geoserver-build/contributors","subscribers_url":"https://api.github.com/repos/aodn/geoserver-build/subscribers","subscription_url":"https://api.github.com/repos/aodn/geoserver-build/subscription","commits_url":"https://api.github.com/repos/aodn/geoserver-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/aodn/geoserver-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/aodn/geoserver-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/aodn/geoserver-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/aodn/geoserver-build/contents/{+path}","compare_url":"https://api.github.com/repos/aodn/geoserver-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aodn/geoserver-build/merges","archive_url":"https://api.github.com/repos/aodn/geoserver-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aodn/geoserver-build/downloads","issues_url":"https://api.github.com/repos/aodn/geoserver-build/issues{/number}","pulls_url":"https://api.github.com/repos/aodn/geoserver-build/pulls{/number}","milestones_url":"https://api.github.com/repos/aodn/geoserver-build/milestones{/number}","notifications_url":"https://api.github.com/repos/aodn/geoserver-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aodn/geoserver-build/labels{/name}","releases_url":"https://api.github.com/repos/aodn/geoserver-build/releases{/id}","deployments_url":"https://api.github.com/repos/aodn/geoserver-build/deployments","created_at":"2014-03-21T05:33:53Z","updated_at":"2016-01-28T05:47:42Z","pushed_at":"2016-08-02T23:32:05Z","git_url":"git://github.com/aodn/geoserver-build.git","ssh_url":"git@github.com:aodn/geoserver-build.git","clone_url":"https://github.com/aodn/geoserver-build.git","svn_url":"https://github.com/aodn/geoserver-build","homepage":null,"size":128713,"stargazers_count":1,"watchers_count":1,"language":"SQLPL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":16,"forks":3,"open_issues":16,"watchers":1,"default_branch":"master"}},"base":{"label":"aodn:master","ref":"master","sha":"080ad153e913c883c656175d35860c8e2ea7b76e","user":{"login":"aodn","id":2802166,"avatar_url":"https://avatars.githubusercontent.com/u/2802166?v=3","gravatar_id":"","url":"https://api.github.com/users/aodn","html_url":"https://github.com/aodn","followers_url":"https://api.github.com/users/aodn/followers","following_url":"https://api.github.com/users/aodn/following{/other_user}","gists_url":"https://api.github.com/users/aodn/gists{/gist_id}","starred_url":"https://api.github.com/users/aodn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aodn/subscriptions","organizations_url":"https://api.github.com/users/aodn/orgs","repos_url":"https://api.github.com/users/aodn/repos","events_url":"https://api.github.com/users/aodn/events{/privacy}","received_events_url":"https://api.github.com/users/aodn/received_events","type":"Organization","site_admin":false},"repo":{"id":17969422,"name":"geoserver-build","full_name":"aodn/geoserver-build","owner":{"login":"aodn","id":2802166,"avatar_url":"https://avatars.githubusercontent.com/u/2802166?v=3","gravatar_id":"","url":"https://api.github.com/users/aodn","html_url":"https://github.com/aodn","followers_url":"https://api.github.com/users/aodn/followers","following_url":"https://api.github.com/users/aodn/following{/other_user}","gists_url":"https://api.github.com/users/aodn/gists{/gist_id}","starred_url":"https://api.github.com/users/aodn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aodn/subscriptions","organizations_url":"https://api.github.com/users/aodn/orgs","repos_url":"https://api.github.com/users/aodn/repos","events_url":"https://api.github.com/users/aodn/events{/privacy}","received_events_url":"https://api.github.com/users/aodn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aodn/geoserver-build","description":"Configures a GeoServer war containing extensions and configuration required by AODN instances","fork":false,"url":"https://api.github.com/repos/aodn/geoserver-build","forks_url":"https://api.github.com/repos/aodn/geoserver-build/forks","keys_url":"https://api.github.com/repos/aodn/geoserver-build/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aodn/geoserver-build/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aodn/geoserver-build/teams","hooks_url":"https://api.github.com/repos/aodn/geoserver-build/hooks","issue_events_url":"https://api.github.com/repos/aodn/geoserver-build/issues/events{/number}","events_url":"https://api.github.com/repos/aodn/geoserver-build/events","assignees_url":"https://api.github.com/repos/aodn/geoserver-build/assignees{/user}","branches_url":"https://api.github.com/repos/aodn/geoserver-build/branches{/branch}","tags_url":"https://api.github.com/repos/aodn/geoserver-build/tags","blobs_url":"https://api.github.com/repos/aodn/geoserver-build/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aodn/geoserver-build/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aodn/geoserver-build/git/refs{/sha}","trees_url":"https://api.github.com/repos/aodn/geoserver-build/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aodn/geoserver-build/statuses/{sha}","languages_url":"https://api.github.com/repos/aodn/geoserver-build/languages","stargazers_url":"https://api.github.com/repos/aodn/geoserver-build/stargazers","contributors_url":"https://api.github.com/repos/aodn/geoserver-build/contributors","subscribers_url":"https://api.github.com/repos/aodn/geoserver-build/subscribers","subscription_url":"https://api.github.com/repos/aodn/geoserver-build/subscription","commits_url":"https://api.github.com/repos/aodn/geoserver-build/commits{/sha}","git_commits_url":"https://api.github.com/repos/aodn/geoserver-build/git/commits{/sha}","comments_url":"https://api.github.com/repos/aodn/geoserver-build/comments{/number}","issue_comment_url":"https://api.github.com/repos/aodn/geoserver-build/issues/comments{/number}","contents_url":"https://api.github.com/repos/aodn/geoserver-build/contents/{+path}","compare_url":"https://api.github.com/repos/aodn/geoserver-build/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aodn/geoserver-build/merges","archive_url":"https://api.github.com/repos/aodn/geoserver-build/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aodn/geoserver-build/downloads","issues_url":"https://api.github.com/repos/aodn/geoserver-build/issues{/number}","pulls_url":"https://api.github.com/repos/aodn/geoserver-build/pulls{/number}","milestones_url":"https://api.github.com/repos/aodn/geoserver-build/milestones{/number}","notifications_url":"https://api.github.com/repos/aodn/geoserver-build/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aodn/geoserver-build/labels{/name}","releases_url":"https://api.github.com/repos/aodn/geoserver-build/releases{/id}","deployments_url":"https://api.github.com/repos/aodn/geoserver-build/deployments","created_at":"2014-03-21T05:33:53Z","updated_at":"2016-01-28T05:47:42Z","pushed_at":"2016-08-02T23:32:05Z","git_url":"git://github.com/aodn/geoserver-build.git","ssh_url":"git@github.com:aodn/geoserver-build.git","clone_url":"https://github.com/aodn/geoserver-build.git","svn_url":"https://github.com/aodn/geoserver-build","homepage":null,"size":128713,"stargazers_count":1,"watchers_count":1,"language":"SQLPL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":16,"forks":3,"open_issues":16,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aodn/geoserver-build/pulls/152"},"html":{"href":"https://github.com/aodn/geoserver-build/pull/152"},"issue":{"href":"https://api.github.com/repos/aodn/geoserver-build/issues/152"},"comments":{"href":"https://api.github.com/repos/aodn/geoserver-build/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/aodn/geoserver-build/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/aodn/geoserver-build/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aodn/geoserver-build/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/aodn/geoserver-build/statuses/782c0f96fc0e12394a79bd8803627582044bee0f"}}}}
{"actor":{"display_login":"bhasin85"}}