Broadleaf Microservices
  • v1.0.0-latest-prod

Search Services Release Notes for 1.7.0-GA

Requirements

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

Upgrade Guide

Auth Configuration

Change in default client names for service-to-service communication

The default client configurations have changed for service-to-service communication. Now, each service that makes calls will have a single client to service all of them instead of having a client per service that receives calls. Therefore, the default client configurations for catalog, pricing, and search have been removed and replaced with the following:

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

Each of the components that make calls to external services have been updated to use the indexerclient by default. For more details on the full scope of these changes, please review the AuthServices release notes.

Along with this change the following properties were added to support changing the name of the registered clients:

  • broadleaf.indexer.catalog.service.service-client

    • Description: The service client used when calling CatalogServices from Indexer Services.

    • Default value: "indexerclient"

  • broadleaf.indexer.inventory.service.service-client

    • Description: The service client used when calling InventoryServices from Indexer Services.

    • Default value: "indexerclient"

  • broadleaf.indexer.customer.service.service-client

    • Description: The service client used when calling CustomerServices from Indexer Services.

    • Default value: "indexerclient"

  • broadleaf.indexer.search.service.service-client

    • Description: The service client used when calling SearchServices from Indexer Services.

    • Default value: "indexerclient"

  • broadleaf.indexer.orderfulfillment.service.service-client

    • Description: The service client used when calling OrderServices for Order Fulfillments from Indexer Services.

    • Default value: "indexerclient"

  • broadleaf.indexer.order.service.service-client

    • Description: The service client used when calling OrderServices for Orders from Indexer Services.

    • Default value: "indexerclient"

  • broadleaf.indexer.tenant.service.service-client

    • Description: The service client used when calling TenantServices from Indexer Services.

    • Default value: "indexerclient"