This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #358 from DivanteLtd/develop
Release 2.0.0
- Loading branch information
Showing
117 changed files
with
2,190 additions
and
2,465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,47 @@ | ||
{ | ||
"name": "divante/magento2-vsbridge-indexer", | ||
"type": "magento2-component", | ||
"license": "MIT", | ||
"authors": [{ | ||
"name": "Agata", | ||
"email": "[email protected]" | ||
}], | ||
"keywords": [ | ||
"magento", | ||
"magento2", | ||
"vuestorefront" | ||
], | ||
"repositories": [ | ||
{ | ||
"type": "composer", | ||
"url": "https://repo.magento.com/" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.0.2", | ||
"magento/framework": ">=101.0.0", | ||
"magento/module-store": ">=100.2.0", | ||
"magento/module-backend": ">=100.2.0", | ||
"magento/module-catalog": ">=102.0.0", | ||
"magento/magento-composer-installer": "*", | ||
"elasticsearch/elasticsearch": "~5.1|~6.1" | ||
}, | ||
"replace": { | ||
"divante/module-vsf-indexer-core": "self.version", | ||
"divante/module-vsf-indexer-catalog": "self.version", | ||
"divante/module-vsf-indexer-tax": "self.version", | ||
"divante/module-vsf-indexer-cms": "self.version" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
"src/module-vsbridge-indexer-agreement/registration.php", | ||
"src/module-vsbridge-indexer-core/registration.php", | ||
"src/module-vsbridge-indexer-catalog/registration.php", | ||
"src/module-vsbridge-indexer-cms/registration.php", | ||
"src/module-vsbridge-indexer-review/registration.php", | ||
"src/module-vsbridge-indexer-tax/registration.php", | ||
"src/module-vsbridge-downloadable/registration.php" | ||
"name": "divante/magento2-vsbridge-indexer", | ||
"type": "magento2-component", | ||
"license": "MIT", | ||
"keywords": [ | ||
"magento", | ||
"magento2", | ||
"vuestorefront" | ||
], | ||
"psr-4": { | ||
"Divante\\VsbridgeIndexerAgreement\\": "src/module-vsbridge-indexer-agreement", | ||
"Divante\\VsbridgeIndexerCore\\": "src/module-vsbridge-indexer-core", | ||
"Divante\\VsbridgeIndexerCatalog\\": "src/module-vsbridge-indexer-catalog", | ||
"Divante\\VsbridgeIndexerCms\\": "src/module-vsbridge-indexer-cms", | ||
"Divante\\VsbridgeIndexerReview\\": "src/module-vsbridge-indexer-review", | ||
"Divante\\VsbridgeIndexerTax\\": "src/module-vsbridge-indexer-tax", | ||
"Divante\\VsbridgeDownloadable\\": "src/module-vsbridge-downloadable" | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
"repositories": [ | ||
{ | ||
"type": "composer", | ||
"url": "https://repo.magento.com/" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.0.2", | ||
"magento/framework": ">=101.0.0", | ||
"magento/module-store": ">=100.2.0", | ||
"magento/module-backend": ">=100.2.0", | ||
"magento/module-catalog": ">=102.0.0", | ||
"magento/magento-composer-installer": "*", | ||
"elasticsearch/elasticsearch": "~5.1|~6.1|~7.1" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
"src/module-vsbridge-indexer-core/registration.php", | ||
"src/module-vsbridge-indexer-catalog/registration.php", | ||
"src/module-vsbridge-indexer-cms/registration.php", | ||
"src/module-vsbridge-indexer-review/registration.php", | ||
"src/module-vsbridge-indexer-tax/registration.php", | ||
"src/module-vsbridge-downloadable/registration.php", | ||
"src/module-vsbridge-indexer-agreement/registration.php" | ||
], | ||
"psr-4": { | ||
"Divante\\VsbridgeIndexerAgreement\\": "src/module-vsbridge-indexer-agreement", | ||
"Divante\\VsbridgeIndexerCore\\": "src/module-vsbridge-indexer-core", | ||
"Divante\\VsbridgeIndexerCatalog\\": "src/module-vsbridge-indexer-catalog", | ||
"Divante\\VsbridgeIndexerCms\\": "src/module-vsbridge-indexer-cms", | ||
"Divante\\VsbridgeIndexerReview\\": "src/module-vsbridge-indexer-review", | ||
"Divante\\VsbridgeIndexerTax\\": "src/module-vsbridge-indexer-tax", | ||
"Divante\\VsbridgeDownloadable\\": "src/module-vsbridge-downloadable" | ||
} | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
1. Vsbridge_indexer.xml was replaced with vsbridge.xml | ||
- Vsbridge.xml keep information about type/entity and mapping. | ||
- Datapvoriderds were moved to di.xml | ||
Example: | ||
|
||
Before: | ||
``` | ||
<indices xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:module:Divante_VsbridgeIndexerCore:etc/vsbridge_indices.xsd"> | ||
<index identifier="vue_storefront_catalog"> | ||
<type name="taxrule" mapping="Divante\VsbridgeIndexerTax\Index\Mapping\Tax"> | ||
<data_providers> | ||
<data_provider name="tax_classes">Divante\VsbridgeIndexerTax\Model\Indexer\DataProvider\TaxClasses</data_provider> | ||
<data_provider name="tax_rates">Divante\VsbridgeIndexerTax\Model\Indexer\DataProvider\TaxRates</data_provider> | ||
</data_providers> | ||
</type> | ||
</index> | ||
</indices> | ||
``` | ||
|
||
After: | ||
**vsbridge:xml** | ||
``` | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:module:Divante_VsbridgeIndexerCore:etc/vsbridge.xsd"> | ||
<type identifier="taxrule" mapping="Divante\VsbridgeIndexerTax\Index\Mapping\Tax"/> | ||
</config> | ||
``` | ||
|
||
**di.xml** | ||
``` | ||
<type name="Divante\VsbridgeIndexerCore\Index\DataProviderResolver"> | ||
<arguments> | ||
<argument name="dataProviders" xsi:type="array"> | ||
<item name="taxrule" xsi:type="array"> | ||
<item name="tax_classes" xsi:type="object">Divante\VsbridgeIndexerTax\Model\Indexer\DataProvider\TaxClasses</item> | ||
<item name="tax_rates" xsi:type="object">Divante\VsbridgeIndexerTax\Model\Indexer\DataProvider\TaxRates</item> | ||
</item> | ||
</argument> | ||
</arguments> | ||
</type> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 0 additions & 90 deletions
90
src/module-vsbridge-indexer-agreement/Model/Indexer/Agreement.php
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:module:Divante_VsbridgeIndexerCore:etc/vsbridge.xsd"> | ||
<type identifier="agreement" mapping="Divante\VsbridgeIndexerAgreement\Index\Mapping\Agreement" /> | ||
</config> |
6 changes: 0 additions & 6 deletions
6
src/module-vsbridge-indexer-agreement/etc/vsbridge_indices.xml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.