### What changes were proposed in this pull request? Support to get the workers topology information with RESTful api. 1. return networkLocation in WorkerData 2. add new api `/api/v1/workers/topology` to return the grouped workers topology info. ### Why are the changes needed? 1. To get the workers topology information. 2. To know the rack awareness well. ### Does this PR introduce _any_ user-facing change? No break change. ### How was this patch tested? UT and IT. <img width="1008" alt="image" src="https://github.com/user-attachments/assets/6cb1aa2a-1160-4570-acb1-7602e2ce0b09" /> <img width="719" alt="image" src="https://github.com/user-attachments/assets/d26c3326-4837-40ad-a344-3cb4204bf607" /> Closes #3112 from turboFei/topology. Authored-by: Wang, Fei <fwang12@ebay.com> Signed-off-by: SteNicholas <programgeek@163.com> |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||