I have a problem with following file:
/broadleaf-framework/src/main/resources/bl-framework-applicationContext.xml
You will notice that from version 2.0.1-GA to 2.2.0.GA following has been changed:
Code: Select all
<context:component-scan base-package="org.broadleafcommerce.profile">
<context:exclude-filter expression="org.broadleafcommerce.profile.web.*" type="regex" />
</context:component-scan>
to:
Code: Select all
<context:component-scan base-package="org.broadleafcommerce.core">
<!-- <context:exclude-filter type="regex" expression="org.broadleafcommerce.core.web.*"/> -->
</context:component-scan>
Now we have our custom EndPoint's that has to be on designated URL's, and later in "our" applicationContext we exclude following beans:
Code: Select all
<context:component-scan base-package="org.broadleafcommerce.core.web">
<context:exclude-filter type="regex" expression="org.broadleafcommerce.core.web.api.endpoint.order.OrderHistoryEndpoint" />
<context:exclude-filter type="regex" expression="org.broadleafcommerce.core.web.api.endpoint.order.CartEndpoint" />
<context:exclude-filter type="regex" expression="org.broadleafcommerce.core.web.api.endpoint.checkout.CheckoutEndpoint" />
<context:exclude-filter type="regex" expression="org.broadleafcommerce.core.web.api.endpoint.catalog.CatalogEndpoint"/>
</context:component-scan>
and add our own implementations.
Can you please explain me what was decision to do so, and maybe some good tip how to overcome this situation since we want to keep our beans but they should process designated URL's?
Thank You