Question
Pegasystems Inc.
IN
Last activity: 28 Oct 2019 14:27 EDT
How to map directory path for File Listeners in Pega Cloud?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
Creating the Storage Destination
Note: You must define the "storage destination alias", to be used in the "Setting Purpose" field for each Dynamic System Setting. In the examples below, you will replace <destinationAlias> with your chosen text.
For example, for a storage destination alias of "corpS3", the following Setting Purpose
storage/class/<destinationAlias>:/type
would be entered as:
storage/class/corpS3:/type
In Designer Studio, Click on + Create > SysAdmin > Dynamic System Settings
Creating the Storage Destination
Note: You must define the "storage destination alias", to be used in the "Setting Purpose" field for each Dynamic System Setting. In the examples below, you will replace <destinationAlias> with your chosen text.
For example, for a storage destination alias of "corpS3", the following Setting Purpose
storage/class/<destinationAlias>:/type
would be entered as:
storage/class/corpS3:/type
In Designer Studio, Click on + Create > SysAdmin > Dynamic System Settings
- Create a new record for each the following 4 required Dynamic System Settings
- Storage Destination Type
- Owning Ruleset: Pega-Engine
- Setting Purpose: storage/class/<destinationAlias>:/type
- Value: aws-s3
- Short Description: <provide description>
- Bucket Name
- Owning Ruleset: Pega-Engine
- Setting Purpose: storage/class/<destinationAlias>:/bucket
- Value: <your S3 bucket name>
- Short Description: <provide description>
- IAM User Access Key ID
- Owning Ruleset: Pega-Engine
- Setting Purpose: storage/class/<destinationAlias>:/accesskeyid
- Value: <your IAM user Access Key ID>
- Short Description: <provide description>
- IAM User Secret Access Key
- Owning Ruleset: Pega-Engine
- Setting Purpose: storage/class/<destinationAlias>:/secretaccesskey
- Value: <your IAM user Secret Access Key>
- Short Description: <provide description>
- Storage Destination Type
- (Optional) To support S3 buckets that are encrypted via AWS KMS, create a new record for the following Dynamic System Setting
- KMS Encryption Key ID (Optional)
- Owning Ruleset: Pega-Engine
- Setting Purpose: storage/class/<destinationAlias>:/kmsencryptionkeyid
- Value: <ARN of your KMS Encryption Key>
- Short Description: <provide description>
- KMS Encryption Key ID (Optional)
- (Optional) To scope your Storage Destination to a specific folder inside the S3 bucket, create a new record for the following Dynamic System Setting
- Root Path (Optional)
- Owning Ruleset: Pega-Engine
- Setting Purpose: storage/class/<destinationAlias>:/rootpath
- Value: <existing S3 folder>
- Short Description: <provide description>
- Root Path (Optional)
Configuring the File Listener
- To update an existing File Listener so that it will process files in the target S3 location, the Source location field needs to be updated.
- In Designer Studio, open the FileListener rule to be modified
- On the Properties tab, in the Source properties section, set the Source location value to: file://<storageDestinationAlias>:/
- Note: Make sure to replace <storageDestinationAlias> with your chosen Storage Destination Alias from Creating the Storage Destination.
- (Optional) You can specify a folder path (S3 prefix) in the Source location field
- In the below screenshot, this File Listener has been configured to write to the Storage Destination named "externalcloud" and the folder "orders".
- Click Save
- From the Designer Studio menu, navigate to System > Operations > Listener Management
- In the list on the bottom of the screen, select the checkbox next to the appropriate File Listener, and click the Restart button
When the File Listener begins running, it will process files in Storage Destination specified. In this case, it would be the target S3 bucket that was configured in the earlier steps.
Lloyds Banking Group PLC
GB
Hi,
Can you help me with the similar process /guide lines for Azure Cloud.
Thank You,
Surendra.PV
Pegasystems Inc.
US