Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-593

[JDG] probes should test caches based on names provided in templates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JDG65 1.3.0.GA
    • None
    • JDG6
    • None
    • CLOUD Maintenance Sprint 3

      From readinessProbe.sh

      curl -s --digest -L http://localhost:9990/management --header "Content-Type: application/json" -d '{"operation":"read-attribute","name":"cache-status", "address": ["subsystem", "infinispan", "cache-container", "clustered", "distributed-cache", "default"], "json.pretty":1}'
      

      The issue with the code is that

      • The user might use other than default cache name
      • The user might use multiple caches - default, memcached
      • The user might use cache of different type - not distributed but replicated

      Similar issue exists for livenessProbe

            rcernich1 Rob Cernich
            jpechane Jiri Pechanec
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: