Skip to content

Commit

Permalink
chore(deps): bump knative.dev/eventing-kafka-broker from 0.42.5 to 0.…
Browse files Browse the repository at this point in the history
…43.0 in /kubernetes-model-generator/openapi/generator (6601)

chore(deps): bump knative.dev/eventing-kafka-broker

Bumps [knative.dev/eventing-kafka-broker](https://github.com/knative-extensions/eventing-kafka-broker) from 0.42.5 to 0.43.0.
- [Release notes](https://github.com/knative-extensions/eventing-kafka-broker/releases)
- [Commits](knative-extensions/eventing-kafka-broker@v0.42.5...v0.43.0)

---
updated-dependencies:
- dependency-name: knative.dev/eventing-kafka-broker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
---
feat(openapi): regenerate model for knative.dev/eventing-kafka-broker 0.43.0

Signed-off-by: Marc Nuri <marc@marcnuri.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc Nuri <marc@marcnuri.com>
  • Loading branch information
dependabot[bot] and manusa authored Nov 15, 2024
1 parent 8dcbef8 commit d6cbcf2
Show file tree
Hide file tree
Showing 17 changed files with 2,888 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@

package io.fabric8.knative.bindings.v1;

import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.builder.Editable;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.ContainerPort;
import io.fabric8.kubernetes.api.model.EnvVar;
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.KubernetesResource;
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
import io.fabric8.kubernetes.api.model.ResourceRequirements;
import io.fabric8.kubernetes.api.model.Volume;
import io.fabric8.kubernetes.api.model.VolumeMount;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"bootstrapServers",
"net"
})
@ToString
@EqualsAndHashCode
@Accessors(prefix = {
"_",
""
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
@BuildableReference(ObjectMeta.class),
@BuildableReference(LabelSelector.class),
@BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
@BuildableReference(ResourceRequirements.class),
@BuildableReference(IntOrString.class),
@BuildableReference(ObjectReference.class),
@BuildableReference(LocalObjectReference.class),
@BuildableReference(PersistentVolumeClaim.class),
@BuildableReference(EnvVar.class),
@BuildableReference(ContainerPort.class),
@BuildableReference(Volume.class),
@BuildableReference(VolumeMount.class)
})
@Generated("jsonschema2pojo")
public class KafkaAuthSpec implements Editable<KafkaAuthSpecBuilder> , KubernetesResource
{

@JsonProperty("bootstrapServers")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<String> bootstrapServers = new ArrayList<>();
@JsonProperty("net")
private KafkaNetSpec net;
@JsonIgnore
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>();

/**
* No args constructor for use in serialization
*
*/
public KafkaAuthSpec() {
}

public KafkaAuthSpec(List<String> bootstrapServers, KafkaNetSpec net) {
super();
this.bootstrapServers = bootstrapServers;
this.net = net;
}

@JsonProperty("bootstrapServers")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public List<String> getBootstrapServers() {
return bootstrapServers;
}

@JsonProperty("bootstrapServers")
public void setBootstrapServers(List<String> bootstrapServers) {
this.bootstrapServers = bootstrapServers;
}

@JsonProperty("net")
public KafkaNetSpec getNet() {
return net;
}

@JsonProperty("net")
public void setNet(KafkaNetSpec net) {
this.net = net;
}

@JsonIgnore
public KafkaAuthSpecBuilder edit() {
return new KafkaAuthSpecBuilder(this);
}

@JsonIgnore
public KafkaAuthSpecBuilder toBuilder() {
return edit();
}

@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}

@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@

package io.fabric8.knative.bindings.v1;

import java.util.LinkedHashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.builder.Editable;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.ContainerPort;
import io.fabric8.kubernetes.api.model.EnvVar;
import io.fabric8.kubernetes.api.model.HasMetadata;
import io.fabric8.kubernetes.api.model.IntOrString;
import io.fabric8.kubernetes.api.model.LabelSelector;
import io.fabric8.kubernetes.api.model.LocalObjectReference;
import io.fabric8.kubernetes.api.model.Namespaced;
import io.fabric8.kubernetes.api.model.ObjectMeta;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import io.fabric8.kubernetes.api.model.PodTemplateSpec;
import io.fabric8.kubernetes.api.model.ResourceRequirements;
import io.fabric8.kubernetes.api.model.Volume;
import io.fabric8.kubernetes.api.model.VolumeMount;
import io.fabric8.kubernetes.model.annotation.Group;
import io.fabric8.kubernetes.model.annotation.Version;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.BuildableReference;
import io.sundr.transform.annotations.TemplateTransformation;
import io.sundr.transform.annotations.TemplateTransformations;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"spec",
"status"
})
@ToString
@EqualsAndHashCode
@Accessors(prefix = {
"_",
""
})
@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = {
@BuildableReference(ObjectMeta.class),
@BuildableReference(LabelSelector.class),
@BuildableReference(Container.class),
@BuildableReference(PodTemplateSpec.class),
@BuildableReference(ResourceRequirements.class),
@BuildableReference(IntOrString.class),
@BuildableReference(ObjectReference.class),
@BuildableReference(LocalObjectReference.class),
@BuildableReference(PersistentVolumeClaim.class),
@BuildableReference(EnvVar.class),
@BuildableReference(ContainerPort.class),
@BuildableReference(Volume.class),
@BuildableReference(VolumeMount.class)
})
@TemplateTransformations({
@TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true)
})
@Version("v1")
@Group("bindings.knative.dev")
@Generated("jsonschema2pojo")
public class KafkaBinding implements Editable<KafkaBindingBuilder> , HasMetadata, Namespaced
{

/**
*
* (Required)
*
*/
@JsonProperty("apiVersion")
private String apiVersion = "bindings.knative.dev/v1";
/**
*
* (Required)
*
*/
@JsonProperty("kind")
private String kind = "KafkaBinding";
@JsonProperty("metadata")
private ObjectMeta metadata;
@JsonProperty("spec")
private KafkaBindingSpec spec;
@JsonProperty("status")
private KafkaBindingStatus status;
@JsonIgnore
private Map<String, Object> additionalProperties = new LinkedHashMap<String, Object>();

/**
* No args constructor for use in serialization
*
*/
public KafkaBinding() {
}

public KafkaBinding(String apiVersion, String kind, ObjectMeta metadata, KafkaBindingSpec spec, KafkaBindingStatus status) {
super();
this.apiVersion = apiVersion;
this.kind = kind;
this.metadata = metadata;
this.spec = spec;
this.status = status;
}

/**
*
* (Required)
*
*/
@JsonProperty("apiVersion")
public String getApiVersion() {
return apiVersion;
}

/**
*
* (Required)
*
*/
@JsonProperty("apiVersion")
public void setApiVersion(String apiVersion) {
this.apiVersion = apiVersion;
}

/**
*
* (Required)
*
*/
@JsonProperty("kind")
public String getKind() {
return kind;
}

/**
*
* (Required)
*
*/
@JsonProperty("kind")
public void setKind(String kind) {
this.kind = kind;
}

@JsonProperty("metadata")
public ObjectMeta getMetadata() {
return metadata;
}

@JsonProperty("metadata")
public void setMetadata(ObjectMeta metadata) {
this.metadata = metadata;
}

@JsonProperty("spec")
public KafkaBindingSpec getSpec() {
return spec;
}

@JsonProperty("spec")
public void setSpec(KafkaBindingSpec spec) {
this.spec = spec;
}

@JsonProperty("status")
public KafkaBindingStatus getStatus() {
return status;
}

@JsonProperty("status")
public void setStatus(KafkaBindingStatus status) {
this.status = status;
}

@JsonIgnore
public KafkaBindingBuilder edit() {
return new KafkaBindingBuilder(this);
}

@JsonIgnore
public KafkaBindingBuilder toBuilder() {
return edit();
}

@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}

@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}

public void setAdditionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties = additionalProperties;
}

}
Loading

0 comments on commit d6cbcf2

Please sign in to comment.