camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 01/03: Camel-AWS IAM: Fixed javadoc and clean up a bit
Date Fri, 01 Mar 2019 08:40:23 GMT
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 0700e7c37340733c41b982dfc21793749c5ec9d6
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Fri Mar 1 09:33:04 2019 +0100

    Camel-AWS IAM: Fixed javadoc and clean up a bit
---
 .../main/java/org/apache/camel/component/aws/iam/IAMComponent.java  | 2 +-
 .../java/org/apache/camel/component/aws/iam/IAMConfiguration.java   | 6 +++---
 .../main/java/org/apache/camel/component/aws/iam/IAMEndpoint.java   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/components/camel-aws-iam/src/main/java/org/apache/camel/component/aws/iam/IAMComponent.java
b/components/camel-aws-iam/src/main/java/org/apache/camel/component/aws/iam/IAMComponent.java
index f2be3d5..2bab138 100644
--- a/components/camel-aws-iam/src/main/java/org/apache/camel/component/aws/iam/IAMComponent.java
+++ b/components/camel-aws-iam/src/main/java/org/apache/camel/component/aws/iam/IAMComponent.java
@@ -27,7 +27,7 @@ import org.apache.camel.support.DefaultComponent;
 import org.apache.camel.util.ObjectHelper;
 
 /**
- * For working with Amazon KMS.
+ * For working with Amazon IAM.
  */
 @Component("aws-iam")
 public class IAMComponent extends DefaultComponent {
diff --git a/components/camel-aws-iam/src/main/java/org/apache/camel/component/aws/iam/IAMConfiguration.java
b/components/camel-aws-iam/src/main/java/org/apache/camel/component/aws/iam/IAMConfiguration.java
index 9efa90e..8b88f5e 100644
--- a/components/camel-aws-iam/src/main/java/org/apache/camel/component/aws/iam/IAMConfiguration.java
+++ b/components/camel-aws-iam/src/main/java/org/apache/camel/component/aws/iam/IAMConfiguration.java
@@ -95,7 +95,7 @@ public class IAMConfiguration implements Cloneable {
     }
 
     /**
-     * To define a proxy host when instantiating the KMS client
+     * To define a proxy host when instantiating the IAM client
      */
     public void setProxyHost(String proxyHost) {
         this.proxyHost = proxyHost;
@@ -106,7 +106,7 @@ public class IAMConfiguration implements Cloneable {
     }
 
     /**
-     * To define a proxy port when instantiating the KMS client
+     * To define a proxy port when instantiating the IAM client
      */
     public void setProxyPort(Integer proxyPort) {
         this.proxyPort = proxyPort;
@@ -117,7 +117,7 @@ public class IAMConfiguration implements Cloneable {
     }
 
     /**
-     * The region in which KMS client needs to work
+     * The region in which IAM client needs to work
      */
     public void setRegion(String region) {
         this.region = region;
diff --git a/components/camel-aws-iam/src/main/java/org/apache/camel/component/aws/iam/IAMEndpoint.java
b/components/camel-aws-iam/src/main/java/org/apache/camel/component/aws/iam/IAMEndpoint.java
index 1297fff..171d3ea 100644
--- a/components/camel-aws-iam/src/main/java/org/apache/camel/component/aws/iam/IAMEndpoint.java
+++ b/components/camel-aws-iam/src/main/java/org/apache/camel/component/aws/iam/IAMEndpoint.java
@@ -65,7 +65,7 @@ public class IAMEndpoint extends ScheduledPollEndpoint {
     public void doStart() throws Exception {
         super.doStart();
 
-        iamClient = configuration.getIamClient() != null ? configuration.getIamClient() :
createKMSClient();
+        iamClient = configuration.getIamClient() != null ? configuration.getIamClient() :
createIAMClient();
     }
 
     @Override
@@ -86,7 +86,7 @@ public class IAMEndpoint extends ScheduledPollEndpoint {
         return iamClient;
     }
 
-    AmazonIdentityManagement createKMSClient() {
+    AmazonIdentityManagement createIAMClient() {
         AmazonIdentityManagement client = null;
         ClientConfiguration clientConfiguration = null;
         AmazonIdentityManagementClientBuilder clientBuilder = null;


Mime
View raw message