celeborn/project
Fei Wang adbc77cd4f [CELEBORN-1317] Refine celeborn http server and support swagger ui
### 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>
2024-03-27 23:18:18 +08:00
..
AddMetaInfLicenseFiles.scala [CELEBORN-1204] Update NOTICE year 2024 2024-01-02 15:55:52 +08:00
build.properties [CELEBORN-921] Upgrade sbt to 1.9.4 2023-08-25 17:59:04 +08:00
BuildTools.scala [CELEBORN-989] Add support for making distribution package via SBT 2023-09-20 10:03:01 +08:00
CelebornBuild.scala [CELEBORN-1317] Refine celeborn http server and support swagger ui 2024-03-27 23:18:18 +08:00
JDKTools.scala [CELEBORN-1092] Introduce JVM monitoring in Celeborn Worker using JVMQuake 2023-11-28 20:45:08 +08:00
plugins.sbt [CELEBORN-1194] Add sbt-pgp plugin for publishing signed artifacts 2023-12-21 19:27:09 +08:00