CONNECT MICROSOFT AZURE TO PEGA
Updated: Feb 5, 2020
What is a repository?
A repository is a system that stores assets and provides versioning and metadata support, for example, Microsoft Azure or Amazon-S3. In a continuous integration and delivery pipeline, repositories provide centralized storage for software that is to be tested, shipped or deployed.
Pega Platform can communicate with common repository technologies and can also act as a binary repository. Pega Platform can browse, publish, or fetch artefacts that are created whenever an action creates a RAP: for example, exporting an application, product, branch, or component.
To create a repository, the operator's access group must have the PegaRULES: RepositoryAdministrator role. To use a repository, your access group must have the PegaRULES: RepositoryUser role.
Create an Azure Container
A. Create a storage account in azure.
B. Create the account configuration by adding Resource group and storage account name (unique small letters).
C. Click next and you can review and create your storage account. If you have to add a few other information regarding your project you can click on Next: Advance.
D. After creating a storage account open it for creating a container. To create a container click Go to resource.
E. Click "+Container" to create a new container. Create a unique name for the container. If required you can access the public access level.
F. Open and verify the container by uploading some file to it in the console.
G. You can have the access key in setting in console (You can use any one key)
Connecting Azure to Pega
A. In the header of Dev Studio, click Create > SysAdmin > Repository.
B. Enter a short description of the repository and the repository name and click Create and open.
C. In the Definition tab, click Select and select the repository type.
D. In the container field, give the container name as it is in the Azure console.
E. Create an authentication policy open it and specify the Endpoint protocol, Account Name and Account Key. Save the authentication policy and repository rule.
F. Specify the root path if required and Click on Test Connectivity.
G. While we enter the repository the exported files are moved to the particular cloud storage.
The exported files can now be viewed from Azure storage.
HAPPY LEARNING !!!