Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1993

Remove hardcode scheme for opensocial-data pipline feature configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.2
    • None
    • Java
    • None

    Description

      In container.js, we find this config:

      "gadgets.osDataUri" : "http://%host%/social/rpc"
      

      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

      <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>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            vstorm83 Phuong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: