[AWSFNDN-6] Refactor client initialization of AmazonDynamoService and AmazonS3Client Created: 24/Oct/19  Updated: 24/Dec/19  Resolved: 11/Dec/19

Status: Closed
Project: AWS foundation (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Task Priority: Neutral
Reporter: Nguyen Phung Chi Assignee: Evzen Fochr
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1d 5h
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by AWSFNDN-7 Refactor client initialization of Ama... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: ABTEST AWS Cloud Foundation
Sprint: Add-Ons 25, Add-Ons 26
Story Points: 5

 Description   

Situation:

  • The client of AmazonS3Client and AmazonDynamoService are initialized directly and once only in the constructor
  • This will cause the problem when the credentials is not set correctly at the first time, may need to restart webapp to make it affect.

AC:

  • The client should initialized when it's needed (before sending request for example), like getOrCreateClient() method.

Generated at Sun Feb 11 23:23:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.