commit | 069469258a0ba232e7b7aad020623e404e742353 | [log] [tgz] |
---|---|---|
author | 孙不服 <sunyoubufu@163.com> | Wed Jan 30 10:46:55 2019 +0800 |
committer | min <z82507200@gmail.com> | Wed Jan 30 10:46:55 2019 +0800 |
tree | 7f99882bbdb3ac705bf4a5b0da63f172d48e4555 | |
parent | cd3a22725951fca35775aad02d6ee9caab29b2f3 [diff] |
unit test for LoadBalanceController (#279) * unit test * add Apache license & remove * * LoadBalanceController's unit test * LoadBalanceController's unit test
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
mvn -Dmaven.test.skip=true clean -U package
Clone source code on develop branch git clone https://github.com/apache/incubator-dubbo-ops.git
Specify registry address in dubbo-admin-backend/src/main/resources/application-production.properties
Build
mvn clean package
Start
mvn --projects dubbo-admin-backend spring-boot:run
cd dubbo-admin-backend/target
; java -jar dubbo-admin-backend-0.0.1-SNAPSHOT.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-frontend/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 ops is under the Apache 2.0 license, Version 2.0. See LICENSE for full license text.