[CONTROLLER-1964] Factor out sal-distributed-datastore JMX API Created: 22/Oct/20  Updated: 11/Nov/22

Status: Confirmed
Project: controller
Component/s: clustering
Affects Version/s: None
Fix Version/s: None

Type: Epic Priority: Medium
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Name: CDS management API

 Description   

There seem to be horrible hacks going on downstream with accessing information about shards, in the most imaginative ways.

There are three parts to this problem, which downstream have no way of doing satisfactorily:

  1. access CDS MXBean information (once they have gotten the MXBean) in a structured and type-safe way
  2. query the local PlatformMBeanServer for available MXBeans, so ending up hard-coding shard name strings and similar
  3. getting the above information using wiring infra – statically injected, or OSGi-driven – not going through JMX when we have better means available

 

Address each of them in turns, starting with the first one, which will define the baseline cds-mgmt-api, with cds-mgmt* being its artifact namespace and org.opendaylight.controller.cluster.mgmt being its JPMS namespace.


Generated at Wed Feb 07 19:56:52 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.