vivekv60
(vivek vardhan)
November 9, 2023, 7:24am
1
We are trying to get the files on S3 bucket to pega via REST call and attach them to a case.
In postman we were able to use AWS Signature with “AccessKey” and “SecretKey” and get the content of the files, so we are trying to implement the same in Pega
but we are unable to do AWS signature using JAVA code provided on GitHub.
Used below code
1.https://www.javaquery.com/2016/01/aws-version-4-signing-process-complete.html
2.https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-core/src/main/java/com/amazonaws/auth/AWS4Signer.java
AWS Version 4 Signing Process, Complete Implementation Java Tutorials and example on Java Programming language(JSP, Servlet, Mysql, Oracle, Database, Blackberry, Android, Swing, Google Maps, Free Java Hosting)www.javaquery.com
Our goal is to get the files from S3 bucket and attach those files to a case in Pega.
Please help us on this.
@vivekv60 please clarify your deployment type.
See the response from our SME’s on a similar question here .
vivekv60
(vivek vardhan)
November 21, 2023, 2:52pm
3
@MarijeSchillern we want to get the files which are present in a S3 folder (named with Pega case number) and attach to the respective case in pega
@vivekv60 you can use get file repository api. Please check below url for reference
https://support.pega.com/discussion/how-use-repository-api
Any reason why repository apis are not used?
vivekv60
(vivek vardhan)
December 12, 2023, 3:36pm
5
@Anoop Krishna Sorry for delayed response. I have used repository api. Thank you for your input.