Add experimental support for the JSON-RPC protocol (new connector)
Bug #1100346 reported by
Sébastien Alix
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OERPLib |
In Progress
|
High
|
Unassigned |
Bug Description
Create a new connector and service (into the 'oerplib.rpc' package) supporting JSON-RPC requests.
URL used by OpenERP : http://{server}
Changed in oerplib: | |
milestone: | 0.7 → none |
Changed in oerplib: | |
status: | New → In Progress |
milestone: | none → 0.8 |
summary: |
- Add support for the JSON-RPC protocol + Add support for the JSON-RPC protocol (new connector) |
summary: |
- Add support for the JSON-RPC protocol (new connector) + Add experimental support for the JSON-RPC protocol (new connector) |
Changed in oerplib: | |
status: | In Progress → Fix Released |
status: | Fix Released → In Progress |
To post a comment you must log in.
Look at 'web/static/ src/js/ core.js:
var payload = {
jsonrpc: '2.0', function( url, payload).then(...)
method: 'call',
params: params,
id: _.uniqueId('r')
};
...
var request = this.rpc_
Make HTTP requests on the 'http://{server} :{port} /jsonrpc' URL with these JSON data.