UriComponentsBuilder.fromHttpUrl(properties.getUrl())
.path(properties.getItemListsUri())
.toUriString();
Provider for interfacing with ItemLists
when operations require persistence or retrieval.
The default implementation facilitates HTTP requests against the Cart Services endpoints.
ExternalCartProperties
defines the properties used to configure ExternalItemListProvider
, which is the default provider.
These include:
broadleaf.cartoperation.cartprovider.url
: The base url for an external cart service, which handles persistence of lists as well as carts.
broadleaf.cartoperation.cartprovider.itemListsUri
: The context path for CRUD operation on item lists. This is appended to the url
property.
UriComponentsBuilder.fromHttpUrl(properties.getUrl())
.path(properties.getItemListsUri())
.toUriString();