Broadleaf Microservices
  • v1.0.0-latest-prod

Pricing Release Notes for 2.0.5-GA

Tip
The 2.x versions are Spring Boot 3 compatible.

New Features & Notable Changes

  • Added support for limiting a PriceList price by quantity (Flash Sale)

    • Added new domains, services, repositories, and business logic to support Price Data limited by quantity

    • Added business logic used for recording Price Data usages

    • Added business logic used for Price Info retrieval

    • Added new attributes to the PriceData domain:

      • startingQuantity - the initial available quantity that it started out with, only used for informational purposes

      • availableQuantity - the real-time quantity that indicates how much is left

    • Added business logic used for PriceData rollbacks for checkout failures

    • Added business logic used for PriceData rollbacks for order fulfillment cancellation

    • The newly added 'Purge PriceDataUsageDetails' scheduled job will hard delete any PriceDataUsageDetails that are older than 30 days. This job will run every day at midnight by default. It is also configured to display its execution details in the Scheduled Jobs Admin UI.

    • Added special handling for rollbacks for PriceDataUsageDetail when triggered because of 3DS verification

    • Please refer to the Flash Sale Documentation for more information.

Schema Changes

  • Added new columns to the blc_price_data table

    • STARTING_QUANTITY

    • AVAILABLE_QUANTITY

  • Added a new blc_price_data_usage_detail table

API Changes

New Endpoints

Path

Description

POST /price-data/usages

Records the usages of PriceData that are limited by quantity