Table of Contents generated with DocToc
A NodeJS RPC server for InterShop.
- Documentation.
- transition from old implementation in InterShop:
- check code completeness
- remove prv
- rewrite code that uses prev model
- reflect on how to deal w/
log()
functionality - cleanup code, esp. wrt. implicit meta-methods in
$do_rpc()
- rename/rewrite methods to adapt to XEmitter API conventions, i.e. use
listen_to()
,contract()
andemit()
,delegate()
etc; - should provide a (partial) implementation of Datom
(ex. a SQL method
new_datom()
should look similar todatom.new_datom()
, result in JsonB) - equivalent to Datom's
select()
should use Postgres 12's new JSON Path functionality
For the time being we use ^${module_name}/${method_name}
as keys for RPC; in the future, we will possibly
move to issuing datoms like
{ $key: '^rpc', to: `${module_name}/${rkey}`, $value, }
where rkey
may be any non-empty string as deemed appropriate by the authors of the RPC client
library.