Skip to content

feat: Add Amazon Photos importer extension#1500

Open
vipulkala95 wants to merge 1 commit into
dtinit:masterfrom
vipulkala95:feat/amazon-photos-integration
Open

feat: Add Amazon Photos importer extension#1500
vipulkala95 wants to merge 1 commit into
dtinit:masterfrom
vipulkala95:feat/amazon-photos-integration

Conversation

@vipulkala95

Copy link
Copy Markdown
Collaborator

Add support for transferring photos into Amazon Photos.

This PR includes:

  • Amazon Photos auth extension (OAuth2 via Login with Amazon)
  • Amazon Photos importer (albums and photos)
  • Amazon Photos API client with token refresh and endpoint resolution
  • Unit tests for client, importer, and models


@Test
void importItem_pathTraversalFilename_registersWithExecutor() throws Exception {
PhotoModel photo = new PhotoModel("../../etc/passwd", "http://example.com/evil.jpg",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment around here an elsewhere -- that /etc/passwd is intentionally testing that DTP is handling the path injections correctly. @vipulkala95 thank you!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the comments on the tests

@vipulkala95

Copy link
Copy Markdown
Collaborator Author

This PR has been reviewed internally by Amazon Photos engineers for domain specific logic.

@vipulkala95 vipulkala95 force-pushed the feat/amazon-photos-integration branch from c8b4c35 to ecc5b10 Compare July 1, 2026 07:49
@CLAassistant

CLAassistant commented Jul 1, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@vipulkala95 vipulkala95 force-pushed the feat/amazon-photos-integration branch from ecc5b10 to c39afaa Compare July 1, 2026 07:55
Add support for transferring photos into Amazon Photos.

- Amazon Photos auth extension (OAuth2 via Login with Amazon)
- Amazon Photos importer (albums and photos)
- Amazon Photos API client with token refresh and endpoint resolution
- Unit tests for client, importer, and path-traversal protection
@vipulkala95 vipulkala95 force-pushed the feat/amazon-photos-integration branch from c39afaa to c1ca125 Compare July 1, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants