{"action":"created","issue":{"url":"https://api.github.com/repos/PhantomYdn/Orienteer/issues/162","labels_url":"https://api.github.com/repos/PhantomYdn/Orienteer/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/PhantomYdn/Orienteer/issues/162/comments","events_url":"https://api.github.com/repos/PhantomYdn/Orienteer/issues/162/events","html_url":"https://github.com/PhantomYdn/Orienteer/issues/162","id":65766230,"number":162,"title":"Document usage and precendence of system properties and configuration files at different locations","user":{"login":"krichter722","id":4369372,"avatar_url":"https://avatars.githubusercontent.com/u/4369372?v=3","gravatar_id":"","url":"https://api.github.com/users/krichter722","html_url":"https://github.com/krichter722","followers_url":"https://api.github.com/users/krichter722/followers","following_url":"https://api.github.com/users/krichter722/following{/other_user}","gists_url":"https://api.github.com/users/krichter722/gists{/gist_id}","starred_url":"https://api.github.com/users/krichter722/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krichter722/subscriptions","organizations_url":"https://api.github.com/users/krichter722/orgs","repos_url":"https://api.github.com/users/krichter722/repos","events_url":"https://api.github.com/users/krichter722/events{/privacy}","received_events_url":"https://api.github.com/users/krichter722/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PhantomYdn/Orienteer/labels/documentation","name":"documentation","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-01T19:54:35Z","updated_at":"2015-04-02T05:54:39Z","closed_at":null,"body":"I tried to figure out a system from the `lookupPropertiesURL` and `lookupFile` methods of `OrienteerModule`. I want to investigate a probale bug and I'm stuck at loading properties. I'm missing a default fallback, but rather than figuring out what should happen from the code I'd appreciate documentation (as general as possilbe). I guess it'd make sense to do that as a class comment in `OrienteerModule`."},"comment":{"url":"https://api.github.com/repos/PhantomYdn/Orienteer/issues/comments/88751242","html_url":"https://github.com/PhantomYdn/Orienteer/issues/162#issuecomment-88751242","issue_url":"https://api.github.com/repos/PhantomYdn/Orienteer/issues/162","id":88751242,"user":{"login":"PhantomYdn","id":1199285,"avatar_url":"https://avatars.githubusercontent.com/u/1199285?v=3","gravatar_id":"","url":"https://api.github.com/users/PhantomYdn","html_url":"https://github.com/PhantomYdn","followers_url":"https://api.github.com/users/PhantomYdn/followers","following_url":"https://api.github.com/users/PhantomYdn/following{/other_user}","gists_url":"https://api.github.com/users/PhantomYdn/gists{/gist_id}","starred_url":"https://api.github.com/users/PhantomYdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhantomYdn/subscriptions","organizations_url":"https://api.github.com/users/PhantomYdn/orgs","repos_url":"https://api.github.com/users/PhantomYdn/repos","events_url":"https://api.github.com/users/PhantomYdn/events{/privacy}","received_events_url":"https://api.github.com/users/PhantomYdn/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T05:54:39Z","updated_at":"2015-04-02T05:54:39Z","body":"Thanks! Will update JavaDoc.\r\nBut please help me understand your problem in details...\r\n\r\nlookupPropertiesURL() and lookupFile() are doing pretty much the same: trying to find properties file to lood. Idea is following:\r\n\r\n1) Check system property for directly specified filename. If it's there: use that file or URL\r\n2) Otherwise it looks for required properties file from local directory and up\r\n\r\nBut let me note, that corresponding system property can be specified by code. For example there: StaticInjectorProvider (for tests) or in StartStandalone (to fallback to embedded configuration)."}}