Giter Site home page Giter Site logo

dubbo-admin-api's Introduction

dubbo-admin-api

dubbo-admin前后台分离,对外提供REST API,供前台调用。

目前提供3个接口: 1、获取服务列表 GET /services/summary 返回消息: [ { "serviceName": "com.mor.server.dubbo.service.DemoServer", "providersNum": 3, "appName": "hello-world-app", "consumersNum": 0 }, { "serviceName": "com.alibaba.dubbo.monitor.MonitorService", "providersNum": 1, "appName": "simple-monitor", "consumersNum": 0 } ]

2、获取指定服务详情 GET /services/{service}

返回消息: { "consumers": [ { "address": "10.254.1.154", "application": "consumer-of-helloworld-app", "statistics": null, "collected": null, "expired": null, "alived": 0 }, { "address": "10.254.1.158", "application": "consumer-of-helloworld-app", "statistics": null, "collected": null, "expired": null, "alived": 0 } ], "methods": [ "sayHello" ], "providers": [ { "address": "10.51.29.174:61075", "dynamic": true, "enabled": true, "weight": 100, "application": "hello-world-app", "expired": null, "alived": 0 }, { "address": "10.51.29.174:61074", "dynamic": true, "enabled": true, "weight": 100, "application": "hello-world-app", "expired": null, "alived": 0 }, { "address": "10.51.29.174:61076", "dynamic": true, "enabled": true, "weight": 100, "application": "hello-world-app", "expired": null, "alived": 0 } ], "serviceName": "com.mor.server.dubbo.service.DemoServer" }

如果服务不存在,返回错误信息: { "code": "NOT_FOUND", "errMsg": "Services not exist!" }

3、获取总体统计信息 GET /stat/total { "serviceTotalNum": 2, "providerTotalNum": 4, "consumerTotalNum": 5, "appTotalNum": 3 }

dubbo-admin-api's People

Contributors

snailchen avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.