You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Phuong (JIRA)" <ji...@apache.org> on 2015/03/05 08:49:38 UTC

[jira] [Comment Edited] (SHINDIG-1993) Remove hardcode scheme for opensocial-data pipline feature configuration

    [ https://issues.apache.org/jira/browse/SHINDIG-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14348329#comment-14348329 ] 

Phuong edited comment on SHINDIG-1993 at 3/5/15 7:49 AM:
---------------------------------------------------------

[~rbaxter] Do you mean I have to re-configure container.js if I move to use https ?
Why can't we remove the scheme ? can we add the scheme at runtime (PipelinedDataPreloader) ? using information in GadgetContext 



was (Author: vstorm83):
[~rbaxter] Do you mean I have to re-configure container.js if I move to use https ?
Can we add the scheme at runtime (PipelinedDataPreloader) ? using information in GadgetContext 


> Remove hardcode scheme for opensocial-data pipline feature configuration
> ------------------------------------------------------------------------
>
>                 Key: SHINDIG-1993
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1993
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 2.0.2
>            Reporter: Phuong
>
> In container.js, we find this config:
> {code}
> "gadgets.osDataUri" : "http://%host%/social/rpc"
> {code}
> 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
> {code}
> <ModulePrefs>
>  <Require feature="opensocial-data"/>
> </ModulePrefs>
> <Content type="html"><![CDATA[
>   <script xmlns:os="http://ns.opensocial.org/2008/markup" type="text/os-data">
>     <os:DataRequest key="vwr" method="people.get" userId="@viewer" fields="name,birthday"/>
>     <os:ViewerRequest key="vwr2" fields="name,birthday"/>
>     <os:HttpRequest key="mydata" href="http://example.com/api"/>
>   </script>
>   ... HTML content here ...
> ]]></Content>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)