GitHub - apache/incubator-dubbo-ops: The ops and reference implementation for Ap...
source link: https://github.com/apache/incubator-dubbo-ops
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Dubbo ops
Screenshot
Frontend
- Vue.js and Vuetify
- dubbo-admin-frontend/README.md for more detail
Backend
- Standard spring boot project
Production Setup
-
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
-
Visit
http://localhost:8080
Development Setup
- Run backend project
backend is a standard spring boot project, you can run it in any java IDE - Run frontend project
run withnpm run dev
. - visit web page
visithttp://localhost:8081
, frontend supports hot reload. - CORS problem
for the convenience of development, we deploy frontend and backend separately, so the frontend supports hot reload. In this mode, frontend will requestlocalhost:8080
to fetch data, this will cause a CORS problem, so we add a configuration indubbo-admin-frontend/config/index.js
to support CORS. this config will activated undernpm run dev
mode.
Swagger support
Once deployed, you can check http://localhost:8080/swagger-ui.html to check all restful api and models
License
Apache Dubbo ops is under the Apache 2.0 license, Version 2.0. See LICENSE for full license text.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK