EXAoperation: Change result type of getBackupList() so that it can be reused for backupInfo()

Details

Detail name Value
Changelog Number 4787
Type Improvement
Status Resolved
Fix Versions Exasol 6.1.0
Resolution Date 2018-04-26

Imagine the following simple Python script to get detailed information about the first backup of a certain database:

import xmlrpclib
s = xmlrpclib.Server('https://user:password@server/cluster1/db_somedb')
b = s.getBackupList()
s.backupInfo(b[0])

The last call will currently fail, as the list of backups returned by getBackupList does not deliver tuples of (backup ID, volume ID).

With this change, these types of scripts will work in the future.

Changed behavior

getBackupList() will deliver tuples of (volume ID, backup ID) in the future instead of (timestamp, backup ID), which was only provided as a backward compatibility to support filesystem-based database systems.