{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab-core/issues/905","repository_url":"https://api.github.com/repos/openhab/openhab-core","labels_url":"https://api.github.com/repos/openhab/openhab-core/issues/905/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab-core/issues/905/comments","events_url":"https://api.github.com/repos/openhab/openhab-core/issues/905/events","html_url":"https://github.com/openhab/openhab-core/pull/905","id":461986267,"node_id":"MDExOlB1bGxSZXF1ZXN0MjkyNzkxNjc3","number":905,"title":"openHAB JAX-RS publisher","user":{"login":"maggu2810","id":204670,"node_id":"MDQ6VXNlcjIwNDY3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/204670?v=4","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},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/openhab/openhab-core/milestones/6","html_url":"https://github.com/openhab/openhab-core/milestone/6","labels_url":"https://api.github.com/repos/openhab/openhab-core/milestones/6/labels","id":4097859,"node_id":"MDk6TWlsZXN0b25lNDA5Nzg1OQ==","number":6,"title":"2.5","description":"","creator":{"login":"wborn","id":12213581,"node_id":"MDQ6VXNlcjEyMjEzNTgx","avatar_url":"https://avatars1.githubusercontent.com/u/12213581?v=4","gravatar_id":"","url":"https://api.github.com/users/wborn","html_url":"https://github.com/wborn","followers_url":"https://api.github.com/users/wborn/followers","following_url":"https://api.github.com/users/wborn/following{/other_user}","gists_url":"https://api.github.com/users/wborn/gists{/gist_id}","starred_url":"https://api.github.com/users/wborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wborn/subscriptions","organizations_url":"https://api.github.com/users/wborn/orgs","repos_url":"https://api.github.com/users/wborn/repos","events_url":"https://api.github.com/users/wborn/events{/privacy}","received_events_url":"https://api.github.com/users/wborn/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":297,"state":"open","created_at":"2019-02-28T21:10:29Z","updated_at":"2019-08-25T05:55:04Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2019-06-28T11:18:41Z","updated_at":"2019-08-26T15:40:21Z","closed_at":"2019-07-01T19:08:04Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/openhab/openhab-core/pulls/905","html_url":"https://github.com/openhab/openhab-core/pull/905","diff_url":"https://github.com/openhab/openhab-core/pull/905.diff","patch_url":"https://github.com/openhab/openhab-core/pull/905.patch"},"body":"Do not use the `com.eclipsesource.jaxrs` `publisher` anymore.\r\nIt's service tracker breaks our OSGi runtime a little bit.\r\n\r\nThere has been already:\r\nhttps://github.com/eclipse/smarthome/pull/4153\r\n\r\nThis PR uses DS instead of a service tracker, this ensure the consumed services are already ready.\r\n\r\nIt drops the option to add a whitelist as fragment of the io.rest.optimize bundle, but I am pretty sure this is not used in openHAB anyhwere (IIRC it has been added to allow third party products to use a different whitelist, but I was not aware of anyone ever used it).\r\n\r\nPerhaps it will also help us with a more step by step transition to the JAX-RS Whiteboard pattern as a positive side effect. If not, it does not harm.\r\n\r\nThe used EclipseSource Provider sources already uses EPL but v1.\r\nI kept the origin license headers and copied a notice file from another bundle.\r\nPerhaps this needs be fixed.\r\n\r\nUsing that publisher I do not see any CNFE or other exceptions in the demo application anymore."},"comment":{"url":"https://api.github.com/repos/openhab/openhab-core/issues/comments/524911387","html_url":"https://github.com/openhab/openhab-core/pull/905#issuecomment-524911387","issue_url":"https://api.github.com/repos/openhab/openhab-core/issues/905","id":524911387,"node_id":"MDEyOklzc3VlQ29tbWVudDUyNDkxMTM4Nw==","user":{"login":"openhab-bot","id":5867665,"node_id":"MDQ6VXNlcjU4Njc2NjU=","avatar_url":"https://avatars1.githubusercontent.com/u/5867665?v=4","gravatar_id":"","url":"https://api.github.com/users/openhab-bot","html_url":"https://github.com/openhab-bot","followers_url":"https://api.github.com/users/openhab-bot/followers","following_url":"https://api.github.com/users/openhab-bot/following{/other_user}","gists_url":"https://api.github.com/users/openhab-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab-bot/subscriptions","organizations_url":"https://api.github.com/users/openhab-bot/orgs","repos_url":"https://api.github.com/users/openhab-bot/repos","events_url":"https://api.github.com/users/openhab-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openhab-bot/received_events","type":"User","site_admin":false},"created_at":"2019-08-26T15:40:21Z","updated_at":"2019-08-26T15:40:21Z","author_association":"COLLABORATOR","body":"This pull request has been mentioned on **openHAB Community**. There might be relevant details there:\n\nhttps://community.openhab.org/t/m2-realease-rest-api-not-working/80710/3\n"}}
{"actor":{"display_login":"openhab-bot"}}