You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/07/02 11:23:08 UTC

[camel-k-examples] branch main updated: CAMEL-16765 - use property file: instead of deprecated property-file (#32)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 7bc9932  CAMEL-16765 - use property file: instead of deprecated property-file (#32)
7bc9932 is described below

commit 7bc993264aad9fa405996fd1a9d009b9428755a3
Author: Aurélien Pupier <ap...@redhat.com>
AuthorDate: Fri Jul 2 13:23:00 2021 +0200

    CAMEL-16765 - use property file: instead of deprecated property-file (#32)
    
    Signed-off-by: Aurélien Pupier <ap...@redhat.com>
---
 02-serverless-api/readme.didact.md      | 8 ++++----
 02-serverless-api/test/yaks-config.yaml | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/02-serverless-api/readme.didact.md b/02-serverless-api/readme.didact.md
index a5a38fa..246df38 100644
--- a/02-serverless-api/readme.didact.md
+++ b/02-serverless-api/readme.didact.md
@@ -168,18 +168,18 @@ To run the integration, you need to link it to the proper configuration, that de
 As alternative, to connect the integration to the **test Minio server** deployed before using the [test/MinioCustomizer.java](didact://?commandId=vscode.open&projectFilePath=02-serverless-api/test/MinioCustomizer.java "Opens the customizer file"){.didact} class:
 
 ```
-kamel run API.java --source test/MinioCustomizer.java --property-file test/minio.properties
+kamel run API.java --source test/MinioCustomizer.java --property file:test/minio.properties
 ```
-([^ execute](didact://?commandId=vscode.didact.sendNamedTerminalAString&text=camelTerm$$kamel%20run%20API.java%20--source%20test%2FMinioCustomizer.java%20--property-file%20test%2Fminio.properties&completion=Integration%20run. "Opens a new terminal and sends the command above"){.didact})
+([^ execute](didact://?commandId=vscode.didact.sendNamedTerminalAString&text=camelTerm$$kamel%20run%20API.java%20--source%20test%2FMinioCustomizer.java%20--property%20file%3Atest%2Fminio.properties&completion=Integration%20run. "Opens a new terminal and sends the command above"){.didact})
 
 ### 4.2 [Alternative 2] Using the S3 service
 
 To connect the integration to the **AWS S3 service**:
 
 ```
-kamel run API.java --property-file s3.properties
+kamel run API.java --property file:s3.properties
 ```
-([^ execute](didact://?commandId=vscode.didact.sendNamedTerminalAString&text=camelTerm$$kamel%20run%20API.java%20--property-file%20s3.properties&completion=Integration%20run. "Opens a new terminal and sends the command above"){.didact})
+([^ execute](didact://?commandId=vscode.didact.sendNamedTerminalAString&text=camelTerm$$kamel%20run%20API.java%20--property%20file%3As3.properties&completion=Integration%20run. "Opens a new terminal and sends the command above"){.didact})
 
 
 ## 5. Using the API
diff --git a/02-serverless-api/test/yaks-config.yaml b/02-serverless-api/test/yaks-config.yaml
index 7eb1176..f9ad458 100644
--- a/02-serverless-api/test/yaks-config.yaml
+++ b/02-serverless-api/test/yaks-config.yaml
@@ -11,4 +11,4 @@ pre:
   run: |
     kamel install -w -n ${YAKS_NAMESPACE}
 
-    kamel run API.java --source test/MinioCustomizer.java --property-file test/minio.properties -w -n ${YAKS_NAMESPACE}
+    kamel run API.java --source test/MinioCustomizer.java --property file:test/minio.properties -w -n ${YAKS_NAMESPACE}