Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-21923

Web Client Should Only Show Revert Action On Revertable Repositories

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • ambari-web
    • None

    Description

      Register, install, and apply several different PATCH repositories and the web client allows each of them to be reverted in any order. The backend needs to provide a way to indicate that only the most recent applied patch can be reverted.
      The backed should return a value, such as ClusterStackVersions/supports_revert which clients, such as the web client, can use.
      The backend will also now return ClusterStackVersions/revert_upgrade_id in the event that the upgrade is revertable. This will fix a bug where the web client was choosing the wrong upgrade to revert. This value should be used when making the call to the upgrades endpoint Upgrade/revert_upgrade_id when initiating an upgrade reversion.

      Attachments

        1. AMBARI-21923_branch26.patch
          6 kB
          Antonenko Alexander
        2. AMBARI-21923_trunk.patch
          12 kB
          Antonenko Alexander

        Activity

          People

            aantonenko Antonenko Alexander
            aantonenko Antonenko Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: