This is an automated email from the ASF dual-hosted git repository.
deepak pushed a change to branch OFBIZ-13288-multiple-rest-file
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
from 1abc3bd3b Added support for multiple rest.xml files per component
(OFBIZ-13288)
add 4b317a5b4 OFBIZ-12345: Fixed repeated REST API exception issue
returning 500 error (#139)
add 8b6bd2140 Merge branch 'trunk' of
https://github.com/apache/ofbiz-plugins into OFBIZ-13288-multiple-rest-file
add f64f1aa59 Replaced javax.ws with jakarta.ws
add 299b99171 Merge branch 'trunk' of
https://github.com/apache/ofbiz-plugins into OFBIZ-13288-multiple-rest-file
add 055c4684a Use ServiceNameContextHolder to set the service name in
ServiceRequestHandler
add 6e0c33a60 Adds example-product.rest.xml showcasing multiple rest.xml
files per component
No new revisions were added by this update.
Summary of changes:
example/api/{example.rest.xml => product.rest.xml} | 25 ++++--------
...Messages.java => ServiceNameContextHolder.java} | 47 +++++++++-------------
.../apache/ofbiz/ws/rs/ServiceRequestFilter.java | 2 +-
.../apache/ofbiz/ws/rs/core/OFBizApiConfig.java | 2 +
.../ws/rs/filters/ServiceContextCleanupFilter.java | 18 +++++++++
.../ofbiz/ws/rs/process/ServiceRequestHandler.java | 2 +
.../rs/spi/impl/GenericServiceExceptionMapper.java | 3 +-
7 files changed, 52 insertions(+), 47 deletions(-)
copy example/api/{example.rest.xml => product.rest.xml} (59%)
copy rest-api/src/main/java/org/apache/ofbiz/ws/rs/{response/Messages.java =>
ServiceNameContextHolder.java} (56%)
create mode 100644
rest-api/src/main/java/org/apache/ofbiz/ws/rs/filters/ServiceContextCleanupFilter.java