This is an automated email from the ASF dual-hosted git repository.
nferraro pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git.
from 2b10cea Updated CHANGELOG.md
new 41e7ac5 Fix #2361: allow multiline properties by correctly encoding
them
new 1638bd4 Fix #2361: refactor code
new 47c606d Fix #2361: add unit tests
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:
.../properties-binding.yaml | 19 ++++++
.../properties.feature | 26 ++++++++
.../timer-source.kamelet.yaml | 69 ++++++++++++++++++++++
.../yaks-config.yaml | 4 +-
go.mod | 2 +-
go.sum | 2 +
pkg/cmd/run.go | 19 +++---
pkg/cmd/run_test.go | 29 ++++++---
pkg/controller/kameletbinding/common.go | 8 ++-
pkg/trait/builder.go | 8 +--
pkg/trait/container.go | 12 +++-
pkg/trait/trait_types.go | 16 ++---
pkg/trait/trait_types_test.go | 16 +++++
pkg/trait/util.go | 10 +---
pkg/util/property/property.go | 67 +++++++++++++++++++++
.../digest_test.go => property/property_test.go} | 36 ++++++-----
16 files changed, 283 insertions(+), 60 deletions(-)
create mode 100644
e2e/yaks/common/kamelet-binding-property-encoding/properties-binding.yaml
create mode 100644
e2e/yaks/common/kamelet-binding-property-encoding/properties.feature
create mode 100644
e2e/yaks/common/kamelet-binding-property-encoding/timer-source.kamelet.yaml
copy e2e/yaks/common/{kamelet =>
kamelet-binding-property-encoding}/yaks-config.yaml (90%)
create mode 100644 pkg/util/property/property.go
copy pkg/util/{digest/digest_test.go => property/property_test.go} (61%)