Broadleaf Microservices
  • v1.0.0-latest-prod

Inventory Release Notes for 1.7.0-GA

Requirements

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

Notable Updates

Issue Related Services

Add SkuInventory’s vendorRef to SkuInventoryAvailabilitySummary so that CartOps can filter summaries based on CartItem’s vendorRef

CartOps, Inventory

Bug Fixes

Issue Related Services

Tenant Id is included in scheduled job context

Cart, CartOps, Import, Inventory, Scheduled Jobs

Upgrade Guide

Schema Changes & Data Migrations

Auth Configuration

OAuth Client

Inventory Services now has an OAuth2 client to communicate with the other services. The following are the default values for OAuth2 client registration.

spring:
  security:
    oauth2:
      client:
        registration:
          inventoryclient:
            authorization-grant-type: client_credentials
            client-id: inventoryclient
            client-secret: inventory_secret
        provider:
          inventoryclient:
            token-uri: https://localhost:8443/oauth/token

Permissions

There are new permissions and scopes for the OAuth2 client. Permissions and scopes can be added via admin or sql script.

Auth Server Service Service ID New Scopes New Permissions

Admin

Admin User Service Client

inventoryclient

CART

READ_CART