diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5e9cc76e670..70d7436b295 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@
* Check detailed migration documentation for breaking changes in [7.0.0](./doc/MIGRATION-v7.md)
* `Config.errorMessages` has been removed. Please use Kubernetes status messages directly.
* Fix #6138: Removed unused `io:fabric8:kubernetes-model` artifact
+* Fix #6156: Removed deprecated extension `io:fabric8:service-catalog`
### 6.13.1 (2024-07-02)
diff --git a/README.md b/README.md
index f06c00d9861..1eeaf5027a1 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,6 @@ This client provides access to the full [Kubernetes](http://kubernetes.io/) &
|-|:-:|:-:|
| knative-client | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.fabric8/knative-client/badge.svg?color=blue)](https://maven-badges.herokuapp.com/maven-central/io.fabric8/knative-client) | [![Javadocs](https://www.javadoc.io/badge/io.fabric8/knative-client.svg?color=blue)](https://www.javadoc.io/doc/io.fabric8/knative-client) |
| tekton-client | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.fabric8/tekton-client/badge.svg?color=blue)](https://maven-badges.herokuapp.com/maven-central/io.fabric8/tekton-client) | [![Javadocs](https://www.javadoc.io/badge/io.fabric8/tekton-client.svg?color=blue)](https://www.javadoc.io/doc/io.fabric8/tekton-client) |
-| servicecatalog-client | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.fabric8/servicecatalog-client/badge.svg?color=blue)](https://maven-badges.herokuapp.com/maven-central/io.fabric8/servicecatalog-client) | [![Javadocs](https://www.javadoc.io/badge/io.fabric8/servicecatalog-client.svg?color=blue)](https://www.javadoc.io/doc/io.fabric8/servicecatalog-client) |
| chaosmesh-client | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.fabric8/chaosmesh-client/badge.svg?color=blue)](https://maven-badges.herokuapp.com/maven-central/io.fabric8/chaosmesh-client) | [![Javadocs](https://www.javadoc.io/badge/io.fabric8/chaosmesh-client.svg?color=blue)](https://www.javadoc.io/doc/io.fabric8/chaosmesh-client) |
| volumesnapshot-client | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.fabric8/volumesnapshot-client/badge.svg?color=blue)](https://maven-badges.herokuapp.com/maven-central/io.fabric8/volumesnapshot-client) | [![Javadocs](https://www.javadoc.io/badge/io.fabric8/volumesnapshot-client.svg?color=blue)](https://www.javadoc.io/doc/io.fabric8/volumesnapshot-client) |
| volcano-client | [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.fabric8/volcano-client/badge.svg?color=blue)](https://maven-badges.herokuapp.com/maven-central/io.fabric8/volcano-client) | [![Javadocs](https://www.javadoc.io/badge/io.fabric8/volcano-client.svg?color=blue)](https://www.javadoc.io/doc/io.fabric8/volcano-client) |
@@ -450,7 +449,6 @@ All the resource objects used here will be according to OpenShift 3.9.0 and Kub
## Who uses Kubernetes & OpenShift Java client?
Extensions:
- - [Service Catalog API](https://github.com/fabric8io/kubernetes-client/tree/master/extensions/service-catalog)
- [Knative](https://github.com/fabric8io/kubernetes-client/tree/master/extensions/knative)
- [Tekton](https://github.com/fabric8io/kubernetes-client/tree/master/extensions/tekton)
- [Volcano](https://github.com/fabric8io/kubernetes-client/tree/master/extensions/volcano)
diff --git a/doc/MIGRATION-v7.md b/doc/MIGRATION-v7.md
index 6c2c7063387..5988731f79f 100644
--- a/doc/MIGRATION-v7.md
+++ b/doc/MIGRATION-v7.md
@@ -4,6 +4,8 @@
- [Bouncy Castle is no longer needed](#bouncy-castle)
- [Model Changes](#model-changes)
- [kubernetes-model artifact removed](#kubernetes-model-artifact-removed)
+- [Deprecations and Removals](#deprecations-and-removals)
+ - [Service Catalog API removed](#service-catalog)
> [!NOTE]
@@ -26,3 +28,11 @@ The Maven artifact `io.fabric8:kubernetes-model` has been removed from the proje
This artifact was just an aggregator of _some_ of the Kubernetes model artifacts and had no specific purpose.
It is no longer published, the `io.fabric8:kubernetes-client-api` or `io.fabric8:kubernetes-openshift-uberjar` artifacts should be used instead.
+
+## Deprecations and Removals
+
+### Service Catalog API removed
+
+The Service Catalog API extension has been removed.
+The upstream project has been archived since May 6, 2022.
+We are no longer supporting it.
diff --git a/extensions/pom.xml b/extensions/pom.xml
index 7d018d504bd..3b3abd3d6fc 100644
--- a/extensions/pom.xml
+++ b/extensions/pom.xml
@@ -31,7 +31,6 @@
knative
tekton
- service-catalog
volumesnapshot
chaosmesh
certmanager
diff --git a/extensions/service-catalog/.DS_Store b/extensions/service-catalog/.DS_Store
deleted file mode 100644
index 5008ddfcf53..00000000000
Binary files a/extensions/service-catalog/.DS_Store and /dev/null differ
diff --git a/extensions/service-catalog/client/pom.xml b/extensions/service-catalog/client/pom.xml
deleted file mode 100644
index f08b64a3038..00000000000
--- a/extensions/service-catalog/client/pom.xml
+++ /dev/null
@@ -1,197 +0,0 @@
-
-
-
- 4.0.0
-
- io.fabric8
- service-catalog
- 7.0-SNAPSHOT
-
-
- servicecatalog-client
- bundle
- Fabric8 :: Service Catalog :: Client (Deprecated)
-
-
- false
-
- osgi.extender;
- filter:="(osgi.extender=osgi.serviceloader.registrar)"
-
-
- osgi.serviceloader;
- osgi.serviceloader=io.fabric8.kubernetes.client.extension.ExtensionAdapter
-
-
- io.fabric8.kubernetes.api.builder,
- !io.fabric8.servicecatalog.client.*,
- *
-
-
- io.fabric8.servicecatalog.client.*
-
-
- ${osgi.include.resources.default},
- /META-INF/services/io.fabric8.kubernetes.client.extension.ExtensionAdapter=target/classes/META-INF/services/io.fabric8.kubernetes.client.extension.ExtensionAdapter
-
-
-
-
-
- io.fabric8
- servicecatalog-model
-
-
-
- io.fabric8
- kubernetes-client
- runtime
-
-
-
- io.fabric8
- kubernetes-client-api
-
-
- io.sundr
- *
-
-
-
-
-
- io.sundr
- builder-annotations
-
-
- io.sundr
- transform-annotations
-
-
- org.projectlombok
- lombok
-
-
- org.junit.jupiter
- junit-jupiter-engine
- test
-
-
- org.junit.jupiter
- junit-jupiter-params
- test
-
-
- org.mockito
- mockito-core
- test
-
-
- org.assertj
- assertj-core
- test
-
-
-
-
-
-
- io.sundr
- sundr-maven-plugin
- ${sundrio.version}
-
-
-
- servicecatalog-java-api-bom
- Snowdrop :: Service Catalog ::Bom
-
- true
-
-
-
- servicecatalog-java-api-bom-with-deps
- Snowdrop :: Service Catalog ::Bom with Dependencies
-
-
- com.squareup*:*
- com.fasterxml.jackson*:*
-
-
-
- true
-
-
-
-
-
-
-
- generate-bom
-
-
-
-
-
-
- org.codehaus.mojo
- buildnumber-maven-plugin
- ${buildnumber.plugin.version}
-
-
- get-build-timestamp
- initialize
-
- create-timestamp
-
-
-
- EEE, d MMM yyyy HH:mm:ss Z
- build.datetime
-
-
-
- get-scm-revision
- initialize
-
- create
-
-
- false
- false
- UNKNOWN
- true
-
-
-
-
-
- org.apache.maven.plugins
- maven-resources-plugin
-
-
- zip
- gz
- jar
-
-
-
-
-
-
-
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/DefaultServiceCatalogClient.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/DefaultServiceCatalogClient.java
deleted file mode 100644
index 229897af2ba..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/DefaultServiceCatalogClient.java
+++ /dev/null
@@ -1,123 +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.servicecatalog.client;
-
-import io.fabric8.kubernetes.client.Client;
-import io.fabric8.kubernetes.client.Config;
-import io.fabric8.kubernetes.client.RequestConfig;
-import io.fabric8.kubernetes.client.WithRequestCallable;
-import io.fabric8.kubernetes.client.dsl.FunctionCallable;
-import io.fabric8.kubernetes.client.dsl.MixedOperation;
-import io.fabric8.kubernetes.client.dsl.NonNamespaceOperation;
-import io.fabric8.kubernetes.client.dsl.Resource;
-import io.fabric8.kubernetes.client.extension.ExtensionRootClientAdapter;
-import io.fabric8.kubernetes.client.extension.SupportTestingClient;
-import io.fabric8.servicecatalog.api.model.ClusterServiceBroker;
-import io.fabric8.servicecatalog.api.model.ClusterServiceBrokerList;
-import io.fabric8.servicecatalog.api.model.ClusterServiceClass;
-import io.fabric8.servicecatalog.api.model.ClusterServiceClassList;
-import io.fabric8.servicecatalog.api.model.ClusterServicePlan;
-import io.fabric8.servicecatalog.api.model.ClusterServicePlanList;
-import io.fabric8.servicecatalog.api.model.ServiceBinding;
-import io.fabric8.servicecatalog.api.model.ServiceBindingList;
-import io.fabric8.servicecatalog.api.model.ServiceBroker;
-import io.fabric8.servicecatalog.api.model.ServiceBrokerList;
-import io.fabric8.servicecatalog.api.model.ServiceClass;
-import io.fabric8.servicecatalog.api.model.ServiceClassList;
-import io.fabric8.servicecatalog.api.model.ServiceInstance;
-import io.fabric8.servicecatalog.api.model.ServiceInstanceList;
-import io.fabric8.servicecatalog.api.model.ServicePlan;
-import io.fabric8.servicecatalog.api.model.ServicePlanList;
-import io.fabric8.servicecatalog.client.dsl.ClusterServiceBrokerResource;
-import io.fabric8.servicecatalog.client.dsl.ClusterServiceClassResource;
-import io.fabric8.servicecatalog.client.dsl.ClusterServicePlanResource;
-import io.fabric8.servicecatalog.client.dsl.ServiceBindingResource;
-import io.fabric8.servicecatalog.client.dsl.ServiceInstanceResource;
-
-/**
- * @deprecated This extension is deprecated and will be removed in a future release.
- */
-@Deprecated
-public class DefaultServiceCatalogClient extends ExtensionRootClientAdapter
- implements NamespacedServiceCatalogClient, SupportTestingClient {
-
- public DefaultServiceCatalogClient() {
- super();
- }
-
- public DefaultServiceCatalogClient(Config configuration) {
- super(configuration);
- }
-
- public DefaultServiceCatalogClient(Client client) {
- super(client);
- }
-
- @Override
- protected DefaultServiceCatalogClient newInstance(Client client) {
- return new DefaultServiceCatalogClient(client);
- }
-
- @Override
- public NonNamespaceOperation clusterServiceBrokers() {
- return resources(ClusterServiceBroker.class, ClusterServiceBrokerList.class, ClusterServiceBrokerResource.class);
- }
-
- @Override
- public NonNamespaceOperation clusterServiceClasses() {
- return resources(ClusterServiceClass.class, ClusterServiceClassList.class, ClusterServiceClassResource.class);
- }
-
- @Override
- public NonNamespaceOperation clusterServicePlans() {
- return resources(ClusterServicePlan.class, ClusterServicePlanList.class, ClusterServicePlanResource.class);
- }
-
- @Override
- public MixedOperation serviceInstances() {
- return resources(ServiceInstance.class, ServiceInstanceList.class, ServiceInstanceResource.class);
- }
-
- @Override
- public MixedOperation serviceBindings() {
- return resources(ServiceBinding.class, ServiceBindingList.class, ServiceBindingResource.class);
- }
-
- @Override
- public MixedOperation> serviceBrokers() {
- return resources(ServiceBroker.class, ServiceBrokerList.class);
- }
-
- @Override
- public MixedOperation> serviceClasses() {
- return resources(ServiceClass.class, ServiceClassList.class);
- }
-
- @Override
- public MixedOperation> servicePlans() {
- return resources(ServicePlan.class, ServicePlanList.class);
- }
-
- @Override
- public FunctionCallable withRequestConfig(RequestConfig requestConfig) {
- return new WithRequestCallable<>(this, requestConfig);
- }
-
- @Override
- public boolean isSupported() {
- return hasApiGroup("servicecatalog.k8s.io", false);
- }
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/GenericServiceCatalogClient.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/GenericServiceCatalogClient.java
deleted file mode 100644
index 4970c0d4aa7..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/GenericServiceCatalogClient.java
+++ /dev/null
@@ -1,31 +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.servicecatalog.client;
-
-import io.fabric8.kubernetes.client.Client;
-import io.fabric8.kubernetes.client.dsl.AnyNamespaceable;
-import io.fabric8.kubernetes.client.dsl.Namespaceable;
-import io.fabric8.kubernetes.client.dsl.RequestConfigurable;
-
-/**
- * @deprecated This extension is deprecated and will be removed in a future release.
- */
-@Deprecated
-public interface GenericServiceCatalogClient extends Client, ServiceCatalogClient,
- Namespaceable,
- AnyNamespaceable,
- RequestConfigurable {
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/NamespacedServiceCatalogClient.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/NamespacedServiceCatalogClient.java
deleted file mode 100644
index b0e51457887..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/NamespacedServiceCatalogClient.java
+++ /dev/null
@@ -1,24 +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.servicecatalog.client;
-
-/**
- * @deprecated This extension is deprecated and will be removed in a future release.
- */
-@Deprecated
-public interface NamespacedServiceCatalogClient extends ServiceCatalogClient,
- GenericServiceCatalogClient {
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/ServiceCatalogClient.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/ServiceCatalogClient.java
deleted file mode 100644
index 8504c2cc501..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/ServiceCatalogClient.java
+++ /dev/null
@@ -1,108 +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.servicecatalog.client;
-
-import io.fabric8.kubernetes.client.Client;
-import io.fabric8.kubernetes.client.dsl.MixedOperation;
-import io.fabric8.kubernetes.client.dsl.NonNamespaceOperation;
-import io.fabric8.kubernetes.client.dsl.Resource;
-import io.fabric8.servicecatalog.api.model.ClusterServiceBroker;
-import io.fabric8.servicecatalog.api.model.ClusterServiceBrokerList;
-import io.fabric8.servicecatalog.api.model.ClusterServiceClass;
-import io.fabric8.servicecatalog.api.model.ClusterServiceClassList;
-import io.fabric8.servicecatalog.api.model.ClusterServicePlan;
-import io.fabric8.servicecatalog.api.model.ClusterServicePlanList;
-import io.fabric8.servicecatalog.api.model.ServiceBinding;
-import io.fabric8.servicecatalog.api.model.ServiceBindingList;
-import io.fabric8.servicecatalog.api.model.ServiceBroker;
-import io.fabric8.servicecatalog.api.model.ServiceBrokerList;
-import io.fabric8.servicecatalog.api.model.ServiceClass;
-import io.fabric8.servicecatalog.api.model.ServiceClassList;
-import io.fabric8.servicecatalog.api.model.ServiceInstance;
-import io.fabric8.servicecatalog.api.model.ServiceInstanceList;
-import io.fabric8.servicecatalog.api.model.ServicePlan;
-import io.fabric8.servicecatalog.api.model.ServicePlanList;
-import io.fabric8.servicecatalog.client.dsl.ClusterServiceBrokerResource;
-import io.fabric8.servicecatalog.client.dsl.ClusterServiceClassResource;
-import io.fabric8.servicecatalog.client.dsl.ClusterServicePlanResource;
-import io.fabric8.servicecatalog.client.dsl.ServiceBindingResource;
-import io.fabric8.servicecatalog.client.dsl.ServiceInstanceResource;
-
-/**
- * Main interface for Service Catalog Client.
- *
- * @deprecated This extension is deprecated and will be removed in a future release.
- */
-@Deprecated
-public interface ServiceCatalogClient extends Client {
-
- /**
- * API entrypoint for ClusterServiceBroker(servicecatalog.k8s.io/v1beta1)
- *
- * @return NonNamespaceOperation for ClusterServiceBroker class
- */
- NonNamespaceOperation clusterServiceBrokers();
-
- /**
- * API entrypoint for ClusterServiceClass(servicecatalog.k8s.io/v1beta1)
- *
- * @return NonNamespaceOperation for ClusterServiceClass class
- */
- NonNamespaceOperation clusterServiceClasses();
-
- /**
- * API entrypoint for ClusterServicePlan(servicecatalog.k8s.io/v1beta1)
- *
- * @return NonNamespaceOperation for ClusterServicePlan class
- */
- NonNamespaceOperation clusterServicePlans();
-
- /**
- * API entrypoint for ServiceInstance(servicecatalog.k8s.io/v1beta1)
- *
- * @return MixedOperation for ServiceInstance class
- */
- MixedOperation serviceInstances();
-
- /**
- * API entrypoint for ServiceBinding(servicecatalog.k8s.io/v1beta1)
- *
- * @return MixedOperation for ServiceBinding class
- */
- MixedOperation serviceBindings();
-
- /**
- * API entrypoint for ServiceBroker(servicecatalog.k8s.io/v1beta1)
- *
- * @return MixedOperation for ServiceBroker class
- */
- MixedOperation> serviceBrokers();
-
- /**
- * API entrypoint for ServiceClass(servicecatalog.k8s.io/v1beta1)
- *
- * @return MixedOperation for ServiceClass class
- */
- MixedOperation> serviceClasses();
-
- /**
- * API entrypoint for ServicePlan(servicecatalog.k8s.io/v1beta1)
- *
- * @return MixedOperation for ServicePlan class
- */
- MixedOperation> servicePlans();
-
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/ServiceCatalogExtensionAdapter.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/ServiceCatalogExtensionAdapter.java
deleted file mode 100644
index d3226681a64..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/ServiceCatalogExtensionAdapter.java
+++ /dev/null
@@ -1,55 +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.servicecatalog.client;
-
-import io.fabric8.kubernetes.client.Client;
-import io.fabric8.kubernetes.client.extension.ExtensionAdapter;
-import io.fabric8.servicecatalog.api.model.ClusterServiceBroker;
-import io.fabric8.servicecatalog.api.model.ClusterServiceClass;
-import io.fabric8.servicecatalog.api.model.ClusterServicePlan;
-import io.fabric8.servicecatalog.api.model.ServiceBinding;
-import io.fabric8.servicecatalog.api.model.ServiceInstance;
-import io.fabric8.servicecatalog.client.internal.ClusterServiceBrokerOperationsImpl;
-import io.fabric8.servicecatalog.client.internal.ClusterServiceClassOperationsImpl;
-import io.fabric8.servicecatalog.client.internal.ClusterServicePlanOperationsImpl;
-import io.fabric8.servicecatalog.client.internal.ServiceBindingOperationsImpl;
-import io.fabric8.servicecatalog.client.internal.ServiceInstanceOperationsImpl;
-
-/**
- * @deprecated This extension is deprecated and will be removed in a future release.
- */
-@Deprecated
-public class ServiceCatalogExtensionAdapter implements ExtensionAdapter {
-
- @Override
- public Class getExtensionType() {
- return ServiceCatalogClient.class;
- }
-
- @Override
- public ServiceCatalogClient adapt(Client client) {
- return new DefaultServiceCatalogClient(client);
- }
-
- @Override
- public void registerResources(ResourceFactory factory) {
- factory.register(ClusterServiceBroker.class, new ClusterServiceBrokerOperationsImpl());
- factory.register(ClusterServiceClass.class, new ClusterServiceClassOperationsImpl());
- factory.register(ClusterServicePlan.class, new ClusterServicePlanOperationsImpl());
- factory.register(ServiceBinding.class, new ServiceBindingOperationsImpl());
- factory.register(ServiceInstance.class, new ServiceInstanceOperationsImpl());
- }
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ClusterServiceBrokerResource.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ClusterServiceBrokerResource.java
deleted file mode 100644
index fb11b8071d6..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ClusterServiceBrokerResource.java
+++ /dev/null
@@ -1,49 +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.servicecatalog.client.dsl;
-
-import io.fabric8.kubernetes.client.dsl.Resource;
-import io.fabric8.servicecatalog.api.model.ClusterServiceBroker;
-import io.fabric8.servicecatalog.api.model.ClusterServiceClassList;
-import io.fabric8.servicecatalog.api.model.ClusterServicePlanList;
-
-public interface ClusterServiceBrokerResource extends Resource {
-
- /**
- * List all {@link io.fabric8.servicecatalog.api.model.ClusterServicePlan}s available to the current broker.
- * It's an alternative of listing all plans and filtering by field.
- *
- * @return The list of plans.
- */
- ClusterServicePlanList listPlans();
-
- /**
- * List all {@link io.fabric8.servicecatalog.api.model.ClusterServiceClass}es available to the current broker.
- * It's an alternative of listing all classes and filtering by field.
- *
- * @return The list of plans.
- */
- ClusterServiceClassList listClasses();
-
- /**
- * Switch to the {@link ClusterServiceClassResource} with the specified external name.
- *
- * @param externalName
- * @return the resource.
- * @throws IllegalArgumentException if no unique resource with externalName is found.
- */
- ClusterServiceClassResource useServiceClass(String externalName);
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ClusterServiceClassResource.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ClusterServiceClassResource.java
deleted file mode 100644
index 2da98740ff7..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ClusterServiceClassResource.java
+++ /dev/null
@@ -1,35 +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.servicecatalog.client.dsl;
-
-import io.fabric8.kubernetes.client.dsl.Resource;
-import io.fabric8.servicecatalog.api.model.*;
-
-public interface ClusterServiceClassResource extends Resource {
-
- ClusterServicePlanList listPlans();
-
- /**
- * Switch to the {@link ClusterServicePlanResource} with the specified external name.
- *
- * @param externalName
- * @return the resource.
- * @throws IllegalArgumentException if no unique resource with externalName is found.
- */
- ClusterServicePlanResource usePlan(String externalName);
-
- ServiceInstance instantiate(String instanceName, String plan);
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ClusterServicePlanResource.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ClusterServicePlanResource.java
deleted file mode 100644
index a0e1a0d3cba..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ClusterServicePlanResource.java
+++ /dev/null
@@ -1,38 +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.servicecatalog.client.dsl;
-
-import io.fabric8.kubernetes.client.dsl.Resource;
-import io.fabric8.servicecatalog.api.model.*;
-
-public interface ClusterServicePlanResource extends Resource {
-
- /**
- * Instantiate the {@link ClusterServicePlan}.
- *
- * @param args The instance name, or the namespace and instance name (var-arg).
- * @return The {@link ServiceInstance}.
- */
- ServiceInstance instantiate(String... args);
-
- /**
- * Instantiate the {@link ClusterServicePlan} and returns the {@link ServiceInstanceResource}.
- *
- * @param args The instance name, or the namespace and instance name (var-arg).
- * @return The {@link ServiceInstanceResource}.
- */
- ServiceInstanceResource instantiateAnd(String... args);
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ServiceBindingResource.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ServiceBindingResource.java
deleted file mode 100644
index 186f1d8c9c5..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ServiceBindingResource.java
+++ /dev/null
@@ -1,25 +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.servicecatalog.client.dsl;
-
-import io.fabric8.kubernetes.api.model.Secret;
-import io.fabric8.kubernetes.client.dsl.Resource;
-import io.fabric8.servicecatalog.api.model.*;
-
-public interface ServiceBindingResource extends Resource {
-
- Secret getSecret();
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ServiceInstanceResource.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ServiceInstanceResource.java
deleted file mode 100644
index f184f9fb858..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/dsl/ServiceInstanceResource.java
+++ /dev/null
@@ -1,24 +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.servicecatalog.client.dsl;
-
-import io.fabric8.kubernetes.client.dsl.Resource;
-import io.fabric8.servicecatalog.api.model.*;
-
-public interface ServiceInstanceResource extends Resource {
-
- ServiceBinding bind(String secretName);
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ClusterServiceBrokerOperationsImpl.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ClusterServiceBrokerOperationsImpl.java
deleted file mode 100644
index 2e8c19a5203..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ClusterServiceBrokerOperationsImpl.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.servicecatalog.client.internal;
-
-import io.fabric8.kubernetes.client.extension.ExtensibleResourceAdapter;
-import io.fabric8.servicecatalog.api.model.ClusterServiceBroker;
-import io.fabric8.servicecatalog.api.model.ClusterServiceClass;
-import io.fabric8.servicecatalog.api.model.ClusterServiceClassList;
-import io.fabric8.servicecatalog.api.model.ClusterServicePlanList;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-import io.fabric8.servicecatalog.client.dsl.ClusterServiceBrokerResource;
-import io.fabric8.servicecatalog.client.dsl.ClusterServiceClassResource;
-
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-public class ClusterServiceBrokerOperationsImpl extends ExtensibleResourceAdapter
- implements ClusterServiceBrokerResource {
-
- @Override
- public ExtensibleResourceAdapter newInstance() {
- return new ClusterServiceBrokerOperationsImpl();
- }
-
- @Override
- public ClusterServicePlanList listPlans() {
- ClusterServiceBroker item = get();
- return client.adapt(ServiceCatalogClient.class).clusterServicePlans()
- .withField("spec.clusterServiceBrokerName", item.getMetadata().getName())
- .list();
- }
-
- @Override
- public ClusterServiceClassList listClasses() {
- ClusterServiceBroker item = get();
- return client.adapt(ServiceCatalogClient.class).clusterServiceClasses()
- .withField("spec.clusterServiceBrokerName", item.getMetadata().getName())
- .list();
- }
-
- @Override
- public ClusterServiceClassResource useServiceClass(String externalName) {
- ClusterServiceBroker item = get();
- Map fields = new HashMap<>();
- fields.put("spec.clusterServiceBrokerName", item.getMetadata().getName());
- if (externalName != null) {
- fields.put("spec.externalName", externalName);
- }
-
- List list = client.adapt(ServiceCatalogClient.class).clusterServiceClasses().withFields(fields).list()
- .getItems();
-
- if (list.size() != 1) {
- throw new IllegalArgumentException("No unique ClusterServiceClass with external name:" + externalName
- + "found for ClusterServiceBroker: " + item.getMetadata().getName());
- }
- ClusterServiceClass c = list.get(0);
- return client.adapt(ServiceCatalogClient.class).clusterServiceClasses().resource(c);
- }
-
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ClusterServiceClassOperationsImpl.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ClusterServiceClassOperationsImpl.java
deleted file mode 100644
index 3377366ac05..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ClusterServiceClassOperationsImpl.java
+++ /dev/null
@@ -1,87 +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.servicecatalog.client.internal;
-
-import io.fabric8.kubernetes.client.extension.ExtensibleResourceAdapter;
-import io.fabric8.servicecatalog.api.model.ClusterServiceClass;
-import io.fabric8.servicecatalog.api.model.ClusterServicePlan;
-import io.fabric8.servicecatalog.api.model.ClusterServicePlanList;
-import io.fabric8.servicecatalog.api.model.ServiceInstance;
-import io.fabric8.servicecatalog.api.model.ServiceInstanceBuilder;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-import io.fabric8.servicecatalog.client.dsl.ClusterServiceClassResource;
-import io.fabric8.servicecatalog.client.dsl.ClusterServicePlanResource;
-
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-public class ClusterServiceClassOperationsImpl extends ExtensibleResourceAdapter
- implements ClusterServiceClassResource {
-
- @Override
- public ExtensibleResourceAdapter newInstance() {
- return new ClusterServiceClassOperationsImpl();
- }
-
- @Override
- public ClusterServicePlanList listPlans() {
- ClusterServiceClass item = get();
- return client.adapt(ServiceCatalogClient.class)
- .clusterServicePlans()
- .withField("spec.clusterServiceClassRef.name", item != null ? item.getMetadata().getName() : null)
- .list();
- }
-
- @Override
- public ClusterServicePlanResource usePlan(String externalName) {
- ClusterServiceClass item = get();
- Map fields = new HashMap<>();
- fields.put("spec.clusterServiceClassRef.name", item.getMetadata().getName());
- fields.put("spec.externalName", externalName);
-
- List list = client.adapt(ServiceCatalogClient.class)
- .clusterServicePlans()
- .withFields(fields)
- .list()
- .getItems();
-
- if (list.size() != 1) {
- throw new IllegalArgumentException("No unique ClusterServicePlan with external name: " + externalName
- + " found for ClusterServiceBroker: " + item.getSpec().getClusterServiceBrokerName()
- + " and ClusterServiceClass: " + item.getSpec().getExternalName() + ".");
- }
- ClusterServicePlan plan = list.get(0);
- return client.adapt(ServiceCatalogClient.class).clusterServicePlans().resource(plan);
- }
-
- @Override
- public ServiceInstance instantiate(String instanceName, String plan) {
- ClusterServiceClass item = get();
- return client.adapt(ServiceCatalogClient.class)
- .serviceInstances()
- .create(new ServiceInstanceBuilder()
- .withNewMetadata()
- .withName(instanceName)
- .endMetadata()
- .withNewSpec()
- .withClusterServiceClassExternalName(item.getMetadata().getName())
- .withClusterServicePlanExternalName(plan)
- .endSpec()
- .build());
- }
-
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ClusterServicePlanOperationsImpl.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ClusterServicePlanOperationsImpl.java
deleted file mode 100644
index 2efc8fc5cdd..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ClusterServicePlanOperationsImpl.java
+++ /dev/null
@@ -1,71 +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.servicecatalog.client.internal;
-
-import io.fabric8.kubernetes.client.extension.ExtensibleResourceAdapter;
-import io.fabric8.servicecatalog.api.model.ClusterServicePlan;
-import io.fabric8.servicecatalog.api.model.ServiceInstance;
-import io.fabric8.servicecatalog.api.model.ServiceInstanceBuilder;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-import io.fabric8.servicecatalog.client.dsl.ClusterServicePlanResource;
-import io.fabric8.servicecatalog.client.dsl.ServiceInstanceResource;
-
-public class ClusterServicePlanOperationsImpl extends ExtensibleResourceAdapter
- implements ClusterServicePlanResource {
-
- @Override
- public ExtensibleResourceAdapter newInstance() {
- return new ClusterServicePlanOperationsImpl();
- }
-
- @Override
- public ServiceInstance instantiate(String... args) {
- String instanceName;
- String instanceNamespace;
-
- if (args.length == 1) {
- instanceName = args[0];
- instanceNamespace = client.getConfiguration().getNamespace();
- } else if (args.length == 2) {
- instanceNamespace = args[0];
- instanceName = args[1];
- } else {
- throw new IllegalArgumentException(
- "Instantiate needs to be called with either or arguments, but instead found: "
- + args.length + " arguments.");
- }
-
- ClusterServicePlan item = get();
- return client.adapt(ServiceCatalogClient.class).serviceInstances()
- .inNamespace(instanceNamespace).create(new ServiceInstanceBuilder()
- .withNewMetadata()
- .withName(instanceName)
- .withNamespace(instanceNamespace)
- .endMetadata()
- .withNewSpec()
- .withClusterServiceClassName(item.getSpec().getClusterServiceClassRef().getName())
- .withClusterServicePlanName(item.getMetadata().getName())
- .endSpec()
- .build());
- }
-
- @Override
- public ServiceInstanceResource instantiateAnd(String... args) {
- ServiceInstance item = instantiate(args);
- return client.adapt(ServiceCatalogClient.class).serviceInstances().resource(item);
- }
-
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ServiceBindingOperationsImpl.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ServiceBindingOperationsImpl.java
deleted file mode 100644
index 7eb200acb61..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ServiceBindingOperationsImpl.java
+++ /dev/null
@@ -1,36 +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.servicecatalog.client.internal;
-
-import io.fabric8.kubernetes.api.model.Secret;
-import io.fabric8.kubernetes.client.KubernetesClient;
-import io.fabric8.kubernetes.client.extension.ExtensibleResourceAdapter;
-import io.fabric8.servicecatalog.api.model.ServiceBinding;
-import io.fabric8.servicecatalog.client.dsl.ServiceBindingResource;
-
-public class ServiceBindingOperationsImpl extends ExtensibleResourceAdapter implements ServiceBindingResource {
-
- @Override
- public ExtensibleResourceAdapter newInstance() {
- return new ServiceBindingOperationsImpl();
- }
-
- @Override
- public Secret getSecret() {
- ServiceBinding instance = get();
- return client.adapt(KubernetesClient.class).secrets().withName(instance.getSpec().getSecretName()).get();
- }
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ServiceInstanceOperationsImpl.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ServiceInstanceOperationsImpl.java
deleted file mode 100644
index ad9bd764399..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/internal/ServiceInstanceOperationsImpl.java
+++ /dev/null
@@ -1,49 +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.servicecatalog.client.internal;
-
-import io.fabric8.kubernetes.client.extension.ExtensibleResourceAdapter;
-import io.fabric8.servicecatalog.api.model.ServiceBinding;
-import io.fabric8.servicecatalog.api.model.ServiceBindingBuilder;
-import io.fabric8.servicecatalog.api.model.ServiceInstance;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-import io.fabric8.servicecatalog.client.dsl.ServiceInstanceResource;
-
-public class ServiceInstanceOperationsImpl extends ExtensibleResourceAdapter
- implements ServiceInstanceResource {
-
- @Override
- public ExtensibleResourceAdapter newInstance() {
- return new ServiceInstanceOperationsImpl();
- }
-
- @Override
- public ServiceBinding bind(String secretName) {
- ServiceInstance item = get();
- return client.adapt(ServiceCatalogClient.class)
- .serviceBindings().create(new ServiceBindingBuilder()
- .withNewMetadata()
- .withName(item.getMetadata().getName())
- .withNamespace(item.getMetadata().getNamespace())
- .endMetadata()
- .withNewSpec()
- .withSecretName(secretName)
- .withNewInstanceRef(item.getMetadata().getName())
- .endSpec()
- .build());
- }
-
-}
diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/util/ApiVersionUtil.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/util/ApiVersionUtil.java
deleted file mode 100644
index febfda7294a..00000000000
--- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/util/ApiVersionUtil.java
+++ /dev/null
@@ -1,107 +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.servicecatalog.client.util;
-
-import io.fabric8.kubernetes.api.model.HasMetadata;
-import io.fabric8.kubernetes.client.utils.Utils;
-
-/**
- * @deprecated
- * @see io.fabric8.kubernetes.client.utils.ApiVersionUtil
- */
-@Deprecated
-public class ApiVersionUtil {
-
- private ApiVersionUtil() {
- throw new IllegalStateException("Utility class");
- }
-
- /**
- * Extracts apiGroupName from apiGroupVersion when in resource for apiGroupName/apiGroupVersion combination
- *
- * @param item resource which is being used
- * @param apiGroup apiGroupName present if any
- * @return Just the apiGroupName part without apiGroupVersion
- */
-
- public static String apiGroup(T item, String apiGroup) {
- if (item instanceof HasMetadata && Utils.isNotNullOrEmpty(((HasMetadata) item).getApiVersion())) {
- return trimGroupOrNull(((HasMetadata) item).getApiVersion());
- } else if (apiGroup != null && !apiGroup.isEmpty()) {
- return trimGroup(apiGroup);
- }
- return null;
- }
-
- /**
- * Returns the api version falling back to the items apiGroupVersion if not null.
- *
- * @param
- * @param item
- * @param apiVersion
- * @return
- */
- public static String apiVersion(T item, String apiVersion) {
- if (item instanceof HasMetadata && Utils.isNotNullOrEmpty(((HasMetadata) item).getApiVersion())) {
- return trimVersion(((HasMetadata) item).getApiVersion());
- } else if (apiVersion != null && !apiVersion.isEmpty()) {
- return trimVersion(apiVersion);
- }
- return null;
- }
-
- /**
- * Separates apiGroupVersion for apiGroupName/apiGroupVersion combination.
- *
- * @param apiVersion The apiGroupVersion or apiGroupName/apiGroupVersion combo.
- * @return Just the apiGroupVersion part without the apiGroupName.
- */
- private static String trimVersion(String apiVersion) {
- if (apiVersion != null && apiVersion.contains("/")) {
- String[] versionParts = apiVersion.split("/");
- return versionParts[versionParts.length - 1];
- }
- return apiVersion;
- }
-
- /**
- * Separates apiGroupName for apiGroupName/apiGroupVersion combination.
- *
- * @param apiVersion The apiGroupVersion or apiGroupName/apiGroupVersion combo.
- * @return Just the apiGroupName part without the apiGroupName, or apiVersion if no separator is found.
- */
- private static String trimGroup(String apiVersion) {
- if (apiVersion != null && apiVersion.contains("/")) {
- String[] versionParts = apiVersion.split("/");
- return versionParts[0];
- }
- return apiVersion;
- }
-
- /**
- * Separates apiGroupName for apiGroupName/apiGroupVersion combination.
- *
- * @param apiVersion The apiGroupVersion or apiGroupName/apiGroupVersion combo.
- * @return Just the apiGroupName part without the apiGroupName, or null if no separator is found.
- */
- private static String trimGroupOrNull(String apiVersion) {
- if (apiVersion != null && apiVersion.contains("/")) {
- String[] versionParts = apiVersion.split("/");
- return versionParts[0];
- }
- return null;
- }
-}
diff --git a/extensions/service-catalog/client/src/main/resources/META-INF/services/io.fabric8.kubernetes.client.extension.ExtensionAdapter b/extensions/service-catalog/client/src/main/resources/META-INF/services/io.fabric8.kubernetes.client.extension.ExtensionAdapter
deleted file mode 100644
index fa71921555e..00000000000
--- a/extensions/service-catalog/client/src/main/resources/META-INF/services/io.fabric8.kubernetes.client.extension.ExtensionAdapter
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2018 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.
-#
-
-io.fabric8.servicecatalog.client.ServiceCatalogExtensionAdapter
diff --git a/extensions/service-catalog/client/src/test/java/io/fabric8/servicecatalog/client/ServiceCatalogClientAdaptTest.java b/extensions/service-catalog/client/src/test/java/io/fabric8/servicecatalog/client/ServiceCatalogClientAdaptTest.java
deleted file mode 100644
index e005bddcfc0..00000000000
--- a/extensions/service-catalog/client/src/test/java/io/fabric8/servicecatalog/client/ServiceCatalogClientAdaptTest.java
+++ /dev/null
@@ -1,81 +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.servicecatalog.client;
-
-import io.fabric8.kubernetes.api.model.APIGroup;
-import io.fabric8.kubernetes.api.model.APIGroupBuilder;
-import io.fabric8.kubernetes.api.model.APIGroupList;
-import io.fabric8.kubernetes.api.model.APIGroupListBuilder;
-import io.fabric8.kubernetes.client.Config;
-import io.fabric8.kubernetes.client.ConfigBuilder;
-import io.fabric8.kubernetes.client.KubernetesClient;
-import io.fabric8.kubernetes.client.dsl.internal.OperationSupport;
-import io.fabric8.kubernetes.client.http.HttpClient;
-import io.fabric8.kubernetes.client.impl.KubernetesClientImpl;
-import org.junit.jupiter.api.AfterEach;
-import org.junit.jupiter.api.BeforeEach;
-import org.junit.jupiter.params.ParameterizedTest;
-import org.junit.jupiter.params.provider.Arguments;
-import org.junit.jupiter.params.provider.MethodSource;
-import org.mockito.MockedConstruction;
-import org.mockito.Mockito;
-
-import java.util.stream.Stream;
-
-import static org.assertj.core.api.Assertions.assertThat;
-import static org.mockito.Mockito.mockConstruction;
-import static org.mockito.Mockito.when;
-
-class ServiceCatalogClientAdaptTest {
- private KubernetesClient kubernetesClient;
-
- @BeforeEach
- public void setUp() {
- HttpClient mockClient = Mockito.mock(HttpClient.class, Mockito.RETURNS_DEEP_STUBS);
- Config config = new ConfigBuilder().withMasterUrl("https://localhost:8443/").build();
- kubernetesClient = new KubernetesClientImpl(mockClient, config);
- }
-
- @AfterEach
- void tearDown() {
- kubernetesClient.close();
- kubernetesClient = null;
- }
-
- @ParameterizedTest
- @MethodSource("getInputData")
- void isSupported_withGivenApiGroup_shouldValidateSupport(String apiGroupName, boolean expectedResult) {
- try (MockedConstruction ignored = mockConstruction(OperationSupport.class, (mock, ctx) -> {
- givenApiGroupsCallReturns(mock, new APIGroupBuilder().withName(apiGroupName).build());
- })) {
- assertThat(kubernetesClient.isAdaptable(ServiceCatalogClient.class)).isEqualTo(expectedResult);
- }
- }
-
- private static Stream getInputData() {
- return Stream.of(
- Arguments.of("servicecatalog.k8s.io", true),
- Arguments.of("test.servicecatalog.k8s.io", true),
- Arguments.of("tekton.dev", false));
- }
-
- private void givenApiGroupsCallReturns(OperationSupport operationSupport, APIGroup apiGroup) {
- when(operationSupport.restCall(APIGroupList.class, "/apis"))
- .thenReturn(new APIGroupListBuilder()
- .addToGroups(apiGroup)
- .build());
- }
-}
diff --git a/extensions/service-catalog/client/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker b/extensions/service-catalog/client/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker
deleted file mode 100644
index 1f0955d450f..00000000000
--- a/extensions/service-catalog/client/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker
+++ /dev/null
@@ -1 +0,0 @@
-mock-maker-inline
diff --git a/extensions/service-catalog/examples/pom.xml b/extensions/service-catalog/examples/pom.xml
deleted file mode 100644
index 9177aefaec0..00000000000
--- a/extensions/service-catalog/examples/pom.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
- 4.0.0
-
- io.fabric8
- service-catalog
- 7.0-SNAPSHOT
-
-
- service-catalog-examples
- Fabric8 :: Service Catalog :: Examples
-
-
-
- io.fabric8
- servicecatalog-client
- ${project.version}
-
-
-
-
diff --git a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ClientFactory.java b/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ClientFactory.java
deleted file mode 100644
index 8ef2e5af383..00000000000
--- a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ClientFactory.java
+++ /dev/null
@@ -1,66 +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.servicecatalog.examples;
-
-import io.fabric8.kubernetes.client.ConfigBuilder;
-import io.fabric8.kubernetes.client.KubernetesClientBuilder;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-
-public class ClientFactory {
- private ClientFactory() {
- throw new IllegalStateException("Utility class");
- }
-
- public static ServiceCatalogClient newClient(String[] args) {
- ConfigBuilder config = new ConfigBuilder();
- for (int i = 0; i < args.length - 1; i++) {
-
- String key = args[i];
- String value = args[i + 1];
-
- if (key.equals("--api-server")) {
- config = config.withMasterUrl(value);
- }
-
- if (key.equals("--token")) {
- config = config.withOauthToken(value);
- }
-
- if (key.equals("--username")) {
- config = config.withUsername(value);
- }
-
- if (key.equals("--password")) {
- config = config.withPassword(value);
- }
- if (key.equals("--namespace")) {
- config = config.withNamespace(value);
- }
- }
- return new KubernetesClientBuilder().withConfig(config.build()).build().adapt(ServiceCatalogClient.class);
- }
-
- public static String getOptions(String[] args, String name, String defaultValue) {
- for (int i = 0; i < args.length - 1; i++) {
- String key = args[i];
- String value = args[i + 1];
- if (key.equals(name)) {
- return value;
- }
- }
- return defaultValue;
- }
-}
diff --git a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/CreateBinding.java b/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/CreateBinding.java
deleted file mode 100644
index fd5eb75bfcc..00000000000
--- a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/CreateBinding.java
+++ /dev/null
@@ -1,36 +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.servicecatalog.examples;
-
-import io.fabric8.servicecatalog.api.model.ServiceBindingBuilder;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-
-public class CreateBinding {
-
- public static void main(String[] args) {
- ServiceCatalogClient client = ClientFactory.newClient(args);
- System.out.println("Creating a service binding");
- client.serviceBindings().inNamespace("iocanel").create(new ServiceBindingBuilder()
- .withNewMetadata()
- .withName("mybinding")
- .endMetadata()
- .withNewSpec()
- .withNewInstanceRef("myservice")
- .withSecretName("mysercret")
- .endSpec().build());
-
- }
-}
diff --git a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/CreateBroker.java b/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/CreateBroker.java
deleted file mode 100644
index ef7ba41d5b4..00000000000
--- a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/CreateBroker.java
+++ /dev/null
@@ -1,35 +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.servicecatalog.examples;
-
-import io.fabric8.servicecatalog.api.model.ClusterServiceBroker;
-import io.fabric8.servicecatalog.api.model.ClusterServiceBrokerBuilder;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-
-public class CreateBroker {
-
- public static void main(String[] args) {
- ServiceCatalogClient client = ClientFactory.newClient(args);
- ClusterServiceBroker broker = client.clusterServiceBrokers().create(new ClusterServiceBrokerBuilder()
- .withNewMetadata()
- .withName("mybroker")
- .endMetadata()
- .withNewSpec()
- .withUrl("http://url.to.service.broker")
- .endSpec()
- .build());
- }
-}
diff --git a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListBrokers.java b/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListBrokers.java
deleted file mode 100644
index c779e515472..00000000000
--- a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListBrokers.java
+++ /dev/null
@@ -1,32 +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.servicecatalog.examples;
-
-import io.fabric8.servicecatalog.api.model.ClusterServiceBrokerList;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-
-public class ListBrokers {
-
- public static void main(String[] args) {
- ServiceCatalogClient client = ClientFactory.newClient(args);
- ClusterServiceBrokerList list = client.clusterServiceBrokers().list();
- System.out.println("Listing Cluster Service Brokers:");
- list.getItems().stream()
- .map(b -> b.getMetadata().getName())
- .forEach(System.out::println);
- System.out.println("Done");
- }
-}
diff --git a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServiceClasses.java b/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServiceClasses.java
deleted file mode 100644
index db149ec9fb1..00000000000
--- a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServiceClasses.java
+++ /dev/null
@@ -1,35 +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.servicecatalog.examples;
-
-import io.fabric8.servicecatalog.api.model.ClusterServiceClassList;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class ListServiceClasses {
- private static final Logger logger = LoggerFactory.getLogger(ListServiceClasses.class.getSimpleName());
-
- public static void main(String[] args) {
- ServiceCatalogClient client = ClientFactory.newClient(args);
- logger.info("Listing Cluster Service Classes:");
- ClusterServiceClassList list = client.clusterServiceClasses().list();
- list.getItems()
- .forEach(b -> logger.info(b.getSpec().getClusterServiceBrokerName() + "\t\t" + b.getSpec().getExternalName()
- + "\t\t\t\t" + b.getMetadata().getName()));
- logger.info("Done");
- }
-}
diff --git a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServiceClassesByBroker.java b/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServiceClassesByBroker.java
deleted file mode 100644
index b74d50667a1..00000000000
--- a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServiceClassesByBroker.java
+++ /dev/null
@@ -1,39 +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.servicecatalog.examples;
-
-import io.fabric8.servicecatalog.api.model.ClusterServiceClassList;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class ListServiceClassesByBroker {
- private static final Logger logger = LoggerFactory.getLogger(ListServiceClassesByBroker.class.getSimpleName());
-
- public static void main(String[] args) {
- ServiceCatalogClient client = ClientFactory.newClient(args);
- String broker = ClientFactory.getOptions(args, "--broker", null);
- if (broker == null || broker.isEmpty()) {
- logger.info("Missing --broker option!");
- System.exit(1);
- }
- logger.info("Listing Cluster Service Classes {} :", broker);
- ClusterServiceClassList list = client.clusterServiceBrokers().withName(broker).listClasses();
- list.getItems()
- .forEach(b -> logger.info(b.getSpec().getExternalName() + "\t\t\t\t" + b.getMetadata().getName()));
- logger.info("Done");
- }
-}
diff --git a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServiceInstances.java b/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServiceInstances.java
deleted file mode 100644
index da5e4cfe649..00000000000
--- a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServiceInstances.java
+++ /dev/null
@@ -1,36 +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.servicecatalog.examples;
-
-import io.fabric8.servicecatalog.api.model.ServiceInstanceList;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class ListServiceInstances {
- private static final Logger logger = LoggerFactory.getLogger(ListServiceInstances.class.getSimpleName());
-
- public static void main(String[] args) {
- ServiceCatalogClient client = ClientFactory.newClient(args);
- ServiceInstanceList list = client.serviceInstances().inNamespace("iocanel").list();
-
- logger.info("Listing Service Instances:");
- list.getItems()
- .forEach(b -> logger.info(b.getMetadata().getName()));
-
- logger.info("Done");
- }
-}
diff --git a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServicePlans.java b/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServicePlans.java
deleted file mode 100644
index 55885f946d4..00000000000
--- a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServicePlans.java
+++ /dev/null
@@ -1,37 +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.servicecatalog.examples;
-
-import io.fabric8.servicecatalog.api.model.ClusterServicePlan;
-import io.fabric8.servicecatalog.api.model.ClusterServicePlanList;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class ListServicePlans {
- private static final Logger logger = LoggerFactory.getLogger(ListServicePlans.class.getSimpleName());
-
- public static void main(String[] args) {
- ServiceCatalogClient client = ClientFactory.newClient(args);
- ClusterServicePlanList list = client.clusterServicePlans().list();
- ClusterServicePlan c;
- logger.info("Listing Cluster Service Plans:");
- list.getItems()
- .forEach(b -> logger.info(b.getSpec().getClusterServiceBrokerName() + "\t\t\t" + b.getSpec().getClusterServiceClassRef()
- + "\t\t\t" + b.getSpec().getExternalName()));
- logger.info("Done");
- }
-}
diff --git a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServicePlansByBroker.java b/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServicePlansByBroker.java
deleted file mode 100644
index 73f7445e3e5..00000000000
--- a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ListServicePlansByBroker.java
+++ /dev/null
@@ -1,40 +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.servicecatalog.examples;
-
-import io.fabric8.servicecatalog.api.model.ClusterServicePlanList;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class ListServicePlansByBroker {
- private static final Logger logger = LoggerFactory.getLogger(ListServicePlansByBroker.class.getSimpleName());
-
- public static void main(String[] args) {
- ServiceCatalogClient client = ClientFactory.newClient(args);
- String broker = ClientFactory.getOptions(args, "--broker", null);
- if (broker == null || broker.isEmpty()) {
- logger.info("Missing --broker option!");
- System.exit(1);
- }
- logger.info("Listing Cluster Service Plans {} :", broker);
- ClusterServicePlanList list = client.clusterServiceBrokers().withName(broker).listPlans();
- list.getItems()
- .forEach(b -> logger.info(b.getSpec().getClusterServiceClassRef() + "\t\t\t" + b.getSpec().getExternalName()
- + "\t\t\t\t" + b.getMetadata().getName()));
- logger.info("Done");
- }
-}
diff --git a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ProvisionService.java b/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ProvisionService.java
deleted file mode 100644
index a43e2259a57..00000000000
--- a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/ProvisionService.java
+++ /dev/null
@@ -1,38 +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.servicecatalog.examples;
-
-import io.fabric8.servicecatalog.api.model.ServiceInstance;
-import io.fabric8.servicecatalog.api.model.ServiceInstanceBuilder;
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-
-public class ProvisionService {
-
- public static void main(String[] args) {
- ServiceCatalogClient client = ClientFactory.newClient(args);
- System.out.println("Provisioning a service");
- ServiceInstance instance = client.serviceInstances().inNamespace("iocanel").create(new ServiceInstanceBuilder()
- .withNewMetadata()
- .withName("myserivce")
- .endMetadata()
- .withNewSpec()
- .withClusterServiceClassExternalName("jenkins-ephemeral")
- .withClusterServicePlanExternalName("default")
- .endSpec()
- .build());
- System.out.println("Done");
- }
-}
diff --git a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/RemoveBroker.java b/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/RemoveBroker.java
deleted file mode 100644
index 0d7789e4f5d..00000000000
--- a/extensions/service-catalog/examples/src/main/java/io/fabric8/servicecatalog/examples/RemoveBroker.java
+++ /dev/null
@@ -1,26 +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.servicecatalog.examples;
-
-import io.fabric8.servicecatalog.client.ServiceCatalogClient;
-
-public class RemoveBroker {
-
- public static void main(String[] args) {
- ServiceCatalogClient client = ClientFactory.newClient(args);
- client.clusterServiceBrokers().withName("my-broker").delete();
- }
-}
diff --git a/extensions/service-catalog/generator/.gitignore b/extensions/service-catalog/generator/.gitignore
deleted file mode 100644
index 57872d0f1e5..00000000000
--- a/extensions/service-catalog/generator/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/vendor/
diff --git a/extensions/service-catalog/generator/Makefile b/extensions/service-catalog/generator/Makefile
deleted file mode 100755
index d7d25757265..00000000000
--- a/extensions/service-catalog/generator/Makefile
+++ /dev/null
@@ -1,28 +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.
-#
-
-SHELL := /bin/bash
-
-all: build
-
-build: gobuild
- pushd ../model && \
- mvn -Pgenerate clean install -DskipTests && \
- popd
-
-gobuild:
- go mod vendor
- CGO_ENABLED=0 GO111MODULE=on GO15VENDOREXPERIMENT=1 go run -mod=vendor -a ./cmd/generate/generate.go > ../model/src/main/resources/schema/servicecatalog-schema.json
diff --git a/extensions/service-catalog/generator/cmd/generate/generate.go b/extensions/service-catalog/generator/cmd/generate/generate.go
deleted file mode 100644
index e1e89c2fefd..00000000000
--- a/extensions/service-catalog/generator/cmd/generate/generate.go
+++ /dev/null
@@ -1,79 +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 main
-
-import (
- "fmt"
- "github.com/fabric8io/kubernetes-client/generator/pkg/schemagen"
- "github.com/kubernetes-sigs/service-catalog/pkg/apis/servicecatalog/v1beta1"
- v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- "k8s.io/apimachinery/pkg/runtime"
- "reflect"
-)
-
-func main() {
-
- // the CRD List types for which the model should be generated
- // no other types need to be defined as they are auto discovered
- crdLists := map[reflect.Type]schemagen.CrdScope{
- reflect.TypeOf(v1beta1.ClusterServiceBrokerList{}): schemagen.Cluster,
- reflect.TypeOf(v1beta1.ClusterServiceClassList{}): schemagen.Cluster,
- reflect.TypeOf(v1beta1.ClusterServicePlanList{}): schemagen.Cluster,
-
- reflect.TypeOf(v1beta1.ServiceInstanceList{}): schemagen.Namespaced,
- reflect.TypeOf(v1beta1.ServiceBindingList{}): schemagen.Namespaced,
- reflect.TypeOf(v1beta1.ServiceBrokerList{}): schemagen.Namespaced,
- reflect.TypeOf(v1beta1.ServiceClassList{}): schemagen.Namespaced,
- reflect.TypeOf(v1beta1.ServicePlanList{}): schemagen.Namespaced,
- }
-
- // constraints and patterns for fields
- constraints := map[reflect.Type]map[string]*schemagen.Constraint{}
-
- // types that are manually defined in the model
- providedTypes := []schemagen.ProvidedType{}
-
- // go packages that are provided and where no generation is required and their corresponding java package
- providedPackages := map[string]string{
- // external
- "k8s.io/apimachinery/pkg/apis/meta/v1": "io.fabric8.kubernetes.api.model",
- }
-
- // mapping of go packages of this module to the resulting java package
- // optional ApiGroup and ApiVersion for the go package (which is added to the generated java class)
- packageMapping := map[string]schemagen.PackageInformation{
- "github.com/kubernetes-sigs/service-catalog/pkg/apis/servicecatalog/v1beta1": {JavaPackage: "io.fabric8.servicecatalog.api.model", ApiGroup: "servicecatalog.k8s.io", ApiVersion: "v1beta1"},
- }
-
- // converts all packages starting with to a java package using an automated scheme:
- // - replace with aka "package prefix"
- // - replace '/' with '.' for a valid java package name
- // e.g. knative.dev/eventing/pkg/apis/messaging/v1beta1/ChannelTemplateSpec is mapped to "io.fabric8.knative.internal.eventing.pkg.apis.messaging.v1beta1.ChannelTemplateSpec"
- mappingSchema := map[string]string{
- "github.com/kubernetes-sigs": "io.fabric8.servicecatalog.internal",
- }
-
- // overwriting some times
- manualTypeMap := map[reflect.Type]string{
- reflect.TypeOf(v1.Time{}): "java.lang.String",
- reflect.TypeOf(runtime.RawExtension{}): "java.util.Map",
- reflect.TypeOf([]byte{}): "java.lang.String",
- }
-
- json := schemagen.GenerateSchema("http://fabric8.io/knative/ServiceCatalogSchema#", crdLists, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints, "io.fabric8")
-
- fmt.Println(json)
-}
diff --git a/extensions/service-catalog/generator/go.mod b/extensions/service-catalog/generator/go.mod
deleted file mode 100644
index 07caab666de..00000000000
--- a/extensions/service-catalog/generator/go.mod
+++ /dev/null
@@ -1,11 +0,0 @@
-module github.com/fabric8io/kubernetes-client/extensions/knative/generator
-
-require (
- github.com/fabric8io/kubernetes-client/generator v0.0.0
- github.com/kubernetes-sigs/service-catalog v0.2.2
- k8s.io/apimachinery v0.18.2
-)
-
-replace github.com/fabric8io/kubernetes-client/generator v0.0.0 => ./../../../generator
-
-go 1.13
diff --git a/extensions/service-catalog/generator/go.sum b/extensions/service-catalog/generator/go.sum
deleted file mode 100644
index f576a832121..00000000000
--- a/extensions/service-catalog/generator/go.sum
+++ /dev/null
@@ -1,100 +0,0 @@
-github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ=
-github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
-github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
-github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM=
-github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc=
-github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
-github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
-github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
-github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
-github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas=
-github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0=
-github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg=
-github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc=
-github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I=
-github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls=
-github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
-github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
-github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
-github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
-github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
-github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
-github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
-github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g=
-github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
-github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY=
-github.com/googleapis/gnostic v0.1.0/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY=
-github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
-github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
-github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
-github.com/json-iterator/go v1.1.8 h1:QiWkFLKq0T7mpzwOTu6BzNDbfTE8OLrYhVKYMLF46Ok=
-github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
-github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
-github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
-github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
-github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
-github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
-github.com/kubernetes-sigs/service-catalog v0.2.2 h1:V/NrjGRWD37hkyvIwiS1Ekz/n7k1Ro9kPj6efRXkqEw=
-github.com/kubernetes-sigs/service-catalog v0.2.2/go.mod h1:fmRsWJ38Od93DQ7cOXR9mMSSwmjyDS1EAomWxBlumuo=
-github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
-github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
-github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
-github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
-github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
-github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=
-github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
-github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
-github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw=
-github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
-github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
-github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
-github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA=
-github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
-github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
-github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
-github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
-github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
-github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
-golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
-golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20191004110552-13f9640d40b9 h1:rjwSpXsdiK0dV8/Naq3kAw9ymfAeJIyd0upUIElB+lI=
-golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
-golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
-golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
-golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
-golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
-gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
-gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
-gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
-gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
-gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
-gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
-gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
-gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
-gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
-k8s.io/apimachinery v0.18.2 h1:44CmtbmkzVDAhCpRVSiP2R5PPrC2RtlIv/MoB8xpdRA=
-k8s.io/apimachinery v0.18.2/go.mod h1:9SnR/e11v5IbyPCGbvJViimtJ0SwHG4nfZFjU77ftcA=
-k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
-k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk=
-k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8=
-k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I=
-k8s.io/kube-openapi v0.0.0-20200121204235-bf4fb3bd569c/go.mod h1:GRQhZsXIAJ1xR0C9bd8UpWHZ5plfAS9fzPjJuQ6JL3E=
-sigs.k8s.io/structured-merge-diff/v3 v3.0.0-20200116222232-67a7b8c61874/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw=
-sigs.k8s.io/structured-merge-diff/v3 v3.0.0 h1:dOmIZBMfhcHS09XZkMyUgkq5trg3/jRyJYFZUiaOp8E=
-sigs.k8s.io/structured-merge-diff/v3 v3.0.0/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw=
-sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
-sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=
diff --git a/extensions/service-catalog/model/pom.xml b/extensions/service-catalog/model/pom.xml
deleted file mode 100755
index 4db0fb140f8..00000000000
--- a/extensions/service-catalog/model/pom.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
- 4.0.0
-
- io.fabric8
- service-catalog
- 7.0-SNAPSHOT
-
-
- servicecatalog-model
- bundle
- Fabric8 :: Service Catalog :: Model (Deprecated)
-
-
-
- io.fabric8.kubernetes.api.builder,
- !io.fabric8.servicecatalog.api.model.*,
- *
-
-
- io.fabric8.servicecatalog.api.model.*
-
- true
-
-
-
-
- io.sundr
- builder-annotations
-
-
- io.sundr
- transform-annotations
-
-
- io.sundr
- sundr-codegen-velocity-nodeps
-
-
- io.fabric8
- kubernetes-model-core
-
-
- org.junit.jupiter
- junit-jupiter-engine
- test
-
-
- org.projectlombok
- lombok
-
-
-
-
-
- generate
-
-
-
- org.jsonschema2pojo
- jsonschema2pojo-maven-plugin
-
-
-
-
-
-
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
- attach-artifacts
- package
-
- attach-artifact
-
-
-
-
- ${project.build.outputDirectory}/schema/servicecatalog-schema.json
- json
- schema
-
-
-
-
-
-
-
-
-
-
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeyTransform.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeyTransform.java
deleted file mode 100644
index 4791f5de833..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeyTransform.java
+++ /dev/null
@@ -1,158 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "jsonPathExpression",
- "key",
- "stringValue",
- "value"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class AddKeyTransform implements Editable , KubernetesResource
-{
-
- @JsonProperty("jsonPathExpression")
- private String jsonPathExpression;
- @JsonProperty("key")
- private java.lang.String key;
- @JsonProperty("stringValue")
- private String stringValue;
- @JsonProperty("value")
- private java.lang.String value;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public AddKeyTransform() {
- }
-
- public AddKeyTransform(String jsonPathExpression, java.lang.String key, String stringValue, java.lang.String value) {
- super();
- this.jsonPathExpression = jsonPathExpression;
- this.key = key;
- this.stringValue = stringValue;
- this.value = value;
- }
-
- @JsonProperty("jsonPathExpression")
- public String getJsonPathExpression() {
- return jsonPathExpression;
- }
-
- @JsonProperty("jsonPathExpression")
- public void setJsonPathExpression(String jsonPathExpression) {
- this.jsonPathExpression = jsonPathExpression;
- }
-
- @JsonProperty("key")
- public java.lang.String getKey() {
- return key;
- }
-
- @JsonProperty("key")
- public void setKey(java.lang.String key) {
- this.key = key;
- }
-
- @JsonProperty("stringValue")
- public String getStringValue() {
- return stringValue;
- }
-
- @JsonProperty("stringValue")
- public void setStringValue(String stringValue) {
- this.stringValue = stringValue;
- }
-
- @JsonProperty("value")
- public java.lang.String getValue() {
- return value;
- }
-
- @JsonProperty("value")
- public void setValue(java.lang.String value) {
- this.value = value;
- }
-
- @JsonIgnore
- public AddKeyTransformBuilder edit() {
- return new AddKeyTransformBuilder(this);
- }
-
- @JsonIgnore
- public AddKeyTransformBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(java.lang.String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeysFromTransform.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeysFromTransform.java
deleted file mode 100644
index 3302c6f0d2a..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/AddKeysFromTransform.java
+++ /dev/null
@@ -1,115 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.PersistentVolumeClaim;
-import io.fabric8.kubernetes.api.model.PodTemplateSpec;
-import io.fabric8.kubernetes.api.model.ResourceRequirements;
-import io.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "secretRef"
-})
-@ToString
-@EqualsAndHashCode
-@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(io.fabric8.kubernetes.api.model.ObjectReference.class),
- @BuildableReference(LocalObjectReference.class),
- @BuildableReference(PersistentVolumeClaim.class),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class AddKeysFromTransform implements Editable , KubernetesResource
-{
-
- @JsonProperty("secretRef")
- private io.fabric8.servicecatalog.api.model.ObjectReference secretRef;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public AddKeysFromTransform() {
- }
-
- public AddKeysFromTransform(io.fabric8.servicecatalog.api.model.ObjectReference secretRef) {
- super();
- this.secretRef = secretRef;
- }
-
- @JsonProperty("secretRef")
- public io.fabric8.servicecatalog.api.model.ObjectReference getSecretRef() {
- return secretRef;
- }
-
- @JsonProperty("secretRef")
- public void setSecretRef(io.fabric8.servicecatalog.api.model.ObjectReference secretRef) {
- this.secretRef = secretRef;
- }
-
- @JsonIgnore
- public AddKeysFromTransformBuilder edit() {
- return new AddKeysFromTransformBuilder(this);
- }
-
- @JsonIgnore
- public AddKeysFromTransformBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BasicAuthConfig.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BasicAuthConfig.java
deleted file mode 100644
index 89e42aceb27..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BasicAuthConfig.java
+++ /dev/null
@@ -1,115 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-import io.fabric8.kubernetes.api.model.LabelSelector;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "secretRef"
-})
-@ToString
-@EqualsAndHashCode
-@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(io.fabric8.kubernetes.api.model.LocalObjectReference.class),
- @BuildableReference(PersistentVolumeClaim.class),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class BasicAuthConfig implements Editable , KubernetesResource
-{
-
- @JsonProperty("secretRef")
- private io.fabric8.servicecatalog.api.model.LocalObjectReference secretRef;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public BasicAuthConfig() {
- }
-
- public BasicAuthConfig(io.fabric8.servicecatalog.api.model.LocalObjectReference secretRef) {
- super();
- this.secretRef = secretRef;
- }
-
- @JsonProperty("secretRef")
- public io.fabric8.servicecatalog.api.model.LocalObjectReference getSecretRef() {
- return secretRef;
- }
-
- @JsonProperty("secretRef")
- public void setSecretRef(io.fabric8.servicecatalog.api.model.LocalObjectReference secretRef) {
- this.secretRef = secretRef;
- }
-
- @JsonIgnore
- public BasicAuthConfigBuilder edit() {
- return new BasicAuthConfigBuilder(this);
- }
-
- @JsonIgnore
- public BasicAuthConfigBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BearerTokenAuthConfig.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BearerTokenAuthConfig.java
deleted file mode 100644
index 7da5843b345..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/BearerTokenAuthConfig.java
+++ /dev/null
@@ -1,115 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-import io.fabric8.kubernetes.api.model.LabelSelector;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "secretRef"
-})
-@ToString
-@EqualsAndHashCode
-@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(io.fabric8.kubernetes.api.model.LocalObjectReference.class),
- @BuildableReference(PersistentVolumeClaim.class),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class BearerTokenAuthConfig implements Editable , KubernetesResource
-{
-
- @JsonProperty("secretRef")
- private io.fabric8.servicecatalog.api.model.LocalObjectReference secretRef;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public BearerTokenAuthConfig() {
- }
-
- public BearerTokenAuthConfig(io.fabric8.servicecatalog.api.model.LocalObjectReference secretRef) {
- super();
- this.secretRef = secretRef;
- }
-
- @JsonProperty("secretRef")
- public io.fabric8.servicecatalog.api.model.LocalObjectReference getSecretRef() {
- return secretRef;
- }
-
- @JsonProperty("secretRef")
- public void setSecretRef(io.fabric8.servicecatalog.api.model.LocalObjectReference secretRef) {
- this.secretRef = secretRef;
- }
-
- @JsonIgnore
- public BearerTokenAuthConfigBuilder edit() {
- return new BearerTokenAuthConfigBuilder(this);
- }
-
- @JsonIgnore
- public BearerTokenAuthConfigBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/CatalogRestrictions.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/CatalogRestrictions.java
deleted file mode 100644
index 567ba524606..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/CatalogRestrictions.java
+++ /dev/null
@@ -1,136 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.ArrayList;
-import java.util.LinkedHashMap;
-import java.util.List;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "serviceClass",
- "servicePlan"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class CatalogRestrictions implements Editable , KubernetesResource
-{
-
- @JsonProperty("serviceClass")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List serviceClass = new ArrayList<>();
- @JsonProperty("servicePlan")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List servicePlan = new ArrayList<>();
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public CatalogRestrictions() {
- }
-
- public CatalogRestrictions(List serviceClass, List servicePlan) {
- super();
- this.serviceClass = serviceClass;
- this.servicePlan = servicePlan;
- }
-
- @JsonProperty("serviceClass")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getServiceClass() {
- return serviceClass;
- }
-
- @JsonProperty("serviceClass")
- public void setServiceClass(List serviceClass) {
- this.serviceClass = serviceClass;
- }
-
- @JsonProperty("servicePlan")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getServicePlan() {
- return servicePlan;
- }
-
- @JsonProperty("servicePlan")
- public void setServicePlan(List servicePlan) {
- this.servicePlan = servicePlan;
- }
-
- @JsonIgnore
- public CatalogRestrictionsBuilder edit() {
- return new CatalogRestrictionsBuilder(this);
- }
-
- @JsonIgnore
- public CatalogRestrictionsBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBasicAuthConfig.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBasicAuthConfig.java
deleted file mode 100644
index 8b63fcc530b..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBasicAuthConfig.java
+++ /dev/null
@@ -1,115 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.PersistentVolumeClaim;
-import io.fabric8.kubernetes.api.model.PodTemplateSpec;
-import io.fabric8.kubernetes.api.model.ResourceRequirements;
-import io.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "secretRef"
-})
-@ToString
-@EqualsAndHashCode
-@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(io.fabric8.kubernetes.api.model.ObjectReference.class),
- @BuildableReference(LocalObjectReference.class),
- @BuildableReference(PersistentVolumeClaim.class),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class ClusterBasicAuthConfig implements Editable , KubernetesResource
-{
-
- @JsonProperty("secretRef")
- private io.fabric8.servicecatalog.api.model.ObjectReference secretRef;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterBasicAuthConfig() {
- }
-
- public ClusterBasicAuthConfig(io.fabric8.servicecatalog.api.model.ObjectReference secretRef) {
- super();
- this.secretRef = secretRef;
- }
-
- @JsonProperty("secretRef")
- public io.fabric8.servicecatalog.api.model.ObjectReference getSecretRef() {
- return secretRef;
- }
-
- @JsonProperty("secretRef")
- public void setSecretRef(io.fabric8.servicecatalog.api.model.ObjectReference secretRef) {
- this.secretRef = secretRef;
- }
-
- @JsonIgnore
- public ClusterBasicAuthConfigBuilder edit() {
- return new ClusterBasicAuthConfigBuilder(this);
- }
-
- @JsonIgnore
- public ClusterBasicAuthConfigBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBearerTokenAuthConfig.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBearerTokenAuthConfig.java
deleted file mode 100644
index 1e1c569d6ae..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterBearerTokenAuthConfig.java
+++ /dev/null
@@ -1,115 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.PersistentVolumeClaim;
-import io.fabric8.kubernetes.api.model.PodTemplateSpec;
-import io.fabric8.kubernetes.api.model.ResourceRequirements;
-import io.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "secretRef"
-})
-@ToString
-@EqualsAndHashCode
-@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(io.fabric8.kubernetes.api.model.ObjectReference.class),
- @BuildableReference(LocalObjectReference.class),
- @BuildableReference(PersistentVolumeClaim.class),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class ClusterBearerTokenAuthConfig implements Editable , KubernetesResource
-{
-
- @JsonProperty("secretRef")
- private io.fabric8.servicecatalog.api.model.ObjectReference secretRef;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterBearerTokenAuthConfig() {
- }
-
- public ClusterBearerTokenAuthConfig(io.fabric8.servicecatalog.api.model.ObjectReference secretRef) {
- super();
- this.secretRef = secretRef;
- }
-
- @JsonProperty("secretRef")
- public io.fabric8.servicecatalog.api.model.ObjectReference getSecretRef() {
- return secretRef;
- }
-
- @JsonProperty("secretRef")
- public void setSecretRef(io.fabric8.servicecatalog.api.model.ObjectReference secretRef) {
- this.secretRef = secretRef;
- }
-
- @JsonIgnore
- public ClusterBearerTokenAuthConfigBuilder edit() {
- return new ClusterBearerTokenAuthConfigBuilder(this);
- }
-
- @JsonIgnore
- public ClusterBearerTokenAuthConfigBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterObjectReference.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterObjectReference.java
deleted file mode 100644
index 64742ac4e8a..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterObjectReference.java
+++ /dev/null
@@ -1,116 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "name"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class ClusterObjectReference implements Editable , KubernetesResource
-{
-
- @JsonProperty("name")
- private String name;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterObjectReference() {
- }
-
- public ClusterObjectReference(String name) {
- super();
- this.name = name;
- }
-
- @JsonProperty("name")
- public String getName() {
- return name;
- }
-
- @JsonProperty("name")
- public void setName(String name) {
- this.name = name;
- }
-
- @JsonIgnore
- public ClusterObjectReferenceBuilder edit() {
- return new ClusterObjectReferenceBuilder(this);
- }
-
- @JsonIgnore
- public ClusterObjectReferenceBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBroker.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBroker.java
deleted file mode 100644
index 1bb41b41127..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBroker.java
+++ /dev/null
@@ -1,210 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.HasMetadata;
-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.ObjectReference;
-import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
-import io.fabric8.kubernetes.api.model.PodTemplateSpec;
-import io.fabric8.kubernetes.api.model.ResourceRequirements;
-import io.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.fabric8.kubernetes.model.annotation.Group;
-import io.fabric8.kubernetes.model.annotation.Version;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import io.sundr.transform.annotations.TemplateTransformation;
-import io.sundr.transform.annotations.TemplateTransformations;
-import lombok.EqualsAndHashCode;
-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",
- "spec",
- "status"
-})
-@ToString
-@EqualsAndHashCode
-@Accessors(prefix = {
- "_",
- ""
-})
-@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
- @BuildableReference(io.fabric8.kubernetes.api.model.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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@TemplateTransformations({
- @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true)
-})
-@Version("v1beta1")
-@Group("servicecatalog.k8s.io")
-@Generated("jsonschema2pojo")
-public class ClusterServiceBroker implements Editable , HasMetadata
-{
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- private String apiVersion = "servicecatalog.k8s.io/v1beta1";
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- private String kind = "ClusterServiceBroker";
- @JsonProperty("metadata")
- private io.fabric8.kubernetes.api.model.ObjectMeta metadata;
- @JsonProperty("spec")
- private ClusterServiceBrokerSpec spec;
- @JsonProperty("status")
- private ClusterServiceBrokerStatus status;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServiceBroker() {
- }
-
- public ClusterServiceBroker(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ClusterServiceBrokerSpec spec, ClusterServiceBrokerStatus status) {
- super();
- this.apiVersion = apiVersion;
- this.kind = kind;
- this.metadata = metadata;
- this.spec = spec;
- this.status = status;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- public String getApiVersion() {
- return apiVersion;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- public void setApiVersion(String apiVersion) {
- this.apiVersion = apiVersion;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- public String getKind() {
- return kind;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- public void setKind(String kind) {
- this.kind = kind;
- }
-
- @JsonProperty("metadata")
- public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() {
- return metadata;
- }
-
- @JsonProperty("metadata")
- public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) {
- this.metadata = metadata;
- }
-
- @JsonProperty("spec")
- public ClusterServiceBrokerSpec getSpec() {
- return spec;
- }
-
- @JsonProperty("spec")
- public void setSpec(ClusterServiceBrokerSpec spec) {
- this.spec = spec;
- }
-
- @JsonProperty("status")
- public ClusterServiceBrokerStatus getStatus() {
- return status;
- }
-
- @JsonProperty("status")
- public void setStatus(ClusterServiceBrokerStatus status) {
- this.status = status;
- }
-
- @JsonIgnore
- public ClusterServiceBrokerBuilder edit() {
- return new ClusterServiceBrokerBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServiceBrokerBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerAuthInfo.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerAuthInfo.java
deleted file mode 100644
index 4cde1cb00a5..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerAuthInfo.java
+++ /dev/null
@@ -1,130 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "basic",
- "bearer"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class ClusterServiceBrokerAuthInfo implements Editable , KubernetesResource
-{
-
- @JsonProperty("basic")
- private ClusterBasicAuthConfig basic;
- @JsonProperty("bearer")
- private ClusterBearerTokenAuthConfig bearer;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServiceBrokerAuthInfo() {
- }
-
- public ClusterServiceBrokerAuthInfo(ClusterBasicAuthConfig basic, ClusterBearerTokenAuthConfig bearer) {
- super();
- this.basic = basic;
- this.bearer = bearer;
- }
-
- @JsonProperty("basic")
- public ClusterBasicAuthConfig getBasic() {
- return basic;
- }
-
- @JsonProperty("basic")
- public void setBasic(ClusterBasicAuthConfig basic) {
- this.basic = basic;
- }
-
- @JsonProperty("bearer")
- public ClusterBearerTokenAuthConfig getBearer() {
- return bearer;
- }
-
- @JsonProperty("bearer")
- public void setBearer(ClusterBearerTokenAuthConfig bearer) {
- this.bearer = bearer;
- }
-
- @JsonIgnore
- public ClusterServiceBrokerAuthInfoBuilder edit() {
- return new ClusterServiceBrokerAuthInfoBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServiceBrokerAuthInfoBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerList.java
deleted file mode 100644
index 3a455286af2..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerList.java
+++ /dev/null
@@ -1,203 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.ArrayList;
-import java.util.LinkedHashMap;
-import java.util.List;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-import io.fabric8.kubernetes.api.model.KubernetesResourceList;
-import io.fabric8.kubernetes.api.model.LabelSelector;
-import io.fabric8.kubernetes.api.model.ListMeta;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.fabric8.kubernetes.model.annotation.Group;
-import io.fabric8.kubernetes.model.annotation.Version;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import io.sundr.transform.annotations.TemplateTransformation;
-import io.sundr.transform.annotations.TemplateTransformations;
-import lombok.EqualsAndHashCode;
-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",
- "items"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@TemplateTransformations({
- @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true)
-})
-@Version("v1beta1")
-@Group("servicecatalog.k8s.io")
-@Generated("jsonschema2pojo")
-public class ClusterServiceBrokerList implements Editable , KubernetesResource, KubernetesResourceList
-{
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- private String apiVersion = "servicecatalog.k8s.io/v1beta1";
- @JsonProperty("items")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List items = new ArrayList<>();
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- private String kind = "ClusterServiceBrokerList";
- @JsonProperty("metadata")
- private ListMeta metadata;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServiceBrokerList() {
- }
-
- public ClusterServiceBrokerList(String apiVersion, List items, String kind, ListMeta metadata) {
- super();
- this.apiVersion = apiVersion;
- this.items = items;
- this.kind = kind;
- this.metadata = metadata;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- public String getApiVersion() {
- return apiVersion;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- public void setApiVersion(String apiVersion) {
- this.apiVersion = apiVersion;
- }
-
- @JsonProperty("items")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getItems() {
- return items;
- }
-
- @JsonProperty("items")
- public void setItems(List items) {
- this.items = items;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- public String getKind() {
- return kind;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- public void setKind(String kind) {
- this.kind = kind;
- }
-
- @JsonProperty("metadata")
- public ListMeta getMetadata() {
- return metadata;
- }
-
- @JsonProperty("metadata")
- public void setMetadata(ListMeta metadata) {
- this.metadata = metadata;
- }
-
- @JsonIgnore
- public ClusterServiceBrokerListBuilder edit() {
- return new ClusterServiceBrokerListBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServiceBrokerListBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerSpec.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerSpec.java
deleted file mode 100644
index 405b1dc0163..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerSpec.java
+++ /dev/null
@@ -1,215 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.Duration;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "authInfo",
- "caBundle",
- "catalogRestrictions",
- "insecureSkipTLSVerify",
- "relistBehavior",
- "relistDuration",
- "relistRequests",
- "url"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class ClusterServiceBrokerSpec implements Editable , KubernetesResource
-{
-
- @JsonProperty("authInfo")
- private ClusterServiceBrokerAuthInfo authInfo;
- @JsonProperty("caBundle")
- private String caBundle;
- @JsonProperty("catalogRestrictions")
- private CatalogRestrictions catalogRestrictions;
- @JsonProperty("insecureSkipTLSVerify")
- private Boolean insecureSkipTLSVerify;
- @JsonProperty("relistBehavior")
- private String relistBehavior;
- @JsonProperty("relistDuration")
- private Duration relistDuration;
- @JsonProperty("relistRequests")
- private Long relistRequests;
- @JsonProperty("url")
- private String url;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServiceBrokerSpec() {
- }
-
- public ClusterServiceBrokerSpec(ClusterServiceBrokerAuthInfo authInfo, String caBundle, CatalogRestrictions catalogRestrictions, Boolean insecureSkipTLSVerify, String relistBehavior, Duration relistDuration, Long relistRequests, String url) {
- super();
- this.authInfo = authInfo;
- this.caBundle = caBundle;
- this.catalogRestrictions = catalogRestrictions;
- this.insecureSkipTLSVerify = insecureSkipTLSVerify;
- this.relistBehavior = relistBehavior;
- this.relistDuration = relistDuration;
- this.relistRequests = relistRequests;
- this.url = url;
- }
-
- @JsonProperty("authInfo")
- public ClusterServiceBrokerAuthInfo getAuthInfo() {
- return authInfo;
- }
-
- @JsonProperty("authInfo")
- public void setAuthInfo(ClusterServiceBrokerAuthInfo authInfo) {
- this.authInfo = authInfo;
- }
-
- @JsonProperty("caBundle")
- public String getCaBundle() {
- return caBundle;
- }
-
- @JsonProperty("caBundle")
- public void setCaBundle(String caBundle) {
- this.caBundle = caBundle;
- }
-
- @JsonProperty("catalogRestrictions")
- public CatalogRestrictions getCatalogRestrictions() {
- return catalogRestrictions;
- }
-
- @JsonProperty("catalogRestrictions")
- public void setCatalogRestrictions(CatalogRestrictions catalogRestrictions) {
- this.catalogRestrictions = catalogRestrictions;
- }
-
- @JsonProperty("insecureSkipTLSVerify")
- public Boolean getInsecureSkipTLSVerify() {
- return insecureSkipTLSVerify;
- }
-
- @JsonProperty("insecureSkipTLSVerify")
- public void setInsecureSkipTLSVerify(Boolean insecureSkipTLSVerify) {
- this.insecureSkipTLSVerify = insecureSkipTLSVerify;
- }
-
- @JsonProperty("relistBehavior")
- public String getRelistBehavior() {
- return relistBehavior;
- }
-
- @JsonProperty("relistBehavior")
- public void setRelistBehavior(String relistBehavior) {
- this.relistBehavior = relistBehavior;
- }
-
- @JsonProperty("relistDuration")
- public Duration getRelistDuration() {
- return relistDuration;
- }
-
- @JsonProperty("relistDuration")
- public void setRelistDuration(Duration relistDuration) {
- this.relistDuration = relistDuration;
- }
-
- @JsonProperty("relistRequests")
- public Long getRelistRequests() {
- return relistRequests;
- }
-
- @JsonProperty("relistRequests")
- public void setRelistRequests(Long relistRequests) {
- this.relistRequests = relistRequests;
- }
-
- @JsonProperty("url")
- public String getUrl() {
- return url;
- }
-
- @JsonProperty("url")
- public void setUrl(String url) {
- this.url = url;
- }
-
- @JsonIgnore
- public ClusterServiceBrokerSpecBuilder edit() {
- return new ClusterServiceBrokerSpecBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServiceBrokerSpecBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerStatus.java
deleted file mode 100644
index 5f9aca84bd2..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceBrokerStatus.java
+++ /dev/null
@@ -1,162 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.ArrayList;
-import java.util.LinkedHashMap;
-import java.util.List;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "conditions",
- "lastCatalogRetrievalTime",
- "operationStartTime",
- "reconciledGeneration"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class ClusterServiceBrokerStatus implements Editable , KubernetesResource
-{
-
- @JsonProperty("conditions")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List conditions = new ArrayList<>();
- @JsonProperty("lastCatalogRetrievalTime")
- private String lastCatalogRetrievalTime;
- @JsonProperty("operationStartTime")
- private String operationStartTime;
- @JsonProperty("reconciledGeneration")
- private Long reconciledGeneration;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServiceBrokerStatus() {
- }
-
- public ClusterServiceBrokerStatus(List conditions, String lastCatalogRetrievalTime, String operationStartTime, Long reconciledGeneration) {
- super();
- this.conditions = conditions;
- this.lastCatalogRetrievalTime = lastCatalogRetrievalTime;
- this.operationStartTime = operationStartTime;
- this.reconciledGeneration = reconciledGeneration;
- }
-
- @JsonProperty("conditions")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getConditions() {
- return conditions;
- }
-
- @JsonProperty("conditions")
- public void setConditions(List conditions) {
- this.conditions = conditions;
- }
-
- @JsonProperty("lastCatalogRetrievalTime")
- public String getLastCatalogRetrievalTime() {
- return lastCatalogRetrievalTime;
- }
-
- @JsonProperty("lastCatalogRetrievalTime")
- public void setLastCatalogRetrievalTime(String lastCatalogRetrievalTime) {
- this.lastCatalogRetrievalTime = lastCatalogRetrievalTime;
- }
-
- @JsonProperty("operationStartTime")
- public String getOperationStartTime() {
- return operationStartTime;
- }
-
- @JsonProperty("operationStartTime")
- public void setOperationStartTime(String operationStartTime) {
- this.operationStartTime = operationStartTime;
- }
-
- @JsonProperty("reconciledGeneration")
- public Long getReconciledGeneration() {
- return reconciledGeneration;
- }
-
- @JsonProperty("reconciledGeneration")
- public void setReconciledGeneration(Long reconciledGeneration) {
- this.reconciledGeneration = reconciledGeneration;
- }
-
- @JsonIgnore
- public ClusterServiceBrokerStatusBuilder edit() {
- return new ClusterServiceBrokerStatusBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServiceBrokerStatusBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClass.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClass.java
deleted file mode 100644
index 69b22fc2e34..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClass.java
+++ /dev/null
@@ -1,210 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.HasMetadata;
-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.ObjectReference;
-import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
-import io.fabric8.kubernetes.api.model.PodTemplateSpec;
-import io.fabric8.kubernetes.api.model.ResourceRequirements;
-import io.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.fabric8.kubernetes.model.annotation.Group;
-import io.fabric8.kubernetes.model.annotation.Version;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import io.sundr.transform.annotations.TemplateTransformation;
-import io.sundr.transform.annotations.TemplateTransformations;
-import lombok.EqualsAndHashCode;
-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",
- "spec",
- "status"
-})
-@ToString
-@EqualsAndHashCode
-@Accessors(prefix = {
- "_",
- ""
-})
-@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
- @BuildableReference(io.fabric8.kubernetes.api.model.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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@TemplateTransformations({
- @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true)
-})
-@Version("v1beta1")
-@Group("servicecatalog.k8s.io")
-@Generated("jsonschema2pojo")
-public class ClusterServiceClass implements Editable , HasMetadata
-{
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- private String apiVersion = "servicecatalog.k8s.io/v1beta1";
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- private String kind = "ClusterServiceClass";
- @JsonProperty("metadata")
- private io.fabric8.kubernetes.api.model.ObjectMeta metadata;
- @JsonProperty("spec")
- private ClusterServiceClassSpec spec;
- @JsonProperty("status")
- private ClusterServiceClassStatus status;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServiceClass() {
- }
-
- public ClusterServiceClass(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ClusterServiceClassSpec spec, ClusterServiceClassStatus status) {
- super();
- this.apiVersion = apiVersion;
- this.kind = kind;
- this.metadata = metadata;
- this.spec = spec;
- this.status = status;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- public String getApiVersion() {
- return apiVersion;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- public void setApiVersion(String apiVersion) {
- this.apiVersion = apiVersion;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- public String getKind() {
- return kind;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- public void setKind(String kind) {
- this.kind = kind;
- }
-
- @JsonProperty("metadata")
- public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() {
- return metadata;
- }
-
- @JsonProperty("metadata")
- public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) {
- this.metadata = metadata;
- }
-
- @JsonProperty("spec")
- public ClusterServiceClassSpec getSpec() {
- return spec;
- }
-
- @JsonProperty("spec")
- public void setSpec(ClusterServiceClassSpec spec) {
- this.spec = spec;
- }
-
- @JsonProperty("status")
- public ClusterServiceClassStatus getStatus() {
- return status;
- }
-
- @JsonProperty("status")
- public void setStatus(ClusterServiceClassStatus status) {
- this.status = status;
- }
-
- @JsonIgnore
- public ClusterServiceClassBuilder edit() {
- return new ClusterServiceClassBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServiceClassBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassList.java
deleted file mode 100644
index 87edd446664..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassList.java
+++ /dev/null
@@ -1,203 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.ArrayList;
-import java.util.LinkedHashMap;
-import java.util.List;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-import io.fabric8.kubernetes.api.model.KubernetesResourceList;
-import io.fabric8.kubernetes.api.model.LabelSelector;
-import io.fabric8.kubernetes.api.model.ListMeta;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.fabric8.kubernetes.model.annotation.Group;
-import io.fabric8.kubernetes.model.annotation.Version;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import io.sundr.transform.annotations.TemplateTransformation;
-import io.sundr.transform.annotations.TemplateTransformations;
-import lombok.EqualsAndHashCode;
-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",
- "items"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@TemplateTransformations({
- @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true)
-})
-@Version("v1beta1")
-@Group("servicecatalog.k8s.io")
-@Generated("jsonschema2pojo")
-public class ClusterServiceClassList implements Editable , KubernetesResource, KubernetesResourceList
-{
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- private String apiVersion = "servicecatalog.k8s.io/v1beta1";
- @JsonProperty("items")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List items = new ArrayList<>();
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- private String kind = "ClusterServiceClassList";
- @JsonProperty("metadata")
- private ListMeta metadata;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServiceClassList() {
- }
-
- public ClusterServiceClassList(String apiVersion, List items, String kind, ListMeta metadata) {
- super();
- this.apiVersion = apiVersion;
- this.items = items;
- this.kind = kind;
- this.metadata = metadata;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- public String getApiVersion() {
- return apiVersion;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- public void setApiVersion(String apiVersion) {
- this.apiVersion = apiVersion;
- }
-
- @JsonProperty("items")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getItems() {
- return items;
- }
-
- @JsonProperty("items")
- public void setItems(List items) {
- this.items = items;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- public String getKind() {
- return kind;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- public void setKind(String kind) {
- this.kind = kind;
- }
-
- @JsonProperty("metadata")
- public ListMeta getMetadata() {
- return metadata;
- }
-
- @JsonProperty("metadata")
- public void setMetadata(ListMeta metadata) {
- this.metadata = metadata;
- }
-
- @JsonIgnore
- public ClusterServiceClassListBuilder edit() {
- return new ClusterServiceClassListBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServiceClassListBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassSpec.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassSpec.java
deleted file mode 100644
index 34a9344d691..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassSpec.java
+++ /dev/null
@@ -1,266 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.ArrayList;
-import java.util.LinkedHashMap;
-import java.util.List;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "bindable",
- "bindingRetrievable",
- "clusterServiceBrokerName",
- "defaultProvisionParameters",
- "description",
- "externalID",
- "externalMetadata",
- "externalName",
- "planUpdatable",
- "requires",
- "tags"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class ClusterServiceClassSpec implements Editable , KubernetesResource
-{
-
- @JsonProperty("bindable")
- private Boolean bindable;
- @JsonProperty("bindingRetrievable")
- private Boolean bindingRetrievable;
- @JsonProperty("clusterServiceBrokerName")
- private java.lang.String clusterServiceBrokerName;
- @JsonProperty("defaultProvisionParameters")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private Map defaultProvisionParameters = new LinkedHashMap<>();
- @JsonProperty("description")
- private java.lang.String description;
- @JsonProperty("externalID")
- private java.lang.String externalID;
- @JsonProperty("externalMetadata")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private Map externalMetadata = new LinkedHashMap<>();
- @JsonProperty("externalName")
- private java.lang.String externalName;
- @JsonProperty("planUpdatable")
- private Boolean planUpdatable;
- @JsonProperty("requires")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List requires = new ArrayList<>();
- @JsonProperty("tags")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List tags = new ArrayList<>();
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServiceClassSpec() {
- }
-
- public ClusterServiceClassSpec(Boolean bindable, Boolean bindingRetrievable, java.lang.String clusterServiceBrokerName, Map defaultProvisionParameters, java.lang.String description, java.lang.String externalID, Map externalMetadata, java.lang.String externalName, Boolean planUpdatable, List requires, List tags) {
- super();
- this.bindable = bindable;
- this.bindingRetrievable = bindingRetrievable;
- this.clusterServiceBrokerName = clusterServiceBrokerName;
- this.defaultProvisionParameters = defaultProvisionParameters;
- this.description = description;
- this.externalID = externalID;
- this.externalMetadata = externalMetadata;
- this.externalName = externalName;
- this.planUpdatable = planUpdatable;
- this.requires = requires;
- this.tags = tags;
- }
-
- @JsonProperty("bindable")
- public Boolean getBindable() {
- return bindable;
- }
-
- @JsonProperty("bindable")
- public void setBindable(Boolean bindable) {
- this.bindable = bindable;
- }
-
- @JsonProperty("bindingRetrievable")
- public Boolean getBindingRetrievable() {
- return bindingRetrievable;
- }
-
- @JsonProperty("bindingRetrievable")
- public void setBindingRetrievable(Boolean bindingRetrievable) {
- this.bindingRetrievable = bindingRetrievable;
- }
-
- @JsonProperty("clusterServiceBrokerName")
- public java.lang.String getClusterServiceBrokerName() {
- return clusterServiceBrokerName;
- }
-
- @JsonProperty("clusterServiceBrokerName")
- public void setClusterServiceBrokerName(java.lang.String clusterServiceBrokerName) {
- this.clusterServiceBrokerName = clusterServiceBrokerName;
- }
-
- @JsonProperty("defaultProvisionParameters")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public Map getDefaultProvisionParameters() {
- return defaultProvisionParameters;
- }
-
- @JsonProperty("defaultProvisionParameters")
- public void setDefaultProvisionParameters(Map defaultProvisionParameters) {
- this.defaultProvisionParameters = defaultProvisionParameters;
- }
-
- @JsonProperty("description")
- public java.lang.String getDescription() {
- return description;
- }
-
- @JsonProperty("description")
- public void setDescription(java.lang.String description) {
- this.description = description;
- }
-
- @JsonProperty("externalID")
- public java.lang.String getExternalID() {
- return externalID;
- }
-
- @JsonProperty("externalID")
- public void setExternalID(java.lang.String externalID) {
- this.externalID = externalID;
- }
-
- @JsonProperty("externalMetadata")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public Map getExternalMetadata() {
- return externalMetadata;
- }
-
- @JsonProperty("externalMetadata")
- public void setExternalMetadata(Map externalMetadata) {
- this.externalMetadata = externalMetadata;
- }
-
- @JsonProperty("externalName")
- public java.lang.String getExternalName() {
- return externalName;
- }
-
- @JsonProperty("externalName")
- public void setExternalName(java.lang.String externalName) {
- this.externalName = externalName;
- }
-
- @JsonProperty("planUpdatable")
- public Boolean getPlanUpdatable() {
- return planUpdatable;
- }
-
- @JsonProperty("planUpdatable")
- public void setPlanUpdatable(Boolean planUpdatable) {
- this.planUpdatable = planUpdatable;
- }
-
- @JsonProperty("requires")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getRequires() {
- return requires;
- }
-
- @JsonProperty("requires")
- public void setRequires(List requires) {
- this.requires = requires;
- }
-
- @JsonProperty("tags")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getTags() {
- return tags;
- }
-
- @JsonProperty("tags")
- public void setTags(List tags) {
- this.tags = tags;
- }
-
- @JsonIgnore
- public ClusterServiceClassSpecBuilder edit() {
- return new ClusterServiceClassSpecBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServiceClassSpecBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(java.lang.String name, java.lang.Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassStatus.java
deleted file mode 100644
index 8e65fea5899..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServiceClassStatus.java
+++ /dev/null
@@ -1,116 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "removedFromBrokerCatalog"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class ClusterServiceClassStatus implements Editable , KubernetesResource
-{
-
- @JsonProperty("removedFromBrokerCatalog")
- private Boolean removedFromBrokerCatalog;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServiceClassStatus() {
- }
-
- public ClusterServiceClassStatus(Boolean removedFromBrokerCatalog) {
- super();
- this.removedFromBrokerCatalog = removedFromBrokerCatalog;
- }
-
- @JsonProperty("removedFromBrokerCatalog")
- public Boolean getRemovedFromBrokerCatalog() {
- return removedFromBrokerCatalog;
- }
-
- @JsonProperty("removedFromBrokerCatalog")
- public void setRemovedFromBrokerCatalog(Boolean removedFromBrokerCatalog) {
- this.removedFromBrokerCatalog = removedFromBrokerCatalog;
- }
-
- @JsonIgnore
- public ClusterServiceClassStatusBuilder edit() {
- return new ClusterServiceClassStatusBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServiceClassStatusBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlan.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlan.java
deleted file mode 100644
index 0b32fbd0669..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlan.java
+++ /dev/null
@@ -1,210 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.HasMetadata;
-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.ObjectReference;
-import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
-import io.fabric8.kubernetes.api.model.PodTemplateSpec;
-import io.fabric8.kubernetes.api.model.ResourceRequirements;
-import io.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.fabric8.kubernetes.model.annotation.Group;
-import io.fabric8.kubernetes.model.annotation.Version;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import io.sundr.transform.annotations.TemplateTransformation;
-import io.sundr.transform.annotations.TemplateTransformations;
-import lombok.EqualsAndHashCode;
-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",
- "spec",
- "status"
-})
-@ToString
-@EqualsAndHashCode
-@Accessors(prefix = {
- "_",
- ""
-})
-@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
- @BuildableReference(io.fabric8.kubernetes.api.model.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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@TemplateTransformations({
- @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true)
-})
-@Version("v1beta1")
-@Group("servicecatalog.k8s.io")
-@Generated("jsonschema2pojo")
-public class ClusterServicePlan implements Editable , HasMetadata
-{
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- private String apiVersion = "servicecatalog.k8s.io/v1beta1";
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- private String kind = "ClusterServicePlan";
- @JsonProperty("metadata")
- private io.fabric8.kubernetes.api.model.ObjectMeta metadata;
- @JsonProperty("spec")
- private ClusterServicePlanSpec spec;
- @JsonProperty("status")
- private ClusterServicePlanStatus status;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServicePlan() {
- }
-
- public ClusterServicePlan(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ClusterServicePlanSpec spec, ClusterServicePlanStatus status) {
- super();
- this.apiVersion = apiVersion;
- this.kind = kind;
- this.metadata = metadata;
- this.spec = spec;
- this.status = status;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- public String getApiVersion() {
- return apiVersion;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- public void setApiVersion(String apiVersion) {
- this.apiVersion = apiVersion;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- public String getKind() {
- return kind;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- public void setKind(String kind) {
- this.kind = kind;
- }
-
- @JsonProperty("metadata")
- public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() {
- return metadata;
- }
-
- @JsonProperty("metadata")
- public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) {
- this.metadata = metadata;
- }
-
- @JsonProperty("spec")
- public ClusterServicePlanSpec getSpec() {
- return spec;
- }
-
- @JsonProperty("spec")
- public void setSpec(ClusterServicePlanSpec spec) {
- this.spec = spec;
- }
-
- @JsonProperty("status")
- public ClusterServicePlanStatus getStatus() {
- return status;
- }
-
- @JsonProperty("status")
- public void setStatus(ClusterServicePlanStatus status) {
- this.status = status;
- }
-
- @JsonIgnore
- public ClusterServicePlanBuilder edit() {
- return new ClusterServicePlanBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServicePlanBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanList.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanList.java
deleted file mode 100644
index 25fa779911f..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanList.java
+++ /dev/null
@@ -1,203 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.ArrayList;
-import java.util.LinkedHashMap;
-import java.util.List;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-import io.fabric8.kubernetes.api.model.KubernetesResourceList;
-import io.fabric8.kubernetes.api.model.LabelSelector;
-import io.fabric8.kubernetes.api.model.ListMeta;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.fabric8.kubernetes.model.annotation.Group;
-import io.fabric8.kubernetes.model.annotation.Version;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import io.sundr.transform.annotations.TemplateTransformation;
-import io.sundr.transform.annotations.TemplateTransformations;
-import lombok.EqualsAndHashCode;
-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",
- "items"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@TemplateTransformations({
- @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true)
-})
-@Version("v1beta1")
-@Group("servicecatalog.k8s.io")
-@Generated("jsonschema2pojo")
-public class ClusterServicePlanList implements Editable , KubernetesResource, KubernetesResourceList
-{
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- private String apiVersion = "servicecatalog.k8s.io/v1beta1";
- @JsonProperty("items")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private List items = new ArrayList<>();
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- private String kind = "ClusterServicePlanList";
- @JsonProperty("metadata")
- private ListMeta metadata;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServicePlanList() {
- }
-
- public ClusterServicePlanList(String apiVersion, List items, String kind, ListMeta metadata) {
- super();
- this.apiVersion = apiVersion;
- this.items = items;
- this.kind = kind;
- this.metadata = metadata;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- public String getApiVersion() {
- return apiVersion;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("apiVersion")
- public void setApiVersion(String apiVersion) {
- this.apiVersion = apiVersion;
- }
-
- @JsonProperty("items")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public List getItems() {
- return items;
- }
-
- @JsonProperty("items")
- public void setItems(List items) {
- this.items = items;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- public String getKind() {
- return kind;
- }
-
- /**
- *
- * (Required)
- *
- */
- @JsonProperty("kind")
- public void setKind(String kind) {
- this.kind = kind;
- }
-
- @JsonProperty("metadata")
- public ListMeta getMetadata() {
- return metadata;
- }
-
- @JsonProperty("metadata")
- public void setMetadata(ListMeta metadata) {
- this.metadata = metadata;
- }
-
- @JsonIgnore
- public ClusterServicePlanListBuilder edit() {
- return new ClusterServicePlanListBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServicePlanListBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanSpec.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanSpec.java
deleted file mode 100644
index 1a9bb206c65..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanSpec.java
+++ /dev/null
@@ -1,296 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "bindable",
- "clusterServiceBrokerName",
- "clusterServiceClassRef",
- "defaultProvisionParameters",
- "description",
- "externalID",
- "externalMetadata",
- "externalName",
- "free",
- "instanceCreateParameterSchema",
- "instanceUpdateParameterSchema",
- "serviceBindingCreateParameterSchema",
- "serviceBindingCreateResponseSchema"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class ClusterServicePlanSpec implements Editable , KubernetesResource
-{
-
- @JsonProperty("bindable")
- private Boolean bindable;
- @JsonProperty("clusterServiceBrokerName")
- private java.lang.String clusterServiceBrokerName;
- @JsonProperty("clusterServiceClassRef")
- private ClusterObjectReference clusterServiceClassRef;
- @JsonProperty("defaultProvisionParameters")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private Map defaultProvisionParameters = new LinkedHashMap<>();
- @JsonProperty("description")
- private java.lang.String description;
- @JsonProperty("externalID")
- private java.lang.String externalID;
- @JsonProperty("externalMetadata")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private Map externalMetadata = new LinkedHashMap<>();
- @JsonProperty("externalName")
- private java.lang.String externalName;
- @JsonProperty("free")
- private java.lang.Boolean free;
- @JsonProperty("instanceCreateParameterSchema")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private Map instanceCreateParameterSchema = new LinkedHashMap<>();
- @JsonProperty("instanceUpdateParameterSchema")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private Map instanceUpdateParameterSchema = new LinkedHashMap<>();
- @JsonProperty("serviceBindingCreateParameterSchema")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private Map serviceBindingCreateParameterSchema = new LinkedHashMap<>();
- @JsonProperty("serviceBindingCreateResponseSchema")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- private Map serviceBindingCreateResponseSchema = new LinkedHashMap<>();
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServicePlanSpec() {
- }
-
- public ClusterServicePlanSpec(Boolean bindable, java.lang.String clusterServiceBrokerName, ClusterObjectReference clusterServiceClassRef, Map defaultProvisionParameters, java.lang.String description, java.lang.String externalID, Map externalMetadata, java.lang.String externalName, java.lang.Boolean free, Map instanceCreateParameterSchema, Map instanceUpdateParameterSchema, Map serviceBindingCreateParameterSchema, Map serviceBindingCreateResponseSchema) {
- super();
- this.bindable = bindable;
- this.clusterServiceBrokerName = clusterServiceBrokerName;
- this.clusterServiceClassRef = clusterServiceClassRef;
- this.defaultProvisionParameters = defaultProvisionParameters;
- this.description = description;
- this.externalID = externalID;
- this.externalMetadata = externalMetadata;
- this.externalName = externalName;
- this.free = free;
- this.instanceCreateParameterSchema = instanceCreateParameterSchema;
- this.instanceUpdateParameterSchema = instanceUpdateParameterSchema;
- this.serviceBindingCreateParameterSchema = serviceBindingCreateParameterSchema;
- this.serviceBindingCreateResponseSchema = serviceBindingCreateResponseSchema;
- }
-
- @JsonProperty("bindable")
- public Boolean getBindable() {
- return bindable;
- }
-
- @JsonProperty("bindable")
- public void setBindable(Boolean bindable) {
- this.bindable = bindable;
- }
-
- @JsonProperty("clusterServiceBrokerName")
- public java.lang.String getClusterServiceBrokerName() {
- return clusterServiceBrokerName;
- }
-
- @JsonProperty("clusterServiceBrokerName")
- public void setClusterServiceBrokerName(java.lang.String clusterServiceBrokerName) {
- this.clusterServiceBrokerName = clusterServiceBrokerName;
- }
-
- @JsonProperty("clusterServiceClassRef")
- public ClusterObjectReference getClusterServiceClassRef() {
- return clusterServiceClassRef;
- }
-
- @JsonProperty("clusterServiceClassRef")
- public void setClusterServiceClassRef(ClusterObjectReference clusterServiceClassRef) {
- this.clusterServiceClassRef = clusterServiceClassRef;
- }
-
- @JsonProperty("defaultProvisionParameters")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public Map getDefaultProvisionParameters() {
- return defaultProvisionParameters;
- }
-
- @JsonProperty("defaultProvisionParameters")
- public void setDefaultProvisionParameters(Map defaultProvisionParameters) {
- this.defaultProvisionParameters = defaultProvisionParameters;
- }
-
- @JsonProperty("description")
- public java.lang.String getDescription() {
- return description;
- }
-
- @JsonProperty("description")
- public void setDescription(java.lang.String description) {
- this.description = description;
- }
-
- @JsonProperty("externalID")
- public java.lang.String getExternalID() {
- return externalID;
- }
-
- @JsonProperty("externalID")
- public void setExternalID(java.lang.String externalID) {
- this.externalID = externalID;
- }
-
- @JsonProperty("externalMetadata")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public Map getExternalMetadata() {
- return externalMetadata;
- }
-
- @JsonProperty("externalMetadata")
- public void setExternalMetadata(Map externalMetadata) {
- this.externalMetadata = externalMetadata;
- }
-
- @JsonProperty("externalName")
- public java.lang.String getExternalName() {
- return externalName;
- }
-
- @JsonProperty("externalName")
- public void setExternalName(java.lang.String externalName) {
- this.externalName = externalName;
- }
-
- @JsonProperty("free")
- public java.lang.Boolean getFree() {
- return free;
- }
-
- @JsonProperty("free")
- public void setFree(java.lang.Boolean free) {
- this.free = free;
- }
-
- @JsonProperty("instanceCreateParameterSchema")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public Map getInstanceCreateParameterSchema() {
- return instanceCreateParameterSchema;
- }
-
- @JsonProperty("instanceCreateParameterSchema")
- public void setInstanceCreateParameterSchema(Map instanceCreateParameterSchema) {
- this.instanceCreateParameterSchema = instanceCreateParameterSchema;
- }
-
- @JsonProperty("instanceUpdateParameterSchema")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public Map getInstanceUpdateParameterSchema() {
- return instanceUpdateParameterSchema;
- }
-
- @JsonProperty("instanceUpdateParameterSchema")
- public void setInstanceUpdateParameterSchema(Map instanceUpdateParameterSchema) {
- this.instanceUpdateParameterSchema = instanceUpdateParameterSchema;
- }
-
- @JsonProperty("serviceBindingCreateParameterSchema")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public Map getServiceBindingCreateParameterSchema() {
- return serviceBindingCreateParameterSchema;
- }
-
- @JsonProperty("serviceBindingCreateParameterSchema")
- public void setServiceBindingCreateParameterSchema(Map serviceBindingCreateParameterSchema) {
- this.serviceBindingCreateParameterSchema = serviceBindingCreateParameterSchema;
- }
-
- @JsonProperty("serviceBindingCreateResponseSchema")
- @JsonInclude(JsonInclude.Include.NON_EMPTY)
- public Map getServiceBindingCreateResponseSchema() {
- return serviceBindingCreateResponseSchema;
- }
-
- @JsonProperty("serviceBindingCreateResponseSchema")
- public void setServiceBindingCreateResponseSchema(Map serviceBindingCreateResponseSchema) {
- this.serviceBindingCreateResponseSchema = serviceBindingCreateResponseSchema;
- }
-
- @JsonIgnore
- public ClusterServicePlanSpecBuilder edit() {
- return new ClusterServicePlanSpecBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServicePlanSpecBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(java.lang.String name, java.lang.Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanStatus.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanStatus.java
deleted file mode 100644
index 85ed949e648..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ClusterServicePlanStatus.java
+++ /dev/null
@@ -1,116 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "removedFromBrokerCatalog"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class ClusterServicePlanStatus implements Editable , KubernetesResource
-{
-
- @JsonProperty("removedFromBrokerCatalog")
- private Boolean removedFromBrokerCatalog;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ClusterServicePlanStatus() {
- }
-
- public ClusterServicePlanStatus(Boolean removedFromBrokerCatalog) {
- super();
- this.removedFromBrokerCatalog = removedFromBrokerCatalog;
- }
-
- @JsonProperty("removedFromBrokerCatalog")
- public Boolean getRemovedFromBrokerCatalog() {
- return removedFromBrokerCatalog;
- }
-
- @JsonProperty("removedFromBrokerCatalog")
- public void setRemovedFromBrokerCatalog(Boolean removedFromBrokerCatalog) {
- this.removedFromBrokerCatalog = removedFromBrokerCatalog;
- }
-
- @JsonIgnore
- public ClusterServicePlanStatusBuilder edit() {
- return new ClusterServicePlanStatusBuilder(this);
- }
-
- @JsonIgnore
- public ClusterServicePlanStatusBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/LocalObjectReference.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/LocalObjectReference.java
deleted file mode 100644
index 30e86cb5d85..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/LocalObjectReference.java
+++ /dev/null
@@ -1,115 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-import io.fabric8.kubernetes.api.model.LabelSelector;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "name"
-})
-@ToString
-@EqualsAndHashCode
-@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(io.fabric8.kubernetes.api.model.LocalObjectReference.class),
- @BuildableReference(PersistentVolumeClaim.class),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class LocalObjectReference implements Editable , KubernetesResource
-{
-
- @JsonProperty("name")
- private String name;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public LocalObjectReference() {
- }
-
- public LocalObjectReference(String name) {
- super();
- this.name = name;
- }
-
- @JsonProperty("name")
- public String getName() {
- return name;
- }
-
- @JsonProperty("name")
- public void setName(String name) {
- this.name = name;
- }
-
- @JsonIgnore
- public LocalObjectReferenceBuilder edit() {
- return new LocalObjectReferenceBuilder(this);
- }
-
- @JsonIgnore
- public LocalObjectReferenceBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ObjectReference.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ObjectReference.java
deleted file mode 100644
index 7f66fd6e2ae..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ObjectReference.java
+++ /dev/null
@@ -1,129 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.PersistentVolumeClaim;
-import io.fabric8.kubernetes.api.model.PodTemplateSpec;
-import io.fabric8.kubernetes.api.model.ResourceRequirements;
-import io.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "name",
- "namespace"
-})
-@ToString
-@EqualsAndHashCode
-@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(io.fabric8.kubernetes.api.model.ObjectReference.class),
- @BuildableReference(LocalObjectReference.class),
- @BuildableReference(PersistentVolumeClaim.class),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class ObjectReference implements Editable , KubernetesResource
-{
-
- @JsonProperty("name")
- private String name;
- @JsonProperty("namespace")
- private String namespace;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ObjectReference() {
- }
-
- public ObjectReference(String name, String namespace) {
- super();
- this.name = name;
- this.namespace = namespace;
- }
-
- @JsonProperty("name")
- public String getName() {
- return name;
- }
-
- @JsonProperty("name")
- public void setName(String name) {
- this.name = name;
- }
-
- @JsonProperty("namespace")
- public String getNamespace() {
- return namespace;
- }
-
- @JsonProperty("namespace")
- public void setNamespace(String namespace) {
- this.namespace = namespace;
- }
-
- @JsonIgnore
- public ObjectReferenceBuilder edit() {
- return new ObjectReferenceBuilder(this);
- }
-
- @JsonIgnore
- public ObjectReferenceBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ParametersFromSource.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ParametersFromSource.java
deleted file mode 100644
index 33f50312b17..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/ParametersFromSource.java
+++ /dev/null
@@ -1,116 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "secretKeyRef"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class ParametersFromSource implements Editable , KubernetesResource
-{
-
- @JsonProperty("secretKeyRef")
- private SecretKeyReference secretKeyRef;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public ParametersFromSource() {
- }
-
- public ParametersFromSource(SecretKeyReference secretKeyRef) {
- super();
- this.secretKeyRef = secretKeyRef;
- }
-
- @JsonProperty("secretKeyRef")
- public SecretKeyReference getSecretKeyRef() {
- return secretKeyRef;
- }
-
- @JsonProperty("secretKeyRef")
- public void setSecretKeyRef(SecretKeyReference secretKeyRef) {
- this.secretKeyRef = secretKeyRef;
- }
-
- @JsonIgnore
- public ParametersFromSourceBuilder edit() {
- return new ParametersFromSourceBuilder(this);
- }
-
- @JsonIgnore
- public ParametersFromSourceBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RemoveKeyTransform.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RemoveKeyTransform.java
deleted file mode 100644
index 2cba32c038f..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RemoveKeyTransform.java
+++ /dev/null
@@ -1,116 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "key"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class RemoveKeyTransform implements Editable , KubernetesResource
-{
-
- @JsonProperty("key")
- private String key;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public RemoveKeyTransform() {
- }
-
- public RemoveKeyTransform(String key) {
- super();
- this.key = key;
- }
-
- @JsonProperty("key")
- public String getKey() {
- return key;
- }
-
- @JsonProperty("key")
- public void setKey(String key) {
- this.key = key;
- }
-
- @JsonIgnore
- public RemoveKeyTransformBuilder edit() {
- return new RemoveKeyTransformBuilder(this);
- }
-
- @JsonIgnore
- public RemoveKeyTransformBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RenameKeyTransform.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RenameKeyTransform.java
deleted file mode 100644
index 1c45fc282c1..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/RenameKeyTransform.java
+++ /dev/null
@@ -1,130 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "from",
- "to"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class RenameKeyTransform implements Editable , KubernetesResource
-{
-
- @JsonProperty("from")
- private String from;
- @JsonProperty("to")
- private String to;
- @JsonIgnore
- private Map additionalProperties = new LinkedHashMap();
-
- /**
- * No args constructor for use in serialization
- *
- */
- public RenameKeyTransform() {
- }
-
- public RenameKeyTransform(String from, String to) {
- super();
- this.from = from;
- this.to = to;
- }
-
- @JsonProperty("from")
- public String getFrom() {
- return from;
- }
-
- @JsonProperty("from")
- public void setFrom(String from) {
- this.from = from;
- }
-
- @JsonProperty("to")
- public String getTo() {
- return to;
- }
-
- @JsonProperty("to")
- public void setTo(String to) {
- this.to = to;
- }
-
- @JsonIgnore
- public RenameKeyTransformBuilder edit() {
- return new RenameKeyTransformBuilder(this);
- }
-
- @JsonIgnore
- public RenameKeyTransformBuilder toBuilder() {
- return edit();
- }
-
- @JsonAnyGetter
- public Map getAdditionalProperties() {
- return this.additionalProperties;
- }
-
- @JsonAnySetter
- public void setAdditionalProperty(String name, Object value) {
- this.additionalProperties.put(name, value);
- }
-
- public void setAdditionalProperties(Map additionalProperties) {
- this.additionalProperties = additionalProperties;
- }
-
-}
diff --git a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/SecretKeyReference.java b/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/SecretKeyReference.java
deleted file mode 100644
index 095fdfd1e97..00000000000
--- a/extensions/service-catalog/model/src/generated/java/io/fabric8/servicecatalog/api/model/SecretKeyReference.java
+++ /dev/null
@@ -1,130 +0,0 @@
-
-package io.fabric8.servicecatalog.api.model;
-
-import java.util.LinkedHashMap;
-import java.util.Map;
-import javax.annotation.Generated;
-import com.fasterxml.jackson.annotation.JsonAnyGetter;
-import com.fasterxml.jackson.annotation.JsonAnySetter;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
-import io.fabric8.kubernetes.api.builder.Editable;
-import io.fabric8.kubernetes.api.model.Container;
-import io.fabric8.kubernetes.api.model.ContainerPort;
-import io.fabric8.kubernetes.api.model.EnvVar;
-import io.fabric8.kubernetes.api.model.IntOrString;
-import io.fabric8.kubernetes.api.model.KubernetesResource;
-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.fabric8.kubernetes.api.model.Volume;
-import io.fabric8.kubernetes.api.model.VolumeMount;
-import io.sundr.builder.annotations.Buildable;
-import io.sundr.builder.annotations.BuildableReference;
-import lombok.EqualsAndHashCode;
-import lombok.ToString;
-import lombok.experimental.Accessors;
-
-@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
-@JsonInclude(JsonInclude.Include.NON_NULL)
-@JsonPropertyOrder({
- "key",
- "name"
-})
-@ToString
-@EqualsAndHashCode
-@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),
- @BuildableReference(EnvVar.class),
- @BuildableReference(ContainerPort.class),
- @BuildableReference(Volume.class),
- @BuildableReference(VolumeMount.class)
-})
-@Generated("jsonschema2pojo")
-public class SecretKeyReference implements Editable