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/07/31 10:30:11 UTC

[camel] branch master updated (e32e1ac -> 64f9f49)

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 e32e1ac  REgen docs
     new 96953f9  Camel-AWS2-IAM: Added deleteUser example
     new db97bad  Camel-AWS2-IAM: Added listUsers example
     new 64f9f49  Camel-AWS2-IAM: Fixed deleteUser example

The 3 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-iam-component.adoc               | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)


[camel] 02/03: Camel-AWS2-IAM: Added listUsers 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 db97bad2e5760a2b23ad28040b55b7816f507b78
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 31 12:29:14 2020 +0200

    Camel-AWS2-IAM: Added listUsers example
---
 components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc b/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
index ac0cad6..0ab5b93 100644
--- a/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
+++ b/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
@@ -178,6 +178,14 @@ from("direct:createUser")
     .to("aws2-iam://test?iamClient=#amazonIAMClient&operation=deleteUser")
 --------------------------------------------------------------------------------
 
+- listUsers: this operation will list the users in IAM
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:listUsers")
+    .to("aws2-iam://test?iamClient=#amazonIAMClient&operation=listUsers")
+--------------------------------------------------------------------------------
+
 == Automatic detection of IamClient client in registry
 
 The component is capable of detecting the presence of an IamClient bean into the registry.


[camel] 03/03: Camel-AWS2-IAM: Fixed deleteUser 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 64f9f49083fb05c1f2f60e75d10827bda1018c5e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 31 12:29:35 2020 +0200

    Camel-AWS2-IAM: Fixed deleteUser example
---
 components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc b/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
index 0ab5b93..0cdd578 100644
--- a/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
+++ b/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
@@ -173,7 +173,7 @@ from("direct:createUser")
 
 [source,java]
 --------------------------------------------------------------------------------
-from("direct:createUser")
+from("direct:deleteUser")
     .setHeader(IAMConstants.USERNAME, constant("camel"))
     .to("aws2-iam://test?iamClient=#amazonIAMClient&operation=deleteUser")
 --------------------------------------------------------------------------------


[camel] 01/03: Camel-AWS2-IAM: Added deleteUser 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 96953f9191b4be53808cfcabf9b2e68ed91569f7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jul 31 12:27:27 2020 +0200

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

diff --git a/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc b/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
index 9760b92..ac0cad6 100644
--- a/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
+++ b/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
@@ -169,6 +169,15 @@ from("direct:createUser")
     .to("aws2-iam://test?iamClient=#amazonIAMClient&operation=createUser")
 --------------------------------------------------------------------------------
 
+- deleteUser: this operation will delete a user in IAM
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:createUser")
+    .setHeader(IAMConstants.USERNAME, constant("camel"))
+    .to("aws2-iam://test?iamClient=#amazonIAMClient&operation=deleteUser")
+--------------------------------------------------------------------------------
+
 == Automatic detection of IamClient client in registry
 
 The component is capable of detecting the presence of an IamClient bean into the registry.