Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(#1980): Support data types in Kamelets #4100

Merged
merged 2 commits into from
Mar 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/e2e-knative-yaks/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ runs:
- name: Install YAKS
uses: ./.github/actions/kamel-install-yaks
with:
image-name: "docker.io/yaks/yaks"
version: 0.11.0-202206130041
image-name: "docker.io/citrusframework/yaks"
version: 0.14.3

- id: report-problematic
name: List Tests Marked As Problematic
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/kamel-install-yaks/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ description: 'Install YAKS artifacts'
inputs:
version:
description: "The YAKS version"
default: 0.10.0
default: 0.14.3
required: false
image-name:
description: "The YAKS operator image name"
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ build/maven
build/m2
/api_*

# YAKS test output
.yaks-jbang/
_output/

# envrc
.envrc

Expand Down Expand Up @@ -170,4 +174,4 @@ config/**/*.gen.json
*-installer*

# Fabric8 CRDs
java/target
java/target
14 changes: 7 additions & 7 deletions addons/strimzi/duck/client/internalclientset/fake/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions addons/strimzi/duck/client/internalclientset/scheme/register.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 60 additions & 12 deletions config/crd/bases/camel.apache.org_kameletbindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7687,6 +7687,21 @@ spec:
description: Sink is the destination of the integration defined by
this binding
properties:
dataTypes:
additionalProperties:
description: DataTypeReference references to the specification
of a data type by its scheme and format name
properties:
format:
description: the data type format name
type: string
scheme:
description: the data type component scheme
type: string
type: object
description: DataTypes defines the data type of the data produced/consumed
by the endpoint and references a given data type specification.
type: object
properties:
description: Properties are a key value representation of endpoint
properties
Expand Down Expand Up @@ -7731,8 +7746,8 @@ spec:
type: object
types:
additionalProperties:
description: EventTypeSpec represents a specification for an
event type
description: 'EventTypeSpec represents a specification for an
event type Deprecated: In favor of using DataTypeSpec'
properties:
mediaType:
description: media type as expected for HTTP media types
Expand Down Expand Up @@ -7895,8 +7910,9 @@ spec:
type: string
type: object
type: object
description: Types defines the schema of the data produced/consumed
by the endpoint
description: 'Types defines the data type of the data produced/consumed
by the endpoint and references a given data type specification.
Deprecated: In favor of using DataTypes'
type: object
uri:
description: URI can be used to specify the (Camel) endpoint explicitly
Expand All @@ -7906,6 +7922,21 @@ spec:
description: Source is the starting point of the integration defined
by this binding
properties:
dataTypes:
additionalProperties:
description: DataTypeReference references to the specification
of a data type by its scheme and format name
properties:
format:
description: the data type format name
type: string
scheme:
description: the data type component scheme
type: string
type: object
description: DataTypes defines the data type of the data produced/consumed
by the endpoint and references a given data type specification.
type: object
properties:
description: Properties are a key value representation of endpoint
properties
Expand Down Expand Up @@ -7950,8 +7981,8 @@ spec:
type: object
types:
additionalProperties:
description: EventTypeSpec represents a specification for an
event type
description: 'EventTypeSpec represents a specification for an
event type Deprecated: In favor of using DataTypeSpec'
properties:
mediaType:
description: media type as expected for HTTP media types
Expand Down Expand Up @@ -8114,8 +8145,9 @@ spec:
type: string
type: object
type: object
description: Types defines the schema of the data produced/consumed
by the endpoint
description: 'Types defines the data type of the data produced/consumed
by the endpoint and references a given data type specification.
Deprecated: In favor of using DataTypes'
type: object
uri:
description: URI can be used to specify the (Camel) endpoint explicitly
Expand All @@ -8128,6 +8160,21 @@ spec:
description: Endpoint represents a source/sink external entity (could
be any Kubernetes resource or Camel URI)
properties:
dataTypes:
additionalProperties:
description: DataTypeReference references to the specification
of a data type by its scheme and format name
properties:
format:
description: the data type format name
type: string
scheme:
description: the data type component scheme
type: string
type: object
description: DataTypes defines the data type of the data produced/consumed
by the endpoint and references a given data type specification.
type: object
properties:
description: Properties are a key value representation of endpoint
properties
Expand Down Expand Up @@ -8173,8 +8220,8 @@ spec:
type: object
types:
additionalProperties:
description: EventTypeSpec represents a specification for
an event type
description: 'EventTypeSpec represents a specification for
an event type Deprecated: In favor of using DataTypeSpec'
properties:
mediaType:
description: media type as expected for HTTP media types
Expand Down Expand Up @@ -8339,8 +8386,9 @@ spec:
type: string
type: object
type: object
description: Types defines the schema of the data produced/consumed
by the endpoint
description: 'Types defines the data type of the data produced/consumed
by the endpoint and references a given data type specification.
Deprecated: In favor of using DataTypes'
type: object
uri:
description: URI can be used to specify the (Camel) endpoint
Expand Down
Loading