From 61fc4ec647ea1b0dc97e006a9b8246c961d24c2c Mon Sep 17 00:00:00 2001 From: Marc Nuri Date: Fri, 15 Nov 2024 04:48:19 +0100 Subject: [PATCH] fix: removed deprecated io.fabric8.openshift.api.model.runtime.RawExtension class Signed-off-by: Marc Nuri --- CHANGELOG.md | 1 + .../api/model/runtime/RawExtension.java | 75 ------------------- 2 files changed, 1 insertion(+), 75 deletions(-) delete mode 100644 kubernetes-model-generator/openshift-model/src/main/java/io/fabric8/openshift/api/model/runtime/RawExtension.java diff --git a/CHANGELOG.md b/CHANGELOG.md index c1a25f0bb46..0eec9a6d1e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ * Fix #6156: Removed deprecated extension `io:fabric8:service-catalog` * Fix #6158: Removed deprecated methods from `io.fabric8.kubernetes.client.utils.IOHelpers` * Fix #6361: Renamed SettableBeanPropertyDelegate to SettableBeanPropertyDelegating +* Fix #6603: Removed deprecated `io.fabric8.openshift.api.model.runtime.RawExtension` class ### 6.13.4 (2024-09-25) diff --git a/kubernetes-model-generator/openshift-model/src/main/java/io/fabric8/openshift/api/model/runtime/RawExtension.java b/kubernetes-model-generator/openshift-model/src/main/java/io/fabric8/openshift/api/model/runtime/RawExtension.java deleted file mode 100644 index c24d093c811..00000000000 --- a/kubernetes-model-generator/openshift-model/src/main/java/io/fabric8/openshift/api/model/runtime/RawExtension.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2015 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package io.fabric8.openshift.api.model.runtime; - -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.LocalObjectReference; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.Setter; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "apiVersion", - "kind", - "metadata" -}) -@ToString -@Setter -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class) -}) -/** - * @deprecated use {@link io.fabric8.kubernetes.api.model.runtime.RawExtension} instead - */ -@Deprecated -public class RawExtension extends io.fabric8.kubernetes.api.model.runtime.RawExtension { - - public RawExtension() { - } - - @JsonCreator - public RawExtension(Object value) { - super(value); - } - -}