{"action":"created","issue":{"url":"https://api.github.com/repos/GLab/ToMaTo/issues/1161","labels_url":"https://api.github.com/repos/GLab/ToMaTo/issues/1161/labels{/name}","comments_url":"https://api.github.com/repos/GLab/ToMaTo/issues/1161/comments","events_url":"https://api.github.com/repos/GLab/ToMaTo/issues/1161/events","html_url":"https://github.com/GLab/ToMaTo/issues/1161","id":130344509,"number":1161,"title":"Global config file for all backend services and webfrontend","user":{"login":"t-gerhard","id":986924,"avatar_url":"https://avatars.githubusercontent.com/u/986924?v=3","gravatar_id":"","url":"https://api.github.com/users/t-gerhard","html_url":"https://github.com/t-gerhard","followers_url":"https://api.github.com/users/t-gerhard/followers","following_url":"https://api.github.com/users/t-gerhard/following{/other_user}","gists_url":"https://api.github.com/users/t-gerhard/gists{/gist_id}","starred_url":"https://api.github.com/users/t-gerhard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-gerhard/subscriptions","organizations_url":"https://api.github.com/users/t-gerhard/orgs","repos_url":"https://api.github.com/users/t-gerhard/repos","events_url":"https://api.github.com/users/t-gerhard/events{/privacy}","received_events_url":"https://api.github.com/users/t-gerhard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GLab/ToMaTo/labels/complexity:%20medium","name":"complexity: medium","color":"d7e102"},{"url":"https://api.github.com/repos/GLab/ToMaTo/labels/component:%20backend","name":"component: backend","color":"444444"},{"url":"https://api.github.com/repos/GLab/ToMaTo/labels/component:%20webfrontend","name":"component: webfrontend","color":"444444"},{"url":"https://api.github.com/repos/GLab/ToMaTo/labels/type:%20enhancement","name":"type: enhancement","color":"0b02e1"},{"url":"https://api.github.com/repos/GLab/ToMaTo/labels/urgency:%20important","name":"urgency: important","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/GLab/ToMaTo/milestones/28","html_url":"https://github.com/GLab/ToMaTo/milestones/4.0","labels_url":"https://api.github.com/repos/GLab/ToMaTo/milestones/28/labels","id":1555444,"number":28,"title":"4.0","description":"* Backend is splitted into\r\n * backend_core\r\n * backend_users\r\n* Certificate-based inner authentication between all backend services and all hostmanagers (inner authentication)\r\n* Hostmanagers and the backend_users module know their backend_core.\r\n* There is an API call for frontends to submit error dumps.\r\n* backend_core opens a separate API that allows other backend services and the hostmanagers to submit error dumps (instead of waiting for the dumpmanager to pull these). Authorized are all services that are authenticated by the inner authentication.","creator":{"login":"t-gerhard","id":986924,"avatar_url":"https://avatars.githubusercontent.com/u/986924?v=3","gravatar_id":"","url":"https://api.github.com/users/t-gerhard","html_url":"https://github.com/t-gerhard","followers_url":"https://api.github.com/users/t-gerhard/followers","following_url":"https://api.github.com/users/t-gerhard/following{/other_user}","gists_url":"https://api.github.com/users/t-gerhard/gists{/gist_id}","starred_url":"https://api.github.com/users/t-gerhard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-gerhard/subscriptions","organizations_url":"https://api.github.com/users/t-gerhard/orgs","repos_url":"https://api.github.com/users/t-gerhard/repos","events_url":"https://api.github.com/users/t-gerhard/events{/privacy}","received_events_url":"https://api.github.com/users/t-gerhard/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-02-01T12:09:48Z","updated_at":"2016-02-01T12:10:47Z","due_on":"2016-02-28T23:00:00Z","closed_at":null},"comments":0,"created_at":"2016-02-01T12:05:01Z","updated_at":"2016-02-01T12:11:24Z","closed_at":null,"body":"This global file is then provided to all modules.\r\n\r\nIt is written so that each service can be configured, and shared preferences are configured for all services with the same setting.\r\nThis one central file is then provided to all docker containers.\r\n\r\nDifferent docker containers may never share the same private/public key pairs.\r\n\r\nWe should think about using JSON (or a similar language) for config files, rather than a python script. The current solution allows executable code in the config file.\r\nThis allows us to read the config file only once, and then having a public Config object that provides relevant settings.\r\nThis is related to #1138 "},"comment":{"url":"https://api.github.com/repos/GLab/ToMaTo/issues/comments/177942363","html_url":"https://github.com/GLab/ToMaTo/issues/1161#issuecomment-177942363","issue_url":"https://api.github.com/repos/GLab/ToMaTo/issues/1161","id":177942363,"user":{"login":"t-gerhard","id":986924,"avatar_url":"https://avatars.githubusercontent.com/u/986924?v=3","gravatar_id":"","url":"https://api.github.com/users/t-gerhard","html_url":"https://github.com/t-gerhard","followers_url":"https://api.github.com/users/t-gerhard/followers","following_url":"https://api.github.com/users/t-gerhard/following{/other_user}","gists_url":"https://api.github.com/users/t-gerhard/gists{/gist_id}","starred_url":"https://api.github.com/users/t-gerhard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-gerhard/subscriptions","organizations_url":"https://api.github.com/users/t-gerhard/orgs","repos_url":"https://api.github.com/users/t-gerhard/repos","events_url":"https://api.github.com/users/t-gerhard/events{/privacy}","received_events_url":"https://api.github.com/users/t-gerhard/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T12:11:24Z","updated_at":"2016-02-01T12:11:24Z","body":"I suggest doing this now, since this is a config syntax change, and we are working towards a new major release (4.0)."}}