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 eaf1e83b8dfc85a647e90e72fb91c185be6b59b6 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Feb 23 08:35:32 2021 +0100 CAMEL-16115 - Remove Camel-AWS-* components - AWS-EKS --- .../org/apache/camel/catalog/components.properties | 1 - .../apache/camel/catalog/components/aws-eks.json | 52 ------ .../org/apache/camel/catalog/docs.properties | 1 - .../camel/catalog/docs/aws-eks-component.adoc | 177 -------------------- .../src/generated/resources/metadata.json | 23 --- .../builder/endpoint/EndpointBuilderFactory.java | 3 +- .../camel/builder/endpoint/EndpointBuilders.java | 3 +- docs/components/modules/ROOT/nav.adoc | 1 - .../modules/ROOT/pages/aws-eks-component.adoc | 179 --------------------- 9 files changed, 2 insertions(+), 438 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties index 51d6ba7..b4c2ee4 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties @@ -23,7 +23,6 @@ aws-ddb aws-ddbstream aws-ec2 aws-ecs -aws-eks aws-s3 aws-swf aws2-athena diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-eks.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-eks.json deleted file mode 100644 index 76bef36..0000000 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-eks.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "component": { - "kind": "component", - "name": "aws-eks", - "title": "AWS Elastic Kubernetes Service (EKS)", - "description": "Manage AWS EKS cluster instances.", - "deprecated": true, - "deprecatedSince": "3.8.0", - "firstVersion": "3.0.0", - "label": "cloud,management", - "javaType": "org.apache.camel.component.aws.eks.EKSComponent", - "supportLevel": "Stable", - "groupId": "org.apache.camel", - "artifactId": "camel-aws-eks", - "version": "3.9.0-SNAPSHOT", - "scheme": "aws-eks", - "extendsScheme": "", - "syntax": "aws-eks:label", - "async": false, - "api": false, - "consumerOnly": false, - "producerOnly": true, - "lenientProperties": false - }, - "componentProperties": { - "autoDiscoverClient": { "kind": "property", "displayName": "Auto Discover Client", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client instan [...] - "accessKey": { "kind": "property", "displayName": "Access Key", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "Amazon AWS Access Key" }, - "configuration": { "kind": "property", "displayName": "Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws.eks.EKSConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "The component configuration" }, - "eksClient": { "kind": "property", "displayName": "Eks Client", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "com.amazonaws.services.eks.AmazonEKS", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "To use a existing configured AWS EKS as client" }, - "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...] - "operation": { "kind": "property", "displayName": "Operation", "group": "producer", "label": "producer", "required": true, "type": "object", "javaType": "org.apache.camel.component.aws.eks.EKSOperations", "enum": [ "listClusters", "describeCluster", "createCluster", "deleteCluster" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "desc [...] - "proxyHost": { "kind": "property", "displayName": "Proxy Host", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "To define a proxy host when instantiating the EKS client" }, - "proxyPort": { "kind": "property", "displayName": "Proxy Port", "group": "producer", "label": "producer", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the EKS client" }, - "proxyProtocol": { "kind": "property", "displayName": "Proxy Protocol", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "com.amazonaws.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "To define a proxy protocol when instantiating the EKS client" }, - "region": { "kind": "property", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "The region in which EKS client needs to work. When using this parameter, the configuration will expect the capitalized name of the region [...] - "secretKey": { "kind": "property", "displayName": "Secret Key", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" }, - "autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which t [...] - }, - "properties": { - "label": { "kind": "path", "displayName": "Label", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "Logical name" }, - "autoDiscoverClient": { "kind": "parameter", "displayName": "Auto Discover Client", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "Setting the autoDiscoverClient mechanism, if true, the component will look for a client insta [...] - "accessKey": { "kind": "parameter", "displayName": "Access Key", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "Amazon AWS Access Key" }, - "eksClient": { "kind": "parameter", "displayName": "Eks Client", "group": "producer", "label": "producer", "required": false, "type": "object", "javaType": "com.amazonaws.services.eks.AmazonEKS", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "To use a existing configured AWS EKS as client" }, - "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during sta [...] - "operation": { "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "producer", "required": true, "type": "object", "javaType": "org.apache.camel.component.aws.eks.EKSOperations", "enum": [ "listClusters", "describeCluster", "createCluster", "deleteCluster" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "des [...] - "proxyHost": { "kind": "parameter", "displayName": "Proxy Host", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "To define a proxy host when instantiating the EKS client" }, - "proxyPort": { "kind": "parameter", "displayName": "Proxy Port", "group": "producer", "label": "producer", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the EKS client" }, - "proxyProtocol": { "kind": "parameter", "displayName": "Proxy Protocol", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "com.amazonaws.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "To define a proxy protocol when instantiating the EKS client" }, - "region": { "kind": "parameter", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "The region in which EKS client needs to work. When using this parameter, the configuration will expect the capitalized name of the region [...] - "secretKey": { "kind": "parameter", "displayName": "Secret Key", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws.eks.EKSConfiguration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" } - } -} diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs.properties index d245711..52bf99b 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs.properties +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs.properties @@ -27,7 +27,6 @@ aws-ddb-component aws-ddbstream-component aws-ec2-component aws-ecs-component -aws-eks-component aws-s3-component aws-summary aws-swf-component diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws-eks-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws-eks-component.adoc deleted file mode 100644 index 0572448..0000000 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws-eks-component.adoc +++ /dev/null @@ -1,177 +0,0 @@ -[[aws-eks-component]] -= AWS Elastic Kubernetes Service (EKS) Component (deprecated) -:docTitle: AWS Elastic Kubernetes Service (EKS) -:artifactId: camel-aws-eks -:description: Manage AWS EKS cluster instances. -:since: 3.0 -:supportLevel: Stable-deprecated -:deprecated: *deprecated* -:component-header: Only producer is supported -include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/aws-eks.adoc[opts=optional] -//Manually maintained attributes -:group: AWS - -*Since Camel {since}* - -*{component-header}* - -The EKS component supports create, delete, describe and list -https://aws.amazon.com/eks/[AWS EKS] clusters instances. - -Prerequisites - -You must have a valid Amazon Web Services developer account, and be -signed up to use Amazon EKS. More information is available at -https://aws.amazon.com/eks/[Amazon EKS]. - -== URI Format - -[source,java] -------------------------- -aws-eks://label[?options] -------------------------- - -You can append query options to the URI in the following format, -?options=value&option2=value&... - -== URI Options - - -// component options: START -The AWS Elastic Kubernetes Service (EKS) component supports 12 options, which are listed below. - - - -[width="100%",cols="2,5,^1,2",options="header"] -|=== -| Name | Description | Default | Type -| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | boolean -| *accessKey* (producer) | Amazon AWS Access Key | | String -| *configuration* (producer) | The component configuration | | EKSConfiguration -| *eksClient* (producer) | To use a existing configured AWS EKS as client | | AmazonEKS -| *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 4 enums and the value can be one of: listClusters, describeCluster, createCluster, deleteCluster | | EKSOperations -| *proxyHost* (producer) | To define a proxy host when instantiating the EKS client | | String -| *proxyPort* (producer) | To define a proxy port when instantiating the EKS client | | Integer -| *proxyProtocol* (producer) | To define a proxy protocol when instantiating the EKS client. There are 2 enums and the value can be one of: HTTP, HTTPS | HTTPS | Protocol -| *region* (producer) | The region in which EKS client needs to work. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name() | | String -| *secretKey* (producer) | Amazon AWS Secret Key | | String -| *autowiredEnabled* (advanced) | Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | boolean -|=== -// component options: END - - - - -// endpoint options: START -The AWS Elastic Kubernetes Service (EKS) endpoint is configured using URI syntax: - ----- -aws-eks:label ----- - -with the following path and query parameters: - -=== Path Parameters (1 parameters): - - -[width="100%",cols="2,5,^1,2",options="header"] -|=== -| Name | Description | Default | Type -| *label* | *Required* Logical name | | String -|=== - - -=== Query Parameters (10 parameters): - - -[width="100%",cols="2,5,^1,2",options="header"] -|=== -| Name | Description | Default | Type -| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | boolean -| *accessKey* (producer) | Amazon AWS Access Key | | String -| *eksClient* (producer) | To use a existing configured AWS EKS as client | | AmazonEKS -| *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 4 enums and the value can be one of: listClusters, describeCluster, createCluster, deleteCluster | | EKSOperations -| *proxyHost* (producer) | To define a proxy host when instantiating the EKS client | | String -| *proxyPort* (producer) | To define a proxy port when instantiating the EKS client | | Integer -| *proxyProtocol* (producer) | To define a proxy protocol when instantiating the EKS client. There are 2 enums and the value can be one of: HTTP, HTTPS | HTTPS | Protocol -| *region* (producer) | The region in which EKS client needs to work. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name() | | String -| *secretKey* (producer) | Amazon AWS Secret Key | | String -|=== -// endpoint options: END - - - - -Required EKS component options - -You have to provide the amazonEKSClient in the -Registry or your accessKey and secretKey to access -the https://aws.amazon.com/eks/[Amazon EKS] service. - -== Usage - -=== Message headers evaluated by the EKS producer - -[width="100%",cols="10%,10%,80%",options="header",] -|======================================================================= -|Header |Type |Description - -|`CamelAwsEKSMaxResults` |`Integer` |The limit number of results while listing clusters - -|`CamelAwsEKSOperation` |`String` |The operation we want to perform - -|`CamelAwsEKSDescription` |`String` |A key description to use while performing a createKey operation - -|`CamelAwsEKSClusterName` |`String` |The cluster name - -|`CamelAwsEKSRoleARN` |`String` |The role ARN to use while creating the cluster - -|`CamelAwsEKSVPCConfig` |`VPCConfigRequest` |The VPC config for the creations of an EKS cluster -|======================================================================= - -=== EKS Producer operations - -Camel-AWS EKS component provides the following operation on the producer side: - -- listClusters -- createCluster -- describeCluster -- deleteCluster - -== Producer Examples - -- listClusters: this operation will list the available clusters in EKS - -[source,java] --------------------------------------------------------------------------------- -from("direct:listClusters") - .to("aws-eks://test?ecsClient=#amazonEksClient&operation=listClusters") --------------------------------------------------------------------------------- - -== Automatic detection of AmazonEKS client in registry - -The component is capable of detecting the presence of an AmazonEKS bean into the registry. -If it's the only instance of that type it will be used as client and you won't have to define it as uri parameter. -This may be really useful for smarter configuration of the endpoint. - -Dependencies - -Maven users will need to add the following dependency to their pom.xml. - -*pom.xml* - -[source,xml] ---------------------------------------- -<dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-aws-eks</artifactId> - <version>${camel-version}</version> -</dependency> ---------------------------------------- - -where `$\{camel-version}` must be replaced by the actual version of Camel. - - -include::camel-spring-boot::page$aws-eks-starter.adoc[] diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json b/core/camel-componentdsl/src/generated/resources/metadata.json index ef3fba2..a8f505e 100644 --- a/core/camel-componentdsl/src/generated/resources/metadata.json +++ b/core/camel-componentdsl/src/generated/resources/metadata.json @@ -1021,29 +1021,6 @@ "producerOnly": true, "lenientProperties": false }, - "AwsEksComponentBuilderFactory": { - "kind": "component", - "name": "aws-eks", - "title": "AWS Elastic Kubernetes Service (EKS)", - "description": "Manage AWS EKS cluster instances.", - "deprecated": true, - "deprecatedSince": "3.8.0", - "firstVersion": "3.0.0", - "label": "cloud,management", - "javaType": "org.apache.camel.component.aws.eks.EKSComponent", - "supportLevel": "Stable", - "groupId": "org.apache.camel", - "artifactId": "camel-aws-eks", - "version": "3.9.0-SNAPSHOT", - "scheme": "aws-eks", - "extendsScheme": "", - "syntax": "aws-eks:label", - "async": false, - "api": false, - "consumerOnly": false, - "producerOnly": true, - "lenientProperties": false - }, "AwsS3ComponentBuilderFactory": { "kind": "component", "name": "aws-s3", diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java index d7981ac..d66e422 100644 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java @@ -109,7 +109,6 @@ public interface EndpointBuilderFactory org.apache.camel.builder.endpoint.dsl.ECS2EndpointBuilderFactory.ECS2Builders, org.apache.camel.builder.endpoint.dsl.ECSEndpointBuilderFactory.ECSBuilders, org.apache.camel.builder.endpoint.dsl.EKS2EndpointBuilderFactory.EKS2Builders, - org.apache.camel.builder.endpoint.dsl.EKSEndpointBuilderFactory.EKSBuilders, org.apache.camel.builder.endpoint.dsl.EhcacheEndpointBuilderFactory.EhcacheBuilders, org.apache.camel.builder.endpoint.dsl.ElasticsearchEndpointBuilderFactory.ElasticsearchBuilders, org.apache.camel.builder.endpoint.dsl.ElsqlEndpointBuilderFactory.ElsqlBuilders, @@ -384,4 +383,4 @@ public interface EndpointBuilderFactory }; } } -//CHECKSTYLE:ON \ No newline at end of file +//CHECKSTYLE:ON diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java index 9f05477..0ba239b 100644 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java @@ -106,7 +106,6 @@ public interface EndpointBuilders org.apache.camel.builder.endpoint.dsl.ECS2EndpointBuilderFactory, org.apache.camel.builder.endpoint.dsl.ECSEndpointBuilderFactory, org.apache.camel.builder.endpoint.dsl.EKS2EndpointBuilderFactory, - org.apache.camel.builder.endpoint.dsl.EKSEndpointBuilderFactory, org.apache.camel.builder.endpoint.dsl.EhcacheEndpointBuilderFactory, org.apache.camel.builder.endpoint.dsl.ElasticsearchEndpointBuilderFactory, org.apache.camel.builder.endpoint.dsl.ElsqlEndpointBuilderFactory, @@ -368,4 +367,4 @@ public interface EndpointBuilders org.apache.camel.builder.endpoint.dsl.ZooKeeperMasterEndpointBuilderFactory { } -//CHECKSTYLE:ON \ No newline at end of file +//CHECKSTYLE:ON diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc index 0bf1578e..dc7cbad 100644 --- a/docs/components/modules/ROOT/nav.adoc +++ b/docs/components/modules/ROOT/nav.adoc @@ -27,7 +27,6 @@ *** xref:aws-ddbstream-component.adoc[AWS DynamoDB Streams] *** xref:aws-ec2-component.adoc[AWS Elastic Compute Cloud (EC2)] *** xref:aws-ecs-component.adoc[AWS Elastic Container Service (ECS)] -*** xref:aws-eks-component.adoc[AWS Elastic Kubernetes Service (EKS)] *** xref:aws-s3-component.adoc[AWS S3 Storage Service] *** xref:aws-swf-component.adoc[AWS Simple Workflow (SWF)] ** xref:aws2-summary.adoc[AWS 2] diff --git a/docs/components/modules/ROOT/pages/aws-eks-component.adoc b/docs/components/modules/ROOT/pages/aws-eks-component.adoc deleted file mode 100644 index 7851732..0000000 --- a/docs/components/modules/ROOT/pages/aws-eks-component.adoc +++ /dev/null @@ -1,179 +0,0 @@ -[[aws-eks-component]] -= AWS Elastic Kubernetes Service (EKS) Component (deprecated) -//THIS FILE IS COPIED: EDIT THE SOURCE FILE: -:page-source: components/camel-aws-eks/src/main/docs/aws-eks-component.adoc -:docTitle: AWS Elastic Kubernetes Service (EKS) -:artifactId: camel-aws-eks -:description: Manage AWS EKS cluster instances. -:since: 3.0 -:supportLevel: Stable-deprecated -:deprecated: *deprecated* -:component-header: Only producer is supported -include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/aws-eks.adoc[opts=optional] -//Manually maintained attributes -:group: AWS - -*Since Camel {since}* - -*{component-header}* - -The EKS component supports create, delete, describe and list -https://aws.amazon.com/eks/[AWS EKS] clusters instances. - -Prerequisites - -You must have a valid Amazon Web Services developer account, and be -signed up to use Amazon EKS. More information is available at -https://aws.amazon.com/eks/[Amazon EKS]. - -== URI Format - -[source,java] -------------------------- -aws-eks://label[?options] -------------------------- - -You can append query options to the URI in the following format, -?options=value&option2=value&... - -== URI Options - - -// component options: START -The AWS Elastic Kubernetes Service (EKS) component supports 12 options, which are listed below. - - - -[width="100%",cols="2,5,^1,2",options="header"] -|=== -| Name | Description | Default | Type -| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | boolean -| *accessKey* (producer) | Amazon AWS Access Key | | String -| *configuration* (producer) | The component configuration | | EKSConfiguration -| *eksClient* (producer) | To use a existing configured AWS EKS as client | | AmazonEKS -| *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 4 enums and the value can be one of: listClusters, describeCluster, createCluster, deleteCluster | | EKSOperations -| *proxyHost* (producer) | To define a proxy host when instantiating the EKS client | | String -| *proxyPort* (producer) | To define a proxy port when instantiating the EKS client | | Integer -| *proxyProtocol* (producer) | To define a proxy protocol when instantiating the EKS client. There are 2 enums and the value can be one of: HTTP, HTTPS | HTTPS | Protocol -| *region* (producer) | The region in which EKS client needs to work. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name() | | String -| *secretKey* (producer) | Amazon AWS Secret Key | | String -| *autowiredEnabled* (advanced) | Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | boolean -|=== -// component options: END - - - - -// endpoint options: START -The AWS Elastic Kubernetes Service (EKS) endpoint is configured using URI syntax: - ----- -aws-eks:label ----- - -with the following path and query parameters: - -=== Path Parameters (1 parameters): - - -[width="100%",cols="2,5,^1,2",options="header"] -|=== -| Name | Description | Default | Type -| *label* | *Required* Logical name | | String -|=== - - -=== Query Parameters (10 parameters): - - -[width="100%",cols="2,5,^1,2",options="header"] -|=== -| Name | Description | Default | Type -| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | boolean -| *accessKey* (producer) | Amazon AWS Access Key | | String -| *eksClient* (producer) | To use a existing configured AWS EKS as client | | AmazonEKS -| *lazyStartProducer* (producer) | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and [...] -| *operation* (producer) | *Required* The operation to perform. There are 4 enums and the value can be one of: listClusters, describeCluster, createCluster, deleteCluster | | EKSOperations -| *proxyHost* (producer) | To define a proxy host when instantiating the EKS client | | String -| *proxyPort* (producer) | To define a proxy port when instantiating the EKS client | | Integer -| *proxyProtocol* (producer) | To define a proxy protocol when instantiating the EKS client. There are 2 enums and the value can be one of: HTTP, HTTPS | HTTPS | Protocol -| *region* (producer) | The region in which EKS client needs to work. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name() | | String -| *secretKey* (producer) | Amazon AWS Secret Key | | String -|=== -// endpoint options: END - - - - -Required EKS component options - -You have to provide the amazonEKSClient in the -Registry or your accessKey and secretKey to access -the https://aws.amazon.com/eks/[Amazon EKS] service. - -== Usage - -=== Message headers evaluated by the EKS producer - -[width="100%",cols="10%,10%,80%",options="header",] -|======================================================================= -|Header |Type |Description - -|`CamelAwsEKSMaxResults` |`Integer` |The limit number of results while listing clusters - -|`CamelAwsEKSOperation` |`String` |The operation we want to perform - -|`CamelAwsEKSDescription` |`String` |A key description to use while performing a createKey operation - -|`CamelAwsEKSClusterName` |`String` |The cluster name - -|`CamelAwsEKSRoleARN` |`String` |The role ARN to use while creating the cluster - -|`CamelAwsEKSVPCConfig` |`VPCConfigRequest` |The VPC config for the creations of an EKS cluster -|======================================================================= - -=== EKS Producer operations - -Camel-AWS EKS component provides the following operation on the producer side: - -- listClusters -- createCluster -- describeCluster -- deleteCluster - -== Producer Examples - -- listClusters: this operation will list the available clusters in EKS - -[source,java] --------------------------------------------------------------------------------- -from("direct:listClusters") - .to("aws-eks://test?ecsClient=#amazonEksClient&operation=listClusters") --------------------------------------------------------------------------------- - -== Automatic detection of AmazonEKS client in registry - -The component is capable of detecting the presence of an AmazonEKS bean into the registry. -If it's the only instance of that type it will be used as client and you won't have to define it as uri parameter. -This may be really useful for smarter configuration of the endpoint. - -Dependencies - -Maven users will need to add the following dependency to their pom.xml. - -*pom.xml* - -[source,xml] ---------------------------------------- -<dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-aws-eks</artifactId> - <version>${camel-version}</version> -</dependency> ---------------------------------------- - -where `$\{camel-version}` must be replaced by the actual version of Camel. - - -include::camel-spring-boot::page$aws-eks-starter.adoc[]