Feature/Notable Change | Impacted Services | Links |
---|---|---|
Added passthrough cartFieldMapping endpoint to support CartOperationServices calling CatalogBrowseServices |
CartOperationServices |
When running Catalog and Browse Services in the same app (e.g., Min or Balanced Cart), when a user overrides the read-product-by-id endpoint, they can effectively override the Catalog Browse read-product-details endpoint as well since the former’s path has a path variable (/products/{id}
) that matches the latter’s (/products/details
).
This only causes problems in the case of an override because @GetMapping has higher precedence than
@FrameworkGetMapping
.
This has been addressed by adding additional request mappings to the Catalog Browse endpoints and defaulting usage to them by Cart Ops and Commerce SDK. We also added new mappings to other Browse endpoints for consistency.
Important
|
This is backwards compatible since the old request mappings remain, we only added additional mappings for the same endpoint methods. |
Path | Description |
---|---|
|
Equivalent to |
|
Equivalent to |
|
Equivalent to |
|
Equivalent to |
|
Equivalent to |
|
Equivalent to |
|
Equivalent to |