Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated MediaGallery modules and marked as API #27499

Merged
merged 44 commits into from
Apr 19, 2020
Merged

Updated MediaGallery modules and marked as API #27499

merged 44 commits into from
Apr 19, 2020

Conversation

sivaschenko
Copy link
Member

@sivaschenko sivaschenko commented Mar 30, 2020

Description (*)

MediaGallery/MediaGalleryApi module services introduced in 2.3.4 are marked as API.
Also, the following services for operations with media files and directories were added:

  • \Magento\MediaGalleryApi\Model\Directory\ExcludedInterface
  • \Magento\MediaGalleryApi\Model\Directory\Command\DeleteByPathInterface
  • \Magento\MediaGalleryApi\Model\Directory\Command\CreateByPathInterface

Related Pull Requests

magento/adobe-stock-integration#1158

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

@m2-assistant
Copy link

m2-assistant bot commented Mar 30, 2020

Hi @sivaschenko. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.4-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Guide documentation.

@sivaschenko
Copy link
Member Author

@naydav @joni-jones please review this pull request

@ghost ghost assigned joni-jones Mar 30, 2020
sidolov
sidolov previously approved these changes Apr 1, 2020
@ghost ghost moved this from Pending Review to Ready for Testing in Pull Requests Dashboard Apr 1, 2020
@ghost ghost assigned sidolov Apr 1, 2020
@magento-engcom-team
Copy link
Contributor

Hi @sidolov, thank you for the review.
ENGCOM-7242 has been created to process this Pull Request
✳️ @sidolov, could you please add one of the following labels to the Pull Request?

Label Description
Auto-Tests: Covered All changes in Pull Request is covered by auto-tests
Auto-Tests: Not Covered Changes in Pull Request requires coverage by auto-tests
Auto-Tests: Not Required Changes in Pull Request does not require coverage by auto-tests

@ghost ghost moved this from Ready for Testing to Changes Requested in Pull Requests Dashboard Apr 1, 2020
@ghost ghost assigned naydav Apr 1, 2020
@ghost ghost dismissed sidolov’s stale review April 1, 2020 17:02

Pull Request state was updated. Re-review required.

@lenaorobei
Copy link
Contributor

lenaorobei commented Apr 16, 2020

@sivaschenko
Copy link
Member Author

PAT is green


try {
$mediaAssetDelete->execute('testDirectory/path.jpg');
} catch (\Exception $exception) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@sivaschenko
Copy link
Member Author

@magento run all tests

@sivaschenko
Copy link
Member Author

The pull request was tested using basic Media Gallery functionality in Adobe Stock Integration

@magento-engcom-team magento-engcom-team merged commit 371be02 into magento:2.4-develop Apr 19, 2020
@m2-assistant
Copy link

m2-assistant bot commented Apr 19, 2020

Hi @sivaschenko, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@sidolov sidolov removed this from Changes Requested in Pull Requests Dashboard Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants