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

PR to run tests for 427_confiuration_import_message_broker #456

Closed
wants to merge 1 commit into from

Conversation

mslabko
Copy link
Member

@mslabko mslabko commented Dec 2, 2020

Description (*)

Related Pull Requests

magento/commerce-data-export#15
magento/storefront-message-broker#4

Fixed Issues (if relevant)

  1. Fixes magento/catalog-storefront#<issue_number>

Questions or comments

Code Review Checklist (*)

See detailed checklist

  • Story AC is completed
  • proposed changes correspond to Magento Technical Vision
  • new or changed code is covered with web-api/integration tests (if applicable)
    • expected results in test verified with data from fixture
  • no backward incompatible changes
  • Export API (et_schema.xml) and SF API schemas (proto schema) are reflected in the codebase
    • prerequisite: story branch created with all needed generated classes according to proposes schema-changes
    • DTO classes do not contain any manual changes (Magento\CatalogExportApi*, Magento\CatalogStorefrontApi*)
  • Class usage: magento/catalog-storefront repo don't use directly classes from magento/saas-export repo and vise-verse
    • Check composer.json dependencies
  • Legacy code is deleted
    • Any Data Providers present in Connector part (Magento\CatalogStorefrontConnector, Magento*Extractor modules)
    • And Data Providers from Export API (magento/saas-export repo) that is not relevant anymore
    • Any DTO for Export API/SF API which does not reflect current schema: et_schema, proto schema
    • Any “mapper” on Message Broker (between Export API and SF API)
      • if mapper still needed, verify fields used in mapping, remove not relevant fields

@mslabko
Copy link
Member Author

mslabko commented Dec 2, 2020

@magento run all tests

@mslabko
Copy link
Member Author

mslabko commented Dec 2, 2020

QA:
testing with path "analytics/subscription/enabled:" on "Monolith installation (all modules together)"

  • not working with change value from "Disabled -> Enabled" - look like issue with "isValueChanged"
  • not push changes to queue: \Magento\ConfigurationDataExporter\Model\ConfigExportCallback::publishMessage
[2020-12-02 22:30:49] main.ERROR: topic "system.configuration.export": error on publish message "{"event_type":"config_export_update"}" {"exception":"[object] (InvalidArgumentException(code: 0): Data in topic \"system.configuration.export\" must be of type \"Magento\\ConfigurationImportMessageBroker\\Event\\Data\\ChangedConfig\". \"Magento\\ConfigurationDataExporter\\Event\\Data\\ChangedConfig\" given. at /var/www/magento2ce/lib/internal/Magento/Framework/MessageQueue/MessageValidator.php:161)"} []

  • full sync not working as well

reason: app/code/Magento/CatalogExport/README.md

Right now we can use the same approach: Lets' create for Message Broker new module ConfigurationDataExporter which will contain "app/code/Magento/ConfigurationDataExporter/Event/Data" files. + add README to this module similar to CatalogExport/README.md

@lykhachov
Copy link
Contributor

@magento run all tests

@lykhachov
Copy link
Contributor

@magento run Static Tests

6 similar comments
@lykhachov
Copy link
Contributor

@magento run Static Tests

@lykhachov
Copy link
Contributor

@magento run Static Tests

@lykhachov
Copy link
Contributor

@magento run Static Tests

@lykhachov
Copy link
Contributor

@magento run Static Tests

@lykhachov
Copy link
Contributor

@magento run Static Tests

@lykhachov
Copy link
Contributor

@magento run Static Tests

@lykhachov
Copy link
Contributor

@magento run Integration Tests

@lykhachov
Copy link
Contributor

@magento run Static Tests

@lykhachov
Copy link
Contributor

@magento run all tests

2 similar comments
@lykhachov
Copy link
Contributor

@magento run all tests

@lykhachov
Copy link
Contributor

@magento run all tests

@lykhachov
Copy link
Contributor

@magento run Static Tests

1 similar comment
@lykhachov
Copy link
Contributor

@magento run Static Tests

@lykhachov
Copy link
Contributor

@magento run all tests

@mslabko mslabko closed this Dec 18, 2020
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