{"action":"created","comment":{"url":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls/comments/238049591","pull_request_review_id":180508464,"id":238049591,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODA0OTU5MQ==","diff_hunk":"@@ -0,0 +1,55 @@\n+package edu.isi.vista.gigawordIndexer;\n+\n+import java.io.File;\n+import java.io.IOException;\n+\n+import org.springframework.context.ApplicationContextInitializer;\n+import org.springframework.context.ConfigurableApplicationContext;\n+import org.springframework.core.env.ConfigurableEnvironment;\n+import org.springframework.core.io.FileSystemResource;\n+import org.springframework.core.io.support.ResourcePropertySource;\n+\n+import de.tudarmstadt.ukp.clarin.webanno.support.SettingsUtil;\n+import de.tudarmstadt.ukp.clarin.webanno.support.logging.LoggingFilter;\n+\n+public class GigawordApplicationContextInitializer \n+\timplements ApplicationContextInitializer<ConfigurableApplicationContext> {\n+\t\n+\tpublic static final String PROFILE_PREAUTH = \"auto-mode-preauth\";\n+    public static final String PROFILE_DATABASE = \"auto-mode-builtin\";\n+\n+    private static final String AUTH_MODE_PREAUTH = \"preauth\";\n+\n+\t@Override\n+\tpublic void initialize(ConfigurableApplicationContext aApplicationContext) {\n+\t\tLoggingFilter.setLoggingUsername(\"SYSTEM\");\n+        \n+        ConfigurableEnvironment aEnvironment = aApplicationContext.getEnvironment();\n+\n+        File settings = SettingsUtil.getSettingsFile();\n+        \n+        // If settings were found, add them to the environment\n+        if (settings != null) {\n+            System.out.println(\"Settings: \" + settings);","path":"gigaword-indexer/src/main/java/edu/isi/vista/gigawordIndexer/GigawordApplicationContextInitializer.java","position":null,"original_position":33,"commit_id":"d7711d14210ee8224852fd7ec3334f5258af015b","original_commit_id":"5b8f6ea57df028fabcd33cde8b0a89d467727558","user":{"login":"shinyichen","id":636361,"node_id":"MDQ6VXNlcjYzNjM2MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/636361?v=4","gravatar_id":"","url":"https://api.github.com/users/shinyichen","html_url":"https://github.com/shinyichen","followers_url":"https://api.github.com/users/shinyichen/followers","following_url":"https://api.github.com/users/shinyichen/following{/other_user}","gists_url":"https://api.github.com/users/shinyichen/gists{/gist_id}","starred_url":"https://api.github.com/users/shinyichen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinyichen/subscriptions","organizations_url":"https://api.github.com/users/shinyichen/orgs","repos_url":"https://api.github.com/users/shinyichen/repos","events_url":"https://api.github.com/users/shinyichen/events{/privacy}","received_events_url":"https://api.github.com/users/shinyichen/received_events","type":"User","site_admin":false},"body":"Changed to use logging.","created_at":"2018-12-01T02:52:48Z","updated_at":"2018-12-01T02:52:48Z","html_url":"https://github.com/isi-vista/curated-training-annotator/pull/1#discussion_r238049591","pull_request_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls/comments/238049591"},"html":{"href":"https://github.com/isi-vista/curated-training-annotator/pull/1#discussion_r238049591"},"pull_request":{"href":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls/1"}},"in_reply_to_id":237986835},"pull_request":{"url":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls/1","id":235099172,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MDk5MTcy","html_url":"https://github.com/isi-vista/curated-training-annotator/pull/1","diff_url":"https://github.com/isi-vista/curated-training-annotator/pull/1.diff","patch_url":"https://github.com/isi-vista/curated-training-annotator/pull/1.patch","issue_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/issues/1","number":1,"state":"open","locked":false,"title":"Initial setup for Gigawords indexer. ","user":{"login":"shinyichen","id":636361,"node_id":"MDQ6VXNlcjYzNjM2MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/636361?v=4","gravatar_id":"","url":"https://api.github.com/users/shinyichen","html_url":"https://github.com/shinyichen","followers_url":"https://api.github.com/users/shinyichen/followers","following_url":"https://api.github.com/users/shinyichen/following{/other_user}","gists_url":"https://api.github.com/users/shinyichen/gists{/gist_id}","starred_url":"https://api.github.com/users/shinyichen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinyichen/subscriptions","organizations_url":"https://api.github.com/users/shinyichen/orgs","repos_url":"https://api.github.com/users/shinyichen/repos","events_url":"https://api.github.com/users/shinyichen/events{/privacy}","received_events_url":"https://api.github.com/users/shinyichen/received_events","type":"User","site_admin":false},"body":"It is using Inception 0.6.3. The app 1) authenticates a user (the default user admin), 2) checks the list of projects, 3) create a new project and upload a document.","created_at":"2018-11-30T19:58:12Z","updated_at":"2018-12-01T02:52:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d7af1f6ac26b893324ba13236a549a98e41c6d2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls/1/commits","review_comments_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls/1/comments","review_comment_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/issues/1/comments","statuses_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/statuses/d7711d14210ee8224852fd7ec3334f5258af015b","head":{"label":"isi-vista:setup","ref":"setup","sha":"d7711d14210ee8224852fd7ec3334f5258af015b","user":{"login":"isi-vista","id":36171407,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MTcxNDA3","avatar_url":"https://avatars1.githubusercontent.com/u/36171407?v=4","gravatar_id":"","url":"https://api.github.com/users/isi-vista","html_url":"https://github.com/isi-vista","followers_url":"https://api.github.com/users/isi-vista/followers","following_url":"https://api.github.com/users/isi-vista/following{/other_user}","gists_url":"https://api.github.com/users/isi-vista/gists{/gist_id}","starred_url":"https://api.github.com/users/isi-vista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isi-vista/subscriptions","organizations_url":"https://api.github.com/users/isi-vista/orgs","repos_url":"https://api.github.com/users/isi-vista/repos","events_url":"https://api.github.com/users/isi-vista/events{/privacy}","received_events_url":"https://api.github.com/users/isi-vista/received_events","type":"Organization","site_admin":false},"repo":{"id":158584162,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg1ODQxNjI=","name":"curated-training-annotator","full_name":"isi-vista/curated-training-annotator","private":false,"owner":{"login":"isi-vista","id":36171407,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MTcxNDA3","avatar_url":"https://avatars1.githubusercontent.com/u/36171407?v=4","gravatar_id":"","url":"https://api.github.com/users/isi-vista","html_url":"https://github.com/isi-vista","followers_url":"https://api.github.com/users/isi-vista/followers","following_url":"https://api.github.com/users/isi-vista/following{/other_user}","gists_url":"https://api.github.com/users/isi-vista/gists{/gist_id}","starred_url":"https://api.github.com/users/isi-vista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isi-vista/subscriptions","organizations_url":"https://api.github.com/users/isi-vista/orgs","repos_url":"https://api.github.com/users/isi-vista/repos","events_url":"https://api.github.com/users/isi-vista/events{/privacy}","received_events_url":"https://api.github.com/users/isi-vista/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/isi-vista/curated-training-annotator","description":null,"fork":false,"url":"https://api.github.com/repos/isi-vista/curated-training-annotator","forks_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/forks","keys_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/teams","hooks_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/hooks","issue_events_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/issues/events{/number}","events_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/events","assignees_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/assignees{/user}","branches_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/branches{/branch}","tags_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/tags","blobs_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/git/refs{/sha}","trees_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/statuses/{sha}","languages_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/languages","stargazers_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/stargazers","contributors_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/contributors","subscribers_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/subscribers","subscription_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/subscription","commits_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/commits{/sha}","git_commits_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/git/commits{/sha}","comments_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/comments{/number}","issue_comment_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/issues/comments{/number}","contents_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/contents/{+path}","compare_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/merges","archive_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/downloads","issues_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/issues{/number}","pulls_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls{/number}","milestones_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/milestones{/number}","notifications_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/labels{/name}","releases_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/releases{/id}","deployments_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/deployments","created_at":"2018-11-21T17:30:05Z","updated_at":"2018-11-21T18:12:51Z","pushed_at":"2018-12-01T02:51:35Z","git_url":"git://github.com/isi-vista/curated-training-annotator.git","ssh_url":"git@github.com:isi-vista/curated-training-annotator.git","clone_url":"https://github.com/isi-vista/curated-training-annotator.git","svn_url":"https://github.com/isi-vista/curated-training-annotator","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":null,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"isi-vista:master","ref":"master","sha":"957c0d2c87ad903bc40c2e92450ab1836c62b6bc","user":{"login":"isi-vista","id":36171407,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MTcxNDA3","avatar_url":"https://avatars1.githubusercontent.com/u/36171407?v=4","gravatar_id":"","url":"https://api.github.com/users/isi-vista","html_url":"https://github.com/isi-vista","followers_url":"https://api.github.com/users/isi-vista/followers","following_url":"https://api.github.com/users/isi-vista/following{/other_user}","gists_url":"https://api.github.com/users/isi-vista/gists{/gist_id}","starred_url":"https://api.github.com/users/isi-vista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isi-vista/subscriptions","organizations_url":"https://api.github.com/users/isi-vista/orgs","repos_url":"https://api.github.com/users/isi-vista/repos","events_url":"https://api.github.com/users/isi-vista/events{/privacy}","received_events_url":"https://api.github.com/users/isi-vista/received_events","type":"Organization","site_admin":false},"repo":{"id":158584162,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg1ODQxNjI=","name":"curated-training-annotator","full_name":"isi-vista/curated-training-annotator","private":false,"owner":{"login":"isi-vista","id":36171407,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MTcxNDA3","avatar_url":"https://avatars1.githubusercontent.com/u/36171407?v=4","gravatar_id":"","url":"https://api.github.com/users/isi-vista","html_url":"https://github.com/isi-vista","followers_url":"https://api.github.com/users/isi-vista/followers","following_url":"https://api.github.com/users/isi-vista/following{/other_user}","gists_url":"https://api.github.com/users/isi-vista/gists{/gist_id}","starred_url":"https://api.github.com/users/isi-vista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isi-vista/subscriptions","organizations_url":"https://api.github.com/users/isi-vista/orgs","repos_url":"https://api.github.com/users/isi-vista/repos","events_url":"https://api.github.com/users/isi-vista/events{/privacy}","received_events_url":"https://api.github.com/users/isi-vista/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/isi-vista/curated-training-annotator","description":null,"fork":false,"url":"https://api.github.com/repos/isi-vista/curated-training-annotator","forks_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/forks","keys_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/teams","hooks_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/hooks","issue_events_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/issues/events{/number}","events_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/events","assignees_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/assignees{/user}","branches_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/branches{/branch}","tags_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/tags","blobs_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/git/refs{/sha}","trees_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/statuses/{sha}","languages_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/languages","stargazers_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/stargazers","contributors_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/contributors","subscribers_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/subscribers","subscription_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/subscription","commits_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/commits{/sha}","git_commits_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/git/commits{/sha}","comments_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/comments{/number}","issue_comment_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/issues/comments{/number}","contents_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/contents/{+path}","compare_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/merges","archive_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/downloads","issues_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/issues{/number}","pulls_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls{/number}","milestones_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/milestones{/number}","notifications_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/labels{/name}","releases_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/releases{/id}","deployments_url":"https://api.github.com/repos/isi-vista/curated-training-annotator/deployments","created_at":"2018-11-21T17:30:05Z","updated_at":"2018-11-21T18:12:51Z","pushed_at":"2018-12-01T02:51:35Z","git_url":"git://github.com/isi-vista/curated-training-annotator.git","ssh_url":"git@github.com:isi-vista/curated-training-annotator.git","clone_url":"https://github.com/isi-vista/curated-training-annotator.git","svn_url":"https://github.com/isi-vista/curated-training-annotator","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":null,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls/1"},"html":{"href":"https://github.com/isi-vista/curated-training-annotator/pull/1"},"issue":{"href":"https://api.github.com/repos/isi-vista/curated-training-annotator/issues/1"},"comments":{"href":"https://api.github.com/repos/isi-vista/curated-training-annotator/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/isi-vista/curated-training-annotator/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/isi-vista/curated-training-annotator/statuses/d7711d14210ee8224852fd7ec3334f5258af015b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"shinyichen"}}