commit | 073ca606c5a1e4177ad566f7dd0202935d591703 | [log] [tgz] |
---|---|---|
author | DLive <xsxgmail@163.com> | Wed May 08 16:09:55 2019 +0800 |
committer | DLive <xsxgmail@163.com> | Wed May 08 16:09:55 2019 +0800 |
tree | 4616d86e440efad3bcafc3a9f90f23b1f1d83117 | |
parent | f083d37e5d0134f8287e1fdb0911fd078228c49a [diff] |
test:rm unused code
Apache Dubbo Erlang Implementation.
The following features are supported.
Add dubblerl to rebar.config with your project
{deps, [ {dubboerl, {git, "http://github.com/dubboerl/dubboerl.git", {branch, "master"}}} ]}.
Use erlanalysis tool transfer java interface to erlang lib. And add the lib to you project app dir.
configure dubbo reference.
in sys.config add dubboerl config. For example:
{dubboerl,[ {zookeeper_list,[{"127.0.0.1",2181}]}, {application,<<"testdubboerl">>}, {consumer,[ {<<"me.dlive.dubboservice.service.IProcessData">>,[]} ]}, {provider,[ {scherdule_impl,scherdule_behaviour,<<"me.dlive.dubboservice.service.Scherdule">>,[]} ]} ]}
Init dubboerl application context when your project start.
dubboerl:init().
Call the interface method.
RequestPara = #testReq{name = <<"nameinfo">>,nick = <<"nickinfo">>,age = 10}, iProcessData:queryinfo(Info).
Reference the demo project dubboerl_demo
Reference Docs