Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12192

Data Distribution endpoint for caches

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 14.0.0.Final
    • 11.0.1.Final
    • REST
    • None

      Create an endpoint that exposes data distribution for caches.

      For this first version of the REST endpoint, the caches/{cacheName}/distribution

      will return a json payload with:

      • node name
      • node ip
      • number of entries in memory in the node
      • total number of entries

            [ISPN-12192] Data Distribution endpoint for caches

            Jose Bolina added a comment -

            GET to `/v2/caches/{cacheName}?action=distribution`.

            Response:

            {
              "node_name": "CacheResourceV2Test-NodeA",
              "node_addresses": [
                "127.0.0.1:44175"
              ],
              "memory_entries": 0,
              "total_entries": 0
            } 

            Jose Bolina added a comment - GET to `/v2/caches/{cacheName}?action=distribution`. Response: {   "node_name" : "CacheResourceV2Test-NodeA" ,   "node_addresses" : [     "127.0.0.1:44175"   ],   "memory_entries" : 0,   "total_entries" : 0 }

              rh-ee-jbolina Jose Bolina
              karestig@redhat.com Katia Aresti
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: