Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.13 KB

File metadata and controls

30 lines (21 loc) · 1.13 KB

Description:

Customization of an endpoint method in ProductEndpoint using an extended explicit projection and domain

Goals:

Key Steps:

  • 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