commit | 1370effd779583b3115c8b3f190a5f022d5f8063 | [log] [tgz] |
---|---|---|
author | Jinkai Ma <majk@vip.qq.com> | Fri Nov 02 16:57:49 2018 +0800 |
committer | Jinkai Ma <majk@vip.qq.com> | Fri Nov 02 16:57:49 2018 +0800 |
tree | e1ebfe57a9d604eefd8444b1f5aab1f5fb4b714c | |
parent | 8ee13fc54e44cb67b7cb85f49a3077ff453afbdf [diff] |
Use constructor based dependency injection Spring Team recommends "Always use constructor based dependency injection in your beans. Always use assertions for mandatory dependencies".
Clone source code on develop branch git clone https://github.com/apache/incubator-dubbo-ops.git
Specify registry address in dubbo-admin-backend/src/resources/application-production.properties
Build
mvn clean package
Start mvn --projects dubbo-admin-backend spring-boot:run
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 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.