Broadleaf Microservices
  • v1.0.0-latest-prod

Asset Service Configuration

Overview

There are various properties you can configure when utilizing Broadleaf’s Asset Service.

Service Properties

Property Description

broadleaf.asset.jpa.*

JPA Configuration Properties. See com.broadleafcommerce.common.jpa.data.JpaProperties for full list of options.

broadleaf.asset.datasource.*

Datasource Configuration Properties. See org.springframework.boot.autoconfigure.jdbc.DataSourceProperties for full list of options.

broadleaf.asset.liquibase.*

Liquibase Configuration Properties. See org.springframework.boot.autoconfigure.liquibase.LiquibaseProperties for full list of options.

broadleaf.asset.delegating.*

Delegating Schema Configuration Properties for running in a composed mode along side other Broadleaf microservices. See com.broadleafcommerce.common.jpa.data.SchemaDelegatingProperties for full list of options.

Cache Properties

Property Description

broadleaf.asset.cache.byUrlTtl

Properties that influence cache settings for the asset service.

(Default is 30 Minutes)

Internal Asset Properties

Property Description

broadleaf.asset.internal.*

Properties related to Assets of storageType DefaultAssetStorageType#INTERNAL.

See com.broadleafcommerce.asset.autoconfigure.InternalAssetProperties and Configuration Example for more details.

Image Operation Properties

Property Description

broadleaf.image.availableEffects

Properties related to the ImageOperationService that impact available effects.

(Defaults to ["resize", "crop", "unsharp"])

Data Initialization Properties

Property Description

broadleaf.asset.data.*

Seed data initialization properties. See com.broadleafcommerce.asset.autoconfigure.InitialDataAutoConfiguration.InitialDataProperties for all available options.