### What changes were proposed in this pull request? This pr is a followup for https://github.com/apache/celeborn/pull/2641 In above PR, I upgrade the version to 7.7.0, and there were two generated java files not with apache licenses. And then I raised a PR in https://github.com/OpenAPITools/openapi-generator/pull/19273 to followup it, and it is released in https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.8.0. ### Why are the changes needed? Upgrade to the latest openapi-generator version to resolve the unlicensed java files. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing GA. Closes #2695 from turboFei/openapi_upgrade. Authored-by: Wang, Fei <fwang12@ebay.com> Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| src/main | ||
| pom.xml | ||
| README.md | ||
Celeborn OpenAPI Client
To update the OpenAPI specification
- just update the specification under
openapi/openapi-client/src/main/openapi3/and keep the schema definitions consistent between master and worker. - Install JDK 11 or above by whatever mechanism is appropriate for your system, and set that version to be the default Java version (e.g., by setting env variable
JAVA_HOME) - run the following:
orbuild/mvn -pl openapi/openapi-client clean package -Pgenerate
This will regenerate the OpenAPI data models + APIs in the celeborn-openapi-client SDK.build/sbt "clean;celeborn-openapi-client/generate"