commit | 5b05caf4318a7dfa7e8fb067bb9be1bd7a212635 | [log] [tgz] |
---|---|---|
author | 孙不服 <sunyoubufu@163.com> | Fri Jan 25 10:38:59 2019 +0800 |
committer | min <z82507200@gmail.com> | Fri Jan 25 10:38:59 2019 +0800 |
tree | 7c393e6f5ab4f2dfc2743cf2ded461cba44d1c19 | |
parent | 4fbe5454385b745e3a85280b6058d36a6be4f7a3 [diff] |
Unit test (#274) * unit test * add Apache license & remove * * AccessesController'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.