This PR adds three new capabilities to amclient.py:
List storage locations
Create package
Extract file relative to path of an AIP
Functionality has been integrated with the client, i.e. it isn't just module capability. Tests have been provided, but we might want to improve on those as the Sprints involved in this work progress.
For the reviewer, if there are any nice-to-have's then we might consider a new issue and PR in future as this work seeks to satisfy the initial requirements of the Wellcome AMAUAT work.
Connected to archivematica/issues#478
Connected to archivematica/issues#510
Connected to archivematica/issues#509
Examples of CLI usage below:
Most are based on DemoTransfer in the SampleData repository, UUIDs, passwords, urls, and transfer names need to be replaced appropriately.
This PR adds three new capabilities to
amclient.py
:Functionality has been integrated with the client, i.e. it isn't just module capability. Tests have been provided, but we might want to improve on those as the Sprints involved in this work progress.
For the reviewer, if there are any nice-to-have's then we might consider a new issue and PR in future as this work seeks to satisfy the initial requirements of the Wellcome AMAUAT work.
Connected to archivematica/issues#478 Connected to archivematica/issues#510 Connected to archivematica/issues#509
Examples of CLI usage below:
Most are based on DemoTransfer in the SampleData repository, UUIDs, passwords, urls, and transfer names need to be replaced appropriately.
Extract file CLI example:
Create package CLI example:
Retrieve storage service locations example: