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

Deprecate REST /take-offline-config endpoint

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

      Motivation

      The endpoint /rest/v2/caches/{cacheName}/x-site/backups/{siteName}/take-offline-config was created to read and modify the take offline configuration at runtime. The code has evolved and it is not possible to modify the configuration attributes at runtime, making this method endpoint redundant.

      Goals

      • Deprecate /rest/v2/caches/{cacheName}/x-site/backups/{siteName}/take-offline-config
      • Make the attributes mutable.
      • Use the attribute listener to keep track of the changed value.

      Non Goals

      • Remove the endpoint.
      • Remove the RPC call when changing the attributes (required for backward compatibility).
      • Replace RPC call with DefaultCacheManagerAdmin#updateConfigurationAttribute.

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: