Question
1
Replies
88
Views
Posted: July 26, 2019
Last activity: July 28, 2019
Managing Amazon S3 Repository for Deployment Artifacts
We are using pegacloudcustomerroot repository for storing our artifacts generated through the Pipeline. Is there a way we could create sub folder under that repository to store application specific artifact. So for each application we would like a separate folder to store its artifact. We are using Deployment Manager version 4.4 in Pega Cloud. 8.2.1.
Hi Harsh,
When you use Amazon S3 repository provided by pega, then you have the option to create sub folders inside this repository through APIs.
To create sub folder there is a savable data page D_pxNewFolder.The API represents the new folder as a data page when the data page is loaded. To create a folder with this API, pass in the following parameters:
repositoryName
- the name of the repository in which to create the filefolderPath
- the path to the folder to be created relative to the root path of the repositoryTo create a folder, save the savable data page. For information about how to save savable data pages, see step 13 in Creating a data page to save data.
Regards,
Vikash