Omega-Ariston opened a new pull request #326:
URL: https://github.com/apache/pulsar-manager/pull/326


   Fixes #282 
   
   ### Motivation
   
   This is the way I understand how it would be: The access controll is done by 
environmentController when users retrive the environment list. And we can then 
retrieve the total number of tenant and corresponding namespace from certain 
environments, as well as a list of topicStat, from which we can further 
retrieve the number of cluster, broker, producer and consumer.
   
   1. environment -> tenant
   2. tenant -> namespace
   3. environment -> topicStat
   4. topicStat -> cluster
   5. topicStat -> broker
   6. topicStat -> producer
   7. topicStatId -> consumer
   
   And for the number of bookies, currently it is not persistent in database, 
so the service is called to retrieve the data.
   
   *Explain here the context, and why you're making that change. What is the 
problem you're trying to solve.*
   
   ### Modifications
   
   As #282 suggested, added some new sql statements in corresponding mapper and 
a new service to collect aggregated data for dashboard.
   
   ### Verifying this change
   
   - [ yes ] Make sure that the change passes the `./gradlew build` checks.
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to