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 2017/01/19 14:32:58 UTC

[1/2] camel git commit: Camel AWS EC2: Added enumeration for the possible operations

Repository: camel
Updated Branches:
  refs/heads/master 6d8092585 -> 4b61cacaf


Camel AWS EC2: Added enumeration for the possible operations


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d58043f0
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d58043f0
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d58043f0

Branch: refs/heads/master
Commit: d58043f0df3cfeb5f57fa3cff9e1693fb9289892
Parents: 6d80925
Author: Andrea Cosentino <an...@gmail.com>
Authored: Thu Jan 19 15:02:19 2017 +0100
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Thu Jan 19 15:02:19 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/aws/ec2/EC2Configuration.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/d58043f0/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Configuration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Configuration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Configuration.java
index c558eb0..09dc386 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Configuration.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Configuration.java
@@ -36,7 +36,8 @@ public class EC2Configuration {
     private String secretKey;
     @UriParam
     private String amazonEc2Endpoint;
-    @UriParam(label = "producer")
+    @UriParam(label = "producer", enums = "createAndRunInstances, startInstances, stopInstances, terminateInstances, describeInstances, "
+        + "describeInstancesStatus, rebootInstances, monitorInstances, unmonitorInstances, createTags, deleteTags")
     @Metadata(required = "true")
     private EC2Operations operation;
     @UriParam


[2/2] camel git commit: Camel AWS EC2 added a bit of labels on EC2Configuration fields

Posted by ac...@apache.org.
Camel AWS EC2 added a bit of labels on EC2Configuration fields


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/4b61caca
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4b61caca
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4b61caca

Branch: refs/heads/master
Commit: 4b61cacaf95bdb08cd4e089bd7ec70bf623a25cb
Parents: d58043f
Author: Andrea Cosentino <an...@gmail.com>
Authored: Thu Jan 19 15:26:55 2017 +0100
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Thu Jan 19 15:26:55 2017 +0100

----------------------------------------------------------------------
 .../camel/component/aws/ec2/EC2Configuration.java       | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4b61caca/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Configuration.java
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Configuration.java b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Configuration.java
index 09dc386..00733bc 100644
--- a/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Configuration.java
+++ b/components/camel-aws/src/main/java/org/apache/camel/component/aws/ec2/EC2Configuration.java
@@ -28,21 +28,21 @@ public class EC2Configuration {
 
     @UriPath(description = "Logical name") @Metadata(required = "true")
     private String label;
-    @UriParam
+    @UriParam(label = "producer")
     private AmazonEC2Client amazonEc2Client;
-    @UriParam
+    @UriParam(label = "producer", secret = true)
     private String accessKey;
-    @UriParam
+    @UriParam(label = "producer", secret = true)
     private String secretKey;
-    @UriParam
+    @UriParam(label = "producer")
     private String amazonEc2Endpoint;
     @UriParam(label = "producer", enums = "createAndRunInstances, startInstances, stopInstances, terminateInstances, describeInstances, "
         + "describeInstancesStatus, rebootInstances, monitorInstances, unmonitorInstances, createTags, deleteTags")
     @Metadata(required = "true")
     private EC2Operations operation;
-    @UriParam
+    @UriParam(label = "producer")
     private String proxyHost;
-    @UriParam
+    @UriParam(label = "producer")
     private Integer proxyPort;
     
     public AmazonEC2Client getAmazonEc2Client() {