{"action":"created","comment":{"url":"https://api.github.com/repos/osiam/osiam/pulls/comments/54944444","id":54944444,"diff_hunk":"@@ -51,22 +51,20 @@\n public class Osiam extends SpringBootServletInitializer {\n \n     private static final Map<String, Object> DEFAULT_PROPERTIES = ImmutableMap.<String, Object>of(\n-            \"osiam.home\", System.getenv(\"HOME\") + \"/.osiam\",\n-            \"spring.config.location\", \"classpath:/home/config/osiam.yaml,file:${osiam.home}/config/osiam.yaml\"\n+            \"spring.config.location\", \"file:${osiam.home}/config/osiam.yaml\"\n     );\n \n     public static void main(String[] args) {\n         SpringApplication application = new SpringApplication();\n-        application.setDefaultProperties(DEFAULT_PROPERTIES);\n-\n         String command = extractCommand(args);\n         if (\"initHome\".equals(command)) {","path":"src/main/java/org/osiam/Osiam.java","position":14,"original_position":14,"commit_id":"5e39336ccda2feb5b64edb8ab3962409d886b74e","original_commit_id":"5e39336ccda2feb5b64edb8ab3962409d886b74e","user":{"login":"dacrome","id":1593279,"avatar_url":"https://avatars.githubusercontent.com/u/1593279?v=3","gravatar_id":"","url":"https://api.github.com/users/dacrome","html_url":"https://github.com/dacrome","followers_url":"https://api.github.com/users/dacrome/followers","following_url":"https://api.github.com/users/dacrome/following{/other_user}","gists_url":"https://api.github.com/users/dacrome/gists{/gist_id}","starred_url":"https://api.github.com/users/dacrome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dacrome/subscriptions","organizations_url":"https://api.github.com/users/dacrome/orgs","repos_url":"https://api.github.com/users/dacrome/repos","events_url":"https://api.github.com/users/dacrome/events{/privacy}","received_events_url":"https://api.github.com/users/dacrome/received_events","type":"User","site_admin":false},"body":"But codacy ;)","created_at":"2016-03-03T20:37:46Z","updated_at":"2016-03-03T20:37:46Z","html_url":"https://github.com/osiam/osiam/pull/172#discussion_r54944444","pull_request_url":"https://api.github.com/repos/osiam/osiam/pulls/172","_links":{"self":{"href":"https://api.github.com/repos/osiam/osiam/pulls/comments/54944444"},"html":{"href":"https://github.com/osiam/osiam/pull/172#discussion_r54944444"},"pull_request":{"href":"https://api.github.com/repos/osiam/osiam/pulls/172"}}},"pull_request":{"url":"https://api.github.com/repos/osiam/osiam/pulls/172","id":61483925,"html_url":"https://github.com/osiam/osiam/pull/172","diff_url":"https://github.com/osiam/osiam/pull/172.diff","patch_url":"https://github.com/osiam/osiam/pull/172.patch","issue_url":"https://api.github.com/repos/osiam/osiam/issues/172","number":172,"state":"open","locked":false,"title":"Refactor processing of OSIAM's home directory","user":{"login":"tkrille","id":5213491,"avatar_url":"https://avatars.githubusercontent.com/u/5213491?v=3","gravatar_id":"","url":"https://api.github.com/users/tkrille","html_url":"https://github.com/tkrille","followers_url":"https://api.github.com/users/tkrille/followers","following_url":"https://api.github.com/users/tkrille/following{/other_user}","gists_url":"https://api.github.com/users/tkrille/gists{/gist_id}","starred_url":"https://api.github.com/users/tkrille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkrille/subscriptions","organizations_url":"https://api.github.com/users/tkrille/orgs","repos_url":"https://api.github.com/users/tkrille/repos","events_url":"https://api.github.com/users/tkrille/events{/privacy}","received_events_url":"https://api.github.com/users/tkrille/received_events","type":"User","site_admin":false},"body":"OSIAM will now load the configuration only from the YAML file in its\r\nhome directory.\r\nThis is done by running the initialization as early as possible via an\r\n`ApplicationListener`.\r\nInitialization will take place when the environment is ready to use, but\r\nbefore external configuration will be loaded by the\r\n`ConfigFileApplicationListener`.\r\n\r\nAt this early stage of application startup, logging has not yet been set\r\nup.\r\nThe first time logging is available, is when the\r\n`ApplicationPreparedEvent` is received.\r\nTo not lose the messages, they will be logged then.\r\nTo log whether the home directory was actually initialized, the flag\r\n`hasInitializedHome` has been introduced.\r\n\r\nAlso introduce a `PropertySource`, that will hold a checked and munged\r\nvalue of the user-supplied home directory.\r\nThis is because it could be empty or a relative path, which does not\r\nwork with the upcoming support of a file-based H2 database.","created_at":"2016-03-02T23:10:53Z","updated_at":"2016-03-03T20:37:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d67d0d3bebc3dd24ed313e1b7bc9ecead2320f1","assignee":{"login":"wallner","id":563601,"avatar_url":"https://avatars.githubusercontent.com/u/563601?v=3","gravatar_id":"","url":"https://api.github.com/users/wallner","html_url":"https://github.com/wallner","followers_url":"https://api.github.com/users/wallner/followers","following_url":"https://api.github.com/users/wallner/following{/other_user}","gists_url":"https://api.github.com/users/wallner/gists{/gist_id}","starred_url":"https://api.github.com/users/wallner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallner/subscriptions","organizations_url":"https://api.github.com/users/wallner/orgs","repos_url":"https://api.github.com/users/wallner/repos","events_url":"https://api.github.com/users/wallner/events{/privacy}","received_events_url":"https://api.github.com/users/wallner/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/osiam/osiam/pulls/172/commits","review_comments_url":"https://api.github.com/repos/osiam/osiam/pulls/172/comments","review_comment_url":"https://api.github.com/repos/osiam/osiam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osiam/osiam/issues/172/comments","statuses_url":"https://api.github.com/repos/osiam/osiam/statuses/5e39336ccda2feb5b64edb8ab3962409d886b74e","head":{"label":"tkrille:refactor-home","ref":"refactor-home","sha":"5e39336ccda2feb5b64edb8ab3962409d886b74e","user":{"login":"tkrille","id":5213491,"avatar_url":"https://avatars.githubusercontent.com/u/5213491?v=3","gravatar_id":"","url":"https://api.github.com/users/tkrille","html_url":"https://github.com/tkrille","followers_url":"https://api.github.com/users/tkrille/followers","following_url":"https://api.github.com/users/tkrille/following{/other_user}","gists_url":"https://api.github.com/users/tkrille/gists{/gist_id}","starred_url":"https://api.github.com/users/tkrille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkrille/subscriptions","organizations_url":"https://api.github.com/users/tkrille/orgs","repos_url":"https://api.github.com/users/tkrille/repos","events_url":"https://api.github.com/users/tkrille/events{/privacy}","received_events_url":"https://api.github.com/users/tkrille/received_events","type":"User","site_admin":false},"repo":{"id":35374742,"name":"osiam-osiam","full_name":"tkrille/osiam-osiam","owner":{"login":"tkrille","id":5213491,"avatar_url":"https://avatars.githubusercontent.com/u/5213491?v=3","gravatar_id":"","url":"https://api.github.com/users/tkrille","html_url":"https://github.com/tkrille","followers_url":"https://api.github.com/users/tkrille/followers","following_url":"https://api.github.com/users/tkrille/following{/other_user}","gists_url":"https://api.github.com/users/tkrille/gists{/gist_id}","starred_url":"https://api.github.com/users/tkrille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkrille/subscriptions","organizations_url":"https://api.github.com/users/tkrille/orgs","repos_url":"https://api.github.com/users/tkrille/repos","events_url":"https://api.github.com/users/tkrille/events{/privacy}","received_events_url":"https://api.github.com/users/tkrille/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tkrille/osiam-osiam","description":"MIT licensed Open Source Identity and Access Management implementing OAuth 2.0 and SCIMv2.","fork":true,"url":"https://api.github.com/repos/tkrille/osiam-osiam","forks_url":"https://api.github.com/repos/tkrille/osiam-osiam/forks","keys_url":"https://api.github.com/repos/tkrille/osiam-osiam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tkrille/osiam-osiam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tkrille/osiam-osiam/teams","hooks_url":"https://api.github.com/repos/tkrille/osiam-osiam/hooks","issue_events_url":"https://api.github.com/repos/tkrille/osiam-osiam/issues/events{/number}","events_url":"https://api.github.com/repos/tkrille/osiam-osiam/events","assignees_url":"https://api.github.com/repos/tkrille/osiam-osiam/assignees{/user}","branches_url":"https://api.github.com/repos/tkrille/osiam-osiam/branches{/branch}","tags_url":"https://api.github.com/repos/tkrille/osiam-osiam/tags","blobs_url":"https://api.github.com/repos/tkrille/osiam-osiam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tkrille/osiam-osiam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tkrille/osiam-osiam/git/refs{/sha}","trees_url":"https://api.github.com/repos/tkrille/osiam-osiam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tkrille/osiam-osiam/statuses/{sha}","languages_url":"https://api.github.com/repos/tkrille/osiam-osiam/languages","stargazers_url":"https://api.github.com/repos/tkrille/osiam-osiam/stargazers","contributors_url":"https://api.github.com/repos/tkrille/osiam-osiam/contributors","subscribers_url":"https://api.github.com/repos/tkrille/osiam-osiam/subscribers","subscription_url":"https://api.github.com/repos/tkrille/osiam-osiam/subscription","commits_url":"https://api.github.com/repos/tkrille/osiam-osiam/commits{/sha}","git_commits_url":"https://api.github.com/repos/tkrille/osiam-osiam/git/commits{/sha}","comments_url":"https://api.github.com/repos/tkrille/osiam-osiam/comments{/number}","issue_comment_url":"https://api.github.com/repos/tkrille/osiam-osiam/issues/comments{/number}","contents_url":"https://api.github.com/repos/tkrille/osiam-osiam/contents/{+path}","compare_url":"https://api.github.com/repos/tkrille/osiam-osiam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tkrille/osiam-osiam/merges","archive_url":"https://api.github.com/repos/tkrille/osiam-osiam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tkrille/osiam-osiam/downloads","issues_url":"https://api.github.com/repos/tkrille/osiam-osiam/issues{/number}","pulls_url":"https://api.github.com/repos/tkrille/osiam-osiam/pulls{/number}","milestones_url":"https://api.github.com/repos/tkrille/osiam-osiam/milestones{/number}","notifications_url":"https://api.github.com/repos/tkrille/osiam-osiam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tkrille/osiam-osiam/labels{/name}","releases_url":"https://api.github.com/repos/tkrille/osiam-osiam/releases{/id}","deployments_url":"https://api.github.com/repos/tkrille/osiam-osiam/deployments","created_at":"2015-05-10T14:44:10Z","updated_at":"2015-08-18T08:27:30Z","pushed_at":"2016-03-03T20:07:23Z","git_url":"git://github.com/tkrille/osiam-osiam.git","ssh_url":"git@github.com:tkrille/osiam-osiam.git","clone_url":"https://github.com/tkrille/osiam-osiam.git","svn_url":"https://github.com/tkrille/osiam-osiam","homepage":"https://www.osiam.org","size":3217,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"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":"osiam:master","ref":"master","sha":"990e40a208700a16a6ce74ca5e1784f82822273a","user":{"login":"osiam","id":1918807,"avatar_url":"https://avatars.githubusercontent.com/u/1918807?v=3","gravatar_id":"","url":"https://api.github.com/users/osiam","html_url":"https://github.com/osiam","followers_url":"https://api.github.com/users/osiam/followers","following_url":"https://api.github.com/users/osiam/following{/other_user}","gists_url":"https://api.github.com/users/osiam/gists{/gist_id}","starred_url":"https://api.github.com/users/osiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osiam/subscriptions","organizations_url":"https://api.github.com/users/osiam/orgs","repos_url":"https://api.github.com/users/osiam/repos","events_url":"https://api.github.com/users/osiam/events{/privacy}","received_events_url":"https://api.github.com/users/osiam/received_events","type":"Organization","site_admin":false},"repo":{"id":34720631,"name":"osiam","full_name":"osiam/osiam","owner":{"login":"osiam","id":1918807,"avatar_url":"https://avatars.githubusercontent.com/u/1918807?v=3","gravatar_id":"","url":"https://api.github.com/users/osiam","html_url":"https://github.com/osiam","followers_url":"https://api.github.com/users/osiam/followers","following_url":"https://api.github.com/users/osiam/following{/other_user}","gists_url":"https://api.github.com/users/osiam/gists{/gist_id}","starred_url":"https://api.github.com/users/osiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osiam/subscriptions","organizations_url":"https://api.github.com/users/osiam/orgs","repos_url":"https://api.github.com/users/osiam/repos","events_url":"https://api.github.com/users/osiam/events{/privacy}","received_events_url":"https://api.github.com/users/osiam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osiam/osiam","description":"MIT licensed Open Source Identity and Access Management implementing OAuth 2.0 and SCIMv2.","fork":false,"url":"https://api.github.com/repos/osiam/osiam","forks_url":"https://api.github.com/repos/osiam/osiam/forks","keys_url":"https://api.github.com/repos/osiam/osiam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osiam/osiam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osiam/osiam/teams","hooks_url":"https://api.github.com/repos/osiam/osiam/hooks","issue_events_url":"https://api.github.com/repos/osiam/osiam/issues/events{/number}","events_url":"https://api.github.com/repos/osiam/osiam/events","assignees_url":"https://api.github.com/repos/osiam/osiam/assignees{/user}","branches_url":"https://api.github.com/repos/osiam/osiam/branches{/branch}","tags_url":"https://api.github.com/repos/osiam/osiam/tags","blobs_url":"https://api.github.com/repos/osiam/osiam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osiam/osiam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osiam/osiam/git/refs{/sha}","trees_url":"https://api.github.com/repos/osiam/osiam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osiam/osiam/statuses/{sha}","languages_url":"https://api.github.com/repos/osiam/osiam/languages","stargazers_url":"https://api.github.com/repos/osiam/osiam/stargazers","contributors_url":"https://api.github.com/repos/osiam/osiam/contributors","subscribers_url":"https://api.github.com/repos/osiam/osiam/subscribers","subscription_url":"https://api.github.com/repos/osiam/osiam/subscription","commits_url":"https://api.github.com/repos/osiam/osiam/commits{/sha}","git_commits_url":"https://api.github.com/repos/osiam/osiam/git/commits{/sha}","comments_url":"https://api.github.com/repos/osiam/osiam/comments{/number}","issue_comment_url":"https://api.github.com/repos/osiam/osiam/issues/comments{/number}","contents_url":"https://api.github.com/repos/osiam/osiam/contents/{+path}","compare_url":"https://api.github.com/repos/osiam/osiam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osiam/osiam/merges","archive_url":"https://api.github.com/repos/osiam/osiam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osiam/osiam/downloads","issues_url":"https://api.github.com/repos/osiam/osiam/issues{/number}","pulls_url":"https://api.github.com/repos/osiam/osiam/pulls{/number}","milestones_url":"https://api.github.com/repos/osiam/osiam/milestones{/number}","notifications_url":"https://api.github.com/repos/osiam/osiam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osiam/osiam/labels{/name}","releases_url":"https://api.github.com/repos/osiam/osiam/releases{/id}","deployments_url":"https://api.github.com/repos/osiam/osiam/deployments","created_at":"2015-04-28T09:14:40Z","updated_at":"2016-03-01T02:32:09Z","pushed_at":"2016-03-03T20:07:23Z","git_url":"git://github.com/osiam/osiam.git","ssh_url":"git@github.com:osiam/osiam.git","clone_url":"https://github.com/osiam/osiam.git","svn_url":"https://github.com/osiam/osiam","homepage":"http://osiam.github.io/","size":3206,"stargazers_count":24,"watchers_count":24,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":48,"forks":9,"open_issues":48,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/osiam/osiam/pulls/172"},"html":{"href":"https://github.com/osiam/osiam/pull/172"},"issue":{"href":"https://api.github.com/repos/osiam/osiam/issues/172"},"comments":{"href":"https://api.github.com/repos/osiam/osiam/issues/172/comments"},"review_comments":{"href":"https://api.github.com/repos/osiam/osiam/pulls/172/comments"},"review_comment":{"href":"https://api.github.com/repos/osiam/osiam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osiam/osiam/pulls/172/commits"},"statuses":{"href":"https://api.github.com/repos/osiam/osiam/statuses/5e39336ccda2feb5b64edb8ab3962409d886b74e"}}}}