GetStatus response does not return actual exported app package
pzExport service API is used to export the Application Package asynchronously to an Elastic File System (EFS) storage. When using the GetStatus service API to find the status of the job, the call returns the job status and the log details. However, the GetStatus service response does not return the actual Application Package file that is exported. This occurs only with an external storage.
GetStatus works correctly with the local storage.
Steps to Reproduce
- Create an Artifactory or External repository.
- Export the Application Product rule using the out-of-the-box pzExport API in the async mode.
- Pass the job ID (from Step 2) to use the GetStatus API. Verify the archive path returned in response.
A defect in Pegasystems’ code or rules.
For external repositories, the pzRepositoryLocation was not sent in response.
Update GetStatus to return the location of the exported artifact as part of GetStatus API.