Customization of an endpoint method in ProductEndpoint
leveraging a customized service, repository, auto-projection, and domain
-
Demonstrate a behavior tweak of a single endpoint method
-
Show leveraging a completely customized flow through to persistence
-
Demonstrate working with an auto projection in the endpoint
-
Builds On : 01000-businessLogicCustomizationAutoProjection
-
Create spring boot autoconfiguration class
EndpointCustomizationAutoProjection
, 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