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 2021/01/20 05:52:36 UTC

[camel] branch master updated (0404a33 -> 9c17805)

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 0404a33  Update jsonata-component.adoc
     new f49b161  Fixed Jsonata javadoc for inputType
     new 9c17805  Regen

The 2 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:
 .../resources/org/apache/camel/catalog/docs/jsonata-component.adoc    | 2 +-
 .../resources/org/apache/camel/component/jsonata/jsonata.json         | 2 +-
 .../main/java/org/apache/camel/component/jsonata/JsonataEndpoint.java | 2 +-
 .../camel/builder/endpoint/dsl/JsonataEndpointBuilderFactory.java     | 4 ++--
 docs/components/modules/ROOT/pages/jsonata-component.adoc             | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)


[camel] 01/02: Fixed Jsonata javadoc for inputType

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 f49b161929542bd947bb71b447b0b2ffbd00bdf0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jan 20 06:51:25 2021 +0100

    Fixed Jsonata javadoc for inputType
---
 .../main/java/org/apache/camel/component/jsonata/JsonataEndpoint.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-jsonata/src/main/java/org/apache/camel/component/jsonata/JsonataEndpoint.java b/components/camel-jsonata/src/main/java/org/apache/camel/component/jsonata/JsonataEndpoint.java
index a0e49d7..d654f66 100644
--- a/components/camel-jsonata/src/main/java/org/apache/camel/component/jsonata/JsonataEndpoint.java
+++ b/components/camel-jsonata/src/main/java/org/apache/camel/component/jsonata/JsonataEndpoint.java
@@ -82,7 +82,7 @@ public class JsonataEndpoint extends ResourceEndpoint {
     }
 
     /**
-     * Specifies if the output should be Jackson JsonNode or a JSON String.
+     * Specifies if the input should be Jackson JsonNode or a JSON String.
      */
     public void setInputType(JsonataInputOutputType inputType) {
         this.inputType = inputType;


[camel] 02/02: Regen

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 9c17805f921aae35149e769e96fcc3f7ea7daa3f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jan 20 06:52:04 2021 +0100

    Regen
---
 .../resources/org/apache/camel/catalog/docs/jsonata-component.adoc    | 2 +-
 .../resources/org/apache/camel/component/jsonata/jsonata.json         | 2 +-
 .../camel/builder/endpoint/dsl/JsonataEndpointBuilderFactory.java     | 4 ++--
 docs/components/modules/ROOT/pages/jsonata-component.adoc             | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/jsonata-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/jsonata-component.adoc
index fd0b272..a4750e3 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/jsonata-component.adoc
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/jsonata-component.adoc
@@ -90,7 +90,7 @@ with the following path and query parameters:
 | Name | Description | Default | Type
 | *allowContextMapAll* (producer) | Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API. | false | boolean
 | *contentCache* (producer) | Sets whether to use resource content cache or not | false | boolean
-| *inputType* (producer) | Specifies if the output should be Jackson JsonNode or a JSON String. There are 2 enums and the value can be one of: Jackson, JsonString | Jackson | JsonataInputOutputType
+| *inputType* (producer) | Specifies if the input should be Jackson JsonNode or a JSON String. There are 2 enums and the value can be one of: Jackson, JsonString | Jackson | JsonataInputOutputType
 | *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 [...]
 | *outputType* (producer) | Specifies if the output should be Jackson JsonNode or a JSON String. There are 2 enums and the value can be one of: Jackson, JsonString | Jackson | JsonataInputOutputType
 |===
diff --git a/components/camel-jsonata/src/generated/resources/org/apache/camel/component/jsonata/jsonata.json b/components/camel-jsonata/src/generated/resources/org/apache/camel/component/jsonata/jsonata.json
index 0ee7720..f06b322 100644
--- a/components/camel-jsonata/src/generated/resources/org/apache/camel/component/jsonata/jsonata.json
+++ b/components/camel-jsonata/src/generated/resources/org/apache/camel/component/jsonata/jsonata.json
@@ -29,7 +29,7 @@
     "resourceUri": { "kind": "path", "displayName": "Resource Uri", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will [...]
     "allowContextMapAll": { "kind": "parameter", "displayName": "Allow Context Map All", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. [...]
     "contentCache": { "kind": "parameter", "displayName": "Content Cache", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Sets whether to use resource content cache or not" },
-    "inputType": { "kind": "parameter", "displayName": "Input Type", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jsonata.JsonataInputOutputType", "enum": [ "Jackson", "JsonString" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Jackson", "description": "Specifies if the output should be Jackson JsonNode or a JSON String." },
+    "inputType": { "kind": "parameter", "displayName": "Input Type", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jsonata.JsonataInputOutputType", "enum": [ "Jackson", "JsonString" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Jackson", "description": "Specifies if the input should be Jackson JsonNode or a JSON String." },
     "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 [...]
     "outputType": { "kind": "parameter", "displayName": "Output Type", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.jsonata.JsonataInputOutputType", "enum": [ "Jackson", "JsonString" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Jackson", "description": "Specifies if the output should be Jackson JsonNode or a JSON String." }
   }
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JsonataEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JsonataEndpointBuilderFactory.java
index bc25995..c611e7b 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JsonataEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JsonataEndpointBuilderFactory.java
@@ -107,7 +107,7 @@ public interface JsonataEndpointBuilderFactory {
             return this;
         }
         /**
-         * Specifies if the output should be Jackson JsonNode or a JSON String.
+         * Specifies if the input should be Jackson JsonNode or a JSON String.
          * 
          * The option is a:
          * &lt;code&gt;org.apache.camel.component.jsonata.JsonataInputOutputType&lt;/code&gt; type.
@@ -124,7 +124,7 @@ public interface JsonataEndpointBuilderFactory {
             return this;
         }
         /**
-         * Specifies if the output should be Jackson JsonNode or a JSON String.
+         * Specifies if the input should be Jackson JsonNode or a JSON String.
          * 
          * The option will be converted to a
          * &lt;code&gt;org.apache.camel.component.jsonata.JsonataInputOutputType&lt;/code&gt; type.
diff --git a/docs/components/modules/ROOT/pages/jsonata-component.adoc b/docs/components/modules/ROOT/pages/jsonata-component.adoc
index 0fbf01f..80b7890 100644
--- a/docs/components/modules/ROOT/pages/jsonata-component.adoc
+++ b/docs/components/modules/ROOT/pages/jsonata-component.adoc
@@ -92,7 +92,7 @@ with the following path and query parameters:
 | Name | Description | Default | Type
 | *allowContextMapAll* (producer) | Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API. | false | boolean
 | *contentCache* (producer) | Sets whether to use resource content cache or not | false | boolean
-| *inputType* (producer) | Specifies if the output should be Jackson JsonNode or a JSON String. There are 2 enums and the value can be one of: Jackson, JsonString | Jackson | JsonataInputOutputType
+| *inputType* (producer) | Specifies if the input should be Jackson JsonNode or a JSON String. There are 2 enums and the value can be one of: Jackson, JsonString | Jackson | JsonataInputOutputType
 | *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 [...]
 | *outputType* (producer) | Specifies if the output should be Jackson JsonNode or a JSON String. There are 2 enums and the value can be one of: Jackson, JsonString | Jackson | JsonataInputOutputType
 |===