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 746e8b1 doc(jitpack): detailed info and link to example
new 8ebad22 feat(cmd/run): autogenerated configmap for resource
new fd6e0cc feat(e2e): adding generated configmap checks
new 5b54414 fix: lint complains
new d2de352 chore(cmd/run): resource type package reorg
new c2fca8b chore(trait): volume and mounts refactoring
new cdfcc91 feat(cmd/run): config content type
new c0709fe feat(trait/container): add configs and resources parameters
new 5c164ae chore(trait/container): more refactoring
new d7282d5 feat(cmd/run): convert --resource/--config to related trait
new f2edd65 feat(cmd/run): moving volumes into container trait
new 48ac704 chore(examples): volumes usage
new 1b05c2c doc: autogen
new bab7607 feat(api): deprecated IntegrationSpec Configuration
new 46706b8 feat(trait/openapi): support configmap configuration
new a73dce3 feat(cmd/run): convert openapi to trait
new 8518f77 doc: autogen
new 053c5a5 feat(e2e): openapi configmap
new aa6294f chore(trait): resource validation
new 2568fad feat(trait/mount): moving volumes logic
new 7b643b7 chore(trait): autogen configmap ownership
new 68841d3 fix: lint complains
new 8d747ee chore: use unstructured objects
new e0016b9 fix(trait): swap name and namespace
new a019002 fix(trait/openapi): proper content cast
The 24 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:
.../crd/bases/camel.apache.org_integrations.yaml | 7 +
.../bases/camel.apache.org_kameletbindings.yaml | 8 +
docs/modules/ROOT/nav.adoc | 1 +
docs/modules/ROOT/partials/apis/crds-html.adoc | 16 ++
docs/modules/traits/pages/mount.adoc | 45 ++++
docs/modules/traits/pages/openapi.adoc | 6 +-
e2e/common/cli/dev_mode_test.go | 45 ++++
e2e/common/config/config_test.go | 5 +
.../common/traits/files}/openapi/petstore-api.yaml | 0
.../common/traits/files}/openapi/petstore.groovy | 0
e2e/{knative => common/traits}/openapi_test.go | 33 ++-
e2e/knative/openapi_test.go | 4 +-
e2e/support/test_support.go | 20 ++
examples/README.md | 1 +
examples/openapi/README.md | 23 +-
examples/openapi/greetings.groovy | 2 +-
examples/openapi/petstore.groovy | 2 +-
.../resource-file-base64-encoded-route.groovy | 2 +-
.../user-config/resource-file-binary-route.groovy | 2 +-
examples/volumes/README.md | 3 +
examples/volumes/minikube-pvc.yaml | 10 +
.../pvc-consumer.groovy} | 13 +-
.../pvc-producer.groovy} | 16 +-
helm/camel-k/crds/crd-integration.yaml | 7 +
helm/camel-k/crds/crd-kamelet-binding.yaml | 8 +
pkg/apis/camel/v1/integration_types.go | 32 ++-
pkg/cmd/run.go | 93 ++++---
pkg/cmd/run_help.go | 226 +++-------------
pkg/cmd/run_help_test.go | 134 ----------
pkg/cmd/run_test.go | 17 +-
pkg/cmd/util_content.go | 11 +-
pkg/trait/container.go | 60 ++---
pkg/trait/environment.go | 5 +-
pkg/trait/jvm.go | 5 +-
pkg/trait/jvm_test.go | 10 +-
pkg/trait/mount.go | 201 ++++++++++++++
pkg/trait/mount_test.go | 183 +++++++++++++
pkg/trait/openapi.go | 81 ++++--
pkg/trait/service_binding.go | 3 +-
pkg/trait/trait_register.go | 3 +-
pkg/trait/trait_test.go | 6 +-
pkg/trait/trait_types.go | 293 ++++++++-------------
pkg/util/camel/camel_util.go | 12 +
pkg/util/digest/digest.go | 8 +-
pkg/util/kubernetes/client.go | 13 +
pkg/util/kubernetes/factory.go | 39 +++
pkg/util/resource/config.go | 259 ++++++++++++++++++
pkg/util/resource/config_test.go | 143 ++++++++++
resources/traits.yaml | 35 ++-
49 files changed, 1456 insertions(+), 695 deletions(-)
create mode 100644 docs/modules/traits/pages/mount.adoc
copy {examples => e2e/common/traits/files}/openapi/petstore-api.yaml (100%)
copy {examples => e2e/common/traits/files}/openapi/petstore.groovy (100%)
copy e2e/{knative => common/traits}/openapi_test.go (74%)
create mode 100644 examples/volumes/README.md
create mode 100644 examples/volumes/minikube-pvc.yaml
copy examples/{modeline/modeline-property-file-route.groovy =>
volumes/pvc-consumer.groovy} (77%)
copy examples/{user-config/build-property-file-route.groovy =>
volumes/pvc-producer.groovy} (73%)
create mode 100644 pkg/trait/mount.go
create mode 100644 pkg/trait/mount_test.go
create mode 100644 pkg/util/resource/config.go
create mode 100644 pkg/util/resource/config_test.go