directory
Version:
v0.0.0-...-3659004
Opens a new window with list of versions in this module.
Published: Aug 28, 2022
License: Apache-2.0
Opens a new window with license information.
README
¶
include jaeger and http to dubbo
-
cd 到案例总目录
cd samples/dubbogo/simple/
-
进行环境准备,启动 zk 和准备对应配置文件
./start.sh prepare bestdo
-
启动 dubbo server
./start.sh startServer bestdo
-
启动 pixiu
./start.sh startPixiu bestdo
-
启动 Client 测试用例
./start.sh startTest bestdo
或者使用 curl
curl -X POST 'http://localhost:8883/UserService/com.dubbogo.pixiu.UserService/GetUserByName' -d '{"types":"string","values":"tc"}' -H 'Content-Type: application/json' -H 'x-dubbo-http1.1-dubbo-version':'1.0.0' -H 'x-dubbo-service-protocol':"dubbo" -H 'x-dubbo-service-version':'1.0.0' -H 'x-dubbo-service-group':'test'
返回值 {"age":15,"code":1,"iD":"0001","name":"tc","time":"2021-08-01T18:08:41+08:00"}
Directories
¶
server
|
|
|
|
Click to show internal directories.
Click to hide internal directories.