celeborn/service
Wang, Fei 508317a40d
[CELEBORN-1546] Support authorization on swagger UI
### What changes were proposed in this pull request?

As title.

### Why are the changes needed?
Since celeborn already supports http authorization, it is better to enable authorization on swagger UI as well.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Integration testing.
<img width="1634" alt="image" src="https://github.com/user-attachments/assets/80b6fef4-2ace-4ec3-80aa-4b9bc98131d6">
<img width="1334" alt="image" src="https://github.com/user-attachments/assets/57e53db0-8d24-4568-add8-4c3b01f05404">

And it will not impact the service without authentication enabled.

<img width="1569" alt="image" src="https://github.com/user-attachments/assets/2a21e9c4-aa3d-43b6-875b-51c55bb93789">

Closes #2664 from turboFei/swagger_auth.

Authored-by: Wang, Fei <fwang12@ebay.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2024-08-06 11:34:58 +08:00
..
src [CELEBORN-1546] Support authorization on swagger UI 2024-08-06 11:34:58 +08:00
pom.xml [CELEBORN-1477] Using openapi-generator apache-httpclient library instead of jersey2 2024-07-31 15:02:41 +08:00