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 2020/08/03 12:42:56 UTC

[camel] branch master updated (f3bd3a3 -> 357fe6e)

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

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from f3bd3a3  CAMEL-15365: Add autoDiscovery option and tweak the info messages for better user visibility (#4067)
     new 24663ce  Camel-AWS2-KMS: Added CreateKey Example
     new 3a92f92  Camel-AWS2-KMS: Added disableKey example
     new 828a05b  Camel-AWS2-KMS: Better docs
     new 357fe6e  Regen website docs

The 4 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:
 .../src/main/docs/aws2-kms-component.adoc          | 26 ++++++++++++++++++++++
 .../modules/ROOT/pages/aws2-kms-component.adoc     | 26 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)


[camel] 01/04: Camel-AWS2-KMS: Added CreateKey Example

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 24663ce052ffc24a2e03567f7b49b6e7f61f114b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 3 14:34:12 2020 +0200

    Camel-AWS2-KMS: Added CreateKey Example
---
 components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc b/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc
index 4a0e255..bbd37e7 100644
--- a/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc
+++ b/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc
@@ -157,6 +157,14 @@ from("direct:listKeys")
       .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=listKeys")
 --------------------------------------------------------------------------------
 
+- createKey: this operation will create a key in KMS
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:listKeys")
+      .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=createKey")
+--------------------------------------------------------------------------------
+
 == Automatic detection of KmsClient client in registry
 
 The component is capable of detecting the presence of an KmsClient bean into the registry.


[camel] 03/04: Camel-AWS2-KMS: Better docs

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 828a05b920ddfda80cb39cd191876202657ff2a5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 3 14:38:23 2020 +0200

    Camel-AWS2-KMS: Better docs
---
 .../camel-aws2-kms/src/main/docs/aws2-kms-component.adoc    | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc b/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc
index d020c0d..f9d8ebd 100644
--- a/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc
+++ b/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc
@@ -161,7 +161,7 @@ from("direct:listKeys")
 
 [source,java]
 --------------------------------------------------------------------------------
-from("direct:listKeys")
+from("direct:createKey")
       .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=createKey")
 --------------------------------------------------------------------------------
 
@@ -169,11 +169,20 @@ from("direct:listKeys")
 
 [source,java]
 --------------------------------------------------------------------------------
-from("direct:listKeys")
+from("direct:disableKey")
       .setHeader(KMS2Constants.KEY_ID, constant("123")
       .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=disableKey")
 --------------------------------------------------------------------------------
 
+- enableKey: this operation will enable a key in KMS
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:enableKey")
+      .setHeader(KMS2Constants.KEY_ID, constant("123")
+      .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=enableKey")
+--------------------------------------------------------------------------------
+
 == Automatic detection of KmsClient client in registry
 
 The component is capable of detecting the presence of an KmsClient bean into the registry.


[camel] 04/04: Regen website docs

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 357fe6e98d7ea96e6f2ab4a27315196477a3298c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 3 14:40:54 2020 +0200

    Regen website docs
---
 .../modules/ROOT/pages/aws2-kms-component.adoc     | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/docs/components/modules/ROOT/pages/aws2-kms-component.adoc b/docs/components/modules/ROOT/pages/aws2-kms-component.adoc
index 70c92c2..429f018 100644
--- a/docs/components/modules/ROOT/pages/aws2-kms-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws2-kms-component.adoc
@@ -159,6 +159,32 @@ from("direct:listKeys")
       .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=listKeys")
 --------------------------------------------------------------------------------
 
+- createKey: this operation will create a key in KMS
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:createKey")
+      .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=createKey")
+--------------------------------------------------------------------------------
+
+- disableKey: this operation will disable a key in KMS
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:disableKey")
+      .setHeader(KMS2Constants.KEY_ID, constant("123")
+      .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=disableKey")
+--------------------------------------------------------------------------------
+
+- enableKey: this operation will enable a key in KMS
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:enableKey")
+      .setHeader(KMS2Constants.KEY_ID, constant("123")
+      .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=enableKey")
+--------------------------------------------------------------------------------
+
 == Automatic detection of KmsClient client in registry
 
 The component is capable of detecting the presence of an KmsClient bean into the registry.


[camel] 02/04: Camel-AWS2-KMS: Added disableKey example

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 3a92f9213f1e6bc4f0aad76958edfef0ccb7aea1
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 3 14:34:41 2020 +0200

    Camel-AWS2-KMS: Added disableKey example
---
 components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc b/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc
index bbd37e7..d020c0d 100644
--- a/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc
+++ b/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc
@@ -165,6 +165,15 @@ from("direct:listKeys")
       .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=createKey")
 --------------------------------------------------------------------------------
 
+- disableKey: this operation will disable a key in KMS
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:listKeys")
+      .setHeader(KMS2Constants.KEY_ID, constant("123")
+      .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=disableKey")
+--------------------------------------------------------------------------------
+
 == Automatic detection of KmsClient client in registry
 
 The component is capable of detecting the presence of an KmsClient bean into the registry.