Dubbo Admin Introductions

Now version 0.1 has been released, frontend uses Vue and Vuetify as javascript framework and UI framework, backend uses spring framework, you can deploy the whole project with maven or deploy frontend and backend separately.

Deploy the whole project through maven

  • install
git clone https://github.com/apache/dubbo-admin.git
cd dubbo-admin
mvn clean package
cd dubbo-admin-distribution/target
java -jar dubbo-admin-0.1.jar
  • visit
    http://localhost:8080

Deploy frontend and backend separately

  • frontend deploy
cd dubbo-admin-ui 
npm install 
npm run dev 
  • backend deploy
cd dubbo-admin-server
mvn clean package 
cd target
java -jar dubbo-admin-server-0.1.jar
  • visit
    http://localhost:8081
  • in this mode, any modify of frontend will be hot reloaded

configuration: 1

configuration file location

dubbo-admin-server/src/main/resources/application.properties

configuration:

admin.config-center=zookeeper://127.0.0.1:2181
admin.registry.address=zookeeper://127.0.0.1:2181
admin.metadata-report.address=zookeeper://127.0.0.1:2181

the three configure item above are configuration center, registry center and metadata center respectively, you can find explanation about the three centers here Same as Dubbo 2.7, you can set the addresses of metadata center and registry center on configuration center, in zookeeper, the path and content are as below:

# /dubbo/config/dubbo/dubbo.properties
dubbo.registry.address=zookeeper://127.0.0.1:2181
dubbo.metadata-report.address=zookeeper://127.0.0.1:2181

the addresses in configuration center have higher priority than those in application.properties

visit documents on github:

https://github.com/apache/dubbo-admin

  1. there’s no login module in the current version. ↩︎