commit | d8a49b1fb1df017273144f06778a77317c08ff1d | [log] [tgz] |
---|---|---|
author | itmajing <itmajing@163.com> | Thu May 26 01:19:40 2022 -0500 |
committer | GitHub <noreply@github.com> | Thu May 26 14:19:40 2022 +0800 |
tree | 532b292ccbfc63dab7848b7cab8c5ee330efcbca | |
parent | 3d1853daf89294065bbd2c005b82cdc9eceb5ca1 [diff] |
support swagger.enable (#902) * support swagger.enable * enable swagger by default Co-authored-by: 璟源 <jingyuan.mj@alibaba-inc.com>
service governance follows the version of Dubbo 2.7, and compatible for Dubbo 2.6, please refer to here
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
git clone https://github.com/apache/dubbo-admin.git
dubbo-admin-server/src/main/resources/application.properties
mvn clean package -Dmaven.test.skip=true
mvn --projects dubbo-admin-server spring-boot:run
ORcd dubbo-admin-distribution/target
; java -jar dubbo-admin-0.1.jar
http://localhost:8080
root
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.
Once deployed, you can check http://localhost:8080/swagger-ui.html to check all restful api and models
Apache Dubbo admin is under the Apache 2.0 license, Version 2.0. See LICENSE for full license text.