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

feat: new LocalesForIndexing preference #173

Merged
merged 4 commits into from
Jul 1, 2024
Merged

Conversation

sbellone
Copy link
Collaborator

@sbellone sbellone commented Jun 25, 2024

Introduce a new LocalesForIndexing preference.
It permits to specify the locales to index.

  • If left empty, the jobs will use the Site's getAllowedLocales()
  • If one of the specified locales is not part of the allowed locales, the jobs will stop with an error

Tests

Added unit tests for products and category jobs

To test it manually

  • Import the attributes definition
  • Set the "Locales for indexing" preference and run any job

SFCC-253

@sbellone sbellone requested a review from htuzel June 25, 2024 14:05
@sbellone sbellone self-assigned this Jun 25, 2024
@sbellone sbellone changed the title Feat/locales for indexing feat: new LocalesForIndexing preference Jun 25, 2024
@sbellone sbellone merged commit 2cd7178 into develop Jul 1, 2024
2 checks passed
@sbellone sbellone deleted the feat/locales-for-indexing branch July 1, 2024 15:38
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