Skip to content

Commit

Permalink
chore(deps): bump knative.dev/eventing-gitlab from 0.42.0 to 0.43.0 i…
Browse files Browse the repository at this point in the history
…n /kubernetes-model-generator/openapi/generator (6589)

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

Bumps [knative.dev/eventing-gitlab](https://github.com/knative-extensions/eventing-gitlab) from 0.42.0 to 0.43.0.
- [Release notes](https://github.com/knative-extensions/eventing-gitlab/releases)
- [Commits](knative-extensions/eventing-gitlab@v0.42.0...v0.43.0)

---
updated-dependencies:
- dependency-name: knative.dev/eventing-gitlab
  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-gitlab 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 14, 2024
1 parent 77d2c12 commit ea5b2a1
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.knative.eventing.v1.SubscriptionsAPIFilter;
import io.fabric8.kubernetes.api.builder.Editable;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.ContainerPort;
Expand All @@ -37,6 +38,7 @@
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"filters",
"from",
"to"
})
Expand Down Expand Up @@ -65,6 +67,9 @@
public class EventPolicySpec implements Editable<EventPolicySpecBuilder> , KubernetesResource
{

@JsonProperty("filters")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<SubscriptionsAPIFilter> filters = new ArrayList<>();
@JsonProperty("from")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
private List<EventPolicySpecFrom> from = new ArrayList<>();
Expand All @@ -81,12 +86,24 @@ public class EventPolicySpec implements Editable<EventPolicySpecBuilder> , Kuber
public EventPolicySpec() {
}

public EventPolicySpec(List<EventPolicySpecFrom> from, List<EventPolicySpecTo> to) {
public EventPolicySpec(List<SubscriptionsAPIFilter> filters, List<EventPolicySpecFrom> from, List<EventPolicySpecTo> to) {
super();
this.filters = filters;
this.from = from;
this.to = to;
}

@JsonProperty("filters")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public List<SubscriptionsAPIFilter> getFilters() {
return filters;
}

@JsonProperty("filters")
public void setFilters(List<SubscriptionsAPIFilter> filters) {
this.filters = filters;
}

@JsonProperty("from")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public List<EventPolicySpecFrom> getFrom() {
Expand Down
4 changes: 2 additions & 2 deletions kubernetes-model-generator/openapi/generator/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ require (
k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38
k8s.io/metrics v0.31.0
knative.dev/caching v0.0.0-20241022012359-41bbaf964d16
knative.dev/eventing v0.42.2
knative.dev/eventing v0.43.0
knative.dev/eventing-awssqs v0.29.0
knative.dev/eventing-couchdb v0.28.0
knative.dev/eventing-github v0.42.0
knative.dev/eventing-gitlab v0.42.0
knative.dev/eventing-gitlab v0.43.0
knative.dev/eventing-kafka-broker v0.42.5
knative.dev/eventing-prometheus v0.28.0
knative.dev/networking v0.0.0-20241022012959-60e29ff520dc
Expand Down
8 changes: 4 additions & 4 deletions kubernetes-model-generator/openapi/generator/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2032,16 +2032,16 @@ knative.dev/caching v0.0.0-20241022012359-41bbaf964d16 h1:vQ0y0mO1ALdOd/FPiw7gf1
knative.dev/caching v0.0.0-20241022012359-41bbaf964d16/go.mod h1:qOvjasSUI+GyF4hsqJmIomblcgjkLzJhng8/zk0B9J4=
knative.dev/eventing v0.28.0/go.mod h1:zxoB37kQxEkfCvKA7wZuHOPYInz6SFJzrhmG9IAd/iY=
knative.dev/eventing v0.29.0/go.mod h1:u5T5NZTDUsLR7yJwp5MDnBnDX5MhywD3yK3Rq+7gTtI=
knative.dev/eventing v0.42.2 h1:eDfEmOTiqb/GikfwUPb6O6VvXkpqtpHCzihxP6D4Fek=
knative.dev/eventing v0.42.2/go.mod h1:hW5BMYcihtCelT9pqaMtK8gmNOo1ybxcigjBY+/fU+k=
knative.dev/eventing v0.43.0 h1:GELHZ0yYosMeV78l4alMsd7HJciEu6a3T2C5l7MPi3Y=
knative.dev/eventing v0.43.0/go.mod h1:pdrF+bEUfRkNn9ifWXS7DoVj5W31gA5KQVd8iwplXUo=
knative.dev/eventing-awssqs v0.29.0 h1:3g9zaBMuSVpwj6BOFFQl/XbCVX9dIljqhoWKdLfDVp4=
knative.dev/eventing-awssqs v0.29.0/go.mod h1:jtY5Pd4QrwbLyiviNWav7FMtx9NWaABY3EqGGz3NBNA=
knative.dev/eventing-couchdb v0.28.0 h1:wdwmonQ1cOEx/I9Ev8IhKUIkBth4L/r5wTpDggGacls=
knative.dev/eventing-couchdb v0.28.0/go.mod h1:kUoJgfUkPBWJFA/0meZCZzuX/3003hEBctN+7xyKKMo=
knative.dev/eventing-github v0.42.0 h1:iq/+oTQI6v6QCRGMGY0PsN3RENgI+ZOq1yuiYrF90cE=
knative.dev/eventing-github v0.42.0/go.mod h1:HMHYhEXzRgfaJBSBkB6jVpTpYWMhEA28Y/XOklZayCY=
knative.dev/eventing-gitlab v0.42.0 h1:DRZrOC5OSjnmxmZQuP7pOFRykQrHwydnHLduP8zBdks=
knative.dev/eventing-gitlab v0.42.0/go.mod h1:v3OsUQmVkHlEZx159a/glEmMZsf/6GscBCa7FpZhOtc=
knative.dev/eventing-gitlab v0.43.0 h1:YNi/6EdU9tYNWbaXQOBmgVwbsQSyCF5IcUf0b30rHPI=
knative.dev/eventing-gitlab v0.43.0/go.mod h1:rwHrTfP7lCFjHOAASlnPZ5rEdE9aKGc5q32ygoITebg=
knative.dev/eventing-kafka-broker v0.42.5 h1:iLcJSDXrGAJiUYZdSIpUW42nWHYmPqsjd4FbTp28BBw=
knative.dev/eventing-kafka-broker v0.42.5/go.mod h1:77EsSRV24XRRMWvoHyhlCArWqsr9SQICch525FEztiI=
knative.dev/eventing-prometheus v0.28.0 h1:2VjDEL0Ck9s++uomjlOL4/Y824ziZjXZYWcNQsm53P0=
Expand Down
8 changes: 8 additions & 0 deletions kubernetes-model-generator/openapi/schemas/dev.knative.json
Original file line number Diff line number Diff line change
Expand Up @@ -4024,6 +4024,14 @@
"dev.knative.eventing.v1alpha1.EventPolicySpec": {
"type": "object",
"properties": {
"filters": {
"description": "Filters is the list of SubscriptoinsApi filters which determine whether or not the event is accepted. It is an array of filter expressions that evaluate to true or false. If any filter expression in the array evaluates to false, the event will not pass the target resource's ingress. Absence of any filters implies that the filters always evaluate to true.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/dev.knative.eventing.v1.SubscriptionsAPIFilter"
}
},
"from": {
"description": "From is the list of sources or oidc identities, which are allowed to send events to the targets (.spec.to).",
"type": "array",
Expand Down

0 comments on commit ea5b2a1

Please sign in to comment.