-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Updated MediaGallery modules and marked as API #27499
Conversation
Hi @sivaschenko. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
@naydav @joni-jones please review this pull request |
app/code/Magento/MediaGallery/Model/File/Command/DeleteByAssetId.php
Outdated
Show resolved
Hide resolved
app/code/Magento/MediaGallery/Test/Unit/Model/Directory/ExcludedTest.php
Outdated
Show resolved
Hide resolved
app/code/Magento/MediaGallery/Test/Unit/Model/File/Command/DeleteByAssetIdTest.php
Outdated
Show resolved
Hide resolved
Hi @sidolov, thank you for the review.
|
app/code/Magento/MediaGallery/Model/Directory/Command/CreateByPath.php
Outdated
Show resolved
Hide resolved
app/code/Magento/MediaGallery/Model/Directory/Command/CreateByPath.php
Outdated
Show resolved
Hide resolved
app/code/Magento/MediaGallery/Model/Directory/Command/CreateByPath.php
Outdated
Show resolved
Hide resolved
app/code/Magento/MediaGallery/Model/Directory/Command/DeleteByPath.php
Outdated
Show resolved
Hide resolved
app/code/Magento/MediaGalleryApi/Model/File/Command/DeleteByAssetIdInterface.php
Outdated
Show resolved
Hide resolved
app/code/Magento/MediaGalleryApi/Model/Directory/ExcludedInterface.php
Outdated
Show resolved
Hide resolved
app/code/Magento/MediaGalleryApi/Model/Directory/Command/DeleteByPathInterface.php
Outdated
Show resolved
Hide resolved
app/code/Magento/MediaGalleryApi/Model/Directory/Command/CreateByPathInterface.php
Outdated
Show resolved
Hide resolved
Pull Request state was updated. Re-review required.
…nto sivaschenko/media-gallery-api
…media-gallery-api
app/code/Magento/MediaGallery/Model/ResourceModel/SaveAssets.php
Outdated
Show resolved
Hide resolved
Performance build: https://bamboo.corp.magento.com/browse/MCCE24-MCCE24404-1 |
PAT is green |
|
||
try { | ||
$mediaAssetDelete->execute('testDirectory/path.jpg'); | ||
} catch (\Exception $exception) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@magento run all tests |
The pull request was tested using basic Media Gallery functionality in Adobe Stock Integration |
Hi @sivaschenko, thank you for your contribution! |
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 (*)