From b9bf14c799cf8127ba2a6c72bce46511f555b788 Mon Sep 17 00:00:00 2001 From: Fabian-K Date: Wed, 13 May 2020 11:51:51 +0200 Subject: [PATCH] [service-catalog] - generate java classes using shared generator logic - remove model-annotator and replace with shared model-annotator - flatten model project setup - add missing entrypoints for CRD ServiceBroker, ServiceClass and ServicePlan - fix formatting of DefaultServiceCatalogClient & ServiceCatalogResourceMappingProvider [generator] - allow manually overwriting types like []byte --- .../servicecatalog/client/CodeGen.java | 2 +- .../client/DefaultServiceCatalogClient.java | 108 +- .../client/ServiceCatalogClient.java | 11 + .../src/main/resources/resource-operation.vm | 11 + .../service-catalog/generator/.gitignore | 1 + extensions/service-catalog/generator/Makefile | 28 + .../generator/cmd/generate/generate.go | 79 + extensions/service-catalog/generator/go.mod | 11 + extensions/service-catalog/generator/go.sum | 100 + extensions/service-catalog/model/pom.xml | 389 +- .../servicecatalog-model-annotator/pom.xml | 68 - .../ServiceCatalogTypeAnnotator.java | 159 - .../model/servicecatalog-model/pom.xml | 176 - .../resources/schema/validation-schema.json | 3832 ----------------- .../servicecatalog/api/model/Constants.java | 0 ...ServiceCatalogResourceMappingProvider.java | 28 +- ...etes.api.KubernetesResourceMappingProvider | 0 .../schema/servicecatalog-schema.json | 2005 ++++----- generator/pkg/schemagen/generate.go | 79 +- 19 files changed, 1396 insertions(+), 5691 deletions(-) create mode 100644 extensions/service-catalog/generator/.gitignore create mode 100755 extensions/service-catalog/generator/Makefile create mode 100644 extensions/service-catalog/generator/cmd/generate/generate.go create mode 100644 extensions/service-catalog/generator/go.mod create mode 100644 extensions/service-catalog/generator/go.sum mode change 100644 => 100755 extensions/service-catalog/model/pom.xml delete mode 100755 extensions/service-catalog/model/servicecatalog-model-annotator/pom.xml delete mode 100755 extensions/service-catalog/model/servicecatalog-model-annotator/src/main/java/io/fabric8/servicecatalog/annotator/ServiceCatalogTypeAnnotator.java delete mode 100755 extensions/service-catalog/model/servicecatalog-model/pom.xml delete mode 100644 extensions/service-catalog/model/servicecatalog-model/src/main/resources/schema/validation-schema.json rename extensions/service-catalog/model/{servicecatalog-model => }/src/main/java/io/fabric8/servicecatalog/api/model/Constants.java (100%) rename extensions/service-catalog/model/{servicecatalog-model => }/src/main/java/io/fabric8/servicecatalog/api/model/ServiceCatalogResourceMappingProvider.java (50%) rename extensions/service-catalog/model/{servicecatalog-model => }/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider (100%) rename extensions/service-catalog/model/{servicecatalog-model => }/src/main/resources/schema/servicecatalog-schema.json (53%) diff --git a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/CodeGen.java b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/CodeGen.java index 7e27d93c4b3..b5a9de3d371 100644 --- a/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/CodeGen.java +++ b/extensions/service-catalog/client/src/main/java/io/fabric8/servicecatalog/client/CodeGen.java @@ -26,7 +26,7 @@ @VelocityTransformation(value = "/resource-handler-services.vm", gather = true, outputPath = "META-INF/services/io.fabric8.kubernetes.client.ResourceHandler") }, resources = { - @ResourceSelector("servicecatalog.properties") + @ResourceSelector("model.properties") } ) 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 index cef1cfcfefb..a22594d43d0 100644 --- 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 @@ -19,60 +19,84 @@ 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.servicecatalog.api.model.DoneableClusterServiceBroker; import io.fabric8.servicecatalog.api.model.DoneableClusterServiceClass; import io.fabric8.servicecatalog.api.model.DoneableClusterServicePlan; import io.fabric8.servicecatalog.api.model.DoneableServiceBinding; +import io.fabric8.servicecatalog.api.model.DoneableServiceBroker; +import io.fabric8.servicecatalog.api.model.DoneableServiceClass; import io.fabric8.servicecatalog.api.model.DoneableServiceInstance; +import io.fabric8.servicecatalog.api.model.DoneableServicePlan; import io.fabric8.servicecatalog.client.internal.*; import io.fabric8.servicecatalog.api.model.*; import okhttp3.OkHttpClient; public class DefaultServiceCatalogClient extends BaseClient implements NamespacedServiceCatalogClient { - public DefaultServiceCatalogClient() { - super(); - } - - public DefaultServiceCatalogClient(Config configuration) { - super(configuration); - } - - public DefaultServiceCatalogClient(OkHttpClient httpClient, Config configuration) { - super(httpClient, configuration); - } - - public NonNamespaceOperation clusterServiceBrokers(){ - return new ClusterServiceBrokerOperationsImpl(this.getHttpClient(), this.getConfiguration()); - } - public NonNamespaceOperation clusterServiceClasses() { - return new ClusterServiceClassOperationsImpl(this.getHttpClient(), this.getConfiguration()); - } - public NonNamespaceOperation clusterServicePlans() { - return new ClusterServicePlanOperationsImpl(this.getHttpClient(), this.getConfiguration()); - } - public MixedOperation serviceInstances() { - return new ServiceInstanceOperationsImpl(this.getHttpClient(), this.getConfiguration()); - } - public MixedOperation serviceBindings() { - return new ServiceBindingOperationsImpl(this.getHttpClient(), this.getConfiguration()); - } - - @Override - public NamespacedServiceCatalogClient inAnyNamespace() { - return inNamespace(null); - } - - @Override - public NamespacedServiceCatalogClient inNamespace(String namespace) { - Config updated = new ConfigBuilder(getConfiguration()) - .withNamespace(namespace) - .build(); - - return new DefaultServiceCatalogClient(getHttpClient(), updated); - } + public DefaultServiceCatalogClient() { + super(); + } + + public DefaultServiceCatalogClient(Config configuration) { + super(configuration); + } + + public DefaultServiceCatalogClient(OkHttpClient httpClient, Config configuration) { + super(httpClient, configuration); + } + + public NonNamespaceOperation clusterServiceBrokers() { + return new ClusterServiceBrokerOperationsImpl(this.getHttpClient(), this.getConfiguration()); + } + + public NonNamespaceOperation clusterServiceClasses() { + return new ClusterServiceClassOperationsImpl(this.getHttpClient(), this.getConfiguration()); + } + + public NonNamespaceOperation clusterServicePlans() { + return new ClusterServicePlanOperationsImpl(this.getHttpClient(), this.getConfiguration()); + } + + public MixedOperation serviceInstances() { + return new ServiceInstanceOperationsImpl(this.getHttpClient(), this.getConfiguration()); + } + + public MixedOperation serviceBindings() { + return new ServiceBindingOperationsImpl(this.getHttpClient(), this.getConfiguration()); + } + + @Override + public MixedOperation> serviceBrokers() { + return new ServiceBrokerOperationsImpl(this.getHttpClient(), this.getConfiguration()); + } + + @Override + public MixedOperation> serviceClasses() { + return new ServiceClassOperationsImpl(this.getHttpClient(), this.getConfiguration()); + } + + @Override + public MixedOperation> servicePlans() { + return new ServicePlanOperationsImpl(this.getHttpClient(), this.getConfiguration()); + } + + @Override + public NamespacedServiceCatalogClient inAnyNamespace() { + return inNamespace(null); + } + + @Override + public NamespacedServiceCatalogClient inNamespace(String namespace) { + Config updated = new ConfigBuilder(getConfiguration()) + .withNamespace(namespace) + .build(); + + return new DefaultServiceCatalogClient(getHttpClient(), updated); + } + @Override public FunctionCallable withRequestConfig(RequestConfig requestConfig) { - return new WithRequestCallable(this, requestConfig); + return new WithRequestCallable<>(this, requestConfig); } } 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 index 54775e5cea9..3185a9bb357 100644 --- 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 @@ -19,11 +19,15 @@ 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.DoneableClusterServiceBroker; import io.fabric8.servicecatalog.api.model.DoneableClusterServiceClass; import io.fabric8.servicecatalog.api.model.DoneableClusterServicePlan; import io.fabric8.servicecatalog.api.model.DoneableServiceBinding; +import io.fabric8.servicecatalog.api.model.DoneableServiceBroker; +import io.fabric8.servicecatalog.api.model.DoneableServiceClass; import io.fabric8.servicecatalog.api.model.DoneableServiceInstance; +import io.fabric8.servicecatalog.api.model.DoneableServicePlan; import io.fabric8.servicecatalog.client.internal.*; import io.fabric8.servicecatalog.api.model.*; @@ -38,4 +42,11 @@ public interface ServiceCatalogClient extends Client { MixedOperation serviceInstances(); MixedOperation serviceBindings(); + + MixedOperation> serviceBrokers(); + + MixedOperation> serviceClasses(); + + MixedOperation> servicePlans(); + } diff --git a/extensions/service-catalog/client/src/main/resources/resource-operation.vm b/extensions/service-catalog/client/src/main/resources/resource-operation.vm index 0142c185f35..e6e9acdd4d3 100644 --- a/extensions/service-catalog/client/src/main/resources/resource-operation.vm +++ b/extensions/service-catalog/client/src/main/resources/resource-operation.vm @@ -26,6 +26,12 @@ #end #end +#set ($isResourceNamespacedFlag = false) +#foreach ($impl in $model.getImplementsList()) + #if ($impl.getFullyQualifiedName().equals("io.fabric8.kubernetes.api.model.Namespaced")) + #set ($isResourceNamespacedFlag = true) + #end +#end package io.fabric8.servicecatalog.client.internal; @@ -65,4 +71,9 @@ public class ${model.name}OperationsImpl extends HasMetadataOperation<${model.na public ${model.name}OperationsImpl newInstance(OperationContext context) { return new ${model.name}OperationsImpl(context); } + + @Override + public boolean isResourceNamespaced() { + return $isResourceNamespacedFlag; + } } diff --git a/extensions/service-catalog/generator/.gitignore b/extensions/service-catalog/generator/.gitignore new file mode 100644 index 00000000000..57872d0f1e5 --- /dev/null +++ b/extensions/service-catalog/generator/.gitignore @@ -0,0 +1 @@ +/vendor/ diff --git a/extensions/service-catalog/generator/Makefile b/extensions/service-catalog/generator/Makefile new file mode 100755 index 00000000000..416fbf6009f --- /dev/null +++ b/extensions/service-catalog/generator/Makefile @@ -0,0 +1,28 @@ +# +# 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 clean install -o && \ + 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 new file mode 100644 index 00000000000..6a95012e4b5 --- /dev/null +++ b/extensions/service-catalog/generator/cmd/generate/generate.go @@ -0,0 +1,79 @@ +/** + * 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{}): "Map", + reflect.TypeOf([]byte{}): "java.lang.String", + } + + json := schemagen.GenerateSchema("http://fabric8.io/knative/ServiceCatalogSchema#", crdLists, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints) + + fmt.Println(json) +} diff --git a/extensions/service-catalog/generator/go.mod b/extensions/service-catalog/generator/go.mod new file mode 100644 index 00000000000..07caab666de --- /dev/null +++ b/extensions/service-catalog/generator/go.mod @@ -0,0 +1,11 @@ +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 new file mode 100644 index 00000000000..f576a832121 --- /dev/null +++ b/extensions/service-catalog/generator/go.sum @@ -0,0 +1,100 @@ +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 old mode 100644 new mode 100755 index c1dcde6822f..0597747cf25 --- a/extensions/service-catalog/model/pom.xml +++ b/extensions/service-catalog/model/pom.xml @@ -24,314 +24,153 @@ 4.10-SNAPSHOT - servicecatalog-model-generator - pom - Fabric8 :: Service Catalog Model Parent + servicecatalog-model + bundle + Fabric8 :: Service Catalog :: Model - true - - false - **/*KubernetesTest.java - - UTF-8 - - - - - - - - - {maven-resources} + + io.fabric8.kubernetes.api.builder, + !io.fabric8.servicecatalog.api.model.*, + * + + + io.fabric8.servicecatalog.api.model.* + + + {maven-resources}, + /model.properties=target/classes/model.properties + + + true - - servicecatalog-model-annotator - servicecatalog-model - - - - - - - io.fabric8 - servicecatalog-model - ${project.version} - - - io.sundr - dsl-annotations - ${sundrio.version} - compile - true - - - - - io.fabric8 - mockwebserver - ${mockwebserver.version} - - - - + + + io.sundr + builder-annotations + + + com.sun + tools + + + + + io.sundr + transform-annotations + + + io.fabric8 + kubernetes-model-core + + + com.fasterxml.jackson.module + jackson-module-jaxb-annotations + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-migrationsupport + test + + + org.skyscreamer + jsonassert + test + + + org.projectlombok + lombok + provided + + - org.apache.maven.plugins - maven-surefire-plugin - - - false - - - - org.apache.maven.plugins - maven-deploy-plugin + com.mysema.maven + apt-maven-plugin + 1.1.3 + + + + process + + + ${project.build.directory}/generated-sources + io.sundr.builder.internal.processor.BuildableProcessor + + + - org.apache.maven.plugins - maven-jar-plugin + org.jsonschema2pojo + jsonschema2pojo-maven-plugin + ${jsonschema2pojo.version} - - true - - true - true - - - ${project.url} - ${java.version} - ${java.vendor} - ${os.name} - ${os.arch} - ${os.version} - ${project.scm.url} - ${project.scm.connection} - ${buildNumber} - ${build.datetime} - - + ${project.basedir}/src/main/resources/schema + io.fabric8.servicecatalog.api.model + true + false + false + false + ${project.build.directory}/generated-sources + io.fabric8.kubernetes.ModelAnnotator - - - - org.codehaus.mojo - buildnumber-maven-plugin - ${buildnumber.plugin.version} - get-build-timestamp - initialize + generate + generate-sources - create-timestamp + generate - - - EEE, d MMM yyyy HH:mm:ss Z - build.datetime - + + + + io.fabric8 + model-annotator + ${project.version} + + + + + org.codehaus.mojo + build-helper-maven-plugin + ${maven.buildhelper.plugin.version} + - get-scm-revision - initialize + attach-artifacts + package - create + attach-artifact - false - false - UNKNOWN - true + + + ${project.build.outputDirectory}/schema/servicecatalog-schema.json + json + schema + + - - org.apache.maven.plugins - maven-resources-plugin - - - zip - gz - jar - - - org.apache.maven.plugins maven-gpg-plugin - ${gpg.passphrase} + 4uds0n true - - com.mycila - license-maven-plugin - 2.11 - - true -
header.txt
- - Red Hat, Inc. - - - .editorconfig - license.txt - **/test-kubeconfig - -
-
- - org.apache.felix - maven-bundle-plugin - ${maven.bundle.plugin.version} - true - - - ${project.name} - ${project.groupId}.${project.artifactId} - ${osgi.export} - ${osgi.import} - ${osgi.dynamic.import} - ${osgi.private} - ${osgi.bundles} - ${osgi.activator} - ${osgi.export.service} - ${osgi.include.resources} - - - - - 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 - - - -
- - - release - - - - org.apache.maven.plugins - maven-gpg-plugin - ${maven.gpg.plugin.version} - - - sign-artifacts - verify - - sign - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - ${maven.enforcer.plugin.version} - - - enforce-no-snapshots - - enforce - - - - - No Snapshots Allowed! - - - false - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven.javadoc.plugin.version} - - ${javadoc.include.deps} - - ${javadoc.source.includes} - - ${javadoc.package.excludes} - - - - attach-javadocs - - jar - - - ${javadoc.opts} - - - - - - org.apache.maven.plugins - maven-source-plugin - ${maven.source.plugin.version} - - - attach-sources - - jar - - - - - - - - - doclint-java8-disable - - [1.8,) - - - -Xdoclint:none - - - - diff --git a/extensions/service-catalog/model/servicecatalog-model-annotator/pom.xml b/extensions/service-catalog/model/servicecatalog-model-annotator/pom.xml deleted file mode 100755 index 044f1b4a58d..00000000000 --- a/extensions/service-catalog/model/servicecatalog-model-annotator/pom.xml +++ /dev/null @@ -1,68 +0,0 @@ - - - - 4.0.0 - - io.fabric8 - servicecatalog-model-generator - 4.10-SNAPSHOT - - - servicecatalog-model-annotator - jar - Fabric8 :: Service Catalog :: Model :: Annotator - - - - org.jsonschema2pojo - jsonschema2pojo-core - ${jsonschema2pojo.version} - - - io.fabric8 - kubernetes-model-common - ${project.version} - - - org.projectlombok - lombok - - - com.fasterxml.jackson.module - jackson-module-jaxb-annotations - - - io.sundr - builder-annotations - compile - - - com.sun - tools - - - - - io.sundr - transform-annotations - compile - - - - diff --git a/extensions/service-catalog/model/servicecatalog-model-annotator/src/main/java/io/fabric8/servicecatalog/annotator/ServiceCatalogTypeAnnotator.java b/extensions/service-catalog/model/servicecatalog-model-annotator/src/main/java/io/fabric8/servicecatalog/annotator/ServiceCatalogTypeAnnotator.java deleted file mode 100755 index a051d78971e..00000000000 --- a/extensions/service-catalog/model/servicecatalog-model-annotator/src/main/java/io/fabric8/servicecatalog/annotator/ServiceCatalogTypeAnnotator.java +++ /dev/null @@ -1,159 +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.annotator; - -import com.fasterxml.jackson.databind.JsonDeserializer; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.sun.codemodel.*; -import io.fabric8.kubernetes.model.annotation.ApiGroup; -import io.fabric8.kubernetes.model.annotation.ApiVersion; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import io.sundr.builder.annotations.Inline; -import io.sundr.transform.annotations.VelocityTransformation; -import io.sundr.transform.annotations.VelocityTransformations; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import org.jsonschema2pojo.Jackson2Annotator; - -import java.util.HashMap; -import java.util.Map; -import java.util.regex.Pattern; - -public class ServiceCatalogTypeAnnotator extends Jackson2Annotator { - - private final Map pendingResources = new HashMap<>(); - private final Map pendingLists = new HashMap<>(); - - @Override - public void propertyOrder(JDefinedClass clazz, JsonNode propertiesNode) { - //We just want to make sure we avoid infinite loops - clazz.annotate(JsonDeserialize.class) - .param("using", JsonDeserializer.None.class); - clazz.annotate(ToString.class); - clazz.annotate(EqualsAndHashCode.class); - try { - JAnnotationUse buildable = clazz.annotate(Buildable.class) - .param("editableEnabled", false) - .param("validationEnabled", false) - .param("generateBuilderPackage", false) - .param("builderPackage", "io.fabric8.kubernetes.api.builder"); - - buildable.paramArray("inline").annotate(Inline.class) - .param("type", new JCodeModel()._class("io.fabric8.kubernetes.api.model.Doneable")) - .param("prefix", "Doneable") - .param("value", "done"); - - buildable.paramArray("refs").annotate(BuildableReference.class) - .param("value", new JCodeModel()._class("io.fabric8.kubernetes.api.model.ObjectMeta")); - - } catch (JClassAlreadyExistsException e) { - e.printStackTrace(); - } - - if (clazz.fields().containsKey("kind") && clazz.fields().containsKey("metadata")) { - String resourceName; - - if (clazz.name().endsWith("List")) { - resourceName = clazz.name().substring(0, clazz.name().length() - 4); - pendingLists.put(resourceName, clazz); - } else { - resourceName = clazz.name(); - pendingResources.put(clazz.name(), clazz); - } - - if (pendingResources.containsKey(resourceName) && pendingLists.containsKey(resourceName)) { - JDefinedClass resourceClass = pendingResources.get(resourceName); - JDefinedClass resourceListClass = pendingLists.get(resourceName); - - String apiVersion = propertiesNode.get("apiVersion").get("default").toString().replaceAll(Pattern.quote("\""), ""); - String apiGroup = ""; - if (apiVersion.contains("/")) { - apiGroup = apiVersion.substring(0, apiVersion.lastIndexOf("/")); - apiVersion = apiVersion.substring(apiGroup.length() + 1); - } - resourceClass.annotate(ApiVersion.class).param("value", apiVersion); - resourceClass.annotate(ApiGroup.class).param("value", apiGroup); - resourceListClass.annotate(ApiVersion.class).param("value", apiVersion); - resourceListClass.annotate(ApiGroup.class).param("value", apiGroup); - - JAnnotationArrayMember arrayMember = resourceClass.annotate(VelocityTransformations.class) - .paramArray("value"); - arrayMember.annotate(VelocityTransformation.class).param("value", "/manifest.vm") - .param("outputPath", "servicecatalog.properties").param("gather", true); - - pendingLists.remove(resourceName); - pendingResources.remove(resourceName); - } - } - } - - @Override - public void propertyInclusion(JDefinedClass clazz, JsonNode schema) { - - } - - @Override - public void propertyField(JFieldVar field, JDefinedClass clazz, String propertyName, JsonNode propertyNode) { - - } - - @Override - public void propertyGetter(JMethod getter, String propertyName) { - - } - - @Override - public void propertySetter(JMethod setter, String propertyName) { - - } - - @Override - public void anyGetter(JMethod getter) { - - } - - @Override - public void anySetter(JMethod setter) { - - } - - @Override - public void enumCreatorMethod(JMethod creatorMethod) { - - } - - @Override - public void enumValueMethod(JMethod valueMethod) { - - } - - @Override - public void enumConstant(JEnumConstant constant, String value) { - - } - - @Override - public boolean isAdditionalPropertiesSupported() { - return true; - } - - @Override - public void additionalPropertiesField(JFieldVar field, JDefinedClass clazz, String propertyName) { - - } -} diff --git a/extensions/service-catalog/model/servicecatalog-model/pom.xml b/extensions/service-catalog/model/servicecatalog-model/pom.xml deleted file mode 100755 index 7bcaa3be126..00000000000 --- a/extensions/service-catalog/model/servicecatalog-model/pom.xml +++ /dev/null @@ -1,176 +0,0 @@ - - - - 4.0.0 - - io.fabric8 - servicecatalog-model-generator - 4.10-SNAPSHOT - - - servicecatalog-model - bundle - Fabric8 :: Service Catalog :: Model - - - - io.fabric8.kubernetes.api.builder, - !io.fabric8.servicecatalog.api.model.*, - * - - - io.fabric8.servicecatalog.api.model.* - - - {maven-resources}, - /servicecatalog.properties=target/classes/servicecatalog.properties - - - true - - - - - io.sundr - builder-annotations - - - com.sun - tools - - - - - io.sundr - transform-annotations - - - io.fabric8 - kubernetes-model-core - - - com.fasterxml.jackson.module - jackson-module-jaxb-annotations - - - org.junit.jupiter - junit-jupiter-engine - test - - - org.junit.jupiter - junit-jupiter-migrationsupport - test - - - org.skyscreamer - jsonassert - test - - - org.projectlombok - lombok - provided - - - - - - - com.mysema.maven - apt-maven-plugin - 1.1.3 - - - - process - - - ${project.build.directory}/generated-sources - io.sundr.builder.internal.processor.BuildableProcessor - - - - - - org.jsonschema2pojo - jsonschema2pojo-maven-plugin - ${jsonschema2pojo.version} - - ${project.basedir}/src/main/resources/schema - io.fabric8.servicecatalog.api.model - true - false - false - false - ${project.build.directory}/generated-sources - io.fabric8.servicecatalog.annotator.ServiceCatalogTypeAnnotator - - - - generate - generate-sources - - generate - - - - - - io.fabric8 - servicecatalog-model-annotator - ${project.version} - - - - - org.codehaus.mojo - build-helper-maven-plugin - ${maven.buildhelper.plugin.version} - - - attach-artifacts - package - - attach-artifact - - - - - ${project.build.outputDirectory}/schema/servicecatalog-schema.json - json - schema - - - - - - - - org.apache.maven.plugins - maven-gpg-plugin - - 4uds0n - true - - - - - - diff --git a/extensions/service-catalog/model/servicecatalog-model/src/main/resources/schema/validation-schema.json b/extensions/service-catalog/model/servicecatalog-model/src/main/resources/schema/validation-schema.json deleted file mode 100644 index e4b74482ed3..00000000000 --- a/extensions/service-catalog/model/servicecatalog-model/src/main/resources/schema/validation-schema.json +++ /dev/null @@ -1,3832 +0,0 @@ -{ - "id": "http://snowdrop.me/service-catalog/v1/Schema#", - "$schema": "http://json-schema.org/schema#", - "definitions": { - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Duration": { - "type": "object", - "description": "", - "properties": { - "duration": { - "type": "integer", - "description": "", - "javaType": "Long" - } - }, - "additionalProperties": true, - "javaType": "java.lang.String", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer": { - "type": "object", - "description": "", - "properties": { - "name": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.Initializer", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers": { - "type": "object", - "description": "", - "properties": { - "pending": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer", - "javaType": "io.fabric8.kubernetes.api.model.Initializer" - } - }, - "result": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Status", - "javaType": "Status" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.Initializers", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta": { - "type": "object", - "description": "", - "properties": { - "continue": { - "type": "string", - "description": "" - }, - "resourceVersion": { - "type": "string", - "description": "" - }, - "selfLink": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ListMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta": { - "type": "object", - "description": "", - "properties": { - "annotations": { - "type": "object", - "description": "", - "additionalProperties": { - "type": "string", - "description": "" - }, - "javaType": "java.util.Map\u003cString,String\u003e" - }, - "clusterName": { - "type": "string", - "description": "" - }, - "creationTimestamp": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "deletionGracePeriodSeconds": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "deletionTimestamp": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "finalizers": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - }, - "generateName": { - "type": "string", - "description": "" - }, - "generation": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "initializers": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers", - "javaType": "io.fabric8.kubernetes.api.model.Initializers" - }, - "labels": { - "type": "object", - "description": "", - "additionalProperties": { - "type": "string", - "description": "" - }, - "javaType": "java.util.Map\u003cString,String\u003e" - }, - "name": { - "type": "string", - "description": "" - }, - "namespace": { - "type": "string", - "description": "", - "maxLength": 253, - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" - }, - "ownerReferences": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference", - "javaType": "io.fabric8.kubernetes.api.model.OwnerReference" - } - }, - "resourceVersion": { - "type": "string", - "description": "" - }, - "selfLink": { - "type": "string", - "description": "" - }, - "uid": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "" - }, - "blockOwnerDeletion": { - "type": "boolean", - "description": "" - }, - "controller": { - "type": "boolean", - "description": "" - }, - "kind": { - "type": "string", - "description": "" - }, - "name": { - "type": "string", - "description": "" - }, - "uid": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.OwnerReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Status": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "meta/v1", - "required": true - }, - "code": { - "type": "integer", - "description": "" - }, - "details": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails", - "javaType": "StatusDetails" - }, - "kind": { - "type": "string", - "description": "", - "default": "Status", - "required": true - }, - "message": { - "type": "string", - "description": "" - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - }, - "reason": { - "type": "string", - "description": "" - }, - "status": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "Status", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause": { - "type": "object", - "description": "", - "properties": { - "field": { - "type": "string", - "description": "" - }, - "message": { - "type": "string", - "description": "" - }, - "reason": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.StatusCause", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails": { - "type": "object", - "description": "", - "properties": { - "causes": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause", - "javaType": "io.fabric8.kubernetes.api.model.StatusCause" - } - }, - "group": { - "type": "string", - "description": "" - }, - "kind": { - "type": "string", - "description": "" - }, - "name": { - "type": "string", - "description": "" - }, - "retryAfterSeconds": { - "type": "integer", - "description": "" - }, - "uid": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "StatusDetails", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time": { - "type": "object", - "description": "", - "properties": { - "time": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "java.lang.String", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_TypeMeta": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "" - }, - "kind": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.TypeMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension": { - "type": "object", - "description": "", - "properties": { - "raw": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "java.util.Map\u003cString, Object\u003e", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_AddKeyTransform": { - "type": "object", - "description": "", - "properties": { - "jsonPathExpression": { - "type": "string", - "description": "" - }, - "key": { - "type": "string", - "description": "" - }, - "stringValue": { - "type": "string", - "description": "" - }, - "value": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.AddKeyTransform", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_AddKeysFromTransform": { - "type": "object", - "description": "", - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_ObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.AddKeysFromTransform", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_BasicAuthConfig": { - "type": "object", - "description": "", - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_LocalObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.BasicAuthConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_BearerTokenAuthConfig": { - "type": "object", - "description": "", - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_LocalObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.BearerTokenAuthConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_CatalogRestrictions": { - "type": "object", - "description": "", - "properties": { - "serviceClass": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - }, - "servicePlan": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterBasicAuthConfig": { - "type": "object", - "description": "", - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_ObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterBasicAuthConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterBearerTokenAuthConfig": { - "type": "object", - "description": "", - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_ObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterBearerTokenAuthConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterObjectReference": { - "type": "object", - "description": "", - "properties": { - "name": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterServiceBroker": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServiceBroker", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBrokerSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBrokerStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerStatus" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBroker", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "servicecatalog_ClusterServiceBrokerAuthInfo": { - "type": "object", - "description": "", - "properties": { - "basic": { - "$ref": "#/definitions/servicecatalog_ClusterBasicAuthConfig", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterBasicAuthConfig" - }, - "bearer": { - "$ref": "#/definitions/servicecatalog_ClusterBearerTokenAuthConfig", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterBearerTokenAuthConfig" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerAuthInfo", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterServiceBrokerList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBroker", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBroker" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServiceBrokerList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList" - ] - }, - "servicecatalog_ClusterServiceBrokerSpec": { - "type": "object", - "description": "", - "properties": { - "authInfo": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBrokerAuthInfo", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerAuthInfo" - }, - "caBundle": { - "type": "string", - "description": "" - }, - "catalogRestrictions": { - "$ref": "#/definitions/servicecatalog_CatalogRestrictions", - "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions" - }, - "insecureSkipTLSVerify": { - "type": "boolean", - "description": "" - }, - "relistBehavior": { - "type": "string", - "description": "" - }, - "relistDuration": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Duration", - "javaType": "java.lang.String" - }, - "relistRequests": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "url": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterServiceBrokerStatus": { - "type": "object", - "description": "", - "properties": { - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition" - } - }, - "lastCatalogRetrievalTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "reconciledGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterServiceClass": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServiceClass", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClassSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClassStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassStatus" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClass", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "servicecatalog_ClusterServiceClassList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClass", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClass" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServiceClassList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList" - ] - }, - "servicecatalog_ClusterServiceClassSpec": { - "type": "object", - "description": "", - "properties": { - "bindable": { - "type": "boolean", - "description": "" - }, - "bindingRetrievable": { - "type": "boolean", - "description": "" - }, - "clusterServiceBrokerName": { - "type": "string", - "description": "" - }, - "description": { - "type": "string", - "description": "" - }, - "externalID": { - "type": "string", - "description": "" - }, - "externalMetadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "externalName": { - "type": "string", - "description": "" - }, - "planUpdatable": { - "type": "boolean", - "description": "" - }, - "requires": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - }, - "tags": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterServiceClassStatus": { - "type": "object", - "description": "", - "properties": { - "removedFromBrokerCatalog": { - "type": "boolean", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterServicePlan": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServicePlan", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlanSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlanStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanStatus" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlan", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "servicecatalog_ClusterServicePlanList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlan", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlan" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServicePlanList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList" - ] - }, - "servicecatalog_ClusterServicePlanSpec": { - "type": "object", - "description": "", - "properties": { - "bindable": { - "type": "boolean", - "description": "" - }, - "clusterServiceBrokerName": { - "type": "string", - "description": "" - }, - "clusterServiceClassRef": { - "$ref": "#/definitions/servicecatalog_ClusterObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference" - }, - "description": { - "type": "string", - "description": "" - }, - "externalID": { - "type": "string", - "description": "" - }, - "externalMetadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "externalName": { - "type": "string", - "description": "" - }, - "free": { - "type": "boolean", - "description": "" - }, - "instanceCreateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "instanceUpdateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "serviceBindingCreateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "serviceBindingCreateResponseSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterServicePlanStatus": { - "type": "object", - "description": "", - "properties": { - "removedFromBrokerCatalog": { - "type": "boolean", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_CommonServiceBrokerSpec": { - "type": "object", - "description": "", - "properties": { - "caBundle": { - "type": "string", - "description": "" - }, - "catalogRestrictions": { - "$ref": "#/definitions/servicecatalog_CatalogRestrictions", - "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions" - }, - "insecureSkipTLSVerify": { - "type": "boolean", - "description": "" - }, - "relistBehavior": { - "type": "string", - "description": "" - }, - "relistDuration": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Duration", - "javaType": "java.lang.String" - }, - "relistRequests": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "url": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CommonServiceBrokerSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_CommonServiceBrokerStatus": { - "type": "object", - "description": "", - "properties": { - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition" - } - }, - "lastCatalogRetrievalTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "reconciledGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CommonServiceBrokerStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_CommonServiceClassSpec": { - "type": "object", - "description": "", - "properties": { - "bindable": { - "type": "boolean", - "description": "" - }, - "bindingRetrievable": { - "type": "boolean", - "description": "" - }, - "description": { - "type": "string", - "description": "" - }, - "externalID": { - "type": "string", - "description": "" - }, - "externalMetadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "externalName": { - "type": "string", - "description": "" - }, - "planUpdatable": { - "type": "boolean", - "description": "" - }, - "requires": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - }, - "tags": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CommonServiceClassSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_CommonServiceClassStatus": { - "type": "object", - "description": "", - "properties": { - "removedFromBrokerCatalog": { - "type": "boolean", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CommonServiceClassStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_CommonServicePlanSpec": { - "type": "object", - "description": "", - "properties": { - "bindable": { - "type": "boolean", - "description": "" - }, - "description": { - "type": "string", - "description": "" - }, - "externalID": { - "type": "string", - "description": "" - }, - "externalMetadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "externalName": { - "type": "string", - "description": "" - }, - "free": { - "type": "boolean", - "description": "" - }, - "instanceCreateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "instanceUpdateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "serviceBindingCreateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "serviceBindingCreateResponseSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CommonServicePlanSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_CommonServicePlanStatus": { - "type": "object", - "description": "", - "properties": { - "removedFromBrokerCatalog": { - "type": "boolean", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CommonServicePlanStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_LocalObjectReference": { - "type": "object", - "description": "", - "properties": { - "name": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ObjectReference": { - "type": "object", - "description": "", - "properties": { - "name": { - "type": "string", - "description": "" - }, - "namespace": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ParametersFromSource": { - "type": "object", - "description": "", - "properties": { - "secretKeyRef": { - "$ref": "#/definitions/servicecatalog_SecretKeyReference", - "javaType": "io.fabric8.servicecatalog.api.model.SecretKeyReference" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ParametersFromSource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_PlanReference": { - "type": "object", - "description": "", - "properties": { - "clusterServiceClassExternalID": { - "type": "string", - "description": "" - }, - "clusterServiceClassExternalName": { - "type": "string", - "description": "" - }, - "clusterServiceClassName": { - "type": "string", - "description": "" - }, - "clusterServicePlanExternalID": { - "type": "string", - "description": "" - }, - "clusterServicePlanExternalName": { - "type": "string", - "description": "" - }, - "clusterServicePlanName": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.PlanReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_RemoveKeyTransform": { - "type": "object", - "description": "", - "properties": { - "key": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.RemoveKeyTransform", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_RenameKeyTransform": { - "type": "object", - "description": "", - "properties": { - "from": { - "type": "string", - "description": "" - }, - "to": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.RenameKeyTransform", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_SecretKeyReference": { - "type": "object", - "description": "", - "properties": { - "key": { - "type": "string", - "description": "" - }, - "name": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.SecretKeyReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_SecretTransform": { - "type": "object", - "description": "", - "properties": { - "addKey": { - "$ref": "#/definitions/servicecatalog_AddKeyTransform", - "javaType": "io.fabric8.servicecatalog.api.model.AddKeyTransform" - }, - "addKeysFrom": { - "$ref": "#/definitions/servicecatalog_AddKeysFromTransform", - "javaType": "io.fabric8.servicecatalog.api.model.AddKeysFromTransform" - }, - "removeKey": { - "$ref": "#/definitions/servicecatalog_RemoveKeyTransform", - "javaType": "io.fabric8.servicecatalog.api.model.RemoveKeyTransform" - }, - "renameKey": { - "$ref": "#/definitions/servicecatalog_RenameKeyTransform", - "javaType": "io.fabric8.servicecatalog.api.model.RenameKeyTransform" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.SecretTransform", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ServiceBinding": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ServiceBinding", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ServiceBindingSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ServiceBindingStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingStatus" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "servicecatalog_ServiceBindingCondition": { - "type": "object", - "description": "", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "message": { - "type": "string", - "description": "" - }, - "reason": { - "type": "string", - "description": "" - }, - "status": { - "type": "string", - "description": "" - }, - "type": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingCondition", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ServiceBindingList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBinding", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBinding" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ServiceBindingList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList" - ] - }, - "servicecatalog_ServiceBindingPropertiesState": { - "type": "object", - "description": "", - "properties": { - "parameterChecksum": { - "type": "string", - "description": "" - }, - "parameters": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "userInfo": { - "$ref": "#/definitions/servicecatalog_UserInfo", - "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingPropertiesState", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ServiceBindingSpec": { - "type": "object", - "description": "", - "properties": { - "externalID": { - "type": "string", - "description": "" - }, - "instanceRef": { - "$ref": "#/definitions/servicecatalog_LocalObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" - }, - "parameters": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "parametersFrom": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/servicecatalog_ParametersFromSource", - "javaType": "io.fabric8.servicecatalog.api.model.ParametersFromSource" - } - }, - "secretName": { - "type": "string", - "description": "" - }, - "secretTransforms": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/servicecatalog_SecretTransform", - "javaType": "io.fabric8.servicecatalog.api.model.SecretTransform" - } - }, - "userInfo": { - "$ref": "#/definitions/servicecatalog_UserInfo", - "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ServiceBindingStatus": { - "type": "object", - "description": "", - "properties": { - "asyncOpInProgress": { - "type": "boolean", - "description": "" - }, - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBindingCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingCondition" - } - }, - "currentOperation": { - "type": "string", - "description": "" - }, - "externalProperties": { - "$ref": "#/definitions/servicecatalog_ServiceBindingPropertiesState", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingPropertiesState" - }, - "inProgressProperties": { - "$ref": "#/definitions/servicecatalog_ServiceBindingPropertiesState", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingPropertiesState" - }, - "lastOperation": { - "type": "string", - "description": "" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "orphanMitigationInProgress": { - "type": "boolean", - "description": "" - }, - "reconciledGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "unbindStatus": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ServiceBroker": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ServiceBroker", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerStatus" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBroker", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "servicecatalog_ServiceBrokerAuthInfo": { - "type": "object", - "description": "", - "properties": { - "basic": { - "$ref": "#/definitions/servicecatalog_BasicAuthConfig", - "javaType": "io.fabric8.servicecatalog.api.model.BasicAuthConfig" - }, - "bearer": { - "$ref": "#/definitions/servicecatalog_BearerTokenAuthConfig", - "javaType": "io.fabric8.servicecatalog.api.model.BearerTokenAuthConfig" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerAuthInfo", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ServiceBrokerCondition": { - "type": "object", - "description": "", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "message": { - "type": "string", - "description": "" - }, - "reason": { - "type": "string", - "description": "" - }, - "status": { - "type": "string", - "description": "" - }, - "type": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ServiceBrokerList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBroker", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBroker" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ServiceBrokerList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList" - ] - }, - "servicecatalog_ServiceBrokerSpec": { - "type": "object", - "description": "", - "properties": { - "authInfo": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerAuthInfo", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerAuthInfo" - }, - "caBundle": { - "type": "string", - "description": "" - }, - "catalogRestrictions": { - "$ref": "#/definitions/servicecatalog_CatalogRestrictions", - "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions" - }, - "insecureSkipTLSVerify": { - "type": "boolean", - "description": "" - }, - "relistBehavior": { - "type": "string", - "description": "" - }, - "relistDuration": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Duration", - "javaType": "java.lang.String" - }, - "relistRequests": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "url": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ServiceBrokerStatus": { - "type": "object", - "description": "", - "properties": { - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition" - } - }, - "lastCatalogRetrievalTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "reconciledGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ServiceInstance": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ServiceInstance", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ServiceInstanceSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ServiceInstanceStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceStatus" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstance", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "servicecatalog_ServiceInstanceCondition": { - "type": "object", - "description": "", - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "message": { - "type": "string", - "description": "" - }, - "reason": { - "type": "string", - "description": "" - }, - "status": { - "type": "string", - "description": "" - }, - "type": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceCondition", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ServiceInstanceList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceInstance", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstance" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ServiceInstanceList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList" - ] - }, - "servicecatalog_ServiceInstancePropertiesState": { - "type": "object", - "description": "", - "properties": { - "clusterServicePlanExternalID": { - "type": "string", - "description": "" - }, - "clusterServicePlanExternalName": { - "type": "string", - "description": "" - }, - "parameterChecksum": { - "type": "string", - "description": "" - }, - "parameters": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "userInfo": { - "$ref": "#/definitions/servicecatalog_UserInfo", - "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstancePropertiesState", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ServiceInstanceSpec": { - "type": "object", - "description": "", - "properties": { - "clusterServiceClassExternalID": { - "type": "string", - "description": "" - }, - "clusterServiceClassExternalName": { - "type": "string", - "description": "" - }, - "clusterServiceClassName": { - "type": "string", - "description": "" - }, - "clusterServiceClassRef": { - "$ref": "#/definitions/servicecatalog_ClusterObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference" - }, - "clusterServicePlanExternalID": { - "type": "string", - "description": "" - }, - "clusterServicePlanExternalName": { - "type": "string", - "description": "" - }, - "clusterServicePlanName": { - "type": "string", - "description": "" - }, - "clusterServicePlanRef": { - "$ref": "#/definitions/servicecatalog_ClusterObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference" - }, - "externalID": { - "type": "string", - "description": "" - }, - "parameters": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "parametersFrom": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/servicecatalog_ParametersFromSource", - "javaType": "io.fabric8.servicecatalog.api.model.ParametersFromSource" - } - }, - "updateRequests": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "userInfo": { - "$ref": "#/definitions/servicecatalog_UserInfo", - "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ServiceInstanceStatus": { - "type": "object", - "description": "", - "properties": { - "asyncOpInProgress": { - "type": "boolean", - "description": "" - }, - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceInstanceCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceCondition" - } - }, - "currentOperation": { - "type": "string", - "description": "" - }, - "dashboardURL": { - "type": "string", - "description": "" - }, - "deprovisionStatus": { - "type": "string", - "description": "" - }, - "externalProperties": { - "$ref": "#/definitions/servicecatalog_ServiceInstancePropertiesState", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstancePropertiesState" - }, - "inProgressProperties": { - "$ref": "#/definitions/servicecatalog_ServiceInstancePropertiesState", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstancePropertiesState" - }, - "lastOperation": { - "type": "string", - "description": "" - }, - "observedGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "orphanMitigationInProgress": { - "type": "boolean", - "description": "" - }, - "provisionStatus": { - "type": "string", - "description": "" - }, - "reconciledGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_UserInfo": { - "type": "object", - "description": "", - "properties": { - "extra": { - "type": "object", - "description": "", - "additionalProperties": { - "type": "array", - "description": "", - "items": { - "type": "string", - "description": "" - } - }, - "javaType": "java.util.Map\u003cString,java.util.ArrayList\u003cString\u003e\u003e" - }, - "groups": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - }, - "uid": { - "type": "string", - "description": "" - }, - "username": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.UserInfo", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - } - }, - "type": "object", - "properties": { - "clusterServiceBroker": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBroker", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBroker" - }, - "clusterServiceBrokerList": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBrokerList", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerList" - }, - "clusterServiceClass": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClass", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClass" - }, - "clusterServiceClassList": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClassList", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassList" - }, - "clusterServicePlan": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlan", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlan" - }, - "clusterServicePlanList": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlanList", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanList" - }, - "serviceBinding": { - "$ref": "#/definitions/servicecatalog_ServiceBinding", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBinding" - }, - "serviceBindingList": { - "$ref": "#/definitions/servicecatalog_ServiceBindingList", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingList" - }, - "serviceBroker": { - "$ref": "#/definitions/servicecatalog_ServiceBroker", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBroker" - }, - "serviceBrokerList": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerList", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerList" - }, - "serviceInstance": { - "$ref": "#/definitions/servicecatalog_ServiceInstance", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstance" - }, - "serviceInstanceList": { - "$ref": "#/definitions/servicecatalog_ServiceInstanceList", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceList" - } - }, - "additionalProperties": true, - "resources": { - "addkeysfromtransform": { - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_ObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference" - } - }, - "additionalProperties": true - }, - "addkeytransform": { - "properties": { - "jsonPathExpression": { - "type": "string", - "description": "" - }, - "key": { - "type": "string", - "description": "" - }, - "stringValue": { - "type": "string", - "description": "" - }, - "value": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "basicauthconfig": { - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_LocalObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" - } - }, - "additionalProperties": true - }, - "bearertokenauthconfig": { - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_LocalObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" - } - }, - "additionalProperties": true - }, - "catalogrestrictions": { - "properties": { - "serviceClass": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - }, - "servicePlan": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - } - }, - "additionalProperties": true - }, - "clusterbasicauthconfig": { - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_ObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference" - } - }, - "additionalProperties": true - }, - "clusterbearertokenauthconfig": { - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_ObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference" - } - }, - "additionalProperties": true - }, - "clusterobjectreference": { - "properties": { - "name": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "clusterservicebroker": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServiceBroker", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBrokerSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBrokerStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerStatus" - } - }, - "additionalProperties": true - }, - "clusterservicebrokerauthinfo": { - "properties": { - "basic": { - "$ref": "#/definitions/servicecatalog_ClusterBasicAuthConfig", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterBasicAuthConfig" - }, - "bearer": { - "$ref": "#/definitions/servicecatalog_ClusterBearerTokenAuthConfig", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterBearerTokenAuthConfig" - } - }, - "additionalProperties": true - }, - "clusterservicebrokerlist": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBroker", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBroker" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServiceBrokerList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true - }, - "clusterservicebrokerspec": { - "properties": { - "authInfo": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBrokerAuthInfo", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerAuthInfo" - }, - "caBundle": { - "type": "string", - "description": "" - }, - "catalogRestrictions": { - "$ref": "#/definitions/servicecatalog_CatalogRestrictions", - "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions" - }, - "insecureSkipTLSVerify": { - "type": "boolean", - "description": "" - }, - "relistBehavior": { - "type": "string", - "description": "" - }, - "relistDuration": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Duration", - "javaType": "java.lang.String" - }, - "relistRequests": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "url": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "clusterservicebrokerstatus": { - "properties": { - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition" - } - }, - "lastCatalogRetrievalTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "reconciledGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - } - }, - "additionalProperties": true - }, - "clusterserviceclass": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServiceClass", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClassSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClassStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassStatus" - } - }, - "additionalProperties": true - }, - "clusterserviceclasslist": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClass", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClass" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServiceClassList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true - }, - "clusterserviceclassspec": { - "properties": { - "bindable": { - "type": "boolean", - "description": "" - }, - "bindingRetrievable": { - "type": "boolean", - "description": "" - }, - "clusterServiceBrokerName": { - "type": "string", - "description": "" - }, - "description": { - "type": "string", - "description": "" - }, - "externalID": { - "type": "string", - "description": "" - }, - "externalMetadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "externalName": { - "type": "string", - "description": "" - }, - "planUpdatable": { - "type": "boolean", - "description": "" - }, - "requires": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - }, - "tags": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - } - }, - "additionalProperties": true - }, - "clusterserviceclassstatus": { - "properties": { - "removedFromBrokerCatalog": { - "type": "boolean", - "description": "" - } - }, - "additionalProperties": true - }, - "clusterserviceplan": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServicePlan", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlanSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlanStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanStatus" - } - }, - "additionalProperties": true - }, - "clusterserviceplanlist": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlan", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlan" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServicePlanList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true - }, - "clusterserviceplanspec": { - "properties": { - "bindable": { - "type": "boolean", - "description": "" - }, - "clusterServiceBrokerName": { - "type": "string", - "description": "" - }, - "clusterServiceClassRef": { - "$ref": "#/definitions/servicecatalog_ClusterObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference" - }, - "description": { - "type": "string", - "description": "" - }, - "externalID": { - "type": "string", - "description": "" - }, - "externalMetadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "externalName": { - "type": "string", - "description": "" - }, - "free": { - "type": "boolean", - "description": "" - }, - "instanceCreateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "instanceUpdateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "serviceBindingCreateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "serviceBindingCreateResponseSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - } - }, - "additionalProperties": true - }, - "clusterserviceplanstatus": { - "properties": { - "removedFromBrokerCatalog": { - "type": "boolean", - "description": "" - } - }, - "additionalProperties": true - }, - "commonservicebrokerspec": { - "properties": { - "caBundle": { - "type": "string", - "description": "" - }, - "catalogRestrictions": { - "$ref": "#/definitions/servicecatalog_CatalogRestrictions", - "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions" - }, - "insecureSkipTLSVerify": { - "type": "boolean", - "description": "" - }, - "relistBehavior": { - "type": "string", - "description": "" - }, - "relistDuration": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Duration", - "javaType": "java.lang.String" - }, - "relistRequests": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "url": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "commonservicebrokerstatus": { - "properties": { - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition" - } - }, - "lastCatalogRetrievalTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "reconciledGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - } - }, - "additionalProperties": true - }, - "commonserviceclassspec": { - "properties": { - "bindable": { - "type": "boolean", - "description": "" - }, - "bindingRetrievable": { - "type": "boolean", - "description": "" - }, - "description": { - "type": "string", - "description": "" - }, - "externalID": { - "type": "string", - "description": "" - }, - "externalMetadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "externalName": { - "type": "string", - "description": "" - }, - "planUpdatable": { - "type": "boolean", - "description": "" - }, - "requires": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - }, - "tags": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - } - }, - "additionalProperties": true - }, - "commonserviceclassstatus": { - "properties": { - "removedFromBrokerCatalog": { - "type": "boolean", - "description": "" - } - }, - "additionalProperties": true - }, - "commonserviceplanspec": { - "properties": { - "bindable": { - "type": "boolean", - "description": "" - }, - "description": { - "type": "string", - "description": "" - }, - "externalID": { - "type": "string", - "description": "" - }, - "externalMetadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "externalName": { - "type": "string", - "description": "" - }, - "free": { - "type": "boolean", - "description": "" - }, - "instanceCreateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "instanceUpdateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "serviceBindingCreateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "serviceBindingCreateResponseSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - } - }, - "additionalProperties": true - }, - "commonserviceplanstatus": { - "properties": { - "removedFromBrokerCatalog": { - "type": "boolean", - "description": "" - } - }, - "additionalProperties": true - }, - "duration": { - "properties": { - "duration": { - "type": "integer", - "description": "", - "javaType": "Long" - } - }, - "additionalProperties": true - }, - "initializer": { - "properties": { - "name": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "initializers": { - "properties": { - "pending": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer", - "javaType": "io.fabric8.kubernetes.api.model.Initializer" - } - }, - "result": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Status", - "javaType": "Status" - } - }, - "additionalProperties": true - }, - "listmeta": { - "properties": { - "continue": { - "type": "string", - "description": "" - }, - "resourceVersion": { - "type": "string", - "description": "" - }, - "selfLink": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "localobjectreference": { - "properties": { - "name": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "objectmeta": { - "properties": { - "annotations": { - "type": "object", - "description": "", - "additionalProperties": { - "type": "string", - "description": "" - }, - "javaType": "java.util.Map\u003cString,String\u003e" - }, - "clusterName": { - "type": "string", - "description": "" - }, - "creationTimestamp": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "deletionGracePeriodSeconds": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "deletionTimestamp": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "finalizers": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - }, - "generateName": { - "type": "string", - "description": "" - }, - "generation": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "initializers": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers", - "javaType": "io.fabric8.kubernetes.api.model.Initializers" - }, - "labels": { - "type": "object", - "description": "", - "additionalProperties": { - "type": "string", - "description": "" - }, - "javaType": "java.util.Map\u003cString,String\u003e" - }, - "name": { - "type": "string", - "description": "" - }, - "namespace": { - "type": "string", - "description": "", - "maxLength": 253, - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" - }, - "ownerReferences": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference", - "javaType": "io.fabric8.kubernetes.api.model.OwnerReference" - } - }, - "resourceVersion": { - "type": "string", - "description": "" - }, - "selfLink": { - "type": "string", - "description": "" - }, - "uid": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "objectreference": { - "properties": { - "name": { - "type": "string", - "description": "" - }, - "namespace": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "ownerreference": { - "properties": { - "apiVersion": { - "type": "string", - "description": "" - }, - "blockOwnerDeletion": { - "type": "boolean", - "description": "" - }, - "controller": { - "type": "boolean", - "description": "" - }, - "kind": { - "type": "string", - "description": "" - }, - "name": { - "type": "string", - "description": "" - }, - "uid": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "parametersfromsource": { - "properties": { - "secretKeyRef": { - "$ref": "#/definitions/servicecatalog_SecretKeyReference", - "javaType": "io.fabric8.servicecatalog.api.model.SecretKeyReference" - } - }, - "additionalProperties": true - }, - "planreference": { - "properties": { - "clusterServiceClassExternalID": { - "type": "string", - "description": "" - }, - "clusterServiceClassExternalName": { - "type": "string", - "description": "" - }, - "clusterServiceClassName": { - "type": "string", - "description": "" - }, - "clusterServicePlanExternalID": { - "type": "string", - "description": "" - }, - "clusterServicePlanExternalName": { - "type": "string", - "description": "" - }, - "clusterServicePlanName": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "rawextension": { - "properties": { - "raw": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "removekeytransform": { - "properties": { - "key": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "renamekeytransform": { - "properties": { - "from": { - "type": "string", - "description": "" - }, - "to": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "secretkeyreference": { - "properties": { - "key": { - "type": "string", - "description": "" - }, - "name": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "secrettransform": { - "properties": { - "addKey": { - "$ref": "#/definitions/servicecatalog_AddKeyTransform", - "javaType": "io.fabric8.servicecatalog.api.model.AddKeyTransform" - }, - "addKeysFrom": { - "$ref": "#/definitions/servicecatalog_AddKeysFromTransform", - "javaType": "io.fabric8.servicecatalog.api.model.AddKeysFromTransform" - }, - "removeKey": { - "$ref": "#/definitions/servicecatalog_RemoveKeyTransform", - "javaType": "io.fabric8.servicecatalog.api.model.RemoveKeyTransform" - }, - "renameKey": { - "$ref": "#/definitions/servicecatalog_RenameKeyTransform", - "javaType": "io.fabric8.servicecatalog.api.model.RenameKeyTransform" - } - }, - "additionalProperties": true - }, - "servicebinding": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ServiceBinding", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ServiceBindingSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ServiceBindingStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingStatus" - } - }, - "additionalProperties": true - }, - "servicebindingcondition": { - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "message": { - "type": "string", - "description": "" - }, - "reason": { - "type": "string", - "description": "" - }, - "status": { - "type": "string", - "description": "" - }, - "type": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "servicebindinglist": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBinding", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBinding" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ServiceBindingList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true - }, - "servicebindingpropertiesstate": { - "properties": { - "parameterChecksum": { - "type": "string", - "description": "" - }, - "parameters": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "userInfo": { - "$ref": "#/definitions/servicecatalog_UserInfo", - "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" - } - }, - "additionalProperties": true - }, - "servicebindingspec": { - "properties": { - "externalID": { - "type": "string", - "description": "" - }, - "instanceRef": { - "$ref": "#/definitions/servicecatalog_LocalObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" - }, - "parameters": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "parametersFrom": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/servicecatalog_ParametersFromSource", - "javaType": "io.fabric8.servicecatalog.api.model.ParametersFromSource" - } - }, - "secretName": { - "type": "string", - "description": "" - }, - "secretTransforms": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/servicecatalog_SecretTransform", - "javaType": "io.fabric8.servicecatalog.api.model.SecretTransform" - } - }, - "userInfo": { - "$ref": "#/definitions/servicecatalog_UserInfo", - "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" - } - }, - "additionalProperties": true - }, - "servicebindingstatus": { - "properties": { - "asyncOpInProgress": { - "type": "boolean", - "description": "" - }, - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBindingCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingCondition" - } - }, - "currentOperation": { - "type": "string", - "description": "" - }, - "externalProperties": { - "$ref": "#/definitions/servicecatalog_ServiceBindingPropertiesState", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingPropertiesState" - }, - "inProgressProperties": { - "$ref": "#/definitions/servicecatalog_ServiceBindingPropertiesState", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingPropertiesState" - }, - "lastOperation": { - "type": "string", - "description": "" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "orphanMitigationInProgress": { - "type": "boolean", - "description": "" - }, - "reconciledGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "unbindStatus": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "servicebroker": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ServiceBroker", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerStatus" - } - }, - "additionalProperties": true - }, - "servicebrokerauthinfo": { - "properties": { - "basic": { - "$ref": "#/definitions/servicecatalog_BasicAuthConfig", - "javaType": "io.fabric8.servicecatalog.api.model.BasicAuthConfig" - }, - "bearer": { - "$ref": "#/definitions/servicecatalog_BearerTokenAuthConfig", - "javaType": "io.fabric8.servicecatalog.api.model.BearerTokenAuthConfig" - } - }, - "additionalProperties": true - }, - "servicebrokercondition": { - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "message": { - "type": "string", - "description": "" - }, - "reason": { - "type": "string", - "description": "" - }, - "status": { - "type": "string", - "description": "" - }, - "type": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "servicebrokerlist": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBroker", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBroker" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ServiceBrokerList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true - }, - "servicebrokerspec": { - "properties": { - "authInfo": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerAuthInfo", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerAuthInfo" - }, - "caBundle": { - "type": "string", - "description": "" - }, - "catalogRestrictions": { - "$ref": "#/definitions/servicecatalog_CatalogRestrictions", - "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions" - }, - "insecureSkipTLSVerify": { - "type": "boolean", - "description": "" - }, - "relistBehavior": { - "type": "string", - "description": "" - }, - "relistDuration": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Duration", - "javaType": "java.lang.String" - }, - "relistRequests": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "url": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "servicebrokerstatus": { - "properties": { - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition" - } - }, - "lastCatalogRetrievalTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "reconciledGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - } - }, - "additionalProperties": true - }, - "serviceinstance": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ServiceInstance", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ServiceInstanceSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ServiceInstanceStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceStatus" - } - }, - "additionalProperties": true - }, - "serviceinstancecondition": { - "properties": { - "lastTransitionTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "message": { - "type": "string", - "description": "" - }, - "reason": { - "type": "string", - "description": "" - }, - "status": { - "type": "string", - "description": "" - }, - "type": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "serviceinstancelist": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceInstance", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstance" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ServiceInstanceList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true - }, - "serviceinstancepropertiesstate": { - "properties": { - "clusterServicePlanExternalID": { - "type": "string", - "description": "" - }, - "clusterServicePlanExternalName": { - "type": "string", - "description": "" - }, - "parameterChecksum": { - "type": "string", - "description": "" - }, - "parameters": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "userInfo": { - "$ref": "#/definitions/servicecatalog_UserInfo", - "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" - } - }, - "additionalProperties": true - }, - "serviceinstancespec": { - "properties": { - "clusterServiceClassExternalID": { - "type": "string", - "description": "" - }, - "clusterServiceClassExternalName": { - "type": "string", - "description": "" - }, - "clusterServiceClassName": { - "type": "string", - "description": "" - }, - "clusterServiceClassRef": { - "$ref": "#/definitions/servicecatalog_ClusterObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference" - }, - "clusterServicePlanExternalID": { - "type": "string", - "description": "" - }, - "clusterServicePlanExternalName": { - "type": "string", - "description": "" - }, - "clusterServicePlanName": { - "type": "string", - "description": "" - }, - "clusterServicePlanRef": { - "$ref": "#/definitions/servicecatalog_ClusterObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference" - }, - "externalID": { - "type": "string", - "description": "" - }, - "parameters": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "parametersFrom": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/servicecatalog_ParametersFromSource", - "javaType": "io.fabric8.servicecatalog.api.model.ParametersFromSource" - } - }, - "updateRequests": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "userInfo": { - "$ref": "#/definitions/servicecatalog_UserInfo", - "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" - } - }, - "additionalProperties": true - }, - "serviceinstancestatus": { - "properties": { - "asyncOpInProgress": { - "type": "boolean", - "description": "" - }, - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceInstanceCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceCondition" - } - }, - "currentOperation": { - "type": "string", - "description": "" - }, - "dashboardURL": { - "type": "string", - "description": "" - }, - "deprovisionStatus": { - "type": "string", - "description": "" - }, - "externalProperties": { - "$ref": "#/definitions/servicecatalog_ServiceInstancePropertiesState", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstancePropertiesState" - }, - "inProgressProperties": { - "$ref": "#/definitions/servicecatalog_ServiceInstancePropertiesState", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstancePropertiesState" - }, - "lastOperation": { - "type": "string", - "description": "" - }, - "observedGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "orphanMitigationInProgress": { - "type": "boolean", - "description": "" - }, - "provisionStatus": { - "type": "string", - "description": "" - }, - "reconciledGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - } - }, - "additionalProperties": true - }, - "status": { - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "meta/v1", - "required": true - }, - "code": { - "type": "integer", - "description": "" - }, - "details": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails", - "javaType": "StatusDetails" - }, - "kind": { - "type": "string", - "description": "", - "default": "Status", - "required": true - }, - "message": { - "type": "string", - "description": "" - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - }, - "reason": { - "type": "string", - "description": "" - }, - "status": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "statuscause": { - "properties": { - "field": { - "type": "string", - "description": "" - }, - "message": { - "type": "string", - "description": "" - }, - "reason": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "statusdetails": { - "properties": { - "causes": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause", - "javaType": "io.fabric8.kubernetes.api.model.StatusCause" - } - }, - "group": { - "type": "string", - "description": "" - }, - "kind": { - "type": "string", - "description": "" - }, - "name": { - "type": "string", - "description": "" - }, - "retryAfterSeconds": { - "type": "integer", - "description": "" - }, - "uid": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "time": { - "properties": { - "time": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "typemeta": { - "properties": { - "apiVersion": { - "type": "string", - "description": "" - }, - "kind": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - }, - "userinfo": { - "properties": { - "extra": { - "type": "object", - "description": "", - "additionalProperties": { - "type": "array", - "description": "", - "items": { - "type": "string", - "description": "" - } - }, - "javaType": "java.util.Map\u003cString,java.util.ArrayList\u003cString\u003e\u003e" - }, - "groups": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - }, - "uid": { - "type": "string", - "description": "" - }, - "username": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true - } - } -} diff --git a/extensions/service-catalog/model/servicecatalog-model/src/main/java/io/fabric8/servicecatalog/api/model/Constants.java b/extensions/service-catalog/model/src/main/java/io/fabric8/servicecatalog/api/model/Constants.java similarity index 100% rename from extensions/service-catalog/model/servicecatalog-model/src/main/java/io/fabric8/servicecatalog/api/model/Constants.java rename to extensions/service-catalog/model/src/main/java/io/fabric8/servicecatalog/api/model/Constants.java diff --git a/extensions/service-catalog/model/servicecatalog-model/src/main/java/io/fabric8/servicecatalog/api/model/ServiceCatalogResourceMappingProvider.java b/extensions/service-catalog/model/src/main/java/io/fabric8/servicecatalog/api/model/ServiceCatalogResourceMappingProvider.java similarity index 50% rename from extensions/service-catalog/model/servicecatalog-model/src/main/java/io/fabric8/servicecatalog/api/model/ServiceCatalogResourceMappingProvider.java rename to extensions/service-catalog/model/src/main/java/io/fabric8/servicecatalog/api/model/ServiceCatalogResourceMappingProvider.java index 889e3fc128e..1dc3b0baa25 100644 --- a/extensions/service-catalog/model/servicecatalog-model/src/main/java/io/fabric8/servicecatalog/api/model/ServiceCatalogResourceMappingProvider.java +++ b/extensions/service-catalog/model/src/main/java/io/fabric8/servicecatalog/api/model/ServiceCatalogResourceMappingProvider.java @@ -24,18 +24,20 @@ public class ServiceCatalogResourceMappingProvider implements KubernetesResourceMappingProvider { - public final Map> mappings = new HashMap<>(); + public final Map> mappings = new HashMap<>(); - public ServiceCatalogResourceMappingProvider () { - mappings.put("servicecatalog.k8s.io/v1beta1#ClusterServiceBroker", ClusterServiceBroker.class); - mappings.put("servicecatalog.k8s.io/v1beta1#ClusterServiceClass", ClusterServiceClass.class); - mappings.put("servicecatalog.k8s.io/v1beta1#ClusterServicePlan", ClusterServicePlan.class); - mappings.put("servicecatalog.k8s.io/v1beta1#ServiceBroker", ServiceBroker.class); - mappings.put("servicecatalog.k8s.io/v1beta1#ServiceBinding", ServiceBinding.class); - mappings.put("servicecatalog.k8s.io/v1beta1#ServiceInstance", ServiceInstance.class); - } - - public Map> getMappings() { - return mappings; - } + public ServiceCatalogResourceMappingProvider() { + mappings.put("servicecatalog.k8s.io/v1beta1#ClusterServiceBroker", ClusterServiceBroker.class); + mappings.put("servicecatalog.k8s.io/v1beta1#ClusterServiceClass", ClusterServiceClass.class); + mappings.put("servicecatalog.k8s.io/v1beta1#ClusterServicePlan", ClusterServicePlan.class); + mappings.put("servicecatalog.k8s.io/v1beta1#ServiceBroker", ServiceBroker.class); + mappings.put("servicecatalog.k8s.io/v1beta1#ServiceBinding", ServiceBinding.class); + mappings.put("servicecatalog.k8s.io/v1beta1#ServiceInstance", ServiceInstance.class); + mappings.put("servicecatalog.k8s.io/v1beta1#ServiceClass", ServiceClass.class); + mappings.put("servicecatalog.k8s.io/v1beta1#ServicePlan", ServicePlan.class); + } + + public Map> getMappings() { + return mappings; + } } diff --git a/extensions/service-catalog/model/servicecatalog-model/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider b/extensions/service-catalog/model/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider similarity index 100% rename from extensions/service-catalog/model/servicecatalog-model/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider rename to extensions/service-catalog/model/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider diff --git a/extensions/service-catalog/model/servicecatalog-model/src/main/resources/schema/servicecatalog-schema.json b/extensions/service-catalog/model/src/main/resources/schema/servicecatalog-schema.json similarity index 53% rename from extensions/service-catalog/model/servicecatalog-model/src/main/resources/schema/servicecatalog-schema.json rename to extensions/service-catalog/model/src/main/resources/schema/servicecatalog-schema.json index 76d77982899..1d05e25228a 100644 --- a/extensions/service-catalog/model/servicecatalog-model/src/main/resources/schema/servicecatalog-schema.json +++ b/extensions/service-catalog/model/src/main/resources/schema/servicecatalog-schema.json @@ -1,384 +1,15 @@ { - "id": "http://snowdrop.me/service-catalog/v1/Schema#", + "id": "http://fabric8.io/knative/ServiceCatalogSchema#", "$schema": "http://json-schema.org/schema#", "definitions": { - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Duration": { - "type": "object", - "description": "", - "properties": { - "duration": { - "type": "integer", - "description": "", - "javaType": "Long" - } - }, - "additionalProperties": true, - "javaType": "java.lang.String", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer": { - "type": "object", - "description": "", - "properties": { - "name": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.Initializer", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers": { - "type": "object", - "description": "", - "properties": { - "pending": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Initializer", - "javaType": "io.fabric8.kubernetes.api.model.Initializer" - } - }, - "result": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Status", - "javaType": "Status" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.Initializers", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta": { - "type": "object", - "description": "", - "properties": { - "continue": { - "type": "string", - "description": "" - }, - "resourceVersion": { - "type": "string", - "description": "" - }, - "selfLink": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ListMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta": { - "type": "object", - "description": "", - "properties": { - "annotations": { - "type": "object", - "description": "", - "additionalProperties": { - "type": "string", - "description": "" - }, - "javaType": "java.util.Map\u003cString,String\u003e" - }, - "clusterName": { - "type": "string", - "description": "" - }, - "creationTimestamp": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "deletionGracePeriodSeconds": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "deletionTimestamp": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "finalizers": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - }, - "generateName": { - "type": "string", - "description": "" - }, - "generation": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "initializers": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Initializers", - "javaType": "io.fabric8.kubernetes.api.model.Initializers" - }, - "labels": { - "type": "object", - "description": "", - "additionalProperties": { - "type": "string", - "description": "" - }, - "javaType": "java.util.Map\u003cString,String\u003e" - }, - "name": { - "type": "string", - "description": "" - }, - "namespace": { - "type": "string", - "description": "", - "maxLength": 253, - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" - }, - "ownerReferences": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference", - "javaType": "io.fabric8.kubernetes.api.model.OwnerReference" - } - }, - "resourceVersion": { - "type": "string", - "description": "" - }, - "selfLink": { - "type": "string", - "description": "" - }, - "uid": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_OwnerReference": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "" - }, - "blockOwnerDeletion": { - "type": "boolean", - "description": "" - }, - "controller": { - "type": "boolean", - "description": "" - }, - "kind": { - "type": "string", - "description": "" - }, - "name": { - "type": "string", - "description": "" - }, - "uid": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.OwnerReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Status": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "meta/v1", - "required": true - }, - "code": { - "type": "integer", - "description": "" - }, - "details": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails", - "javaType": "StatusDetails" - }, - "kind": { - "type": "string", - "description": "", - "default": "Status", - "required": true - }, - "message": { - "type": "string", - "description": "" - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - }, - "reason": { - "type": "string", - "description": "" - }, - "status": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "Status", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause": { - "type": "object", - "description": "", - "properties": { - "field": { - "type": "string", - "description": "" - }, - "message": { - "type": "string", - "description": "" - }, - "reason": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.StatusCause", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_StatusDetails": { - "type": "object", - "description": "", - "properties": { - "causes": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_StatusCause", - "javaType": "io.fabric8.kubernetes.api.model.StatusCause" - } - }, - "group": { - "type": "string", - "description": "" - }, - "kind": { - "type": "string", - "description": "" - }, - "name": { - "type": "string", - "description": "" - }, - "retryAfterSeconds": { - "type": "integer", - "description": "" - }, - "uid": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "StatusDetails", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time": { - "type": "object", - "description": "", - "properties": { - "time": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "java.lang.String", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_TypeMeta": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "" - }, - "kind": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.kubernetes.api.model.TypeMeta", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension": { - "type": "object", - "description": "", - "properties": { - "raw": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "java.util.Map\u003cString, Object\u003e", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_AddKeyTransform": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_AddKeyTransform": { "type": "object", "description": "", "properties": { "jsonPathExpression": { "type": "string", - "description": "" + "description": "", + "javaType": "String" }, "key": { "type": "string", @@ -386,412 +17,65 @@ }, "stringValue": { "type": "string", - "description": "" + "description": "", + "javaType": "String" }, "value": { - "type": "string", - "description": "" + "javaType": "java.lang.String" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.AddKeyTransform", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_AddKeysFromTransform": { - "type": "object", - "description": "", - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_ObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.AddKeysFromTransform", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_BasicAuthConfig": { - "type": "object", - "description": "", - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_LocalObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.BasicAuthConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_BearerTokenAuthConfig": { - "type": "object", - "description": "", - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_LocalObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.BearerTokenAuthConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_CatalogRestrictions": { - "type": "object", - "description": "", - "properties": { - "serviceClass": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - }, - "servicePlan": { - "type": "array", - "description": "", - "javaOmitEmpty": true, - "items": { - "type": "string", - "description": "" - } - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterBasicAuthConfig": { - "type": "object", - "description": "", - "properties": { - "secretRef": { - "$ref": "#/definitions/servicecatalog_ObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterBasicAuthConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterBearerTokenAuthConfig": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_AddKeysFromTransform": { "type": "object", "description": "", "properties": { "secretRef": { - "$ref": "#/definitions/servicecatalog_ObjectReference", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ObjectReference", "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterBearerTokenAuthConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterObjectReference": { - "type": "object", - "description": "", - "properties": { - "name": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterServiceBroker": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServiceBroker", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBrokerSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBrokerStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerStatus" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBroker", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "servicecatalog_ClusterServiceBrokerAuthInfo": { - "type": "object", - "description": "", - "properties": { - "basic": { - "$ref": "#/definitions/servicecatalog_ClusterBasicAuthConfig", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterBasicAuthConfig" - }, - "bearer": { - "$ref": "#/definitions/servicecatalog_ClusterBearerTokenAuthConfig", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterBearerTokenAuthConfig" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerAuthInfo", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterServiceBrokerList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBroker", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBroker" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServiceBrokerList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList" - ] - }, - "servicecatalog_ClusterServiceBrokerSpec": { - "type": "object", - "description": "", - "properties": { - "authInfo": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBrokerAuthInfo", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerAuthInfo" - }, - "caBundle": { - "type": "string", - "description": "" - }, - "catalogRestrictions": { - "$ref": "#/definitions/servicecatalog_CatalogRestrictions", - "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions" - }, - "insecureSkipTLSVerify": { - "type": "boolean", - "description": "" - }, - "relistBehavior": { - "type": "string", - "description": "" - }, - "relistDuration": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Duration", - "javaType": "java.lang.String" - }, - "relistRequests": { - "type": "integer", - "description": "", - "javaType": "Long" - }, - "url": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_ClusterServiceBrokerStatus": { - "type": "object", - "description": "", - "properties": { - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition" - } - }, - "lastCatalogRetrievalTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "reconciledGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerStatus", + "javaType": "io.fabric8.servicecatalog.api.model.AddKeysFromTransform", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ClusterServiceClass": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_BasicAuthConfig": { "type": "object", "description": "", "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServiceClass", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClassSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassSpec" - }, - "status": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClassStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassStatus" + "secretRef": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_LocalObjectReference", + "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClass", + "javaType": "io.fabric8.servicecatalog.api.model.BasicAuthConfig", "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" + "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ClusterServiceClassList": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_BearerTokenAuthConfig": { "type": "object", "description": "", "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "servicecatalog.k8s.io/v1beta1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClass", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClass" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterServiceClassList", - "required": true - }, - "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" + "secretRef": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_LocalObjectReference", + "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassList", + "javaType": "io.fabric8.servicecatalog.api.model.BearerTokenAuthConfig", "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList" + "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ClusterServiceClassSpec": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_CatalogRestrictions": { "type": "object", "description": "", "properties": { - "bindable": { - "type": "boolean", - "description": "" - }, - "bindingRetrievable": { - "type": "boolean", - "description": "" - }, - "clusterServiceBrokerName": { - "type": "string", - "description": "" - }, - "description": { - "type": "string", - "description": "" - }, - "externalID": { - "type": "string", - "description": "" - }, - "externalMetadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "externalName": { - "type": "string", - "description": "" - }, - "planUpdatable": { - "type": "boolean", - "description": "" - }, - "requires": { + "serviceClass": { "type": "array", "description": "", "javaOmitEmpty": true, @@ -800,7 +84,7 @@ "description": "" } }, - "tags": { + "servicePlan": { "type": "array", "description": "", "javaOmitEmpty": true, @@ -810,28 +94,54 @@ } } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassSpec", + "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ClusterServiceClassStatus": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterBasicAuthConfig": { "type": "object", "description": "", "properties": { - "removedFromBrokerCatalog": { - "type": "boolean", + "secretRef": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ObjectReference", + "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ClusterBasicAuthConfig", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterBearerTokenAuthConfig": { + "type": "object", + "description": "", + "properties": { + "secretRef": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ObjectReference", + "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ClusterBearerTokenAuthConfig", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterObjectReference": { + "type": "object", + "description": "", + "properties": { + "name": { + "type": "string", "description": "" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ClusterServicePlan": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBroker": { "type": "object", "description": "", "properties": { @@ -844,29 +154,45 @@ "kind": { "type": "string", "description": "", - "default": "ClusterServicePlan", + "default": "ClusterServiceBroker", "required": true }, "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlanSpec", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanSpec" + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerSpec" }, "status": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlanStatus", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanStatus" + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerStatus" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlan", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBroker", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.HasMetadata" ] }, - "servicecatalog_ClusterServicePlanList": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerAuthInfo": { + "type": "object", + "description": "", + "properties": { + "basic": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterBasicAuthConfig", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterBasicAuthConfig" + }, + "bearer": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterBearerTokenAuthConfig", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterBearerTokenAuthConfig" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerAuthInfo", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerList": { "type": "object", "description": "", "properties": { @@ -880,175 +206,164 @@ "type": "array", "description": "", "items": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlan", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlan" + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBroker", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBroker" } }, "kind": { "type": "string", "description": "", - "default": "ClusterServicePlanList", + "default": "ClusterServiceBrokerList", "required": true }, "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", "javaType": "io.fabric8.kubernetes.api.model.ListMeta" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanList", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerList", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList" + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.servicecatalog.api.model.ClusterServiceBroker\u003e" ] }, - "servicecatalog_ClusterServicePlanSpec": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerSpec": { "type": "object", "description": "", "properties": { - "bindable": { - "type": "boolean", - "description": "" + "authInfo": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerAuthInfo", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerAuthInfo" }, - "clusterServiceBrokerName": { - "type": "string", - "description": "" + "caBundle": { + "javaType": "java.lang.String" }, - "clusterServiceClassRef": { - "$ref": "#/definitions/servicecatalog_ClusterObjectReference", - "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference" + "catalogRestrictions": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_CatalogRestrictions", + "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions" }, - "description": { - "type": "string", + "insecureSkipTLSVerify": { + "type": "boolean", "description": "" }, - "externalID": { + "relistBehavior": { "type": "string", "description": "" }, - "externalMetadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" + "relistDuration": { + "javaType": "io.fabric8.kubernetes.api.model.Duration" }, - "externalName": { - "type": "string", - "description": "" + "relistRequests": { + "type": "integer", + "description": "", + "javaType": "Long" }, - "free": { - "type": "boolean", + "url": { + "type": "string", "description": "" - }, - "instanceCreateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "instanceUpdateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "serviceBindingCreateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" - }, - "serviceBindingCreateResponseSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerSpec", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ClusterServicePlanStatus": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerStatus": { "type": "object", "description": "", "properties": { - "removedFromBrokerCatalog": { - "type": "boolean", - "description": "" + "conditions": { + "type": "array", + "description": "", + "items": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerCondition", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition" + } + }, + "lastCatalogRetrievalTime": { + "javaType": "java.lang.String" + }, + "operationStartTime": { + "javaType": "java.lang.String" + }, + "reconciledGeneration": { + "type": "integer", + "description": "", + "javaType": "Long" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerStatus", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_CommonServiceBrokerSpec": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClass": { "type": "object", "description": "", "properties": { - "caBundle": { + "apiVersion": { "type": "string", - "description": "" - }, - "catalogRestrictions": { - "$ref": "#/definitions/servicecatalog_CatalogRestrictions", - "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions" - }, - "insecureSkipTLSVerify": { - "type": "boolean", - "description": "" + "description": "", + "default": "servicecatalog.k8s.io/v1beta1", + "required": true }, - "relistBehavior": { + "kind": { "type": "string", - "description": "" + "description": "", + "default": "ClusterServiceClass", + "required": true }, - "relistDuration": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Duration", - "javaType": "java.lang.String" + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, - "relistRequests": { - "type": "integer", - "description": "", - "javaType": "Long" + "spec": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClassSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassSpec" }, - "url": { - "type": "string", - "description": "" + "status": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClassStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassStatus" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CommonServiceBrokerSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClass", "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" + "io.fabric8.kubernetes.api.model.HasMetadata" ] }, - "servicecatalog_CommonServiceBrokerStatus": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClassList": { "type": "object", "description": "", "properties": { - "conditions": { + "apiVersion": { + "type": "string", + "description": "", + "default": "servicecatalog.k8s.io/v1beta1", + "required": true + }, + "items": { "type": "array", "description": "", "items": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition" + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClass", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClass" } }, - "lastCatalogRetrievalTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "reconciledGeneration": { - "type": "integer", + "kind": { + "type": "string", "description": "", - "javaType": "Long" + "default": "ClusterServiceClassList", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ListMeta" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CommonServiceBrokerStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassList", "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.servicecatalog.api.model.ClusterServiceClass\u003e" ] }, - "servicecatalog_CommonServiceClassSpec": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClassSpec": { "type": "object", "description": "", "properties": { @@ -1060,6 +375,13 @@ "type": "boolean", "description": "" }, + "clusterServiceBrokerName": { + "type": "string", + "description": "" + }, + "defaultProvisionParameters": { + "javaType": "Map\u003cString, Object\u003e" + }, "description": { "type": "string", "description": "" @@ -1069,8 +391,7 @@ "description": "" }, "externalMetadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" + "javaType": "Map\u003cString, Object\u003e" }, "externalName": { "type": "string", @@ -1099,13 +420,12 @@ } } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CommonServiceClassSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassSpec", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_CommonServiceClassStatus": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClassStatus": { "type": "object", "description": "", "properties": { @@ -1114,20 +434,98 @@ "description": "" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CommonServiceClassStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassStatus", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_CommonServicePlanSpec": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlan": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "servicecatalog.k8s.io/v1beta1", + "required": true + }, + "kind": { + "type": "string", + "description": "", + "default": "ClusterServicePlan", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlanSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanSpec" + }, + "status": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlanStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanStatus" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlan", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlanList": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "servicecatalog.k8s.io/v1beta1", + "required": true + }, + "items": { + "type": "array", + "description": "", + "items": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlan", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlan" + } + }, + "kind": { + "type": "string", + "description": "", + "default": "ClusterServicePlanList", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.servicecatalog.api.model.ClusterServicePlan\u003e" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlanSpec": { "type": "object", "description": "", "properties": { "bindable": { "type": "boolean", + "description": "", + "javaType": "Boolean" + }, + "clusterServiceBrokerName": { + "type": "string", "description": "" }, + "clusterServiceClassRef": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterObjectReference", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference" + }, + "defaultProvisionParameters": { + "javaType": "Map\u003cString, Object\u003e" + }, "description": { "type": "string", "description": "" @@ -1137,8 +535,7 @@ "description": "" }, "externalMetadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" + "javaType": "Map\u003cString, Object\u003e" }, "externalName": { "type": "string", @@ -1149,29 +546,24 @@ "description": "" }, "instanceCreateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" + "javaType": "Map\u003cString, Object\u003e" }, "instanceUpdateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" + "javaType": "Map\u003cString, Object\u003e" }, "serviceBindingCreateParameterSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" + "javaType": "Map\u003cString, Object\u003e" }, "serviceBindingCreateResponseSchema": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" + "javaType": "Map\u003cString, Object\u003e" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CommonServicePlanSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanSpec", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_CommonServicePlanStatus": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlanStatus": { "type": "object", "description": "", "properties": { @@ -1180,13 +572,12 @@ "description": "" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.CommonServicePlanStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanStatus", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_LocalObjectReference": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_LocalObjectReference": { "type": "object", "description": "", "properties": { @@ -1195,13 +586,12 @@ "description": "" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ObjectReference": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ObjectReference": { "type": "object", "description": "", "properties": { @@ -1214,63 +604,26 @@ "description": "" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ParametersFromSource": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ParametersFromSource": { "type": "object", "description": "", "properties": { "secretKeyRef": { - "$ref": "#/definitions/servicecatalog_SecretKeyReference", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_SecretKeyReference", "javaType": "io.fabric8.servicecatalog.api.model.SecretKeyReference" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ParametersFromSource", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_PlanReference": { - "type": "object", - "description": "", - "properties": { - "clusterServiceClassExternalID": { - "type": "string", - "description": "" - }, - "clusterServiceClassExternalName": { - "type": "string", - "description": "" - }, - "clusterServiceClassName": { - "type": "string", - "description": "" - }, - "clusterServicePlanExternalID": { - "type": "string", - "description": "" - }, - "clusterServicePlanExternalName": { - "type": "string", - "description": "" - }, - "clusterServicePlanName": { - "type": "string", - "description": "" - } - }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.PlanReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "servicecatalog_RemoveKeyTransform": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_RemoveKeyTransform": { "type": "object", "description": "", "properties": { @@ -1279,13 +632,12 @@ "description": "" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.RemoveKeyTransform", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_RenameKeyTransform": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_RenameKeyTransform": { "type": "object", "description": "", "properties": { @@ -1298,13 +650,12 @@ "description": "" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.RenameKeyTransform", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_SecretKeyReference": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_SecretKeyReference": { "type": "object", "description": "", "properties": { @@ -1317,40 +668,38 @@ "description": "" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.SecretKeyReference", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_SecretTransform": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_SecretTransform": { "type": "object", "description": "", "properties": { "addKey": { - "$ref": "#/definitions/servicecatalog_AddKeyTransform", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_AddKeyTransform", "javaType": "io.fabric8.servicecatalog.api.model.AddKeyTransform" }, "addKeysFrom": { - "$ref": "#/definitions/servicecatalog_AddKeysFromTransform", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_AddKeysFromTransform", "javaType": "io.fabric8.servicecatalog.api.model.AddKeysFromTransform" }, "removeKey": { - "$ref": "#/definitions/servicecatalog_RemoveKeyTransform", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_RemoveKeyTransform", "javaType": "io.fabric8.servicecatalog.api.model.RemoveKeyTransform" }, "renameKey": { - "$ref": "#/definitions/servicecatalog_RenameKeyTransform", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_RenameKeyTransform", "javaType": "io.fabric8.servicecatalog.api.model.RenameKeyTransform" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.SecretTransform", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ServiceBinding": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBinding": { "type": "object", "description": "", "properties": { @@ -1367,30 +716,28 @@ "required": true }, "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/servicecatalog_ServiceBindingSpec", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingSpec", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingSpec" }, "status": { - "$ref": "#/definitions/servicecatalog_ServiceBindingStatus", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingStatus", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingStatus" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceBinding", "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" + "io.fabric8.kubernetes.api.model.HasMetadata", + "io.fabric8.kubernetes.api.model.Namespaced" ] }, - "servicecatalog_ServiceBindingCondition": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingCondition": { "type": "object", "description": "", "properties": { "lastTransitionTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", "javaType": "java.lang.String" }, "message": { @@ -1410,13 +757,12 @@ "description": "" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingCondition", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ServiceBindingList": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingList": { "type": "object", "description": "", "properties": { @@ -1430,7 +776,7 @@ "type": "array", "description": "", "items": { - "$ref": "#/definitions/servicecatalog_ServiceBinding", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBinding", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBinding" } }, @@ -1441,18 +787,16 @@ "required": true }, "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", "javaType": "io.fabric8.kubernetes.api.model.ListMeta" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingList", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList" + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.servicecatalog.api.model.ServiceBinding\u003e" ] }, - "servicecatalog_ServiceBindingPropertiesState": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingPropertiesState": { "type": "object", "description": "", "properties": { @@ -1461,21 +805,19 @@ "description": "" }, "parameters": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" + "javaType": "Map\u003cString, Object\u003e" }, "userInfo": { - "$ref": "#/definitions/servicecatalog_UserInfo", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_UserInfo", "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingPropertiesState", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ServiceBindingSpec": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingSpec": { "type": "object", "description": "", "properties": { @@ -1484,19 +826,18 @@ "description": "" }, "instanceRef": { - "$ref": "#/definitions/servicecatalog_LocalObjectReference", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_LocalObjectReference", "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" }, "parameters": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" + "javaType": "Map\u003cString, Object\u003e" }, "parametersFrom": { "type": "array", "description": "", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/servicecatalog_ParametersFromSource", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ParametersFromSource", "javaType": "io.fabric8.servicecatalog.api.model.ParametersFromSource" } }, @@ -1509,22 +850,21 @@ "description": "", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/servicecatalog_SecretTransform", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_SecretTransform", "javaType": "io.fabric8.servicecatalog.api.model.SecretTransform" } }, "userInfo": { - "$ref": "#/definitions/servicecatalog_UserInfo", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_UserInfo", "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingSpec", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ServiceBindingStatus": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingStatus": { "type": "object", "description": "", "properties": { @@ -1536,7 +876,7 @@ "type": "array", "description": "", "items": { - "$ref": "#/definitions/servicecatalog_ServiceBindingCondition", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingCondition", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingCondition" } }, @@ -1545,19 +885,19 @@ "description": "" }, "externalProperties": { - "$ref": "#/definitions/servicecatalog_ServiceBindingPropertiesState", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingPropertiesState", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingPropertiesState" }, "inProgressProperties": { - "$ref": "#/definitions/servicecatalog_ServiceBindingPropertiesState", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingPropertiesState", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingPropertiesState" }, "lastOperation": { "type": "string", - "description": "" + "description": "", + "javaType": "String" }, "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", "javaType": "java.lang.String" }, "orphanMitigationInProgress": { @@ -1574,13 +914,12 @@ "description": "" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingStatus", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ServiceBroker": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBroker": { "type": "object", "description": "", "properties": { @@ -1597,49 +936,46 @@ "required": true }, "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerSpec", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerSpec", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerSpec" }, "status": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerStatus", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerStatus", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerStatus" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceBroker", "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" + "io.fabric8.kubernetes.api.model.HasMetadata", + "io.fabric8.kubernetes.api.model.Namespaced" ] }, - "servicecatalog_ServiceBrokerAuthInfo": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerAuthInfo": { "type": "object", "description": "", "properties": { "basic": { - "$ref": "#/definitions/servicecatalog_BasicAuthConfig", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_BasicAuthConfig", "javaType": "io.fabric8.servicecatalog.api.model.BasicAuthConfig" }, "bearer": { - "$ref": "#/definitions/servicecatalog_BearerTokenAuthConfig", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_BearerTokenAuthConfig", "javaType": "io.fabric8.servicecatalog.api.model.BearerTokenAuthConfig" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerAuthInfo", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ServiceBrokerCondition": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerCondition": { "type": "object", "description": "", "properties": { "lastTransitionTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", "javaType": "java.lang.String" }, "message": { @@ -1659,13 +995,12 @@ "description": "" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ServiceBrokerList": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerList": { "type": "object", "description": "", "properties": { @@ -1679,7 +1014,7 @@ "type": "array", "description": "", "items": { - "$ref": "#/definitions/servicecatalog_ServiceBroker", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBroker", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBroker" } }, @@ -1690,94 +1025,230 @@ "required": true }, "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", "javaType": "io.fabric8.kubernetes.api.model.ListMeta" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerList", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList" + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.servicecatalog.api.model.ServiceBroker\u003e" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerSpec": { + "type": "object", + "description": "", + "properties": { + "authInfo": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerAuthInfo", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerAuthInfo" + }, + "caBundle": { + "javaType": "java.lang.String" + }, + "catalogRestrictions": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_CatalogRestrictions", + "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions" + }, + "insecureSkipTLSVerify": { + "type": "boolean", + "description": "" + }, + "relistBehavior": { + "type": "string", + "description": "" + }, + "relistDuration": { + "javaType": "io.fabric8.kubernetes.api.model.Duration" + }, + "relistRequests": { + "type": "integer", + "description": "", + "javaType": "Long" + }, + "url": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerSpec", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerStatus": { + "type": "object", + "description": "", + "properties": { + "conditions": { + "type": "array", + "description": "", + "items": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerCondition", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition" + } + }, + "lastCatalogRetrievalTime": { + "javaType": "java.lang.String" + }, + "operationStartTime": { + "javaType": "java.lang.String" + }, + "reconciledGeneration": { + "type": "integer", + "description": "", + "javaType": "Long" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClass": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "servicecatalog.k8s.io/v1beta1", + "required": true + }, + "kind": { + "type": "string", + "description": "", + "default": "ServiceClass", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClassSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceClassSpec" + }, + "status": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClassStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceClassStatus" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ServiceClass", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata", + "io.fabric8.kubernetes.api.model.Namespaced" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClassList": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "servicecatalog.k8s.io/v1beta1", + "required": true + }, + "items": { + "type": "array", + "description": "", + "items": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClass", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceClass" + } + }, + "kind": { + "type": "string", + "description": "", + "default": "ServiceClassList", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ServiceClassList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.servicecatalog.api.model.ServiceClass\u003e" ] }, - "servicecatalog_ServiceBrokerSpec": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClassSpec": { "type": "object", "description": "", "properties": { - "authInfo": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerAuthInfo", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerAuthInfo" + "bindable": { + "type": "boolean", + "description": "" }, - "caBundle": { - "type": "string", + "bindingRetrievable": { + "type": "boolean", "description": "" }, - "catalogRestrictions": { - "$ref": "#/definitions/servicecatalog_CatalogRestrictions", - "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions" + "defaultProvisionParameters": { + "javaType": "Map\u003cString, Object\u003e" }, - "insecureSkipTLSVerify": { - "type": "boolean", + "description": { + "type": "string", "description": "" }, - "relistBehavior": { + "externalID": { "type": "string", "description": "" }, - "relistDuration": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Duration", - "javaType": "java.lang.String" + "externalMetadata": { + "javaType": "Map\u003cString, Object\u003e" }, - "relistRequests": { - "type": "integer", + "externalName": { + "type": "string", + "description": "" + }, + "planUpdatable": { + "type": "boolean", + "description": "" + }, + "requires": { + "type": "array", "description": "", - "javaType": "Long" + "javaOmitEmpty": true, + "items": { + "type": "string", + "description": "" + } }, - "url": { + "serviceBrokerName": { "type": "string", "description": "" + }, + "tags": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "type": "string", + "description": "" + } } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceClassSpec", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ServiceBrokerStatus": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClassStatus": { "type": "object", "description": "", "properties": { - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerCondition", - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition" - } - }, - "lastCatalogRetrievalTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", - "javaType": "java.lang.String" - }, - "reconciledGeneration": { - "type": "integer", - "description": "", - "javaType": "Long" + "removedFromBrokerCatalog": { + "type": "boolean", + "description": "" } }, - "additionalProperties": true, - "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceClassStatus", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ServiceInstance": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstance": { "type": "object", "description": "", "properties": { @@ -1794,30 +1265,28 @@ "required": true }, "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ObjectMeta", "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" }, "spec": { - "$ref": "#/definitions/servicecatalog_ServiceInstanceSpec", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceSpec", "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceSpec" }, "status": { - "$ref": "#/definitions/servicecatalog_ServiceInstanceStatus", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceStatus", "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceStatus" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstance", "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" + "io.fabric8.kubernetes.api.model.HasMetadata", + "io.fabric8.kubernetes.api.model.Namespaced" ] }, - "servicecatalog_ServiceInstanceCondition": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceCondition": { "type": "object", "description": "", "properties": { "lastTransitionTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", "javaType": "java.lang.String" }, "message": { @@ -1837,13 +1306,12 @@ "description": "" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceCondition", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ServiceInstanceList": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceList": { "type": "object", "description": "", "properties": { @@ -1857,7 +1325,7 @@ "type": "array", "description": "", "items": { - "$ref": "#/definitions/servicecatalog_ServiceInstance", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstance", "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstance" } }, @@ -1868,18 +1336,16 @@ "required": true }, "metadata": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_ListMeta", "javaType": "io.fabric8.kubernetes.api.model.ListMeta" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceList", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList" + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.servicecatalog.api.model.ServiceInstance\u003e" ] }, - "servicecatalog_ServiceInstancePropertiesState": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstancePropertiesState": { "type": "object", "description": "", "properties": { @@ -1896,21 +1362,27 @@ "description": "" }, "parameters": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" + "javaType": "Map\u003cString, Object\u003e" + }, + "servicePlanExternalID": { + "type": "string", + "description": "" + }, + "servicePlanExternalName": { + "type": "string", + "description": "" }, "userInfo": { - "$ref": "#/definitions/servicecatalog_UserInfo", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_UserInfo", "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstancePropertiesState", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ServiceInstanceSpec": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceSpec": { "type": "object", "description": "", "properties": { @@ -1927,7 +1399,7 @@ "description": "" }, "clusterServiceClassRef": { - "$ref": "#/definitions/servicecatalog_ClusterObjectReference", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterObjectReference", "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference" }, "clusterServicePlanExternalID": { @@ -1943,7 +1415,7 @@ "description": "" }, "clusterServicePlanRef": { - "$ref": "#/definitions/servicecatalog_ClusterObjectReference", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterObjectReference", "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference" }, "externalID": { @@ -1951,35 +1423,65 @@ "description": "" }, "parameters": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_runtime_RawExtension", - "javaType": "java.util.Map\u003cString, Object\u003e" + "javaType": "Map\u003cString, Object\u003e" }, "parametersFrom": { "type": "array", "description": "", "javaOmitEmpty": true, "items": { - "$ref": "#/definitions/servicecatalog_ParametersFromSource", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ParametersFromSource", "javaType": "io.fabric8.servicecatalog.api.model.ParametersFromSource" } }, + "serviceClassExternalID": { + "type": "string", + "description": "" + }, + "serviceClassExternalName": { + "type": "string", + "description": "" + }, + "serviceClassName": { + "type": "string", + "description": "" + }, + "serviceClassRef": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_LocalObjectReference", + "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" + }, + "servicePlanExternalID": { + "type": "string", + "description": "" + }, + "servicePlanExternalName": { + "type": "string", + "description": "" + }, + "servicePlanName": { + "type": "string", + "description": "" + }, + "servicePlanRef": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_LocalObjectReference", + "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" + }, "updateRequests": { "type": "integer", "description": "", "javaType": "Long" }, "userInfo": { - "$ref": "#/definitions/servicecatalog_UserInfo", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_UserInfo", "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceSpec", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_ServiceInstanceStatus": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceStatus": { "type": "object", "description": "", "properties": { @@ -1991,7 +1493,7 @@ "type": "array", "description": "", "items": { - "$ref": "#/definitions/servicecatalog_ServiceInstanceCondition", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceCondition", "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceCondition" } }, @@ -2001,23 +1503,28 @@ }, "dashboardURL": { "type": "string", - "description": "" + "description": "", + "javaType": "String" + }, + "defaultProvisionParameters": { + "javaType": "Map\u003cString, Object\u003e" }, "deprovisionStatus": { "type": "string", "description": "" }, "externalProperties": { - "$ref": "#/definitions/servicecatalog_ServiceInstancePropertiesState", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstancePropertiesState", "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstancePropertiesState" }, "inProgressProperties": { - "$ref": "#/definitions/servicecatalog_ServiceInstancePropertiesState", + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstancePropertiesState", "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstancePropertiesState" }, "lastOperation": { "type": "string", - "description": "" + "description": "", + "javaType": "String" }, "observedGeneration": { "type": "integer", @@ -2025,7 +1532,6 @@ "javaType": "Long" }, "operationStartTime": { - "$ref": "#/definitions/github_com_kubernetes_incubator_service_catalog_vendor_k8s_io_apimachinery_pkg_apis_meta_v1_Time", "javaType": "java.lang.String" }, "orphanMitigationInProgress": { @@ -2042,28 +1548,158 @@ "javaType": "Long" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceStatus", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "servicecatalog_UserInfo": { + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlan": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "servicecatalog.k8s.io/v1beta1", + "required": true + }, + "kind": { + "type": "string", + "description": "", + "default": "ServicePlan", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlanSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ServicePlanSpec" + }, + "status": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlanStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ServicePlanStatus" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ServicePlan", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata", + "io.fabric8.kubernetes.api.model.Namespaced" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlanList": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "servicecatalog.k8s.io/v1beta1", + "required": true + }, + "items": { + "type": "array", + "description": "", + "items": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlan", + "javaType": "io.fabric8.servicecatalog.api.model.ServicePlan" + } + }, + "kind": { + "type": "string", + "description": "", + "default": "ServicePlanList", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ServicePlanList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.servicecatalog.api.model.ServicePlan\u003e" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlanSpec": { + "type": "object", + "description": "", + "properties": { + "bindable": { + "type": "boolean", + "description": "", + "javaType": "Boolean" + }, + "defaultProvisionParameters": { + "javaType": "Map\u003cString, Object\u003e" + }, + "description": { + "type": "string", + "description": "" + }, + "externalID": { + "type": "string", + "description": "" + }, + "externalMetadata": { + "javaType": "Map\u003cString, Object\u003e" + }, + "externalName": { + "type": "string", + "description": "" + }, + "free": { + "type": "boolean", + "description": "" + }, + "instanceCreateParameterSchema": { + "javaType": "Map\u003cString, Object\u003e" + }, + "instanceUpdateParameterSchema": { + "javaType": "Map\u003cString, Object\u003e" + }, + "serviceBindingCreateParameterSchema": { + "javaType": "Map\u003cString, Object\u003e" + }, + "serviceBindingCreateResponseSchema": { + "javaType": "Map\u003cString, Object\u003e" + }, + "serviceBrokerName": { + "type": "string", + "description": "" + }, + "serviceClassRef": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_LocalObjectReference", + "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ServicePlanSpec", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlanStatus": { + "type": "object", + "description": "", + "properties": { + "removedFromBrokerCatalog": { + "type": "boolean", + "description": "" + } + }, + "javaType": "io.fabric8.servicecatalog.api.model.ServicePlanStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_UserInfo": { "type": "object", "description": "", "properties": { "extra": { "type": "object", "description": "", - "additionalProperties": { - "type": "array", - "description": "", - "items": { - "type": "string", - "description": "" - } - }, - "javaType": "java.util.Map\u003cString,java.util.ArrayList\u003cString\u003e\u003e" + "javaType": "java.util.Map\u003cString,java.util.List\u003cString\u003e\u003e" }, "groups": { "type": "array", @@ -2083,7 +1719,6 @@ "description": "" } }, - "additionalProperties": true, "javaType": "io.fabric8.servicecatalog.api.model.UserInfo", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" @@ -2092,54 +1727,226 @@ }, "type": "object", "properties": { - "clusterServiceBroker": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBroker", + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_AddKeyTransform": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_AddKeyTransform", + "javaType": "io.fabric8.servicecatalog.api.model.AddKeyTransform" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_AddKeysFromTransform": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_AddKeysFromTransform", + "javaType": "io.fabric8.servicecatalog.api.model.AddKeysFromTransform" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_BasicAuthConfig": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_BasicAuthConfig", + "javaType": "io.fabric8.servicecatalog.api.model.BasicAuthConfig" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_BearerTokenAuthConfig": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_BearerTokenAuthConfig", + "javaType": "io.fabric8.servicecatalog.api.model.BearerTokenAuthConfig" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_CatalogRestrictions": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_CatalogRestrictions", + "javaType": "io.fabric8.servicecatalog.api.model.CatalogRestrictions" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterBasicAuthConfig": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterBasicAuthConfig", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterBasicAuthConfig" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterBearerTokenAuthConfig": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterBearerTokenAuthConfig", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterBearerTokenAuthConfig" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterObjectReference": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterObjectReference", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterObjectReference" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBroker": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBroker", "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBroker" }, - "clusterServiceBrokerList": { - "$ref": "#/definitions/servicecatalog_ClusterServiceBrokerList", + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerAuthInfo": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerAuthInfo", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerAuthInfo" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerList": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerList", "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerList" }, - "clusterServiceClass": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClass", + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerSpec": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerSpec" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerStatus": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceBrokerStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceBrokerStatus" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClass": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClass", "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClass" }, - "clusterServiceClassList": { - "$ref": "#/definitions/servicecatalog_ClusterServiceClassList", + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClassList": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClassList", "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassList" }, - "clusterServicePlan": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlan", + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClassSpec": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClassSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassSpec" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClassStatus": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServiceClassStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServiceClassStatus" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlan": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlan", "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlan" }, - "clusterServicePlanList": { - "$ref": "#/definitions/servicecatalog_ClusterServicePlanList", + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlanList": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlanList", "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanList" }, - "serviceBinding": { - "$ref": "#/definitions/servicecatalog_ServiceBinding", + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlanSpec": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlanSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanSpec" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlanStatus": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ClusterServicePlanStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ClusterServicePlanStatus" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_LocalObjectReference": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_LocalObjectReference", + "javaType": "io.fabric8.servicecatalog.api.model.LocalObjectReference" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ObjectReference": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ObjectReference", + "javaType": "io.fabric8.servicecatalog.api.model.ObjectReference" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ParametersFromSource": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ParametersFromSource", + "javaType": "io.fabric8.servicecatalog.api.model.ParametersFromSource" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_RemoveKeyTransform": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_RemoveKeyTransform", + "javaType": "io.fabric8.servicecatalog.api.model.RemoveKeyTransform" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_RenameKeyTransform": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_RenameKeyTransform", + "javaType": "io.fabric8.servicecatalog.api.model.RenameKeyTransform" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_SecretKeyReference": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_SecretKeyReference", + "javaType": "io.fabric8.servicecatalog.api.model.SecretKeyReference" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_SecretTransform": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_SecretTransform", + "javaType": "io.fabric8.servicecatalog.api.model.SecretTransform" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBinding": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBinding", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBinding" }, - "serviceBindingList": { - "$ref": "#/definitions/servicecatalog_ServiceBindingList", + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingCondition": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingCondition", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingCondition" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingList": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingList", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingList" }, - "serviceBroker": { - "$ref": "#/definitions/servicecatalog_ServiceBroker", + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingPropertiesState": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingPropertiesState", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingPropertiesState" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingSpec": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingSpec" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingStatus": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBindingStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBindingStatus" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBroker": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBroker", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBroker" }, - "serviceBrokerList": { - "$ref": "#/definitions/servicecatalog_ServiceBrokerList", + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerAuthInfo": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerAuthInfo", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerAuthInfo" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerCondition": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerCondition", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerCondition" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerList": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerList", "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerList" }, - "serviceInstance": { - "$ref": "#/definitions/servicecatalog_ServiceInstance", + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerSpec": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerSpec" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerStatus": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceBrokerStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceBrokerStatus" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClass": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClass", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceClass" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClassList": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClassList", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceClassList" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClassSpec": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClassSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceClassSpec" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClassStatus": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceClassStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceClassStatus" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstance": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstance", "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstance" }, - "serviceInstanceList": { - "$ref": "#/definitions/servicecatalog_ServiceInstanceList", + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceCondition": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceCondition", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceCondition" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceList": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceList", "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceList" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstancePropertiesState": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstancePropertiesState", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstancePropertiesState" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceSpec": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceSpec" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceStatus": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServiceInstanceStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ServiceInstanceStatus" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlan": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlan", + "javaType": "io.fabric8.servicecatalog.api.model.ServicePlan" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlanList": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlanList", + "javaType": "io.fabric8.servicecatalog.api.model.ServicePlanList" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlanSpec": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlanSpec", + "javaType": "io.fabric8.servicecatalog.api.model.ServicePlanSpec" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlanStatus": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_ServicePlanStatus", + "javaType": "io.fabric8.servicecatalog.api.model.ServicePlanStatus" + }, + "github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_UserInfo": { + "$ref": "#/definitions/github_com_kubernetes-sigs_service-catalog_pkg_apis_servicecatalog_v1beta1_UserInfo", + "javaType": "io.fabric8.servicecatalog.api.model.UserInfo" } }, - "additionalProperties": true + "additionalProperties": false } diff --git a/generator/pkg/schemagen/generate.go b/generator/pkg/schemagen/generate.go index afc786d47cc..72e79fc34c1 100644 --- a/generator/pkg/schemagen/generate.go +++ b/generator/pkg/schemagen/generate.go @@ -199,6 +199,10 @@ func (g *schemaGenerator) javaType(t reflect.Type) string { return "java.util.Map<" + g.javaType(t.Key()) + "," + g.javaType(t.Elem()) + ">" } + if t.Kind() == reflect.Slice { + return "java.util.List<" + g.javaType(t.Elem()) + ">" + } + // part of provided packages? if g.isPartOfProvidedPackage(t) { return g.resolveJavaClassUsingProvidedPackages(t) @@ -335,31 +339,8 @@ func (g *schemaGenerator) getStructProperties(t reflect.Type) map[string]JSONPro fieldList := g.getFields(t) for _, field := range fieldList { - - fieldCategory := g.fieldCategory(field) - - fieldType := field.Type - fieldType = g.resolvePointer(fieldType) - - if fieldCategory == SIMPLE { - jsonName := g.jsonFieldName(field) - result[jsonName] = g.propertyDescriptorForSimpleField(field, t) - } - - if fieldCategory == MAP { - jsonName := g.jsonFieldName(field) - result[jsonName] = g.propertyDescriptorForMap(field) - } - - if fieldCategory == OBJECT { - jsonName := g.jsonFieldName(field) - result[jsonName] = g.propertyDescriptorForObject(field) - } - - if fieldCategory == LIST { - jsonName := g.jsonFieldName(field) - result[jsonName] = g.propertyDescriptorForList(field) - } + jsonName := g.jsonFieldName(field) + result[jsonName] = g.propertyDescriptor(field, t) } // setting api version default values @@ -375,6 +356,37 @@ func (g *schemaGenerator) getStructProperties(t reflect.Type) map[string]JSONPro return result } +func (g *schemaGenerator) propertyDescriptor(field reflect.StructField, parentType reflect.Type) JSONPropertyDescriptor { + + // type might have manual overwrite + if g.isManualType(field.Type) { + return JSONPropertyDescriptor{ + JSONReferenceDescriptor: g.referenceDescriptor(field.Type), + JavaTypeDescriptor: g.javaTypeDescriptor(field.Type), + } + } + + fieldCategory := g.fieldCategory(field) + + if fieldCategory == SIMPLE { + return g.propertyDescriptorForSimpleField(field, parentType) + } + + if fieldCategory == MAP { + return g.propertyDescriptorForMap(field) + } + + if fieldCategory == OBJECT { + return g.propertyDescriptorForObject(field) + } + + if fieldCategory == LIST { + return g.propertyDescriptorForList(field) + } + + panic("Failed to get property descriptor for field") +} + func (g *schemaGenerator) referenceDescriptor(valueType reflect.Type) *JSONReferenceDescriptor { if g.isManualType(valueType) { @@ -471,8 +483,23 @@ func (g *schemaGenerator) handleType(t reflect.Type) { return } + // type discovery for Map (key & value) if t.Kind() == reflect.Map { - // is this a good idea?! + keyType := g.resolvePointer(t.Key()) + g.handleType(keyType) + valueType := g.resolvePointer(t.Elem()) + g.handleType(valueType) + } + + // type discovery for Lists (value) + if t.Kind() == reflect.Slice { + valueType := g.resolvePointer(t.Elem()) + g.handleType(valueType) + } + + // skip type registration if not required + // e.g. something like ExtraValue does not require registration -> it directly maps to List + if t.Kind() != reflect.Struct { return }