Fix error when host is null (#920)

* 解决重复点功能,浏览器控制台报错问题,如点击:服务查询-搜索按钮

* 解决可能产生的空指针问题,导致 '消费者'标签无法显示数据

* 解决在服务测试,方法执行成功后。动态生成的consumer元数据,host取值为空的问题情况(dubbo version 3.0.8)
2 files changed
tree: e555fe0ae42b035371b3c764580d6a85f5ee62b9
  1. .github/
  2. .mvn/
  3. codestyle/
  4. doc/
  5. docker/
  6. dubbo-admin-distribution/
  7. dubbo-admin-server/
  8. dubbo-admin-test/
  9. dubbo-admin-ui/
  10. .asf.yaml
  11. .codecov.yml
  12. .gitignore
  13. DISCLAIMER
  14. LICENSE
  15. mvnw
  16. mvnw.cmd
  17. NOTICE
  18. pom.xml
  19. README.md
  20. README_ZH.md
README.md

Dubbo Admin

GitHub Workflow Status codecov license Average time to resolve an issue Percentage of issues still open

中文说明

Quick start

Screenshot

index

Service Governance

service governance follows the version of Dubbo 2.7, and compatible for Dubbo 2.6, please refer to here

admin UI

  • Vue.js and Vue Cli

  • dubbo-admin-ui/README.md for more detail

  • Set npm proxy mirror:

    if you have network issue, you can set npm proxy mirror to speedup npm install:

    add registry=https://registry.npmmirror.com to ~/.npmrc

admin Server

Production Setup

  1. Clone source code on develop branch git clone https://github.com/apache/dubbo-admin.git
  2. Specify registry address in dubbo-admin-server/src/main/resources/application.properties
  3. Build
    • mvn clean package -Dmaven.test.skip=true
  4. Start
    • mvn --projects dubbo-admin-server spring-boot:run OR
    • cd dubbo-admin-distribution/target; java -jar dubbo-admin-0.1.jar
  5. Visit http://localhost:8080
  6. Default username and password is root

Development Setup

  • Run admin server project

    backend is a standard spring boot project, you can run it in any java IDE

  • Run admin ui project

    run with npm run dev.

  • visit web page

    visit http://localhost:8081, frontend supports hot reload.

Swagger support

Once deployed, you can check http://localhost:8080/swagger-ui.html to check all restful api and models

License

Apache Dubbo admin is under the Apache 2.0 license, Version 2.0. See LICENSE for full license text.