This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git.
from 18e9916 Updated CHANGELOG.md
new 890b4df feat(cmd/run): resource option refactoring
new 252eb52 refactor(crd): configuration resource type
new 95a51ef refactor(example): resource run option
new 44ba564 refactor(e2e): resource option integration test
new b9dbe12 feat(cmd/run): --resource filename compatibility
new 165fa3a feat(cmd/run): modeline resource support
new 1f95852 feat(cmd/run): resource @path support
new 573ea1b chore(crd): autogen update
new 1446a6c doc(example): resource @path
new 4697722 feat(cmd/run): file size limitation
new ba4a25f refactor(cmd/run): synch all option files
new ad5831a chore(e2e): run option with destination path
new 3cd69e4 feat(cmd/run): validate destination path
new fdf7fe4 fix(e2e): test name typo
new e938c50 feat(cmd/run): configmap/secret key filtering
new 7a31b30 chore(crd): configmap/secret eky filtering regen
new 90cbbda chore(e2e): configmap/secret key test
new 18f34ac doc(example): configmap/secret key selection
new 4465e1a feat(cmd/run): warn when using path on --config
new 73339cf chore(cmd/run): single resource dir and cli syntax description
The 20 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:
config/crd/bases/camel.apache.org_builds.yaml | 4 +
.../bases/camel.apache.org_integrationkits.yaml | 6 +
.../camel.apache.org_integrationplatforms.yaml | 12 ++
.../crd/bases/camel.apache.org_integrations.yaml | 20 +++
.../bases/camel.apache.org_kameletbindings.yaml | 10 ++
config/crd/bases/camel.apache.org_kamelets.yaml | 2 +
.../1.5.0-snapshot/camel.apache.org_builds.yaml | 4 +
.../camel.apache.org_integrationkits.yaml | 6 +
.../camel.apache.org_integrationplatforms.yaml | 12 ++
.../camel.apache.org_integrations.yaml | 20 +++
.../camel.apache.org_kameletbindings.yaml | 10 ++
.../1.5.0-snapshot/camel.apache.org_kamelets.yaml | 2 +
docs/modules/ROOT/pages/cli/modeline.adoc | 4 +-
e2e/common/config/config_test.go | 120 +++++++++----
.../config/files/build-property-file-route.groovy | 8 -
.../config/files/build-property-route.groovy | 8 -
.../config/files/config-configmap-route.groovy | 7 +-
e2e/common/config/files/config-file-route.groovy | 5 -
.../common/config/files/config-secret-route.groovy | 7 +-
e2e/common/config/files/property-file-route.groovy | 6 -
e2e/common/config/files/property-route.groovy | 6 -
.../resource-configmap-key-location-route.groovy | 4 +-
.../resource-configmap-location-route.groovy} | 8 +-
.../files/resource-configmap-route.groovy} | 8 +-
.../resource-file-base64-encoded-route.groovy | 5 -
.../config/files/resource-file-binary-route.groovy | 5 -
.../files/resource-file-location-route.groovy | 4 +-
.../common/config/files/resource-file-route.groovy | 5 -
.../files/resource-secret-route.groovy} | 8 +-
....groovy => modeline-config-secret-route.groovy} | 2 +-
.../modeline/modeline-resource-file-route.groovy | 6 +-
...-route.groovy => config-configmap-route.groovy} | 2 +-
examples/user-config/config-file-route.groovy | 6 +-
.../config-secret-key-route.groovy} | 8 +-
.../user-config/config-secret-route.groovy | 2 +-
.../resource-configmap-key-location-route.groovy | 11 +-
.../resource-configmap-location-route.groovy | 11 +-
...oute.groovy => resource-configmap-route.groovy} | 11 +-
.../resource-file-base64-encoded-route.groovy | 2 +-
.../user-config/resource-file-binary-route.groovy | 2 +-
.../resource-file-location-route.groovy | 4 +-
.../user-config/resource-file-route.groovy | 2 +-
...roovy => resource-secret-location-route.groovy} | 11 +-
...t-route.groovy => resource-secret-route.groovy} | 11 +-
helm/camel-k/crds/crd-build.yaml | 4 +
helm/camel-k/crds/crd-integration-kit.yaml | 6 +
helm/camel-k/crds/crd-integration-platform.yaml | 12 ++
helm/camel-k/crds/crd-integration.yaml | 20 +++
helm/camel-k/crds/crd-kamelet-binding.yaml | 10 ++
helm/camel-k/crds/crd-kamelet.yaml | 2 +
pkg/apis/camel/v1/common_types.go | 14 +-
pkg/apis/camel/v1/integration_types_support.go | 12 ++
pkg/cmd/modeline.go | 2 +-
pkg/cmd/modeline_test.go | 73 ++++++++
pkg/cmd/run.go | 53 ++----
pkg/cmd/run_help.go | 196 ++++++++++++++++++---
pkg/cmd/run_help_test.go | 133 +++++++++++++-
pkg/cmd/run_test.go | 8 +-
pkg/cmd/util_content.go | 14 ++
pkg/trait/environment.go | 4 +-
pkg/trait/jvm.go | 3 +-
pkg/trait/jvm_test.go | 9 +-
pkg/trait/trait_test.go | 14 +-
pkg/trait/trait_types.go | 114 +++++++++---
pkg/trait/util.go | 30 ++++
65 files changed, 879 insertions(+), 271 deletions(-)
copy examples/cron/cron.groovy =>
e2e/common/config/files/config-configmap-route.groovy (85%)
copy examples/cron/cron.groovy =>
e2e/common/config/files/config-secret-route.groovy (85%)
copy examples/knative/reader.groovy =>
e2e/common/config/files/resource-configmap-key-location-route.groovy (89%)
copy e2e/common/{traits/files/PodTest.groovy =>
config/files/resource-configmap-location-route.groovy} (87%)
copy e2e/common/{traits/files/PodTest.groovy =>
config/files/resource-configmap-route.groovy} (85%)
rename examples/user-config/resources-base64-encoded-route.groovy =>
e2e/common/config/files/resource-file-base64-encoded-route.groovy (87%)
rename examples/user-config/resources-binary-route.groovy =>
e2e/common/config/files/resource-file-binary-route.groovy (88%)
copy examples/knative/reader.groovy =>
e2e/common/config/files/resource-file-location-route.groovy (88%)
rename examples/user-config/resources-route.groovy =>
e2e/common/config/files/resource-file-route.groovy (89%)
copy e2e/common/{traits/files/PodTest.groovy =>
config/files/resource-secret-route.groovy} (85%)
copy examples/modeline/{modeline-secret-route.groovy =>
modeline-config-secret-route.groovy} (95%)
copy e2e/common/config/files/resources-route.groovy =>
examples/modeline/modeline-resource-file-route.groovy (82%)
copy examples/user-config/{configmap-route.groovy =>
config-configmap-route.groovy} (93%)
rename examples/{modeline/modeline-secret-route.groovy =>
user-config/config-secret-key-route.groovy} (76%)
rename e2e/common/config/files/secret-route.groovy =>
examples/user-config/config-secret-route.groovy (94%)
copy e2e/common/config/files/config-file-route.groovy =>
examples/user-config/resource-configmap-key-location-route.groovy (66%)
rename e2e/common/config/files/configmap-route.groovy =>
examples/user-config/resource-configmap-location-route.groovy (80%)
rename examples/user-config/{configmap-route.groovy =>
resource-configmap-route.groovy} (80%)
rename e2e/common/config/files/resources-base64-encoded-route.groovy =>
examples/user-config/resource-file-base64-encoded-route.groovy (96%)
rename e2e/common/config/files/resources-binary-route.groovy =>
examples/user-config/resource-file-binary-route.groovy (91%)
copy e2e/common/config/files/resources-route.groovy =>
examples/user-config/resource-file-location-route.groovy (84%)
rename e2e/common/config/files/resources-route.groovy =>
examples/user-config/resource-file-route.groovy (92%)
copy examples/user-config/{secret-route.groovy =>
resource-secret-location-route.groovy} (81%)
rename examples/user-config/{secret-route.groovy =>
resource-secret-route.groovy} (81%)