This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-k.git.
from 4dcbe4a Updated CHANGELOG.md
new 230df00 kamelet binding: use the Kamelet EIP for steps #2370
new fad493b languages: support kamelet eip #2375
new 621e557 kameletbinding: remove the need of allocation some
intermediate slices
The 3 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:
pkg/controller/kameletbinding/common.go | 94 ++++++++++++++-------
pkg/resources/resources.go | 4 +-
pkg/trait/kamelets.go | 24 +-----
pkg/util/bindings/api.go | 2 +
pkg/util/bindings/kamelet.go | 23 +++--
pkg/util/bindings/kamelet_test.go | 92 ++++++++++++++++++++
pkg/util/source/inspector.go | 12 +++
pkg/util/source/inspector_groovy.go | 10 +++
pkg/util/source/inspector_groovy_test.go | 97 ++++++++++++++++++++++
pkg/util/source/inspector_java_script.go | 10 +++
pkg/util/source/inspector_java_script_test.go | 81 ++++++++++++++++++
pkg/util/source/inspector_java_source.go | 10 +++
pkg/util/source/inspector_java_source_test.go | 81 ++++++++++++++++++
.../common.go => util/source/inspector_kamelet.go} | 38 ++++-----
pkg/util/source/inspector_kotlin.go | 10 +++
pkg/util/source/inspector_kotlin_test.go | 81 ++++++++++++++++++
pkg/util/source/inspector_xml.go | 7 ++
pkg/util/source/inspector_xml_test.go | 90 ++++++++++++++++++++
pkg/util/source/inspector_yaml.go | 8 ++
pkg/util/source/inspector_yaml_test.go | 92 ++++++++++++++++++++
pkg/util/source/types.go | 2 +
21 files changed, 787 insertions(+), 81 deletions(-)
create mode 100644 pkg/util/bindings/kamelet_test.go
create mode 100644 pkg/util/source/inspector_groovy_test.go
create mode 100644 pkg/util/source/inspector_java_script_test.go
create mode 100644 pkg/util/source/inspector_java_source_test.go
copy pkg/{kamelet/repository/common.go => util/source/inspector_kamelet.go}
(54%)
create mode 100644 pkg/util/source/inspector_kotlin_test.go
create mode 100644 pkg/util/source/inspector_xml_test.go