{"action":"opened","issue":{"url":"https://api.github.com/repos/chefArchitect/shindig/issues/129","repository_url":"https://api.github.com/repos/chefArchitect/shindig","labels_url":"https://api.github.com/repos/chefArchitect/shindig/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/chefArchitect/shindig/issues/129/comments","events_url":"https://api.github.com/repos/chefArchitect/shindig/issues/129/events","html_url":"https://github.com/chefArchitect/shindig/issues/129","id":137248064,"number":129,"title":"[SHINDIG-1993] Remove hardcode scheme for opensocial-data pipline feature configuration","user":{"login":"chefArchitect","id":4200677,"avatar_url":"https://avatars.githubusercontent.com/u/4200677?v=3","gravatar_id":"","url":"https://api.github.com/users/chefArchitect","html_url":"https://github.com/chefArchitect","followers_url":"https://api.github.com/users/chefArchitect/followers","following_url":"https://api.github.com/users/chefArchitect/following{/other_user}","gists_url":"https://api.github.com/users/chefArchitect/gists{/gist_id}","starred_url":"https://api.github.com/users/chefArchitect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chefArchitect/subscriptions","organizations_url":"https://api.github.com/users/chefArchitect/orgs","repos_url":"https://api.github.com/users/chefArchitect/repos","events_url":"https://api.github.com/users/chefArchitect/events{/privacy}","received_events_url":"https://api.github.com/users/chefArchitect/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-29T13:03:03Z","updated_at":"2016-02-29T13:03:03Z","closed_at":null,"body":"<p>In container.js, we find this config:</p>\n<div class=\"code panel\" style=\"border-width: 1px;\"><div class=\"codeContent panelContent\">\n<pre class=\"code-java\">\r\n<span class=\"code-quote\">\"gadgets.osDataUri\"</span> : <span class=\"code-quote\">\"http:<span class=\"code-comment\">//%host%/social/rpc\"</span></span>\r\n</pre>\n</div></div>\n\n<p>The \"http\" scheme is hardcode like that, that prevent us to use https, if we try to remove the hardcode scheme, it show exception on shindig server when using the feature</p>\n<div class=\"code panel\" style=\"border-width: 1px;\"><div class=\"codeContent panelContent\">\n<pre class=\"code-java\">\r\n&lt;ModulePrefs&gt;\r\n &lt;Require feature=<span class=\"code-quote\">\"opensocial-data\"</span>/&gt;\r\n&lt;/ModulePrefs&gt;\r\n\r\n&lt;Content type=<span class=\"code-quote\">\"html\"</span>&gt;&lt;![CDATA[\r\n  &lt;script xmlns:os=<span class=\"code-quote\">\"http:<span class=\"code-comment\">//ns.opensocial.org/2008/markup\"</span> type=<span class=\"code-quote\">\"text/os-data\"</span>&gt;\r\n</span>    &lt;os:DataRequest key=<span class=\"code-quote\">\"vwr\"</span> method=<span class=\"code-quote\">\"people.get\"</span> userId=<span class=\"code-quote\">\"@viewer\"</span> fields=<span class=\"code-quote\">\"name,birthday\"</span>/&gt;\r\n    &lt;os:ViewerRequest key=<span class=\"code-quote\">\"vwr2\"</span> fields=<span class=\"code-quote\">\"name,birthday\"</span>/&gt;\r\n    &lt;os:HttpRequest key=<span class=\"code-quote\">\"mydata\"</span> href=<span class=\"code-quote\">\"http:<span class=\"code-comment\">//example.com/api\"</span>/&gt;\r\n</span>  &lt;/script&gt;\r\n  ... HTML content here ...\r\n]]&gt;&lt;/Content&gt;\r\n</pre>\n</div></div>"}}