[ECOMMERCE-131] Change implementations of Categories.all back to stream of pure list Created: 13/Feb/19  Updated: 28/Feb/19  Resolved: 26/Feb/19

Status: Closed
Project: E-commerce
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Task Priority: Neutral
Reporter: Evzen Fochr Assignee: Evzen Fochr
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Access the product catalogs
Sprint: Add-Ons 6
Story Points: 5

 Description   

This is needed for correct behavior of CategoryDataProvider(CatalogDataProvider). If we need tree implementation, we should add new function to categories provider.

  • return stream of pure list (not a tree) (for magento - categories/list endpoint)
  • implement possibility to get root categories info.magnolia.ecommerce.api.provider.Categories.ByParentCategoryId and use it in info.magnolia.ecommerce.ui.apps.ecommerce.categories.item.EcommerceConnectionItem#fetchChildren
  • check functionality of templates

 

Acceptance criteria: 


Generated at Mon Feb 12 01:41:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.