GitHub user robocanic created a discussion: Proposal: Support testing for 
service interface based on the generic call

> 中文版本
# 背景
目前golang版本的dubbo-admin相比于java版本的dubbo-admin,服务测试是主要缺失的功能,也是用户在日常开发中非常常用的功能。因此,我们需要在下个版本支持起完整的服务测试功能。
从用户视角来看,服务测试的行动点如下:
1. 查看某一个服务下的所有接口,以及接口参数。
2. 选中某一个接口后,通过json编辑框填入对应的参数值。
3. 点击调用,发起服务调用,并返回原始调用结果以json格式展示。

# 方案
前端:原型图已有,见交互稿:TBD。需要调研比较好用的json编辑器,

后端:可能涉及到的领域模型有`ServiceProviderMetadata`, `Application`。需要借助dubbogo的泛化调用发起RPC调用。


> English version
# Background
Currently, compared to the Java version of dubbo-admin, the Go version is 
primarily lacking the service testing feature, which is highly essential for 
users in their daily development. Therefore, we need to support a complete 
service testing functionality in the next release.
>From the user's perspective, the key actions for service testing are as 
>follows:
View all interfaces under a specific service, along with their parameters.
After selecting an interface, fill in the corresponding parameter values via a 
JSON editor box.
Click "Invoke" to initiate the service call and display the raw result in JSON 
format.
# Solution
Frontend: The prototype is ready (see the interaction draft: TBD). We need to 
research and select a suitable JSON editor.
Backend: The domain models potentially involved include ServiceProviderMetadata 
and Application. We need to leverage dubbogo's generic invocation to initiate 
the RPC call.

GitHub link: https://github.com/apache/dubbo-admin/discussions/1415

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to