Skip to content

Conversation

@kubainter
Copy link

No description provided.

@kubainter kubainter requested a review from Copilot May 26, 2025 08:49
@kubainter kubainter changed the base branch from master to dev2.0 May 26, 2025 08:49
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds foundational bulk operation and authentication support for the ShopAppstore API client.

  • Introduce Bulk Operation classes (Insert, Find, FindBy, Delete) and their Object-aware variants.
  • Provide BulkContainer and BulkResult (and their interfaces) for batching and processing multiple operations.
  • Add OAuth, BasicAuth, and FrontBasicAuth authenticators alongside a common BearerAuthenticator abstraction.

Reviewed Changes

Copilot reviewed 498 out of 498 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Api/Bulk/Operation/InsertWithObjectOperation.php Add InsertWithObjectOperation supporting ObjectAwareResource and URI parameters
Api/Bulk/Operation/InsertOperation.php Add base InsertOperation with data payload and URI parameter support
Api/Bulk/Operation/FindWithObjectOperation.php Add FindWithObjectOperation supporting ObjectAwareResource and URI parameters
Api/Bulk/Operation/FindOperation.php Add base FindOperation with ID and URI parameter support
Api/Bulk/Operation/FindByWithObjectOperation.php Add FindByWithObjectOperation supporting ObjectAwareResource and URI parameters
Api/Bulk/Operation/FindByOperation.php Add base FindByOperation with criteria and URI parameter support
Api/Bulk/Operation/FetchOperation.php Add FetchOperation for DataResourceInterface and URI parameters
Api/Bulk/Operation/DeleteWithObjectOperation.php Add DeleteWithObjectOperation supporting ObjectAwareResource and URI parameters
Api/Bulk/Operation/DeleteOperation.php Add base DeleteOperation with ID and URI parameter support
Api/Bulk/Operation/BaseOperation.php Add BaseOperation abstraction for common resource and URI parameter handling
Api/Bulk/BulkResultInterface.php Define BulkResultInterface extending ArrayAccess & Iterator
Api/Bulk/BulkResult.php Implement BulkResult with list management and ArrayAccess/Iterator methods
Api/Bulk/BulkContainerInterface.php Define BulkContainerInterface for batching operations
Api/Bulk/BulkContainer.php Implement BulkContainer with add/set/has/get operations and iteration support
Api/Authenticator/OAuthAuthenticator.php Add OAuthAuthenticator for authorization_code and refresh_token flows
Api/Authenticator/FrontBasicAuthAuthenticator.php Add FrontBasicAuthAuthenticator for front-end login/logout flows
Api/Authenticator/BearerAuthenticator.php Add BearerAuthenticator abstract class handling token lifecycle
Api/Authenticator/BasicAuthAuthenticator.php Add BasicAuthAuthenticator extending BearerAuthenticator
Api/Authenticator/AuthenticatorInterface.php Define AuthenticatorInterface for authenticate/refresh contracts
.examples/front.php Add example script demonstrating front-end resource usage

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.

2 participants