This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
from 81e0d15bf chore: include info in test dump
new 2cedce4ed fix(#1980): Support data types in Kamelets
new 46edffe8d fix(#1980): Implement data type support in KameletBinding
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/actions/e2e-knative-yaks/action.yml | 4 +-
.github/actions/kamel-install-yaks/action.yml | 2 +-
.gitignore | 6 +-
.../bases/camel.apache.org_kameletbindings.yaml | 72 +++++--
config/crd/bases/camel.apache.org_kamelets.yaml | 239 ++++++++++++++++++++-
docs/modules/ROOT/pages/kamelets/kamelets-dev.adoc | 32 ++-
.../modules/ROOT/pages/kamelets/kamelets-user.adoc | 47 +++-
docs/modules/ROOT/partials/apis/kamelets-crds.adoc | 225 ++++++++++++++++++-
.../logger-sink.kamelet.yaml | 10 +-
.../timer-source.kamelet.yaml | 12 +-
.../kamelet-binding-http/timer-source.kamelet.yaml | 12 +-
.../kamelet-binding/logger-sink.kamelet.yaml | 10 +-
.../kamelet-binding/timer-source.kamelet.yaml | 12 +-
.../data-type-action.kamelet.yaml | 70 ++++++
.../common/kamelet-data-types/event-binding.yaml | 10 +-
.../kamelet-data-types/event-sink.kamelet.yaml | 33 +--
.../kamelet-data-types/event-source.kamelet.yaml | 33 +--
.../kamelet-data-types/kamelet-data-types.feature | 9 +-
.../kamelet-data-types/log-action.kamelet.yaml | 63 ------
.../{event-binding.yaml => timer-to-log.yaml} | 15 +-
.../common/kamelet-data-types/yaks-config.yaml | 3 +-
.../kamelet-steps/prefix-action.kamelet.yaml | 10 +-
.../common/kamelet-steps/timer-source.kamelet.yaml | 12 +-
e2e/yaks/common/kamelet/echo-sink.kamelet.yaml | 12 +-
e2e/yaks/common/kamelet/timer-source.kamelet.yaml | 12 +-
helm/camel-k/crds/crd-kamelet-binding.yaml | 72 +++++--
helm/camel-k/crds/crd-kamelet.yaml | 239 ++++++++++++++++++++-
pkg/apis/camel/v1alpha1/kamelet_binding_types.go | 7 +-
pkg/apis/camel/v1alpha1/kamelet_types.go | 67 +++++-
pkg/apis/camel/v1alpha1/kamelet_types_support.go | 10 +-
pkg/apis/camel/v1alpha1/zz_generated.deepcopy.go | 109 +++++++++-
.../{eventtypespec.go => datatypereference.go} | 30 +--
.../camel/v1alpha1/datatypespec.go | 102 +++++++++
.../camel/v1alpha1/datatypesspec.go | 70 ++++++
.../applyconfiguration/camel/v1alpha1/endpoint.go | 27 ++-
.../camel/v1alpha1/headerspec.go | 76 +++++++
.../camel/v1alpha1/kameletspec.go | 29 ++-
pkg/client/camel/applyconfiguration/utils.go | 8 +
.../camel/clientset/versioned/fake/register.go | 14 +-
.../camel/clientset/versioned/scheme/register.go | 14 +-
pkg/cmd/describe_kamelet.go | 11 +-
pkg/controller/kameletbinding/integration.go | 24 +--
pkg/install/testdata/timer-source.kamelet.yaml | 7 +-
pkg/resources/resources.go | 12 +-
pkg/util/bindings/api.go | 9 -
.../util/bindings/api_support.go | 42 ++--
pkg/util/bindings/bindings_test.go | 34 +--
pkg/util/bindings/kamelet.go | 95 +++++++-
pkg/util/bindings/kamelet_test.go | 232 +++++++++++++++++++-
.../root.go => util/bindings/test_support.go} | 52 ++---
resources/templates/kamelet.tmpl | 7 +-
51 files changed, 1931 insertions(+), 433 deletions(-)
create mode 100644
e2e/yaks/common/kamelet-data-types/data-type-action.kamelet.yaml
delete mode 100644 e2e/yaks/common/kamelet-data-types/log-action.kamelet.yaml
copy e2e/yaks/common/kamelet-data-types/{event-binding.yaml =>
timer-to-log.yaml} (86%)
copy pkg/client/camel/applyconfiguration/camel/v1alpha1/{eventtypespec.go =>
datatypereference.go} (50%)
create mode 100644
pkg/client/camel/applyconfiguration/camel/v1alpha1/datatypespec.go
create mode 100644
pkg/client/camel/applyconfiguration/camel/v1alpha1/datatypesspec.go
create mode 100644
pkg/client/camel/applyconfiguration/camel/v1alpha1/headerspec.go
copy e2e/support/util/log_counter.go => pkg/util/bindings/api_support.go (57%)
copy pkg/{base/root.go => util/bindings/test_support.go} (52%)