Customization of an endpoint method in ProductEndpoint
using an extended explicit projection and domain
-
Demonstrate a behavior tweak of a single endpoint method
-
Demonstrate working with an explicit projection in the endpoint
-
Builds On : 01100-businessLogicCustomizationExplicitProjection
-
Create spring boot autoconfiguration class
EndpointCustomizationExplicitProjection
, which will be referenced from META-INF/spring.factories -
Create new Rest Controller implementation that matches path and HTTP method of an existing endpoint from a Broadleaf framework Rest controller
-
Declare the
@ComponentScan
annotation on the autoconfiguration class -
Declare the
@AutoConfigureBefore
annotation on the autoconfiguration class to prioritize your controller endpoint