This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 2cef6e1c384c761d4a3265027a9237db06ab3b8a Author: nicolaferraro <[email protected]> AuthorDate: Wed Apr 28 17:39:32 2021 +0200 Fix infinispan kamelet --- docs/modules/ROOT/pages/cron-source.adoc | 2 +- docs/modules/ROOT/pages/infinispan-source.adoc | 5 +++-- infinispan-source.kamelet.yaml | 7 +++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/modules/ROOT/pages/cron-source.adoc b/docs/modules/ROOT/pages/cron-source.adoc index 7d9010b..88253c9 100644 --- a/docs/modules/ROOT/pages/cron-source.adoc +++ b/docs/modules/ROOT/pages/cron-source.adoc @@ -12,7 +12,7 @@ The following table summarizes the configuration options available for the `cron |=== | Property| Name| Description| Type| Default| Example | *message {empty}* *| Message| The message to generate| string| | `"hello world"` -| *schedule {empty}* *| Cron Schedule| A cron expression that will be used to trigger events generations| string| | `"0/3 10 * * * ?"` +| *schedule {empty}* *| Cron Schedule| A cron expression that will be used to trigger events generation.| string| | `"0/3 10 * * * ?"` |=== NOTE: Fields marked with ({empty}*) are mandatory. diff --git a/docs/modules/ROOT/pages/infinispan-source.adoc b/docs/modules/ROOT/pages/infinispan-source.adoc index 9bf52aa..118d9aa 100644 --- a/docs/modules/ROOT/pages/infinispan-source.adoc +++ b/docs/modules/ROOT/pages/infinispan-source.adoc @@ -11,10 +11,10 @@ The following table summarizes the configuration options available for the `infi [width="100%",cols="2,^2,3,^2,^2,^3",options="header"] |=== | Property| Name| Description| Type| Default| Example -| *hosts {empty}* *| Hosts| Specifies the host of the cache on Infinispan instance| String| `1000`| +| *hosts {empty}* *| Hosts| Specifies the host of the cache on Infinispan instance| String| | | *password {empty}* *| Password| Password to connect to Infinispan.| string| | | *username {empty}* *| Username| Username to connect to Infinispan.| string| | -| eventTypes| ElasticSearch cluster name| Specifies the set of event types to register by the consumer.Multiple event can be separated by comma. The possible event types are CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER| string| | +| eventTypes| Infinispan Cluster Name| Specifies the set of event types to register by the consumer.Multiple event can be separated by comma. The possible event types are CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER| string| | | saslMechanism| SASL Mechanism| The SASL Mechanism to use| String| `"DIGEST-MD5"`| | secure| Secure| If the Infinispan instance is secured or not| boolean| `true`| | securityRealm| Security Realm| Define the security realm to access the infinispan instance| string| `"default"`| @@ -45,6 +45,7 @@ spec: apiVersion: camel.apache.org/v1alpha1 name: infinispan-source properties: + hosts: "The Hosts" password: "The Password" username: "The Username" sink: diff --git a/infinispan-source.kamelet.yaml b/infinispan-source.kamelet.yaml index a28f560..3e9a57d 100755 --- a/infinispan-source.kamelet.yaml +++ b/infinispan-source.kamelet.yaml @@ -25,13 +25,12 @@ spec: - hosts - username - password - - hostAddresses + - hosts properties: hosts: title: Hosts description: Specifies the host of the cache on Infinispan instance type: String - default: 1000 secure: title: Secure description: If the Infinispan instance is secured or not @@ -61,7 +60,7 @@ spec: type: string default: "infinispan" eventTypes: - title: ElasticSearch cluster name + title: Infinispan Cluster Name description: Specifies the set of event types to register by the consumer.Multiple event can be separated by comma. The possible event types are CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER type: string flow: @@ -77,4 +76,4 @@ spec: securityServerName: "{{securityServerName}}" eventTypes: "{{eventTypes}}" steps: - - to: kamelet:sink + - to: kamelet:sink \ No newline at end of file
