Broadleaf Microservices
  • v1.0.0-latest-prod

Release Notes for 1.7.2-GA

Requirements

  • JDK 11 is now required for Broadleaf release trains 1.7.0-GA, and beyond.

New Features & Notable Changes

Feature/Notable Change Impacted Services Links

Introduced YugabyteDB Support

Moved the storage of saved payment methods to PaymentTransactionServices

PaymentTransactionServices

Enhanced identification & storage of display attributes for PaymentAccounts

PaymentTransactionServices

Upgrade Guide

API Changes

New Endpoints

Path Description

POST /payment-accounts/{customerId}

Add PaymentAccount to Customer

PATCH /payment-accounts/update-transaction-data/{paymentAccountId}

Update PaymentAccount’s Last Transaction Data

Endpoint Updates

Path Description of Changes

GET /customers/{customerId}/payment-accounts

Permission roots were changed to CUSTOMER_SAVED_PAYMENT_MANAGEMENT.

To continue using the legacy permission roots of CUSTOMER & CUSTOMER_PROFILE, set broadleaf.customer.web.saved-payment-method.legacy-permission-enabled to true.

POST /customers/{customerId}/payment-accounts

GET /customers/{customerId}/payment-accounts/{paymentAccountId}

PATCH /customers/{customerId}/payment-accounts/{paymentAccountId}

DELETE /customers/{customerId}/payment-accounts/{paymentAccountId}

Configuration Properties

Added Properties

  • broadleaf.customer.saved-payment-method.storage-location

  • broadleaf.customer.messaging.payment-account.create.enabled

  • broadleaf.customer.messaging.payment-account.create.display-attributes.card-type-attribute

    • Description: The name of the display attribute where the credit card type is stored.

    • Default value: "creditCardType"

  • broadleaf.customer.messaging.payment-account.create.display-attributes.card-number-attribute

    • Description: The name of the display attribute where the credit card number is stored, which should be masked.

    • Default value: "creditCardNumber"

  • broadleaf.customer.messaging.payment-account.create.display-attributes.card-expiration-month-attribute

    • Description: The name of the display attribute where the credit card expiration month is stored.

    • Default value: "creditCardExpDateMonth"

  • broadleaf.customer.messaging.payment-account.create.display-attributes.card-expiration-year-attribute

    • Description: The name of the display attribute where the credit card expiration year is stored.

    • Default value: "creditCardExpDateYear"

  • broadleaf.customer.web.saved-payment-method.legacy-permission-enabled

    • Description: If set to true, then the legacy permission roots of CUSTOMER_SAVED_PAYMENT_MANAGEMENT, CUSTOMER, & CUSTOMER_PROFILE can be used for CustomerPaymentAccountEndpoint interactions.

    • Default value: false

New Permissions

There are new permissions and scopes for some service OAuth2 clients. Permissions and scopes can be added via admin or sql script.

See AuthServices release notes for more details.