JSON-RPC implementation
-----------------------

                 Key: SHINDIG-536
                 URL: https://issues.apache.org/jira/browse/SHINDIG-536
             Project: Shindig
          Issue Type: New Feature
          Components: RESTful API (PHP)
            Reporter: Chris Chabot
            Priority: Blocker


Implement the new 0.8.1 JSON-RPC protocol, see :
http://docs.google.com/View?docid=dhjrqr8t_4cwzqq7gh

While implementing this you can switch the protocol php shindig will use by 
commenting out:
                //FIXME temp fix to force the js api to use the REST interface 
until we finish implementing the JSON-RPC service
                if (!isset($gadgetConfig['opensocial-0.8'])) {
                        $gadgetConfig['opensocial-0.8'] = array();
                }
                $gadgetConfig['opensocial-0.8']['impl'] = "rest";
                return "gadgets.config.init(" . json_encode($gadgetConfig) . 
");\n";

in src/gadgets/http/GadgetRenderingServlet.php

The Java version has a working implementation of this, so can function as a 
great reference during implementation work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to