Skip to content

Commit

Permalink
refactor: openshift-model-machineconfigurations generated from OpenAP…
Browse files Browse the repository at this point in the history
…I schemas

Signed-off-by: Marc Nuri <marc@marcnuri.com>
  • Loading branch information
manusa authored Sep 24, 2024
1 parent 17939f6 commit b9f3b4c
Show file tree
Hide file tree
Showing 63 changed files with 2,196 additions and 1,127 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ generate-openapi-classes:
cd kubernetes-model-generator/openshift-model-console && mvn -Pgenerate clean install
cd kubernetes-model-generator/openshift-model-autoscaling && mvn -Pgenerate clean install
cd kubernetes-model-generator/openshift-model-machine && mvn -Pgenerate clean install
cd kubernetes-model-generator/openshift-model-machineconfiguration && mvn -Pgenerate clean install

# Legacy generation of the model: TODO: remove
.PHONY: generate-model-legacy
Expand Down
9 changes: 9 additions & 0 deletions doc/MIGRATION-v7.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- [Service Catalog removed (operator.openshift.io)](#service-catalog-removed)
- [Removed deprecated types for network.openshift.io (OpenShift-SDN-only)](#openshift-network-removed)
- [Renamed clusterautoscaling to autoscaling](#openshift-clusterautoscaling-to-autoscaling)
- [Renamed machineconfig to machineconfiguration](#openshift-machineconfig-to-machineconfiguration)
- [Deprecations and Removals](#deprecations-and-removals)
- [Service Catalog API (extension) removed](#service-catalog-extension)

Expand Down Expand Up @@ -83,6 +84,14 @@ The package has also been renamed from `io.fabric8.openshift.api.model.clusterau

The OpenShiftClient DSL entry-point has also been renamed from `OpenShiftClient.clusterAutoscaling()` to `OpenShiftClient.openShiftAutoscaling()`.

### Renamed machineconfig to machineconfiguration <a href="#openshift-machineconfig-to-machineconfiguration" id="openshift-machineconfig-to-machineconfiguration" />

The module `openshift-model-machineconfig` has been renamed to `openshift-model-machineconfiguration` to match the API group name.

The package has also been renamed from `io.fabric8.openshift.api.model.machineconfig` to `io.fabric8.openshift.api.model.machineconfiguration`.

The OpenShiftClient DSL entry-point remains the same: `OpenShiftClient.machineConfigurations()`.

## Deprecations and Removals <a href="#deprecations-and-removals" id="deprecations-and-removals"/>

### Service Catalog API (extension) removed <a href="#service-catalog-extension" id="service-catalog-extension"/>
Expand Down
1 change: 0 additions & 1 deletion kubernetes-model-generator/generateModel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ ABSOLUTE_BASEDIR=$(realpath "$BASEDIR")
declare -a modules=(
"openshift-model-hive"
"openshift-model-installer"
"openshift-model-machineconfig"
"openshift-model-monitoring"
"openshift-model-tuned"
"openshift-model-whereabouts"
Expand Down
27 changes: 0 additions & 27 deletions kubernetes-model-generator/openshift-model-machineconfig/Makefile

This file was deleted.

This file was deleted.

Loading

0 comments on commit b9f3b4c

Please sign in to comment.