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/11/09 05:42:03 UTC
[camel-k-examples] branch main updated (0ee972c -> 73e011d)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k-examples.git.
from 0ee972c added reformatting for missing postgresql example
new d46ec3a Added missing 'openapi.yml' for kamel run
new 73e011d Adjusted aws component name
The 2 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:
02-serverless-api/readme.didact.md | 4 ++--
02-serverless-api/s3.properties | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
[camel-k-examples] 02/02: Adjusted aws component name
Posted by ac...@apache.org.
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
commit 73e011dc46faa49821099e26c1e03bd6a1975531
Author: Thomas Stuber <ts...@gmail.com>
AuthorDate: Fri Aug 6 12:50:30 2021 +0200
Adjusted aws component name
---
02-serverless-api/s3.properties | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/02-serverless-api/s3.properties b/02-serverless-api/s3.properties
index 8b5feeb..14ce141 100644
--- a/02-serverless-api/s3.properties
+++ b/02-serverless-api/s3.properties
@@ -5,11 +5,11 @@
# Bucket (referenced in the routes)
api.bucket=camel-k
# Region of the buket
-camel.component.aws-s3.region=EU_WEST_1
+camel.component.aws2-s3.region=EU_WEST_1
# AWS Access Key ID
-camel.component.aws-s3.access-key=<put-your-aws-access-key-id-here>
+camel.component.aws2-s3.access-key=<put-your-aws-access-key-id-here>
# AWS Access Key Secret
-camel.component.aws-s3.secret-key=<put-your-aws-access-key-secret-here>
+camel.component.aws2-s3.secret-key=<put-your-aws-access-key-secret-here>
# General configuration
camel.context.rest-configuration.api-context-path=/openapi.json
[camel-k-examples] 01/02: Added missing 'openapi.yml' for kamel run
Posted by ac...@apache.org.
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
commit d46ec3ac00e352210f35a1ffadb3c31a8ad0093e
Author: Thomas Stuber <ts...@gmail.com>
AuthorDate: Fri Aug 6 11:35:29 2021 +0200
Added missing 'openapi.yml' for kamel run
---
02-serverless-api/readme.didact.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/02-serverless-api/readme.didact.md b/02-serverless-api/readme.didact.md
index 246df38..0cc9a73 100644
--- a/02-serverless-api/readme.didact.md
+++ b/02-serverless-api/readme.didact.md
@@ -168,7 +168,7 @@ 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 --open-api openapi.yml --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%20file%3Atest%2Fminio.properties&completion=Integration%20run. "Opens a new terminal and sends the command above"){.didact})
@@ -177,7 +177,7 @@ kamel run API.java --source test/MinioCustomizer.java --property file:test/minio
To connect the integration to the **AWS S3 service**:
```
-kamel run API.java --property file:s3.properties
+kamel run API.java --open-api openapi.yml --property file:s3.properties
```
([^ 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})