Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-7183

Change backupID in backup API from integer to long

    • Not defined

      Context:
      https://camunda.slack.com/archives/C05MB3K3SBW/p1691998870566719?thread_ts=1691765911.978009&cid=C05MB3K3SBW

      From a support case, Optimize and Operate/tasklist are to use long rather than interger as backupID in the hot backup API.

       

      AT:

      • backup API takes and returns a long rather than an int as backupID
      • this change is backwards compatible

       

      Testing notes:

      • Confirm backup API now takes long rather than integer backupID (test by using backupID that is outside int range but within long range)
      • Confrrm all backup API endpoints work with long
      • Confirm this is non breaking change, so older backups taken with int backupID can still be referenced from newer Optimize backup API endpoints:
        • create backup with old Optimize (ie pre this ticket)
        • switch to a new Optimize (with changes from this ticket)
        • confirm backup is returned in get backup info API and can be deleted via delete backup API
      • API docs for reference: https://confluence.camunda.com/display/CO/Backup

        This is the controller panel for Smart Panels app

            [OPT-7183] Change backupID in backup API from integer to long

            Helene Waechtler created issue -
            Helene Waechtler made changes -
            Status Original: Triage [ 10612 ] New: Ready [ 10005 ]
            Helene Waechtler made changes -
            Rank New: Ranked higher
            Helene Waechtler made changes -
            Rank New: Ranked higher
            Helene Waechtler made changes -
            Description Original:  details to follow New: Context:
            [https://camunda.slack.com/archives/C05MB3K3SBW/p1691998870566719?thread_ts=1691765911.978009&cid=C05MB3K3SBW]

             

            AT:
             * backup API takes and returns a long rather than an int as backupID
             * this change is backwards compatible

             

            Testing notes:
             * Confirm backup API now takes long rather than integer backupID (test by using backupID that is outside int range but within long range)
             * Confrrm all backup API endpoints work with long
             * Confirm this is non breaking change (so older backups taken with int backupID can still be referenced from newer Optimize backup API endpoints: create backup with old Optimize, switch to a new Optimize and confirm backup is returned in get backup info API and can
             * API docs for reference: https://confluence.camunda.com/display/CO/Backup
            Helene Waechtler made changes -
            Description Original: Context:
            [https://camunda.slack.com/archives/C05MB3K3SBW/p1691998870566719?thread_ts=1691765911.978009&cid=C05MB3K3SBW]

             

            AT:
             * backup API takes and returns a long rather than an int as backupID
             * this change is backwards compatible

             

            Testing notes:
             * Confirm backup API now takes long rather than integer backupID (test by using backupID that is outside int range but within long range)
             * Confrrm all backup API endpoints work with long
             * Confirm this is non breaking change (so older backups taken with int backupID can still be referenced from newer Optimize backup API endpoints: create backup with old Optimize, switch to a new Optimize and confirm backup is returned in get backup info API and can
             * API docs for reference: https://confluence.camunda.com/display/CO/Backup
            New: *Context:*
            [https://camunda.slack.com/archives/C05MB3K3SBW/p1691998870566719?thread_ts=1691765911.978009&cid=C05MB3K3SBW]

            From a support case, Optimize and Operate/tasklist are to use long rather than interger as backupID in the hot backup API.

             

            *AT:*
             * backup API takes and returns a long rather than an int as backupID
             * this change is backwards compatible

             

            *Testing notes:*
             * Confirm backup API now takes long rather than integer backupID (test by using backupID that is outside int range but within long range)
             * Confrrm all backup API endpoints work with long
             * Confirm this is non breaking change, so older backups taken with int backupID can still be referenced from newer Optimize backup API endpoints:
             ** create backup with old Optimize (ie pre this ticket)
             ** switch to a new Optimize (with changes from this ticket)
             ** confirm backup is returned in get backup info API and can be deleted via delete backup API
             * API docs for reference: [https://confluence.camunda.com/display/CO/Backup]
            Helene Waechtler made changes -
            Status Original: Ready [ 10005 ] New: In Development [ 10312 ]
            Daniel Ewing made changes -
            Link New: This issue is related to SUPPORT-17980 [ SUPPORT-17980 ]
            Daniel Ewing made changes -
            Labels Original: current_release New: SUPPORT current_release
            Helene Waechtler made changes -
            Summary Original: Evaluate/implement: change backupID in backup API from integer to long New: Change backupID in backup API from integer to long

              Unassigned Unassigned
              helene.waechtler Helene Waechtler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: