### What changes were proposed in this pull request? Before, there is no http request spec likes query param, http method and response mediaType. And for each api, a HttpEndpoint class is needed. In this PR, we refine the code for http service and provide swagger ui. Note that: This pr does not change the orignal api request and response behavior, including metrics APIs. TODO: 1. define DTO 2. http request authentication <img width="1900" alt="image" src="https://github.com/apache/incubator-celeborn/assets/6757692/7f8c2363-170d-4bdf-b2c9-74260e31d3e5"> <img width="1138" alt="image" src="https://github.com/apache/incubator-celeborn/assets/6757692/3ae6ec8e-00a8-475b-bb37-0329536185f6"> ### Why are the changes needed? To close CELEBORN-1317 ### Does this PR introduce _any_ user-facing change? The api is align with before. ### How was this patch tested? UT. Closes #2371 from turboFei/jetty. Authored-by: Fei Wang <fwang12@ebay.com> Signed-off-by: Shuang <lvshuang.xjs@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||