This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-3.7.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit d69197dd05bd0af1e4f5dc21f1e4fb87c59a70b9 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Jan 29 07:34:08 2021 +0100 Regen docs --- .../org/apache/camel/catalog/docs/sql-component.adoc | 2 +- .../resources/org/apache/camel/component/sql/sql.json | 2 +- components/camel-sql/src/main/docs/sql-component.adoc | 2 +- .../endpoint/dsl/SqlEndpointBuilderFactory.java | 18 ++++++++++++------ docs/components/modules/ROOT/pages/sql-component.adoc | 2 +- 5 files changed, 16 insertions(+), 10 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/sql-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/sql-component.adoc index 2c05bf6..acecc75 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/sql-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/sql-component.adoc @@ -161,7 +161,7 @@ with the following path and query parameters: |=== | Name | Description | Default | Type | *allowNamedParameters* (common) | Whether to allow using named parameters in the queries. | true | boolean -| *dataSource* (common) | Sets the DataSource to use to communicate with the database. | | DataSource +| *dataSource* (common) | Sets the DataSource to use to communicate with the databaset at endpoint level. | | DataSource | *dataSourceRef* (common) | *Deprecated* Sets the reference to a DataSource to lookup from the registry, to use for communicating with the database. | | String | *outputClass* (common) | Specify the full package and class name to use as conversion when outputType=SelectOne. | | String | *outputHeader* (common) | Store the query result in a header instead of the message body. By default, outputHeader == null and the query result is stored in the message body, any existing content in the message body is discarded. If outputHeader is set, the value is used as the name of the header to store the query result and the original message body is preserved. | | String diff --git a/components/camel-sql/src/generated/resources/org/apache/camel/component/sql/sql.json b/components/camel-sql/src/generated/resources/org/apache/camel/component/sql/sql.json index 4c7d847..993d8e0 100644 --- a/components/camel-sql/src/generated/resources/org/apache/camel/component/sql/sql.json +++ b/components/camel-sql/src/generated/resources/org/apache/camel/component/sql/sql.json @@ -31,7 +31,7 @@ "properties": { "query": { "kind": "path", "displayName": "Query", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Sets the SQL query to perform. You can externalize the query by using file: or classpath: as prefix and specify the location of the file." }, "allowNamedParameters": { "kind": "parameter", "displayName": "Allow Named Parameters", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether to allow using named parameters in the queries." }, - "dataSource": { "kind": "parameter", "displayName": "Data Source", "group": "common", "label": "", "required": false, "type": "object", "javaType": "javax.sql.DataSource", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the DataSource to use to communicate with the database." }, + "dataSource": { "kind": "parameter", "displayName": "Data Source", "group": "common", "label": "", "required": false, "type": "object", "javaType": "javax.sql.DataSource", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the DataSource to use to communicate with the databaset at endpoint level." }, "dataSourceRef": { "kind": "parameter", "displayName": "Data Source Ref", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": true, "autowired": false, "secret": false, "description": "Sets the reference to a DataSource to lookup from the registry, to use for communicating with the database." }, "outputClass": { "kind": "parameter", "displayName": "Output Class", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Specify the full package and class name to use as conversion when outputType=SelectOne." }, "outputHeader": { "kind": "parameter", "displayName": "Output Header", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Store the query result in a header instead of the message body. By default, outputHeader == null and the query result is stored in the message body, any existing content in the message body is discarded. If outputHeader is set, the value is u [...] diff --git a/components/camel-sql/src/main/docs/sql-component.adoc b/components/camel-sql/src/main/docs/sql-component.adoc index 2c05bf6..acecc75 100644 --- a/components/camel-sql/src/main/docs/sql-component.adoc +++ b/components/camel-sql/src/main/docs/sql-component.adoc @@ -161,7 +161,7 @@ with the following path and query parameters: |=== | Name | Description | Default | Type | *allowNamedParameters* (common) | Whether to allow using named parameters in the queries. | true | boolean -| *dataSource* (common) | Sets the DataSource to use to communicate with the database. | | DataSource +| *dataSource* (common) | Sets the DataSource to use to communicate with the databaset at endpoint level. | | DataSource | *dataSourceRef* (common) | *Deprecated* Sets the reference to a DataSource to lookup from the registry, to use for communicating with the database. | | String | *outputClass* (common) | Specify the full package and class name to use as conversion when outputType=SelectOne. | | String | *outputHeader* (common) | Store the query result in a header instead of the message body. By default, outputHeader == null and the query result is stored in the message body, any existing content in the message body is discarded. If outputHeader is set, the value is used as the name of the header to store the query result and the original message body is preserved. | | String diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SqlEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SqlEndpointBuilderFactory.java index 7510bff..6c43d53 100644 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SqlEndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SqlEndpointBuilderFactory.java @@ -80,7 +80,8 @@ public interface SqlEndpointBuilderFactory { return this; } /** - * Sets the DataSource to use to communicate with the database. + * Sets the DataSource to use to communicate with the databaset at + * endpoint level. * * The option is a: <code>javax.sql.DataSource</code> type. * @@ -94,7 +95,8 @@ public interface SqlEndpointBuilderFactory { return this; } /** - * Sets the DataSource to use to communicate with the database. + * Sets the DataSource to use to communicate with the databaset at + * endpoint level. * * The option will be converted to a * <code>javax.sql.DataSource</code> type. @@ -1493,7 +1495,8 @@ public interface SqlEndpointBuilderFactory { return this; } /** - * Sets the DataSource to use to communicate with the database. + * Sets the DataSource to use to communicate with the databaset at + * endpoint level. * * The option is a: <code>javax.sql.DataSource</code> type. * @@ -1507,7 +1510,8 @@ public interface SqlEndpointBuilderFactory { return this; } /** - * Sets the DataSource to use to communicate with the database. + * Sets the DataSource to use to communicate with the databaset at + * endpoint level. * * The option will be converted to a * <code>javax.sql.DataSource</code> type. @@ -2115,7 +2119,8 @@ public interface SqlEndpointBuilderFactory { return this; } /** - * Sets the DataSource to use to communicate with the database. + * Sets the DataSource to use to communicate with the databaset at + * endpoint level. * * The option is a: <code>javax.sql.DataSource</code> type. * @@ -2129,7 +2134,8 @@ public interface SqlEndpointBuilderFactory { return this; } /** - * Sets the DataSource to use to communicate with the database. + * Sets the DataSource to use to communicate with the databaset at + * endpoint level. * * The option will be converted to a * <code>javax.sql.DataSource</code> type. diff --git a/docs/components/modules/ROOT/pages/sql-component.adoc b/docs/components/modules/ROOT/pages/sql-component.adoc index 7d720f4..1bad19f 100644 --- a/docs/components/modules/ROOT/pages/sql-component.adoc +++ b/docs/components/modules/ROOT/pages/sql-component.adoc @@ -163,7 +163,7 @@ with the following path and query parameters: |=== | Name | Description | Default | Type | *allowNamedParameters* (common) | Whether to allow using named parameters in the queries. | true | boolean -| *dataSource* (common) | Sets the DataSource to use to communicate with the database. | | DataSource +| *dataSource* (common) | Sets the DataSource to use to communicate with the databaset at endpoint level. | | DataSource | *dataSourceRef* (common) | *Deprecated* Sets the reference to a DataSource to lookup from the registry, to use for communicating with the database. | | String | *outputClass* (common) | Specify the full package and class name to use as conversion when outputType=SelectOne. | | String | *outputHeader* (common) | Store the query result in a header instead of the message body. By default, outputHeader == null and the query result is stored in the message body, any existing content in the message body is discarded. If outputHeader is set, the value is used as the name of the header to store the query result and the original message body is preserved. | | String