UriComponentsBuilder.fromHttpUrl(properties.getUrl())
.path(properties.getItemListsUri())
.pathSegment(listId)
.path(properties.getItemListsItemsUri())
.toUriString();
Provider for interfacing with ItemListItems
when operations require persistence or retrieval.
The default implementation facilitates HTTP requests against the Cart Services endpoints.
ExternalCartProperties
defines the properties used to configure ExternalItemListItemProvider
, 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.
broadleaf.cartoperation.cartprovider.itemListsItemsUri
: The context path for managing individual ItemListItems
This is appended to the url
property, a specific ItemList
id, and the itemListsUri
property.
broadleaf.cartoperation.cartprovider.itemListsItemsUri
: The context path for managing bulk ItemListItem
requests.
This is appended to the url
property, a specific ItemList
id, and the itemListsUri
property.
UriComponentsBuilder.fromHttpUrl(properties.getUrl())
.path(properties.getItemListsUri())
.pathSegment(listId)
.path(properties.getItemListsItemsUri())
.toUriString();