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

Deprecate REST /take-offline-config endpoint

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • 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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: