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 2019/10/01 10:32:10 UTC

[camel] branch master updated (dafff18 -> f0374fc)

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 dafff18  CAMEL-13878: Regen and add a log when the consumer thread is terminating.
     new 7e395e7  Camel-AWS-Ec2: Added list of supported operations
     new 6fb5922  Camel AWS EC2: Added example of create and run instance through producer
     new f0374fc  Regen docs

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/aws-ec2-component.adoc           | 28 ++++++++++++++++++++++
 .../modules/ROOT/pages/aws-ec2-component.adoc      | 28 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)


[camel] 03/03: Regen 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 f0374fc55073b317d76439d82c0cef74b3cdfb06
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 1 12:31:38 2019 +0200

    Regen docs
---
 .../modules/ROOT/pages/aws-ec2-component.adoc      | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/docs/components/modules/ROOT/pages/aws-ec2-component.adoc b/docs/components/modules/ROOT/pages/aws-ec2-component.adoc
index 6aa9862..414aa38 100644
--- a/docs/components/modules/ROOT/pages/aws-ec2-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws-ec2-component.adoc
@@ -159,6 +159,34 @@ terminate operations on.
 |`CamelAwsEC2InstancesTags` |`Collection` |A collection of tags to add or remove from EC2 resources
 |=======================================================================
 
+== Supported producer operations
+
+- createAndRunInstances
+- startInstances
+- stopInstances
+- terminateInstances
+- describeInstances
+- describeInstancesStatus
+- rebootInstances
+- monitorInstances
+- unmonitorInstances
+- createTags
+- deleteTags
+
+== Producer Examples
+
+- createAndRunInstances: this operation will create an EC2 instance and run it
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:createAndRun")
+     .setHeader(EC2Constants.IMAGE_ID, constant("ami-fd65ba94"))
+     .setHeader(EC2Constants.INSTANCE_TYPE, constant(InstanceType.T2Micro))
+     .setHeader(EC2Constants.INSTANCE_MIN_COUNT, constant("1"))
+     .setHeader(EC2Constants.INSTANCE_MAX_COUNT, constant("1"))
+     .to("aws-ec2://TestDomain?accessKey=xxxx&secretKey=xxxx&operation=createAndRunInstances");
+--------------------------------------------------------------------------------
+
 == Automatic detection of AmazonEC2 client in registry
 
 The component is capable of detecting the presence of an AmazonEC2 bean into the registry.


[camel] 02/03: Camel AWS EC2: Added example of create and run instance through producer

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 6fb5922eb674008db5609aa2a287ebb68376648f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 1 12:30:45 2019 +0200

    Camel AWS EC2: Added example of create and run instance through producer
---
 .../camel-aws-ec2/src/main/docs/aws-ec2-component.adoc     | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/components/camel-aws-ec2/src/main/docs/aws-ec2-component.adoc b/components/camel-aws-ec2/src/main/docs/aws-ec2-component.adoc
index a6c36a1..997e3e0 100644
--- a/components/camel-aws-ec2/src/main/docs/aws-ec2-component.adoc
+++ b/components/camel-aws-ec2/src/main/docs/aws-ec2-component.adoc
@@ -172,6 +172,20 @@ terminate operations on.
 - createTags
 - deleteTags
 
+== Producer Examples
+
+- createAndRunInstances: this operation will create an EC2 instance and run it
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:createAndRun")
+     .setHeader(EC2Constants.IMAGE_ID, constant("ami-fd65ba94"))
+     .setHeader(EC2Constants.INSTANCE_TYPE, constant(InstanceType.T2Micro))
+     .setHeader(EC2Constants.INSTANCE_MIN_COUNT, constant("1"))
+     .setHeader(EC2Constants.INSTANCE_MAX_COUNT, constant("1"))
+     .to("aws-ec2://TestDomain?accessKey=xxxx&secretKey=xxxx&operation=createAndRunInstances");
+--------------------------------------------------------------------------------
+
 == Automatic detection of AmazonEC2 client in registry
 
 The component is capable of detecting the presence of an AmazonEC2 bean into the registry.


[camel] 01/03: Camel-AWS-Ec2: Added list of supported operations

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 7e395e7950d989bb4ff742ab8a38927a2c2db62e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 1 12:23:16 2019 +0200

    Camel-AWS-Ec2: Added list of supported operations
---
 .../camel-aws-ec2/src/main/docs/aws-ec2-component.adoc     | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/components/camel-aws-ec2/src/main/docs/aws-ec2-component.adoc b/components/camel-aws-ec2/src/main/docs/aws-ec2-component.adoc
index d6aa222..a6c36a1 100644
--- a/components/camel-aws-ec2/src/main/docs/aws-ec2-component.adoc
+++ b/components/camel-aws-ec2/src/main/docs/aws-ec2-component.adoc
@@ -158,6 +158,20 @@ terminate operations on.
 |`CamelAwsEC2InstancesTags` |`Collection` |A collection of tags to add or remove from EC2 resources
 |=======================================================================
 
+== Supported producer operations
+
+- createAndRunInstances
+- startInstances
+- stopInstances
+- terminateInstances
+- describeInstances
+- describeInstancesStatus
+- rebootInstances
+- monitorInstances
+- unmonitorInstances
+- createTags
+- deleteTags
+
 == Automatic detection of AmazonEC2 client in registry
 
 The component is capable of detecting the presence of an AmazonEC2 bean into the registry.