diff --git a/cmd/util/doc-gen/generators/traitdocgen.go b/cmd/util/doc-gen/generators/traitdocgen.go index 67f157e9ad..07c761707a 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 4e410ddd0c..d6fd68d9e5 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 91691b40ff..5f9efc5e87 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 7bf60ee29f..96db11ead1 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 79873afcbe..454e11fd73 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 f6280f412d..7f3c280f35 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 b6cde7896b..82f3810439 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 936a15665b..39551b17f6 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 2134f8ef20..4edbcce95b 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 ebcd18e0b1..a220f1b3c4 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 2127bb3427..b1098aeb12 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 adfdca710b..d40ab6a5a6 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 4695216cbc..d30201802d 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 86827d06fb..a16cd570a8 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 ab754fc4e5..257f1824c7 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 337f86ae7c..8adb2106b1 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 6bf487823b..308ca2ab94 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 788eed27a9..bf26cee14c 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 4c707c3917..230f567bb7 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 3ce989fc29..59456761bf 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 458b3daf68..a9b1ed4801 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 632790c19d..59e460e07e 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 6c41a9ba47..f5bf8ec4e8 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 4449d90dfe..5d8ebbedf6 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 5b65347e67..d22f19f07f 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 2906c75e29..4191c4de29 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 01a412c0b0..e120f47b21 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 ba74bfc584..46a0915f5d 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 6d6de25fc2..f5148671ff 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 8ad3805e64..75ff695846 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 b2c3280c74..92da7934f7 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 449667d0ce..e9abaac501 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 615170892a..19593a564b 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 82d19c075d..ae6aa37745 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 8c736917af..9a1b410cf2 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 2531673fc5..1521ed036d 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 2094154954..3043f2d211 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 4a5c083525..894fe4d12c 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 deb4d0cd45..246d8255bc 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 516dda8047..d53378cafe 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 9638113acf..73582ad989 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 14c59f7c21..97bb436acf 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 18945f57b6..44f54204e7 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 9b5bb18640..ac8aa68331 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 1b25ba1943..26d638f8eb 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 e09dde16bf..ea726b75e7 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")