{"action":"opened","issue":{"url":"https://api.github.com/repos/sensorbee/mqtt/issues/3","repository_url":"https://api.github.com/repos/sensorbee/mqtt","labels_url":"https://api.github.com/repos/sensorbee/mqtt/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/sensorbee/mqtt/issues/3/comments","events_url":"https://api.github.com/repos/sensorbee/mqtt/issues/3/events","html_url":"https://github.com/sensorbee/mqtt/issues/3","id":184084142,"number":3,"title":"Support TLS parameters","user":{"login":"nobu-k","id":61242,"avatar_url":"https://avatars.githubusercontent.com/u/61242?v=3","gravatar_id":"","url":"https://api.github.com/users/nobu-k","html_url":"https://github.com/nobu-k","followers_url":"https://api.github.com/users/nobu-k/followers","following_url":"https://api.github.com/users/nobu-k/following{/other_user}","gists_url":"https://api.github.com/users/nobu-k/gists{/gist_id}","starred_url":"https://api.github.com/users/nobu-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nobu-k/subscriptions","organizations_url":"https://api.github.com/users/nobu-k/orgs","repos_url":"https://api.github.com/users/nobu-k/repos","events_url":"https://api.github.com/users/nobu-k/events{/privacy}","received_events_url":"https://api.github.com/users/nobu-k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-19T21:53:54Z","updated_at":"2016-10-19T21:53:54Z","closed_at":null,"body":"From https://github.com/sensorbee/mqtt/pull/2#issuecomment-253725163 .\r\n\r\nThe plugin should provide [these TLS parameters](https://godoc.org/crypto/tls#Config). However, I don't have a good idea now to support a lot of parameters. Generally, I think one of the following forms should be okay.\r\n\r\n```\r\nWITH\r\n  root_ca = val,\r\n  client_ca = val,\r\n  ...;\r\n```\r\n\r\n```\r\nWITH\r\n  tls = {\r\n    \"root_ca\": val,\r\n    \"client_ca\": val,\r\n    ...\r\n  };\r\n```\r\n\r\nI want to know/discuss if there's a good way to set all parameters at once.\r\n\r\n### Note\r\n\r\nSensorBee's data package should provide an easy way to process parameters passed as `data.Map`. Ideally, it should also support something like (JSON) schema."}}
{"actor":{"display_login":"nobu-k"}}