This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git


The following commit(s) were added to refs/heads/main by this push:
     new a1335009 [create-pull-request] automated change (#179)
a1335009 is described below

commit a13350090edb9f32b0350ac276d6e8018f7b95be
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Aug 13 09:37:35 2022 +0200

    [create-pull-request] automated change (#179)
    
    Co-authored-by: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
---
 .../resources/org/apache/camel/catalog/karaf/components/consul.json | 6 ------
 .../resources/org/apache/camel/catalog/karaf/components/stream.json | 4 +++-
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/consul.json
 
b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/consul.json
index 106b59dc..a07a8caf 100644
--- 
a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/consul.json
+++ 
b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/consul.json
@@ -23,16 +23,13 @@
   },
   "componentProperties": {
     "connectTimeout": { "kind": "property", "displayName": "Connect Timeout", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "java.time.Duration", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Connect timeout for OkHttpClient" },
-    "connectTimeoutMillis": { "kind": "property", "displayName": "Connect 
Timeout Millis", "group": "common", "label": "", "required": false, "type": 
"integer", "javaType": "java.lang.Long", "deprecated": true, "deprecationNote": 
"Use connectTimeout instead", "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "Connect timeout for 
OkHttpClient. Deprecation note: Use conne [...]
     "consulClient": { "kind": "property", "displayName": "Consul Client", 
"group": "common", "label": "common", "required": false, "type": "object", 
"javaType": "com.orbitz.consul.Consul", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Reference to a com.orbitz.consul.Consul in the 
registry." },
     "key": { "kind": "property", "displayName": "Key", "group": "common", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "The default key. Can be 
overridden by CamelConsulKey" },
     "pingInstance": { "kind": "property", "displayName": "Ping Instance", 
"group": "common", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Configure if the AgentClient should attempt a 
ping before returning the Consul instance" },
     "readTimeout": { "kind": "property", "displayName": "Read Timeout", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "java.time.Duration", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Read timeout for OkHttpClient" },
-    "readTimeoutMillis": { "kind": "property", "displayName": "Read Timeout 
Millis", "group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "java.lang.Long", "deprecated": true, "deprecationNote": "Use 
readTimeout instead", "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "Read timeout for 
OkHttpClient. Deprecation note: Use readTimeout instead" },
     "tags": { "kind": "property", "displayName": "Tags", "group": "common", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "Set tags. You can 
separate multiple tags by comma." },
     "url": { "kind": "property", "displayName": "Url", "group": "common", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "The Consul agent URL" },
     "writeTimeout": { "kind": "property", "displayName": "Write Timeout", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "java.time.Duration", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Write timeout for OkHttpClient" },
-    "writeTimeoutMillis": { "kind": "property", "displayName": "Write Timeout 
Millis", "group": "common", "label": "", "required": false, "type": "duration", 
"javaType": "java.lang.Long", "deprecated": true, "deprecationNote": "Use 
writeTimeout instead", "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "Write timeout for 
OkHttpClient. Deprecation note: Use writeTimeout [...]
     "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error 
Handler", "group": "consumer", "label": "consumer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Allows for bridging the 
consumer to the Camel routing Error Handler, which mean any exceptions occurred 
while the consumer is trying to pickup incoming messages, or the likes, will 
now be processed as a me [...]
     "action": { "kind": "property", "displayName": "Action", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "The default action. Can be overridden by 
CamelConsulAction" },
     "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 [...]
@@ -88,16 +85,13 @@
   "properties": {
     "apiEndpoint": { "kind": "path", "displayName": "Api Endpoint", "group": 
"common", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "The API endpoint" },
     "connectTimeout": { "kind": "parameter", "displayName": "Connect Timeout", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "java.time.Duration", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Connect timeout for OkHttpClient" },
-    "connectTimeoutMillis": { "kind": "parameter", "displayName": "Connect 
Timeout Millis", "group": "common", "label": "", "required": false, "type": 
"integer", "javaType": "java.lang.Long", "deprecated": true, "deprecationNote": 
"Use connectTimeout instead", "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "Connect timeout for 
OkHttpClient. Deprecation note: Use conn [...]
     "consulClient": { "kind": "parameter", "displayName": "Consul Client", 
"group": "common", "label": "common", "required": false, "type": "object", 
"javaType": "com.orbitz.consul.Consul", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Reference to a com.orbitz.consul.Consul in the 
registry." },
     "key": { "kind": "parameter", "displayName": "Key", "group": "common", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "The default key. Can be 
overridden by CamelConsulKey" },
     "pingInstance": { "kind": "parameter", "displayName": "Ping Instance", 
"group": "common", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Configure if the AgentClient should attempt a 
ping before returning the Consul instance" },
     "readTimeout": { "kind": "parameter", "displayName": "Read Timeout", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "java.time.Duration", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Read timeout for OkHttpClient" },
-    "readTimeoutMillis": { "kind": "parameter", "displayName": "Read Timeout 
Millis", "group": "common", "label": "", "required": false, "type": "integer", 
"javaType": "java.lang.Long", "deprecated": true, "deprecationNote": "Use 
readTimeout instead", "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "Read timeout for 
OkHttpClient. Deprecation note: Use readTimeout instead" },
     "tags": { "kind": "parameter", "displayName": "Tags", "group": "common", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "Set tags. You can 
separate multiple tags by comma." },
     "url": { "kind": "parameter", "displayName": "Url", "group": "common", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "The Consul agent URL" },
     "writeTimeout": { "kind": "parameter", "displayName": "Write Timeout", 
"group": "common", "label": "", "required": false, "type": "object", 
"javaType": "java.time.Duration", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Write timeout for OkHttpClient" },
-    "writeTimeoutMillis": { "kind": "parameter", "displayName": "Write Timeout 
Millis", "group": "common", "label": "", "required": false, "type": "duration", 
"javaType": "java.lang.Long", "deprecated": true, "deprecationNote": "Use 
writeTimeout instead", "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "Write timeout for 
OkHttpClient. Deprecation note: Use writeTimeou [...]
     "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error 
Handler", "group": "consumer (advanced)", "label": "consumer,advanced", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"description": "Allows for bridging the consumer to the Camel routing Error 
Handler, which mean any exceptions occurred while the consumer is trying to 
pickup incoming messages, or the likes, will now [...]
     "exceptionHandler": { "kind": "parameter", "displayName": "Exception 
Handler", "group": "consumer (advanced)", "label": "consumer,advanced", 
"required": false, "type": "object", "javaType": 
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
let the consumer use a custom ExceptionHandler. Notice if the option 
bridgeErrorHandler is enabled then this option is not in use. By default the 
con [...]
     "exchangePattern": { "kind": "parameter", "displayName": "Exchange 
Pattern", "group": "consumer (advanced)", "label": "consumer,advanced", 
"required": false, "type": "object", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut", 
"InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the exchange pattern when the consumer creates an 
exchange." },
diff --git 
a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/stream.json
 
b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/stream.json
index 1bb541ff..8364034a 100644
--- 
a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/stream.json
+++ 
b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/components/stream.json
@@ -31,12 +31,14 @@
     "CamelStreamComplete": { "kind": "header", "displayName": "", "group": 
"consumer", "label": "consumer", "required": false, "javaType": "boolean", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Is complete", "constantName": 
"org.apache.camel.component.stream.StreamConstants#STREAM_COMPLETE" }
   },
   "properties": {
-    "kind": { "kind": "path", "displayName": "Kind", "group": "common", 
"label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "enum": [ "in", "out", "err", "header", "file" ], 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Kind of stream to use such as System.in or System.out." 
},
+    "kind": { "kind": "path", "displayName": "Kind", "group": "common", 
"label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "enum": [ "in", "out", "err", "header", "file", "http" ], 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Kind of stream to use such as System.in, System.out, a 
file, or a http url." },
     "encoding": { "kind": "parameter", "displayName": "Encoding", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "You can configure the encoding (is a charset name) to use 
text-based streams (for example, message body is a String object). If not 
provided, Camel uses the JVM default Charset." },
     "fileName": { "kind": "parameter", "displayName": "File Name", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "When using the stream:file URI format, this option specifies 
the filename to stream to\/from." },
     "fileWatcher": { "kind": "parameter", "displayName": "File Watcher", 
"group": "consumer", "label": "consumer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "To use JVM file watcher to listen 
for file change events to support re-loading files that may be overwritten, 
somewhat like tail --retry" },
     "groupLines": { "kind": "parameter", "displayName": "Group Lines", 
"group": "consumer", "label": "consumer", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"description": "To group X number of lines in the consumer. For example to 
group 10 lines and therefore only spit out an Exchange with 10 lines, instead 
of 1 Exchange per line." },
     "groupStrategy": { "kind": "parameter", "displayName": "Group Strategy", 
"group": "consumer", "label": "consumer", "required": false, "type": "object", 
"javaType": "org.apache.camel.component.stream.GroupStrategy", "deprecated": 
false, "autowired": false, "secret": false, "description": "Allows to use a 
custom GroupStrategy to control how to group lines." },
+    "httpHeaders": { "kind": "parameter", "displayName": "Http Headers", 
"group": "consumer", "label": "consumer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "When using stream:http format, this option 
specifies optional http headers, such as Accept: application\/json. Multiple 
headers can be separated by comma." },
+    "httpUrl": { "kind": "parameter", "displayName": "Http Url", "group": 
"consumer", "label": "consumer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "When using stream:http format, this option 
specifies the http url to stream from." },
     "initialPromptDelay": { "kind": "parameter", "displayName": "Initial 
Prompt Delay", "group": "consumer", "label": "consumer", "required": false, 
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 2000, "description": "Initial delay in 
milliseconds before showing the message prompt. This delay occurs only once. 
Can be used during system startup to avoid message prompts being written while 
other logging is done to the system [...]
     "promptDelay": { "kind": "parameter", "displayName": "Prompt Delay", 
"group": "consumer", "label": "consumer", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"description": "Optional delay in milliseconds before showing the message 
prompt." },
     "promptMessage": { "kind": "parameter", "displayName": "Prompt Message", 
"group": "consumer", "label": "consumer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "Message prompt to use when reading from 
stream:in; for example, you could set this to Enter a command:" },

Reply via email to