Broadleaf Microservices
  • v1.0.0-latest-prod

Inventory Release Notes for 2.1.1

Table of Contents
  • Added the ability to retrieve inventory availability based on a list of requests that specify inventory locations. This allows users to specify the inventory location where to check for the availability of an item, or a group of items. Previously, the supporting methods in the Inventory Service would only consider the availability of items across all inventory locations without the ability to specify a particular location for each item. The functionality introduced in this release does not change the default behavior of the system, which will continue to return availability across all inventory locations unless specifically requested otherwise.

  • See Cart Operation Services 2.2.1 Release Notes for complimentary changes.

  • This feature called for functionality to support simultaneous inventory availability checks for multiple items, all of which can be located in different inventory locations. This was accomplished by introducing a new repository method suited to take in a list of inventory availability requests, and build a query that retrieves the availability of all items in a single call.

    • Added inventoryLocationReference field to SkuInventoryAvailabilityRequest

    • Modified DefaultSkuInventorySummaryService#readInventoryAvailability to call new appropriate method to read available inventory when specific inventory locations are specified in the requests

    • Introduced new readAvailableInventory method to SkuInventoryAvailabilityStrategy that supports reading inventory based on a list of requests

    • Introduced new findAllAvailableByRequests repository method that builds a custom query to find inventory based on a list of SkuInventoryAvailabilityRequests

Miscellaneous

  • Update the SkuInventoryService to better support RSQL filtering by implementing RsqlCrudEntityService

Bug Fixes

  • Fixed an issue where the same individual cart item (i.e. quantity of 1) could be reserved across different locations when the cart has other items only available in separate locations

  • SkuInventoryEndpoint#readAllSkuInventory should avoid filtering by name when no name parameter is provided