This is an automated email from the ASF dual-hosted git repository. gfournier pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit fa18b92efcd2d3b7ad07d1771fcf9df23168635d Author: Thomas Diesler <[email protected]> AuthorDate: Tue May 21 15:37:11 2024 +0200 (#5489) Migrate integration.groovy => integration.yaml for traits --- cmd/util/doc-gen/generators/traitdocgen.go | 4 ++-- docs/modules/traits/pages/3scale.adoc | 2 +- docs/modules/traits/pages/affinity.adoc | 2 +- docs/modules/traits/pages/aws-secrets-manager.adoc | 2 +- docs/modules/traits/pages/azure-key-vault.adoc | 2 +- docs/modules/traits/pages/builder.adoc | 2 +- docs/modules/traits/pages/camel.adoc | 2 +- docs/modules/traits/pages/container.adoc | 2 +- docs/modules/traits/pages/cron.adoc | 2 +- docs/modules/traits/pages/deployer.adoc | 2 +- docs/modules/traits/pages/deployment.adoc | 2 +- docs/modules/traits/pages/environment.adoc | 2 +- docs/modules/traits/pages/error-handler.adoc | 2 +- docs/modules/traits/pages/gc.adoc | 2 +- docs/modules/traits/pages/gcp-secret-manager.adoc | 2 +- docs/modules/traits/pages/hashicorp-vault.adoc | 2 +- docs/modules/traits/pages/health.adoc | 2 +- docs/modules/traits/pages/ingress.adoc | 2 +- docs/modules/traits/pages/istio.adoc | 2 +- docs/modules/traits/pages/jolokia.adoc | 2 +- docs/modules/traits/pages/jvm.adoc | 2 +- docs/modules/traits/pages/kamelets.adoc | 2 +- docs/modules/traits/pages/keda.adoc | 2 +- docs/modules/traits/pages/knative-service.adoc | 2 +- docs/modules/traits/pages/knative.adoc | 2 +- docs/modules/traits/pages/logging.adoc | 2 +- docs/modules/traits/pages/master.adoc | 2 +- docs/modules/traits/pages/mount.adoc | 2 +- docs/modules/traits/pages/openapi.adoc | 2 +- docs/modules/traits/pages/owner.adoc | 2 +- docs/modules/traits/pages/pdb.adoc | 2 +- docs/modules/traits/pages/platform.adoc | 2 +- docs/modules/traits/pages/pod.adoc | 2 +- docs/modules/traits/pages/prometheus.adoc | 2 +- docs/modules/traits/pages/pull-secret.adoc | 2 +- docs/modules/traits/pages/quarkus.adoc | 2 +- docs/modules/traits/pages/registry.adoc | 2 +- docs/modules/traits/pages/resume.adoc | 2 +- docs/modules/traits/pages/route.adoc | 2 +- docs/modules/traits/pages/security-context.adoc | 2 +- docs/modules/traits/pages/service-binding.adoc | 2 +- docs/modules/traits/pages/service.adoc | 2 +- docs/modules/traits/pages/telemetry.adoc | 2 +- docs/modules/traits/pages/toleration.adoc | 2 +- docs/modules/traits/pages/tracing.adoc | 2 +- e2e/knative/openapi_test.go | 4 ++++ 46 files changed, 50 insertions(+), 46 deletions(-) diff --git a/cmd/util/doc-gen/generators/traitdocgen.go b/cmd/util/doc-gen/generators/traitdocgen.go index 67f157e9a..07c761707 100644 --- a/cmd/util/doc-gen/generators/traitdocgen.go +++ b/cmd/util/doc-gen/generators/traitdocgen.go @@ -215,9 +215,9 @@ func writeFields(t *types.Type, traitID string, content *[]string) { res = append(res, "[source,console]") res = append(res, "----") if len(t.Members) > 1 { - res = append(res, fmt.Sprintf("$ kamel run --trait %s.[key]=[value] --trait %s.[key2]=[value2] integration.groovy", traitID, traitID)) + res = append(res, fmt.Sprintf("$ kamel run --trait %s.[key]=[value] --trait %s.[key2]=[value2] integration.yaml", traitID, traitID)) } else { - res = append(res, fmt.Sprintf("$ kamel run --trait %s.[key]=[value] integration.groovy", traitID)) + res = append(res, fmt.Sprintf("$ kamel run --trait %s.[key]=[value] integration.yaml", traitID)) } res = append(res, "----") res = append(res, "The following configuration options are available:", "") diff --git a/docs/modules/traits/pages/3scale.adoc b/docs/modules/traits/pages/3scale.adoc index 4e410ddd0..d6fd68d9e 100755 --- a/docs/modules/traits/pages/3scale.adoc +++ b/docs/modules/traits/pages/3scale.adoc @@ -18,7 +18,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait 3scale.[key]=[value] --trait 3scale.[key2]=[value2] integration.groovy +$ kamel run --trait 3scale.[key]=[value] --trait 3scale.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/affinity.adoc b/docs/modules/traits/pages/affinity.adoc index 91691b40f..5f9efc5e8 100755 --- a/docs/modules/traits/pages/affinity.adoc +++ b/docs/modules/traits/pages/affinity.adoc @@ -18,7 +18,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait affinity.[key]=[value] --trait affinity.[key2]=[value2] integration.groovy +$ kamel run --trait affinity.[key]=[value] --trait affinity.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/aws-secrets-manager.adoc b/docs/modules/traits/pages/aws-secrets-manager.adoc index 7bf60ee29..96db11ead 100644 --- a/docs/modules/traits/pages/aws-secrets-manager.adoc +++ b/docs/modules/traits/pages/aws-secrets-manager.adoc @@ -27,7 +27,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait aws-secrets-manager.[key]=[value] --trait aws-secrets-manager.[key2]=[value2] integration.groovy +$ kamel run --trait aws-secrets-manager.[key]=[value] --trait aws-secrets-manager.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/azure-key-vault.adoc b/docs/modules/traits/pages/azure-key-vault.adoc index 79873afcb..454e11fd7 100644 --- a/docs/modules/traits/pages/azure-key-vault.adoc +++ b/docs/modules/traits/pages/azure-key-vault.adoc @@ -27,7 +27,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait azure-key-vault.[key]=[value] --trait azure-key-vault.[key2]=[value2] integration.groovy +$ kamel run --trait azure-key-vault.[key]=[value] --trait azure-key-vault.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/builder.adoc b/docs/modules/traits/pages/builder.adoc index f6280f412..7f3c280f3 100755 --- a/docs/modules/traits/pages/builder.adoc +++ b/docs/modules/traits/pages/builder.adoc @@ -18,7 +18,7 @@ NOTE: The builder trait is a *platform trait* and cannot be disabled by the user Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait builder.[key]=[value] --trait builder.[key2]=[value2] integration.groovy +$ kamel run --trait builder.[key]=[value] --trait builder.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/camel.adoc b/docs/modules/traits/pages/camel.adoc index b6cde7896..82f381043 100755 --- a/docs/modules/traits/pages/camel.adoc +++ b/docs/modules/traits/pages/camel.adoc @@ -17,7 +17,7 @@ NOTE: The camel trait is a *platform trait* and cannot be disabled by the user. Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait camel.[key]=[value] --trait camel.[key2]=[value2] integration.groovy +$ kamel run --trait camel.[key]=[value] --trait camel.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/container.adoc b/docs/modules/traits/pages/container.adoc index 936a15665..39551b17f 100755 --- a/docs/modules/traits/pages/container.adoc +++ b/docs/modules/traits/pages/container.adoc @@ -19,7 +19,7 @@ NOTE: The container trait is a *platform trait* and cannot be disabled by the us Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait container.[key]=[value] --trait container.[key2]=[value2] integration.groovy +$ kamel run --trait container.[key]=[value] --trait container.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/cron.adoc b/docs/modules/traits/pages/cron.adoc index 2134f8ef2..4edbcce95 100755 --- a/docs/modules/traits/pages/cron.adoc +++ b/docs/modules/traits/pages/cron.adoc @@ -32,7 +32,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait cron.[key]=[value] --trait cron.[key2]=[value2] integration.groovy +$ kamel run --trait cron.[key]=[value] --trait cron.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/deployer.adoc b/docs/modules/traits/pages/deployer.adoc index ebcd18e0b..a220f1b3c 100755 --- a/docs/modules/traits/pages/deployer.adoc +++ b/docs/modules/traits/pages/deployer.adoc @@ -18,7 +18,7 @@ NOTE: The deployer trait is a *platform trait* and cannot be disabled by the use Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait deployer.[key]=[value] --trait deployer.[key2]=[value2] integration.groovy +$ kamel run --trait deployer.[key]=[value] --trait deployer.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/deployment.adoc b/docs/modules/traits/pages/deployment.adoc index 2127bb342..b1098aeb1 100755 --- a/docs/modules/traits/pages/deployment.adoc +++ b/docs/modules/traits/pages/deployment.adoc @@ -18,7 +18,7 @@ NOTE: The deployment trait is a *platform trait* and cannot be disabled by the u Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait deployment.[key]=[value] --trait deployment.[key2]=[value2] integration.groovy +$ kamel run --trait deployment.[key]=[value] --trait deployment.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/environment.adoc b/docs/modules/traits/pages/environment.adoc index adfdca710..d40ab6a5a 100755 --- a/docs/modules/traits/pages/environment.adoc +++ b/docs/modules/traits/pages/environment.adoc @@ -18,7 +18,7 @@ NOTE: The environment trait is a *platform trait* and cannot be disabled by the Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait environment.[key]=[value] --trait environment.[key2]=[value2] integration.groovy +$ kamel run --trait environment.[key]=[value] --trait environment.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/error-handler.adoc b/docs/modules/traits/pages/error-handler.adoc index 4695216cb..d30201802 100755 --- a/docs/modules/traits/pages/error-handler.adoc +++ b/docs/modules/traits/pages/error-handler.adoc @@ -17,7 +17,7 @@ NOTE: The error-handler trait is a *platform trait* and cannot be disabled by th Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait error-handler.[key]=[value] --trait error-handler.[key2]=[value2] integration.groovy +$ kamel run --trait error-handler.[key]=[value] --trait error-handler.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/gc.adoc b/docs/modules/traits/pages/gc.adoc index 86827d06f..a16cd570a 100755 --- a/docs/modules/traits/pages/gc.adoc +++ b/docs/modules/traits/pages/gc.adoc @@ -15,7 +15,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait gc.[key]=[value] --trait gc.[key2]=[value2] integration.groovy +$ kamel run --trait gc.[key]=[value] --trait gc.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/gcp-secret-manager.adoc b/docs/modules/traits/pages/gcp-secret-manager.adoc index ab754fc4e..257f1824c 100644 --- a/docs/modules/traits/pages/gcp-secret-manager.adoc +++ b/docs/modules/traits/pages/gcp-secret-manager.adoc @@ -27,7 +27,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait gcp-secret-manager.[key]=[value] --trait gcp-secret-manager.[key2]=[value2] integration.groovy +$ kamel run --trait gcp-secret-manager.[key]=[value] --trait gcp-secret-manager.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/hashicorp-vault.adoc b/docs/modules/traits/pages/hashicorp-vault.adoc index 337f86ae7..8adb2106b 100644 --- a/docs/modules/traits/pages/hashicorp-vault.adoc +++ b/docs/modules/traits/pages/hashicorp-vault.adoc @@ -23,7 +23,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait hashicorp-vault.[key]=[value] --trait hashicorp-vault.[key2]=[value2] integration.groovy +$ kamel run --trait hashicorp-vault.[key]=[value] --trait hashicorp-vault.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/health.adoc b/docs/modules/traits/pages/health.adoc index 6bf487823..308ca2ab9 100755 --- a/docs/modules/traits/pages/health.adoc +++ b/docs/modules/traits/pages/health.adoc @@ -17,7 +17,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait health.[key]=[value] --trait health.[key2]=[value2] integration.groovy +$ kamel run --trait health.[key]=[value] --trait health.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/ingress.adoc b/docs/modules/traits/pages/ingress.adoc index 788eed27a..bf26cee14 100755 --- a/docs/modules/traits/pages/ingress.adoc +++ b/docs/modules/traits/pages/ingress.adoc @@ -18,7 +18,7 @@ This trait is available in the following profiles: **Kubernetes**. Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait ingress.[key]=[value] --trait ingress.[key2]=[value2] integration.groovy +$ kamel run --trait ingress.[key]=[value] --trait ingress.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/istio.adoc b/docs/modules/traits/pages/istio.adoc index 4c707c391..230f567bb 100755 --- a/docs/modules/traits/pages/istio.adoc +++ b/docs/modules/traits/pages/istio.adoc @@ -16,7 +16,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait istio.[key]=[value] --trait istio.[key2]=[value2] integration.groovy +$ kamel run --trait istio.[key]=[value] --trait istio.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/jolokia.adoc b/docs/modules/traits/pages/jolokia.adoc index 3ce989fc2..59456761b 100755 --- a/docs/modules/traits/pages/jolokia.adoc +++ b/docs/modules/traits/pages/jolokia.adoc @@ -17,7 +17,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait jolokia.[key]=[value] --trait jolokia.[key2]=[value2] integration.groovy +$ kamel run --trait jolokia.[key]=[value] --trait jolokia.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/jvm.adoc b/docs/modules/traits/pages/jvm.adoc index 458b3daf6..a9b1ed480 100755 --- a/docs/modules/traits/pages/jvm.adoc +++ b/docs/modules/traits/pages/jvm.adoc @@ -17,7 +17,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait jvm.[key]=[value] --trait jvm.[key2]=[value2] integration.groovy +$ kamel run --trait jvm.[key]=[value] --trait jvm.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/kamelets.adoc b/docs/modules/traits/pages/kamelets.adoc index 632790c19..59e460e07 100755 --- a/docs/modules/traits/pages/kamelets.adoc +++ b/docs/modules/traits/pages/kamelets.adoc @@ -15,7 +15,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait kamelets.[key]=[value] --trait kamelets.[key2]=[value2] integration.groovy +$ kamel run --trait kamelets.[key]=[value] --trait kamelets.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/keda.adoc b/docs/modules/traits/pages/keda.adoc index 6c41a9ba4..f5bf8ec4e 100644 --- a/docs/modules/traits/pages/keda.adoc +++ b/docs/modules/traits/pages/keda.adoc @@ -24,7 +24,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait keda.[key]=[value] --trait keda.[key2]=[value2] integration.groovy +$ kamel run --trait keda.[key]=[value] --trait keda.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/knative-service.adoc b/docs/modules/traits/pages/knative-service.adoc index 4449d90df..5d8ebbedf 100755 --- a/docs/modules/traits/pages/knative-service.adoc +++ b/docs/modules/traits/pages/knative-service.adoc @@ -19,7 +19,7 @@ This trait is available in the following profiles: **Knative**. Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait knative-service.[key]=[value] --trait knative-service.[key2]=[value2] integration.groovy +$ kamel run --trait knative-service.[key]=[value] --trait knative-service.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/knative.adoc b/docs/modules/traits/pages/knative.adoc index 5b65347e6..d22f19f07 100755 --- a/docs/modules/traits/pages/knative.adoc +++ b/docs/modules/traits/pages/knative.adoc @@ -20,7 +20,7 @@ This trait is available in the following profiles: **Knative**. Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait knative.[key]=[value] --trait knative.[key2]=[value2] integration.groovy +$ kamel run --trait knative.[key]=[value] --trait knative.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/logging.adoc b/docs/modules/traits/pages/logging.adoc index 2906c75e2..4191c4de2 100755 --- a/docs/modules/traits/pages/logging.adoc +++ b/docs/modules/traits/pages/logging.adoc @@ -16,7 +16,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait logging.[key]=[value] --trait logging.[key2]=[value2] integration.groovy +$ kamel run --trait logging.[key]=[value] --trait logging.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/master.adoc b/docs/modules/traits/pages/master.adoc index 01a412c0b..e120f47b2 100755 --- a/docs/modules/traits/pages/master.adoc +++ b/docs/modules/traits/pages/master.adoc @@ -21,7 +21,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait master.[key]=[value] --trait master.[key2]=[value2] integration.groovy +$ kamel run --trait master.[key]=[value] --trait master.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/mount.adoc b/docs/modules/traits/pages/mount.adoc index ba74bfc58..46a0915f5 100644 --- a/docs/modules/traits/pages/mount.adoc +++ b/docs/modules/traits/pages/mount.adoc @@ -17,7 +17,7 @@ NOTE: The mount trait is a *platform trait* and cannot be disabled by the user. Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait mount.[key]=[value] --trait mount.[key2]=[value2] integration.groovy +$ kamel run --trait mount.[key]=[value] --trait mount.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/openapi.adoc b/docs/modules/traits/pages/openapi.adoc index 6d6de25fc..f5148671f 100755 --- a/docs/modules/traits/pages/openapi.adoc +++ b/docs/modules/traits/pages/openapi.adoc @@ -17,7 +17,7 @@ NOTE: The openapi trait is a *platform trait* and cannot be disabled by the user Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait openapi.[key]=[value] --trait openapi.[key2]=[value2] integration.groovy +$ kamel run --trait openapi.[key]=[value] --trait openapi.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/owner.adoc b/docs/modules/traits/pages/owner.adoc index 8ad3805e6..75ff69584 100755 --- a/docs/modules/traits/pages/owner.adoc +++ b/docs/modules/traits/pages/owner.adoc @@ -18,7 +18,7 @@ NOTE: The owner trait is a *platform trait* and cannot be disabled by the user. Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait owner.[key]=[value] --trait owner.[key2]=[value2] integration.groovy +$ kamel run --trait owner.[key]=[value] --trait owner.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/pdb.adoc b/docs/modules/traits/pages/pdb.adoc index b2c3280c7..92da7934f 100755 --- a/docs/modules/traits/pages/pdb.adoc +++ b/docs/modules/traits/pages/pdb.adoc @@ -15,7 +15,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait pdb.[key]=[value] --trait pdb.[key2]=[value2] integration.groovy +$ kamel run --trait pdb.[key]=[value] --trait pdb.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/platform.adoc b/docs/modules/traits/pages/platform.adoc index 449667d0c..e9abaac50 100755 --- a/docs/modules/traits/pages/platform.adoc +++ b/docs/modules/traits/pages/platform.adoc @@ -21,7 +21,7 @@ NOTE: The platform trait is a *platform trait* and cannot be disabled by the use Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait platform.[key]=[value] --trait platform.[key2]=[value2] integration.groovy +$ kamel run --trait platform.[key]=[value] --trait platform.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/pod.adoc b/docs/modules/traits/pages/pod.adoc index 615170892..19593a564 100755 --- a/docs/modules/traits/pages/pod.adoc +++ b/docs/modules/traits/pages/pod.adoc @@ -32,7 +32,7 @@ The value from the template overwrites the `TEST_VARIABLE` environment variable, Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait pod.[key]=[value] integration.groovy +$ kamel run --trait pod.[key]=[value] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/prometheus.adoc b/docs/modules/traits/pages/prometheus.adoc index 82d19c075..ae6aa3774 100755 --- a/docs/modules/traits/pages/prometheus.adoc +++ b/docs/modules/traits/pages/prometheus.adoc @@ -26,7 +26,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait prometheus.[key]=[value] --trait prometheus.[key2]=[value2] integration.groovy +$ kamel run --trait prometheus.[key]=[value] --trait prometheus.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/pull-secret.adoc b/docs/modules/traits/pages/pull-secret.adoc index 8c736917a..9a1b410cf 100755 --- a/docs/modules/traits/pages/pull-secret.adoc +++ b/docs/modules/traits/pages/pull-secret.adoc @@ -24,7 +24,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait pull-secret.[key]=[value] --trait pull-secret.[key2]=[value2] integration.groovy +$ kamel run --trait pull-secret.[key]=[value] --trait pull-secret.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/quarkus.adoc b/docs/modules/traits/pages/quarkus.adoc index 2531673fc..1521ed036 100755 --- a/docs/modules/traits/pages/quarkus.adoc +++ b/docs/modules/traits/pages/quarkus.adoc @@ -23,7 +23,7 @@ NOTE: The quarkus trait is a *platform trait* and cannot be disabled by the user Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait quarkus.[key]=[value] --trait quarkus.[key2]=[value2] integration.groovy +$ kamel run --trait quarkus.[key]=[value] --trait quarkus.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/registry.adoc b/docs/modules/traits/pages/registry.adoc index 209415495..3043f2d21 100644 --- a/docs/modules/traits/pages/registry.adoc +++ b/docs/modules/traits/pages/registry.adoc @@ -19,7 +19,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait registry.[key]=[value] integration.groovy +$ kamel run --trait registry.[key]=[value] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/resume.adoc b/docs/modules/traits/pages/resume.adoc index 4a5c08352..894fe4d12 100644 --- a/docs/modules/traits/pages/resume.adoc +++ b/docs/modules/traits/pages/resume.adoc @@ -28,7 +28,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait resume.[key]=[value] --trait resume.[key2]=[value2] integration.groovy +$ kamel run --trait resume.[key]=[value] --trait resume.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/route.adoc b/docs/modules/traits/pages/route.adoc index d797ff8ca..163f9e598 100755 --- a/docs/modules/traits/pages/route.adoc +++ b/docs/modules/traits/pages/route.adoc @@ -23,7 +23,7 @@ This trait is available in the following profiles: **OpenShift**. Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait route.[key]=[value] --trait route.[key2]=[value2] integration.groovy +$ kamel run --trait route.[key]=[value] --trait route.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/security-context.adoc b/docs/modules/traits/pages/security-context.adoc index 516dda804..d53378caf 100644 --- a/docs/modules/traits/pages/security-context.adoc +++ b/docs/modules/traits/pages/security-context.adoc @@ -17,7 +17,7 @@ NOTE: The security-context trait is a *platform trait* and cannot be disabled by Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait security-context.[key]=[value] --trait security-context.[key2]=[value2] integration.groovy +$ kamel run --trait security-context.[key]=[value] --trait security-context.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/service-binding.adoc b/docs/modules/traits/pages/service-binding.adoc index 9638113ac..73582ad98 100755 --- a/docs/modules/traits/pages/service-binding.adoc +++ b/docs/modules/traits/pages/service-binding.adoc @@ -17,7 +17,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait service-binding.[key]=[value] --trait service-binding.[key2]=[value2] integration.groovy +$ kamel run --trait service-binding.[key]=[value] --trait service-binding.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/service.adoc b/docs/modules/traits/pages/service.adoc index 14c59f7c2..97bb436ac 100755 --- a/docs/modules/traits/pages/service.adoc +++ b/docs/modules/traits/pages/service.adoc @@ -18,7 +18,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait service.[key]=[value] --trait service.[key2]=[value2] integration.groovy +$ kamel run --trait service.[key]=[value] --trait service.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/telemetry.adoc b/docs/modules/traits/pages/telemetry.adoc index 18945f57b..44f54204e 100644 --- a/docs/modules/traits/pages/telemetry.adoc +++ b/docs/modules/traits/pages/telemetry.adoc @@ -21,7 +21,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait telemetry.[key]=[value] --trait telemetry.[key2]=[value2] integration.groovy +$ kamel run --trait telemetry.[key]=[value] --trait telemetry.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/toleration.adoc b/docs/modules/traits/pages/toleration.adoc index 9b5bb1864..ac8aa6833 100755 --- a/docs/modules/traits/pages/toleration.adoc +++ b/docs/modules/traits/pages/toleration.adoc @@ -26,7 +26,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait toleration.[key]=[value] --trait toleration.[key2]=[value2] integration.groovy +$ kamel run --trait toleration.[key]=[value] --trait toleration.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/docs/modules/traits/pages/tracing.adoc b/docs/modules/traits/pages/tracing.adoc index 1b25ba194..26d638f8e 100644 --- a/docs/modules/traits/pages/tracing.adoc +++ b/docs/modules/traits/pages/tracing.adoc @@ -24,7 +24,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait tracing.[key]=[value] --trait tracing.[key2]=[value2] integration.groovy +$ kamel run --trait tracing.[key]=[value] --trait tracing.[key2]=[value2] integration.yaml ---- The following configuration options are available: diff --git a/e2e/knative/openapi_test.go b/e2e/knative/openapi_test.go index e09dde16b..ea726b75e 100644 --- a/e2e/knative/openapi_test.go +++ b/e2e/knative/openapi_test.go @@ -33,6 +33,10 @@ import ( "github.com/stretchr/testify/require" ) +/* + go test -v -tags=integration ./e2e/knative --run TestOpenAPIService +*/ + func TestOpenAPIService(t *testing.T) { WithNewTestNamespace(t, func(ctx context.Context, g *WithT, ns string) { openapiContent, err := ioutil.ReadFile("./files/petstore-api.yaml")
