{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/1365","repository_url":"https://api.github.com/repos/eclipse/smarthome","labels_url":"https://api.github.com/repos/eclipse/smarthome/issues/1365/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/1365/comments","events_url":"https://api.github.com/repos/eclipse/smarthome/issues/1365/events","html_url":"https://github.com/eclipse/smarthome/pull/1365","id":147458620,"number":1365,"title":"factored out persistence REST resources into own bundle","user":{"login":"sjka","id":2592443,"avatar_url":"https://avatars.githubusercontent.com/u/2592443?v=3","gravatar_id":"","url":"https://api.github.com/users/sjka","html_url":"https://github.com/sjka","followers_url":"https://api.github.com/users/sjka/followers","following_url":"https://api.github.com/users/sjka/following{/other_user}","gists_url":"https://api.github.com/users/sjka/gists{/gist_id}","starred_url":"https://api.github.com/users/sjka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjka/subscriptions","organizations_url":"https://api.github.com/users/sjka/orgs","repos_url":"https://api.github.com/users/sjka/repos","events_url":"https://api.github.com/users/sjka/events{/privacy}","received_events_url":"https://api.github.com/users/sjka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2016-04-11T15:05:15Z","updated_at":"2016-04-13T06:44:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eclipse/smarthome/pulls/1365","html_url":"https://github.com/eclipse/smarthome/pull/1365","diff_url":"https://github.com/eclipse/smarthome/pull/1365.diff","patch_url":"https://github.com/eclipse/smarthome/pull/1365.patch"},"body":"I've been running into weird problems with the REST resources inside the core.persistence bundle. Whenever io.rest gets installed _after_ persistence.core, then DS attempts to activate the persistence rest resource component, failing badly as the RestResource base class cannot be found. \r\n\r\nWhen the io.rest bundle gets installer later on, this issue does not fix itself, as the OSGi spec does not require any existing bundles to be re-resolved only to satisfy _optional_ dependencies.\r\n\r\nSo although I know it's perfectly legal as it is, I would still suggest to factor out the rest dependencies from the core for the above reasons.\r\n\r\nSigned-off-by: Simon Kaufmann <simon.kfm@googlemail.com>"},"comment":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/comments/209256926","html_url":"https://github.com/eclipse/smarthome/pull/1365#issuecomment-209256926","issue_url":"https://api.github.com/repos/eclipse/smarthome/issues/1365","id":209256926,"user":{"login":"maggu2810","id":204670,"avatar_url":"https://avatars.githubusercontent.com/u/204670?v=3","gravatar_id":"","url":"https://api.github.com/users/maggu2810","html_url":"https://github.com/maggu2810","followers_url":"https://api.github.com/users/maggu2810/followers","following_url":"https://api.github.com/users/maggu2810/following{/other_user}","gists_url":"https://api.github.com/users/maggu2810/gists{/gist_id}","starred_url":"https://api.github.com/users/maggu2810/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maggu2810/subscriptions","organizations_url":"https://api.github.com/users/maggu2810/orgs","repos_url":"https://api.github.com/users/maggu2810/repos","events_url":"https://api.github.com/users/maggu2810/events{/privacy}","received_events_url":"https://api.github.com/users/maggu2810/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T06:44:48Z","updated_at":"2016-04-13T06:44:48Z","body":"@dvanherbergen What is wrong about moving the REST stuff into one bundle? What is the advantage of moving RestResource to the core bundle?"}}