Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0.x]ISPN-14273 fixes docs errors and config examples in the CLI guide #10449

Merged
merged 1 commit into from Nov 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -25,11 +25,14 @@
"when-full": "REMOVE"
},
"indexing" : {
"enabled" : true,
"storage" : "local-heap",
"index-reader" : {
"refresh-interval" : "1000"
}
"enabled" : true,
"storage" : "local-heap",
"index-reader" : {
"refresh-interval" : "1000"
},
"indexed-entities": [
"org.infinispan.Person"
]
},
"partition-handling" : {
"when-split" : "ALLOW_READ_WRITES",
Expand Down
Expand Up @@ -26,7 +26,10 @@
"storage" : "local-heap",
"index-reader" : {
"refresh-interval" : "1000"
}
},
"indexed-entities": [
"org.infinispan.Person"
]
},
"partition-handling" : {
"when-split" : "ALLOW_READ_WRITES",
Expand Down
Expand Up @@ -10,12 +10,13 @@ Use the {brandname} Command Line Interface (CLI) to add remote caches on {brandn

.Procedure

. Start the CLI and enter your credentials when prompted.
. Start the CLI.
+
[source,options="nowrap",subs=attributes+]
----
include::cmd_examples/cli_nix.adoc[]
----
. Run the `connect` command and enter your username and password when prompted.
+
. Use the [command]`create cache` command to create remote caches.
+
Expand Down
Expand Up @@ -11,6 +11,7 @@ caches
counters
configurations
schemas
tasks
----

`caches`::
Expand All @@ -35,7 +36,7 @@ server
`containers`::
Cache containers on the {brandname} cluster.
`cluster`::
Lists {brandname} servers joined to the cluster.
Lists {brandname} Servers joined to the cluster.
//dnaro: need to ask. think server is wip.
`server`::
Resources for managing and monitoring {brandname} servers.
Resources for managing and monitoring {brandname} Servers.
Expand Up @@ -16,7 +16,7 @@ Write succinct cache names and cache template names.
[IMPORTANT]
====
A file system might set a limitation for the length of a file name, so ensure that a cache's name does not exceed this limitation.
If a cache name exceeds a file system's naming limitation, general operations or initialing operations towards that cache might fail.
If a cache name exceeds a file system's naming limitation, general operations or initialing operations towards that cache might fail.
Write succinct file names.
====

Expand Down Expand Up @@ -83,7 +83,8 @@ include::yaml/infinispan_caches.yaml[]
include::json/infinispan_caches.json[]
----


[role="_additional-resources"]
.Additional resources
* link:{configdocroot}[{brandname} configuration schema reference]
* link:http://infinispan.org/schemas/infinispan-config-{infinispanversion}.xsd[infinispan-config-{infinispanversion}.xsd]
* link:http://infinispan.org/schemas/infinispan-config-{schemaversion}.xsd[infinispan-config-{infinispanversion}.xsd]
Expand Up @@ -27,4 +27,4 @@ include::code_examples/ListenerMyNonBlocking.java[]

[discrete]
== Asynchronous thread pool
To tune the thread pool used to dispatch such asynchronous notifications, use the link:{configdocroot}/infinispan-config-{infinispanversion}.html[`<listener-executor />`] XML element in your configuration file.
To tune the thread pool used to dispatch such asynchronous notifications, use the link:{configdocroot}/infinispan-config-{schemaversion}.html[`<listener-executor />`] XML element in your configuration file.
Expand Up @@ -15,6 +15,9 @@
<indexing enabled="true"
storage="local-heap">
<index-reader refresh-interval="1000"/>
<indexed-entities>
<indexed-entity>org.infinispan.Person</indexed-entity>
</indexed-entities>
</indexing>
<partition-handling when-split="ALLOW_READ_WRITES"
merge-policy="PREFERRED_NON_NULL"/>
Expand Down
Expand Up @@ -12,6 +12,9 @@
<indexing enabled="true"
storage="local-heap">
<index-reader refresh-interval="1000"/>
<indexed-entities>
<indexed-entity>org.infinispan.Person</indexed-entity>
</indexed-entities>
</indexing>
<partition-handling when-split="ALLOW_READ_WRITES"
merge-policy="PREFERRED_NON_NULL"/>
Expand Down
Expand Up @@ -23,6 +23,8 @@ distributedCache:
storage: "local-heap"
indexReader:
refreshInterval: "1000"
indexedEntities:
- "org.infinispan.Person"
partitionHandling:
whenSplit: "ALLOW_READ_WRITES"
mergePolicy: "PREFERRED_NON_NULL"
Expand Down
Expand Up @@ -20,6 +20,8 @@ replicatedCache:
storage: "local-heap"
indexReader:
refreshInterval: "1000"
indexedEntities:
- "org.infinispan.Person"
partitionHandling:
whenSplit: "ALLOW_READ_WRITES"
mergePolicy: "PREFERRED_NON_NULL"
Expand Down