commit | e576b9e44565bf0afcbbfcd32b9ecff28aca20ed | [log] [tgz] |
---|---|---|
author | azi03 <51783122+azi03@users.noreply.github.com> | Wed Dec 11 14:41:56 2019 +0800 |
committer | ken.lj <ken.lj.hz@gmail.com> | Wed Dec 11 14:41:56 2019 +0800 |
tree | 1b57276ba6e84e4a150d9a76caada3beef13b284 | |
parent | b976ba23bc4fd878b3bd340a64caf09b64bcb046 [diff] |
解决服务路由兼容2.6时不能支持多路由问题 (#555)
develop
branch, you can try it before building from source codeservice governance follows the version of Dubbo 2.7, and compatible for Dubbo 2.6, please refer to here
registry =https://registry.npm.taobao.org
to ~/.npmrcClone source code on develop branch git clone https://github.com/apache/dubbo-admin.git
Specify registry address in dubbo-admin-server/src/main/resources/application.properties
Build
mvn clean package
Start
mvn --projects dubbo-admin-server spring-boot:run
cd dubbo-admin-distribution/target
; java -jar dubbo-admin-0.1.jar
Visit http://localhost:8080
npm run dev
.http://localhost:8081
, frontend supports hot reload.localhost:8080
to fetch data, this will cause a CORS problem, so we add a configuration in dubbo-admin-ui/config/index.js
to support CORS. This config will be activated under npm run dev
mode.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.