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 2023/09/26 13:12:29 UTC

[camel-kamelets-examples] branch minor-fixes created (now a49ab70)

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

acosentino pushed a change to branch minor-fixes
in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git


      at a49ab70  AWS-secret-refresh Example - Moving specific properties to application.properties

This branch includes the following new commits:

     new 77256cc  AWS-secret-refresh Example - Moving specific properties to application.properties
     new a49ab70  AWS-secret-refresh Example - Moving specific properties to application.properties

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.



[camel-kamelets-examples] 02/02: AWS-secret-refresh Example - Moving specific properties to application.properties

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit a49ab70a9ea0f3f1a5ef094297d9239f2ef93e10
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Sep 26 15:12:17 2023 +0200

    AWS-secret-refresh Example - Moving specific properties to application.properties
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 jbang/aws-database-admin-secrets-refresh/application.properties | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/jbang/aws-database-admin-secrets-refresh/application.properties b/jbang/aws-database-admin-secrets-refresh/application.properties
new file mode 100644
index 0000000..137d0c1
--- /dev/null
+++ b/jbang/aws-database-admin-secrets-refresh/application.properties
@@ -0,0 +1,6 @@
+camel.vault.aws.defaultCredentialsProvider=true
+camel.vault.aws.region=eu-west-1
+camel.vault.aws.refreshEnabled=true
+camel.vault.aws.refreshPeriod=1000
+camel.vault.aws.secrets=psql
+camel.main.name = AWSExample


[camel-kamelets-examples] 01/02: AWS-secret-refresh Example - Moving specific properties to application.properties

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 77256cc4a6a9f07432ec5d00099b663d952120b9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Sep 26 15:11:43 2023 +0200

    AWS-secret-refresh Example - Moving specific properties to application.properties
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 jbang/aws-database-admin-secrets-refresh/README.adoc                | 6 +++---
 .../aws-sec-integration.properties                                  | 6 ------
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/jbang/aws-database-admin-secrets-refresh/README.adoc b/jbang/aws-database-admin-secrets-refresh/README.adoc
index f96f8e3..75ad6b8 100644
--- a/jbang/aws-database-admin-secrets-refresh/README.adoc
+++ b/jbang/aws-database-admin-secrets-refresh/README.adoc
@@ -71,7 +71,7 @@ Then you can run this example using:
 
 [source,sh]
 ----
-$ camel run --properties=aws-sec-integration.properties sql-query.yaml
+$ camel run sql-query.yaml
 ----
 
 Or run it even shorter:
@@ -85,7 +85,7 @@ Or run with JBang using the longer command line (without installing camel as app
 
 [source,sh]
 ----
-$ jbang camel@apache/camel run --properties=aws-sec-integration.properties sql-query.yaml
+$ jbang camel@apache/camel run sql-query.yaml
 ----
 
 The application will run and consume immediately, then it will wait 120 seconds to query the database again.
@@ -201,7 +201,7 @@ You can enable the developer console via `--console` flag as show:
 
 [source,sh]
 ----
-$ camel run --properties=aws-sec-integration.properties sql-query.yaml --console
+$ camel run sql-query.yaml --console
 ----
 
 Then you can browse: http://localhost:8080/q/dev to introspect the running Camel applicaton.
diff --git a/jbang/aws-database-admin-secrets-refresh/aws-sec-integration.properties b/jbang/aws-database-admin-secrets-refresh/aws-sec-integration.properties
deleted file mode 100644
index 137d0c1..0000000
--- a/jbang/aws-database-admin-secrets-refresh/aws-sec-integration.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-camel.vault.aws.defaultCredentialsProvider=true
-camel.vault.aws.region=eu-west-1
-camel.vault.aws.refreshEnabled=true
-camel.vault.aws.refreshPeriod=1000
-camel.vault.aws.secrets=psql
-camel.main.name = AWSExample