dubbo-admin icon indicating copy to clipboard operation
dubbo-admin copied to clipboard

The ops and reference implementation for Apache Dubbo

Results 233 dubbo-admin issues
Sort by recently updated
recently updated
newest added

## 下载&安装 dubboctl 支持下载压缩包 curl -L https://dubbo.apache.org/downloadAdmin | sh - cd admin-0.5.0 export PATH=$PWD/bin:$PATH ## 安装组件 ### 目标 - 输出一个参考文档:包含profile说明、component 列表与启用说明、components 配置项覆盖说明等 - Admin 需要的权限在helm中是否已经设置好? - 基本安装,提供 default、demo 两个 profiles...

https://github.com/apache/dubbo-admin/issues/1140 Dubbo 集群接口:http://localhost:38080/api/dev/metrics/cluster ```json {"data":{"all":0,"application":0,"consumers":0,"providers":0,"services":0}} ``` Dubbo 集群元数据接口:http://localhost:38080/api/dev/metrics/metadata ```json {"versions":[],"configCenter":"127.0.0.1:2181","registry":"127.0.0.1:2181","metadataCenter":"127.0.0.1:2181","protocols":[],"rules":["DemoService:1.0.0:test.configurators","DemoService4:bb:aa.configurators","demo.tag-router","DemoService:11:aa.condition-router","demo.configurators","DemoService:22:aa.configurators","DemoService::.condition-router","DemoService1::.configurators","DemoService2::.configurators","demo2.tag-router","DemoService:test:1.0.0.configurators","DemoService::.configurators","DemoService2:v2:group2.configurators","DemoService:11:aa.configurators"]} ``` Dubbo 集群调用情况接口(后台依赖prometheus):http://localhost:38080/api/dev/metrics/flow Admin 进程环境信息接口:http://localhost:38080/api/dev/version ```json {"gitVersion":"dubbo-admin-","gitCommit":"$Format:%H$","gitTreeState":"","buildDate":"1970-01-01T00:00:00Z","goVersion":"go1.20.4","compiler":"gc","platform":"darwin/arm64"} ```

- [x] I have searched the [issues](https://github.com/apache/dubbo-admin/issues) of this repository and believe that this is not a duplicate. - [x] I have checked the [REAMDE](https://github.com/apache/dubbo-admin/blob/develop/README.md) of this repository and believe...

## 背景 1. 当前的[Dubbo Admin](https://github.com/apache/dubbo-admin)已经适配了Dubbo 3.x版本,但是整体的进度和Dubbo本身存在差距 2. 当前的Dubbo Admin是基于Dubbo在18年重新开源前,老版本的控制台实现的,当时主要的工作是进行前后端分离,用[vuetify](https://vuetifyjs.com/en/)重写前端的部分,而后端代码并没有经过很好的设计。 ## 重构 考虑用go语言重写后端,一方面是当前的功能也不是算太多,用go重写的成本可控。另外考虑到Dubbo Admin也需要适配云原生环境,比如透出k8s的相关信息,对接Dubbo Mesh,这些工作用go语言开发会更加便利,得到更多的社区支持。 ## 规划 1. 注册中心/配置中心/元数据中心:Dubbo Admin最重要的3个数据来源,需要替换成go语言的实现。当前实现直接调用了Dubbo接口,根据协议类型来判断具体的实现:详见[这里](https://github.com/apache/dubbo-admin/blob/develop/dubbo-admin-server/src/main/java/org/apache/dubbo/admin/config/ConfigCenter.java#L147),需要根据dubbo-go中支持的实现,来重写这一部分 2. 后端接口:目前的controller层,在第一步完成后就有了数据源,照着用go语言实现一遍 3. 登录/鉴权:当前很多的接口都需要登录才能操作,这一部分也需要搬过来 4. k8s信息透出:参考kiali的cluster api交互的部分 提交了一个新的[分支](https://github.com/apache/dubbo-admin/tree/refactor-with-go),目前还没有包含任何功能

页面内容已添加,目前需要基于最新代码调整样式。 ![image](https://github.com/apache/dubbo-admin/assets/18097545/aafdf107-126a-4893-94ac-6da05a3b70c9)

![image](https://github.com/apache/dubbo-admin/assets/18097545/9e9c1d8b-6521-423a-ae4d-db29397a2b4c)

![image](https://github.com/apache/dubbo-admin/assets/18097545/07b97b5c-f24c-4c40-bbc0-f6a157eb2876) ![image](https://github.com/apache/dubbo-admin/assets/18097545/0702df0b-50a7-4d46-904f-f281bad1dd49)

以新建为例,点击新建并打开弹窗后,应该显示一个全新的所有值为空的弹窗,但实际上弹窗内仍保留了上次新建时留下的值。 修改也有类似的问题。

![image](https://github.com/apache/dubbo-admin/assets/18097545/b028c82a-7fed-4016-b75a-8ac2bb032fca)