{"action":"created","comment":{"url":"https://api.github.com/repos/cyverse-de/ui/pulls/comments/85827418","pull_request_review_id":6520238,"id":85827418,"diff_hunk":"@@ -271,6 +272,20 @@ public Splittable asSplittable() {\n         return ret;\n     }\n \n+    public void useDefaultValues(UserInfo instance) {\n+        JSONObject defaults = new JSONObject();\n+        JSONObject defaultHomeDir = new JSONObject();\n+\n+        JSONString id = new JSONString(instance.getHomePath());\n+        JSONString path = new JSONString(instance.getHomePath());","path":"de-lib/src/main/java/org/iplantc/de/client/models/UserSettings.java","position":46,"original_position":46,"commit_id":"87c67e206487ee6b93450038df1eead23479f141","original_commit_id":"87c67e206487ee6b93450038df1eead23479f141","user":{"login":"psarando","id":996408,"avatar_url":"https://avatars.githubusercontent.com/u/996408?v=3","gravatar_id":"","url":"https://api.github.com/users/psarando","html_url":"https://github.com/psarando","followers_url":"https://api.github.com/users/psarando/followers","following_url":"https://api.github.com/users/psarando/following{/other_user}","gists_url":"https://api.github.com/users/psarando/gists{/gist_id}","starred_url":"https://api.github.com/users/psarando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psarando/subscriptions","organizations_url":"https://api.github.com/users/psarando/orgs","repos_url":"https://api.github.com/users/psarando/repos","events_url":"https://api.github.com/users/psarando/events{/privacy}","received_events_url":"https://api.github.com/users/psarando/received_events","type":"User","site_admin":false},"body":"For this PR, I think it's a good idea to use `getHomePath` here.\r\n\r\nIf the bootstrap endpoint doesn't return the user's real home path because `data-info` is down, then I think this `getHomePath` method can return `/iplant/home/<username>` for now (it can be updated in another PR).\r\n\r\nThat static part of the path (`/iplant/home/`) should be configurable if it isn't already.","created_at":"2016-10-31T20:38:01Z","updated_at":"2016-10-31T20:38:01Z","html_url":"https://github.com/cyverse-de/ui/pull/32#discussion_r85827418","pull_request_url":"https://api.github.com/repos/cyverse-de/ui/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/cyverse-de/ui/pulls/comments/85827418"},"html":{"href":"https://github.com/cyverse-de/ui/pull/32#discussion_r85827418"},"pull_request":{"href":"https://api.github.com/repos/cyverse-de/ui/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/cyverse-de/ui/pulls/32","id":91057252,"html_url":"https://github.com/cyverse-de/ui/pull/32","diff_url":"https://github.com/cyverse-de/ui/pull/32.diff","patch_url":"https://github.com/cyverse-de/ui/pull/32.patch","issue_url":"https://api.github.com/repos/cyverse-de/ui/issues/32","number":32,"state":"open","locked":false,"title":"CORE-8365 Use default values when /secured/preferences is down","user":{"login":"ash3rz","id":8909156,"avatar_url":"https://avatars.githubusercontent.com/u/8909156?v=3","gravatar_id":"","url":"https://api.github.com/users/ash3rz","html_url":"https://github.com/ash3rz","followers_url":"https://api.github.com/users/ash3rz/followers","following_url":"https://api.github.com/users/ash3rz/following{/other_user}","gists_url":"https://api.github.com/users/ash3rz/gists{/gist_id}","starred_url":"https://api.github.com/users/ash3rz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ash3rz/subscriptions","organizations_url":"https://api.github.com/users/ash3rz/orgs","repos_url":"https://api.github.com/users/ash3rz/repos","events_url":"https://api.github.com/users/ash3rz/events{/privacy}","received_events_url":"https://api.github.com/users/ash3rz/received_events","type":"User","site_admin":false},"body":"This PR enables the UI to be more resilient when /secured/preferences is down.  Previously, the UI would not load if this callback failed.  Now, a default set of preferences will be used, the user will be informed, and the UI will continue loading.\n","created_at":"2016-10-26T18:07:19Z","updated_at":"2016-10-31T20:38:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a9261bf746969df7895f12f8ab1bce051ba3fe9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cyverse-de/ui/pulls/32/commits","review_comments_url":"https://api.github.com/repos/cyverse-de/ui/pulls/32/comments","review_comment_url":"https://api.github.com/repos/cyverse-de/ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cyverse-de/ui/issues/32/comments","statuses_url":"https://api.github.com/repos/cyverse-de/ui/statuses/87c67e206487ee6b93450038df1eead23479f141","head":{"label":"ash3rz:CORE-8365","ref":"CORE-8365","sha":"87c67e206487ee6b93450038df1eead23479f141","user":{"login":"ash3rz","id":8909156,"avatar_url":"https://avatars.githubusercontent.com/u/8909156?v=3","gravatar_id":"","url":"https://api.github.com/users/ash3rz","html_url":"https://github.com/ash3rz","followers_url":"https://api.github.com/users/ash3rz/followers","following_url":"https://api.github.com/users/ash3rz/following{/other_user}","gists_url":"https://api.github.com/users/ash3rz/gists{/gist_id}","starred_url":"https://api.github.com/users/ash3rz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ash3rz/subscriptions","organizations_url":"https://api.github.com/users/ash3rz/orgs","repos_url":"https://api.github.com/users/ash3rz/repos","events_url":"https://api.github.com/users/ash3rz/events{/privacy}","received_events_url":"https://api.github.com/users/ash3rz/received_events","type":"User","site_admin":false},"repo":{"id":67163762,"name":"ui","full_name":"ash3rz/ui","owner":{"login":"ash3rz","id":8909156,"avatar_url":"https://avatars.githubusercontent.com/u/8909156?v=3","gravatar_id":"","url":"https://api.github.com/users/ash3rz","html_url":"https://github.com/ash3rz","followers_url":"https://api.github.com/users/ash3rz/followers","following_url":"https://api.github.com/users/ash3rz/following{/other_user}","gists_url":"https://api.github.com/users/ash3rz/gists{/gist_id}","starred_url":"https://api.github.com/users/ash3rz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ash3rz/subscriptions","organizations_url":"https://api.github.com/users/ash3rz/orgs","repos_url":"https://api.github.com/users/ash3rz/repos","events_url":"https://api.github.com/users/ash3rz/events{/privacy}","received_events_url":"https://api.github.com/users/ash3rz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ash3rz/ui","description":null,"fork":true,"url":"https://api.github.com/repos/ash3rz/ui","forks_url":"https://api.github.com/repos/ash3rz/ui/forks","keys_url":"https://api.github.com/repos/ash3rz/ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ash3rz/ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ash3rz/ui/teams","hooks_url":"https://api.github.com/repos/ash3rz/ui/hooks","issue_events_url":"https://api.github.com/repos/ash3rz/ui/issues/events{/number}","events_url":"https://api.github.com/repos/ash3rz/ui/events","assignees_url":"https://api.github.com/repos/ash3rz/ui/assignees{/user}","branches_url":"https://api.github.com/repos/ash3rz/ui/branches{/branch}","tags_url":"https://api.github.com/repos/ash3rz/ui/tags","blobs_url":"https://api.github.com/repos/ash3rz/ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ash3rz/ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ash3rz/ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/ash3rz/ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ash3rz/ui/statuses/{sha}","languages_url":"https://api.github.com/repos/ash3rz/ui/languages","stargazers_url":"https://api.github.com/repos/ash3rz/ui/stargazers","contributors_url":"https://api.github.com/repos/ash3rz/ui/contributors","subscribers_url":"https://api.github.com/repos/ash3rz/ui/subscribers","subscription_url":"https://api.github.com/repos/ash3rz/ui/subscription","commits_url":"https://api.github.com/repos/ash3rz/ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/ash3rz/ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/ash3rz/ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/ash3rz/ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/ash3rz/ui/contents/{+path}","compare_url":"https://api.github.com/repos/ash3rz/ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ash3rz/ui/merges","archive_url":"https://api.github.com/repos/ash3rz/ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ash3rz/ui/downloads","issues_url":"https://api.github.com/repos/ash3rz/ui/issues{/number}","pulls_url":"https://api.github.com/repos/ash3rz/ui/pulls{/number}","milestones_url":"https://api.github.com/repos/ash3rz/ui/milestones{/number}","notifications_url":"https://api.github.com/repos/ash3rz/ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ash3rz/ui/labels{/name}","releases_url":"https://api.github.com/repos/ash3rz/ui/releases{/id}","deployments_url":"https://api.github.com/repos/ash3rz/ui/deployments","created_at":"2016-09-01T20:23:56Z","updated_at":"2016-09-01T20:24:04Z","pushed_at":"2016-10-31T18:27:20Z","git_url":"git://github.com/ash3rz/ui.git","ssh_url":"git@github.com:ash3rz/ui.git","clone_url":"https://github.com/ash3rz/ui.git","svn_url":"https://github.com/ash3rz/ui","homepage":null,"size":34661,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cyverse-de:master","ref":"master","sha":"e7d82dcba3b9440d01b23104cf22f242188e4f6d","user":{"login":"cyverse-de","id":20466326,"avatar_url":"https://avatars.githubusercontent.com/u/20466326?v=3","gravatar_id":"","url":"https://api.github.com/users/cyverse-de","html_url":"https://github.com/cyverse-de","followers_url":"https://api.github.com/users/cyverse-de/followers","following_url":"https://api.github.com/users/cyverse-de/following{/other_user}","gists_url":"https://api.github.com/users/cyverse-de/gists{/gist_id}","starred_url":"https://api.github.com/users/cyverse-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyverse-de/subscriptions","organizations_url":"https://api.github.com/users/cyverse-de/orgs","repos_url":"https://api.github.com/users/cyverse-de/repos","events_url":"https://api.github.com/users/cyverse-de/events{/privacy}","received_events_url":"https://api.github.com/users/cyverse-de/received_events","type":"Organization","site_admin":false},"repo":{"id":66952656,"name":"ui","full_name":"cyverse-de/ui","owner":{"login":"cyverse-de","id":20466326,"avatar_url":"https://avatars.githubusercontent.com/u/20466326?v=3","gravatar_id":"","url":"https://api.github.com/users/cyverse-de","html_url":"https://github.com/cyverse-de","followers_url":"https://api.github.com/users/cyverse-de/followers","following_url":"https://api.github.com/users/cyverse-de/following{/other_user}","gists_url":"https://api.github.com/users/cyverse-de/gists{/gist_id}","starred_url":"https://api.github.com/users/cyverse-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyverse-de/subscriptions","organizations_url":"https://api.github.com/users/cyverse-de/orgs","repos_url":"https://api.github.com/users/cyverse-de/repos","events_url":"https://api.github.com/users/cyverse-de/events{/privacy}","received_events_url":"https://api.github.com/users/cyverse-de/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cyverse-de/ui","description":null,"fork":false,"url":"https://api.github.com/repos/cyverse-de/ui","forks_url":"https://api.github.com/repos/cyverse-de/ui/forks","keys_url":"https://api.github.com/repos/cyverse-de/ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cyverse-de/ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cyverse-de/ui/teams","hooks_url":"https://api.github.com/repos/cyverse-de/ui/hooks","issue_events_url":"https://api.github.com/repos/cyverse-de/ui/issues/events{/number}","events_url":"https://api.github.com/repos/cyverse-de/ui/events","assignees_url":"https://api.github.com/repos/cyverse-de/ui/assignees{/user}","branches_url":"https://api.github.com/repos/cyverse-de/ui/branches{/branch}","tags_url":"https://api.github.com/repos/cyverse-de/ui/tags","blobs_url":"https://api.github.com/repos/cyverse-de/ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cyverse-de/ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cyverse-de/ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/cyverse-de/ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cyverse-de/ui/statuses/{sha}","languages_url":"https://api.github.com/repos/cyverse-de/ui/languages","stargazers_url":"https://api.github.com/repos/cyverse-de/ui/stargazers","contributors_url":"https://api.github.com/repos/cyverse-de/ui/contributors","subscribers_url":"https://api.github.com/repos/cyverse-de/ui/subscribers","subscription_url":"https://api.github.com/repos/cyverse-de/ui/subscription","commits_url":"https://api.github.com/repos/cyverse-de/ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/cyverse-de/ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/cyverse-de/ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/cyverse-de/ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/cyverse-de/ui/contents/{+path}","compare_url":"https://api.github.com/repos/cyverse-de/ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cyverse-de/ui/merges","archive_url":"https://api.github.com/repos/cyverse-de/ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cyverse-de/ui/downloads","issues_url":"https://api.github.com/repos/cyverse-de/ui/issues{/number}","pulls_url":"https://api.github.com/repos/cyverse-de/ui/pulls{/number}","milestones_url":"https://api.github.com/repos/cyverse-de/ui/milestones{/number}","notifications_url":"https://api.github.com/repos/cyverse-de/ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cyverse-de/ui/labels{/name}","releases_url":"https://api.github.com/repos/cyverse-de/ui/releases{/id}","deployments_url":"https://api.github.com/repos/cyverse-de/ui/deployments","created_at":"2016-08-30T15:17:05Z","updated_at":"2016-08-30T15:19:05Z","pushed_at":"2016-10-31T17:38:29Z","git_url":"git://github.com/cyverse-de/ui.git","ssh_url":"git@github.com:cyverse-de/ui.git","clone_url":"https://github.com/cyverse-de/ui.git","svn_url":"https://github.com/cyverse-de/ui","homepage":null,"size":19716,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cyverse-de/ui/pulls/32"},"html":{"href":"https://github.com/cyverse-de/ui/pull/32"},"issue":{"href":"https://api.github.com/repos/cyverse-de/ui/issues/32"},"comments":{"href":"https://api.github.com/repos/cyverse-de/ui/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/cyverse-de/ui/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/cyverse-de/ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cyverse-de/ui/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/cyverse-de/ui/statuses/87c67e206487ee6b93450038df1eead23479f141"}}}}
{"actor":{"display_login":"psarando"}}