{"action":"created","issue":{"url":"https://api.github.com/repos/electronicarts/orbit/issues/123","labels_url":"https://api.github.com/repos/electronicarts/orbit/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/electronicarts/orbit/issues/123/comments","events_url":"https://api.github.com/repos/electronicarts/orbit/issues/123/events","html_url":"https://github.com/electronicarts/orbit/pull/123","id":122093899,"number":123,"title":"Variable substitution for the Orbit config file","user":{"login":"Fiurgeist","id":12498678,"avatar_url":"https://avatars.githubusercontent.com/u/12498678?v=3","gravatar_id":"","url":"https://api.github.com/users/Fiurgeist","html_url":"https://github.com/Fiurgeist","followers_url":"https://api.github.com/users/Fiurgeist/followers","following_url":"https://api.github.com/users/Fiurgeist/following{/other_user}","gists_url":"https://api.github.com/users/Fiurgeist/gists{/gist_id}","starred_url":"https://api.github.com/users/Fiurgeist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fiurgeist/subscriptions","organizations_url":"https://api.github.com/users/Fiurgeist/orgs","repos_url":"https://api.github.com/users/Fiurgeist/repos","events_url":"https://api.github.com/users/Fiurgeist/events{/privacy}","received_events_url":"https://api.github.com/users/Fiurgeist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-14T17:46:22Z","updated_at":"2015-12-14T21:38:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/electronicarts/orbit/pulls/123","html_url":"https://github.com/electronicarts/orbit/pull/123","diff_url":"https://github.com/electronicarts/orbit/pull/123.diff","patch_url":"https://github.com/electronicarts/orbit/pull/123.patch"},"body":"Usage:\r\n- orbit.http.port: ${http.port} -> name of the system property\r\n- orbit.http.port: ${http.port:1337} -> name of the system property and a default value separated by a colon ':'\r\n\r\n---\r\n\r\nI need the possibility to set Orbit config values over system properties, especially for ports, because in my set-up the application becomes random ports provided on start-up, so I can't have them hard-coded in the config file. I used an approach you can find for other config files (e.g. for JGroups or Hazelcast), looking for ${...} and checking if there is a system property with that name."},"comment":{"url":"https://api.github.com/repos/electronicarts/orbit/issues/comments/164567796","html_url":"https://github.com/electronicarts/orbit/pull/123#issuecomment-164567796","issue_url":"https://api.github.com/repos/electronicarts/orbit/issues/123","id":164567796,"user":{"login":"DanielSperry","id":2395112,"avatar_url":"https://avatars.githubusercontent.com/u/2395112?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielSperry","html_url":"https://github.com/DanielSperry","followers_url":"https://api.github.com/users/DanielSperry/followers","following_url":"https://api.github.com/users/DanielSperry/following{/other_user}","gists_url":"https://api.github.com/users/DanielSperry/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielSperry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielSperry/subscriptions","organizations_url":"https://api.github.com/users/DanielSperry/orgs","repos_url":"https://api.github.com/users/DanielSperry/repos","events_url":"https://api.github.com/users/DanielSperry/events{/privacy}","received_events_url":"https://api.github.com/users/DanielSperry/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T21:38:29Z","updated_at":"2015-12-14T21:38:29Z","body":"This look ok to me. \r\n@JoeHegarty, how about you?"}}