PASTAplus / PASTA

Repository for the Provenance Aware Synthesis Tracking Architecture (PASTA) project.
12 stars 3 forks source link

DataPackageManager: Extend downloadDataPackageArchive API call method to include the audit of individual resources #132

Closed servilla closed 8 months ago

servilla commented 8 months ago

Extend the dataPackageManagerResource.downloadDataPackageArchive API call method to include the audit of individual resources. Add an entryText statement in the audit() call that indicates the data download resulted from being combined within a data package archive zip file.

Doing so will add counts to the auditmanager.resource_reads database table for the individual resources, which is a valid view of data downloads.

The list of resources should be accessed via the ZipPackage class (see #131).