{"action":"opened","issue":{"url":"https://api.github.com/repos/opencor/opencor/issues/717","labels_url":"https://api.github.com/repos/opencor/opencor/issues/717/labels{/name}","comments_url":"https://api.github.com/repos/opencor/opencor/issues/717/comments","events_url":"https://api.github.com/repos/opencor/opencor/issues/717/events","html_url":"https://github.com/opencor/opencor/issues/717","id":99372856,"number":717,"title":"Data store interface: replace dataStoreExporterInstance() with new/deleteDataStoreExporterInstance()","user":{"login":"agarny","id":602265,"avatar_url":"https://avatars.githubusercontent.com/u/602265?v=3","gravatar_id":"","url":"https://api.github.com/users/agarny","html_url":"https://github.com/agarny","followers_url":"https://api.github.com/users/agarny/followers","following_url":"https://api.github.com/users/agarny/following{/other_user}","gists_url":"https://api.github.com/users/agarny/gists{/gist_id}","starred_url":"https://api.github.com/users/agarny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agarny/subscriptions","organizations_url":"https://api.github.com/users/agarny/orgs","repos_url":"https://api.github.com/users/agarny/repos","events_url":"https://api.github.com/users/agarny/events{/privacy}","received_events_url":"https://api.github.com/users/agarny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opencor/opencor/labels/Improvement","name":"Improvement","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"agarny","id":602265,"avatar_url":"https://avatars.githubusercontent.com/u/602265?v=3","gravatar_id":"","url":"https://api.github.com/users/agarny","html_url":"https://github.com/agarny","followers_url":"https://api.github.com/users/agarny/followers","following_url":"https://api.github.com/users/agarny/following{/other_user}","gists_url":"https://api.github.com/users/agarny/gists{/gist_id}","starred_url":"https://api.github.com/users/agarny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agarny/subscriptions","organizations_url":"https://api.github.com/users/agarny/orgs","repos_url":"https://api.github.com/users/agarny/repos","events_url":"https://api.github.com/users/agarny/events{/privacy}","received_events_url":"https://api.github.com/users/agarny/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/opencor/opencor/milestones/6","html_url":"https://github.com/opencor/opencor/milestones/0.5","labels_url":"https://api.github.com/repos/opencor/opencor/milestones/6/labels","id":900783,"number":6,"title":"0.5","description":"","creator":{"login":"agarny","id":602265,"avatar_url":"https://avatars.githubusercontent.com/u/602265?v=3","gravatar_id":"","url":"https://api.github.com/users/agarny","html_url":"https://github.com/agarny","followers_url":"https://api.github.com/users/agarny/followers","following_url":"https://api.github.com/users/agarny/following{/other_user}","gists_url":"https://api.github.com/users/agarny/gists{/gist_id}","starred_url":"https://api.github.com/users/agarny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agarny/subscriptions","organizations_url":"https://api.github.com/users/agarny/orgs","repos_url":"https://api.github.com/users/agarny/repos","events_url":"https://api.github.com/users/agarny/events{/privacy}","received_events_url":"https://api.github.com/users/agarny/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":71,"state":"open","created_at":"2014-12-11T17:57:32Z","updated_at":"2015-08-06T07:09:23Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-06T07:09:23Z","updated_at":"2015-08-06T07:09:23Z","closed_at":null,"body":"Right now, ```dataStoreExporterInstance()``` is used to retrieve the instance of a data store exporter (then, it's up to its consumer to delete that instance). This all works fine, but it doesn't allow for an exporter to be customised by a user and for that customisation to be saved upon quitting OpenCOR, and re-loaded upon re-starting OpenCOR.\r\n\r\nThis could, however, be achieved by having ```newDataStoreExporterInstance()``` and ```deleteDataStoreExporterInstance()``` rather than ```dataStoreExporterInstance()```. Also, because we might need to customise more than one instance of a data store exporter, we might want to pass an ```id``` to those new methods (with ```id = \"\"``` by default)."}}