Broadleaf Microservices
  • v1.0.0-latest-prod

Catalog Browse Content Provider

Overview

Provider for interfacing with Content entities such as ContentItems.

Default Implementation Details

The default implementation, ExternalContentProvider, is designed to interact with the Broadleaf Content Services, which handles retrieving Content Items for a given request.

Configuration

ExternalContentProvider defines the following configuration properties:

  • broadleaf.catalogbrowse.contentprovider.url: The base url for an external content service.

  • broadleaf.catalogbrowse.contentprovider.contentItemsUri: The context path for reading content item information. This is appended to the url property.

Example of building request from properties
UriComponentsBuilder.fromHttpUrl(getUrl())
        .path(getContentItemsUri())
        .queryParam("uris", contentUris)
        .toUriString();
  • broadleaf.catalogbrowse.contentprovider.hydrateExternalEntities: Whether to hydrate any external entities that are returned from the content service. This is false by default.