-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed as not planned
Closed as not planned
Copy link
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
We're going to do a critical project re-structure to obtain the new Jakarta annotation support by bumping openapi-generator from v4.3.1 to v6.6.0. The work will consist of the following steps:
- Re-generate the models/APIs based on
v.4.3.1on the existingclient-javamodule (like we did in the past): Regenerate from k8s 1.28 using v4.3.1 generator #2923 - Rename the current
client-javamodule toclient-java-legacy, and this legacy module will be java8 compatible for those users sticking with java8. Rename client-java-api to *-legacy #2928, it will maintained in a separated branch namedmaster-java8- Modify GH action to only build the legacy modules for JDK8
- Having a CR in the gen repo to support overriding
useSingleRequestParameterconfiguration to solve the pain from maintaining long list of separate parameters: Allow customize USE_SINGLE_PARAMETER for Java generator gen#257 - Re-generate a new module named
client-javausingv6.6.0generator and package name to beio.kubernetes.client.openapi.v2, the new module will obtain jatarta annotation support but only compatible to java11+ JDK versions - Merge back manual changes in we previously made in JSON to both
client-javaandclient-java-legacymodule - Support fluent builder for both the legacy and the new module
- Move the other extended module from legacy module to the new module so we can progressively deprecate the legacy one
@brendandburns what do you think about the plan above?
Metadata
Metadata
Assignees
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.