Skip to content

Commit

Permalink
Merge pull request magento#1029 from magento-engcom/develop-prs-isolated
Browse files Browse the repository at this point in the history
[Engcom] SSL for AMQP and @api annotations for URLRewrite and Indexer
  • Loading branch information
vrann authored Apr 18, 2017
2 parents 1a8dd8c + 2fbe293 commit 45dce69
Show file tree
Hide file tree
Showing 22 changed files with 32 additions and 71 deletions.
1 change: 1 addition & 0 deletions app/code/Magento/Catalog/Model/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class Category extends \Magento\Catalog\Model\AbstractModel implements
* URL rewrite model
*
* @var \Magento\UrlRewrite\Model\UrlRewrite
* @deprecated since 2.2.0
*/
protected $_urlRewrite;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
*/
namespace Magento\CatalogUrlRewrite\Model\Map;

use Magento\Framework\DB\Select;

/**
* Interface for a mysql data type of a map
*
Expand Down
39 changes: 0 additions & 39 deletions app/code/Magento/Indexer/Model/Processor/Handler.php

This file was deleted.

1 change: 1 addition & 0 deletions app/code/Magento/UrlRewrite/Model/MergeDataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* This class is to be used as a container for new generated url rewrites by adding new ones using merge method
* Removes duplicates for a set/array of Url Rewrites based on the unique key of the url_rewrites table
*
* @api
*/
class MergeDataProvider
{
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/UrlRewrite/Model/StorageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
*/
namespace Magento\UrlRewrite\Model;

/**
* @api
*/
interface StorageInterface extends UrlFinderInterface, UrlPersistInterface
{
}
1 change: 1 addition & 0 deletions app/code/Magento/UrlRewrite/Model/UrlFinderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

/**
* Url Finder Interface
* @api
*/
interface UrlFinderInterface
{
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/UrlRewrite/Model/UrlPersistInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

/**
* Url Persist Interface
* @api
*/
interface UrlPersistInterface
{
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/UrlRewrite/Service/V1/Data/UrlRewrite.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

/**
* Data abstract class for url storage
* @api
*/
class UrlRewrite extends AbstractSimpleObject
{
Expand Down
2 changes: 0 additions & 2 deletions lib/internal/Magento/Framework/Indexer/ActionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
*/
namespace Magento\Framework\Indexer;

use Magento\Framework\Indexer\ActionInterface;

class ActionFactory
{
/**
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/Magento/Framework/Indexer/ActionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace Magento\Framework\Indexer;

/**
* @api
* @api Implement custom Action Interface
*/
interface ActionInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
*
* Can be used during indexation process to split large amount of data into batches
* and process them one by one in order to reduce memory consumption and improve overall performance.
*
* @api retrieve Batches when implementing custom Indexer\Action
*/
interface BatchProviderInterface
{
Expand Down
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/Indexer/FieldsetInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
*/
namespace Magento\Framework\Indexer;

/**
* @api Implement custom Fieldset
*/
interface FieldsetInterface
{
/**
Expand Down
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/Indexer/FieldsetPool.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

use Magento\Framework\ObjectManagerInterface;

/**
* @api Retrieve Fieldset when implementing custom Indexer\Action
*/
class FieldsetPool
{
/**
Expand Down
14 changes: 0 additions & 14 deletions lib/internal/Magento/Framework/Indexer/FilterInterface.php

This file was deleted.

3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/Indexer/HandlerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

use Magento\Framework\App\ResourceConnection\SourceProviderInterface;

/**
* @api Implement custom Handler
*/
interface HandlerInterface
{
/**
Expand Down
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/Indexer/HandlerPool.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use Magento\Framework\Indexer\Handler\DefaultHandler;
use Magento\Framework\ObjectManagerInterface;

/**
* @api Instantiate save handler when implementing custom Indexer\Action
*/
class HandlerPool
{
/**
Expand Down
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/Indexer/IndexerRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
*/
namespace Magento\Framework\Indexer;

/**
* @api Retrieve indexer by id, for example when indexer need to be invalidated
*/
class IndexerRegistry
{
/**
Expand Down
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/Indexer/SaveHandlerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
use Magento\Framework\ObjectManagerInterface;
use Magento\Framework\Indexer\SaveHandler\IndexerInterface as SaveHandlerInterface;

/**
* @api Instantiate save handler when implementing custom Indexer\Action
*/
class SaveHandlerFactory
{
/**
Expand Down
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/Indexer/StateInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
*/
namespace Magento\Framework\Indexer;

/**
* @api Retrieve status of the Indexer
*/
interface StateInterface
{
/**
Expand Down
4 changes: 0 additions & 4 deletions lib/internal/Magento/Framework/Indexer/Table/Strategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
*/
namespace Magento\Framework\Indexer\Table;

/**
* Class Strategy
* @package Magento\Indexer
*/
class Strategy implements StrategyInterface
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@

namespace Magento\Framework\Indexer\Table;

/**
* Interface StrategyInterface
* @package Magento\Indexer
*/
interface StrategyInterface
{
const IDX_SUFFIX = '_idx';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
*/
namespace Magento\Framework\Mview\View;

/**
* Class SubscriptionFactory
* @package Magento\Framework\Mview\View
*
*/
class SubscriptionFactory extends AbstractFactory
{
/**
Expand Down

0 comments on commit 45dce69

Please sign in to comment.