commit | e14a2556ca25b51b0da81d9dcf1bc93bcf7f8d66 | [log] [tgz] |
---|---|---|
author | brotherlu-xcq <1285823170@qq.com> | Wed Nov 03 13:48:03 2021 +0800 |
committer | GitHub <noreply@github.com> | Wed Nov 03 13:48:03 2021 +0800 |
tree | 44c9484d3e66bf8288fd6cb4fbf67f7d35294eb6 | |
parent | 2578af067e308031fe7c6ba6ecf30b08a2037244 [diff] |
[Feature] Dubbo Admin provides service mock ability. (#838) * commit the API * develop the front page. * add edit logic * develop the front page and test. * ui change * change the config key and group * change rule enable to config center. * update GlobalMockRule update logic. * remove the GlobalMockRule * [feature admin mock] move the diver dependency out of the project. * [feature admin mock] remove the contributor name and date in javadoc. * [feature admin mock] optimize the delete mock rule step. * [feature admin mock] fix the dialog cannot be closed when delete successfully. * [feature admin mock] add the support for h2 database. * [feature admin mock] rollback to zookeeper registry. * [feature admin mock] fix properties. * [feature admin mock] change mock-admin-api maven version. * [feature admin mock] fix the feedback and add the parameters in docker-compose. * [feature admin mock] fix the ci problem. * [feature admin mock] fix the ci problem. * [feature admin mock] removed unused import. * [feature admin mock] add license.
service 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 -Dmaven.test.skip=true
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
Default username and password is root
npm run dev
.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.