wnameless / spring-bulk-api

Add bulk operations support to any Spring RESTful API by a single annotation @EnableBulkApi.
Other
25 stars 13 forks source link

Doesn't work with a server.context-path configured #6

Closed asterion9 closed 6 years ago

asterion9 commented 6 years ago

If my server is configured with a context path, either the specified service url is filtered by the BulkApiValidator (in RoutingPathResolver#findByRequestPathAndMethod) when sent with the context path, or the url is malformed by DefaultBulkApiService#computeUri when sent without. e.g :

wnameless commented 6 years ago

For now, server.context-path is not supported by spring-bulk-api. It only computes the paths which reside in annotations such as @RequestMapping.

asterion9 commented 6 years ago

added support for a shared context path between the bulk service and the targeted endpoints. see #7

wnameless commented 6 years ago

Thanks for the patch. Version 0.6.2 has been released. Enjoy it!