You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to start easily with jcliff you need to add a shell function that lets you :
convert_jboss-cli_to_json.sh "localhost:9999" "/subsystem=infinispan/cache-container=web:read-resource(recursive=true)"
which returns the JSON block that can be read by JCliff !
to start easily with jcliff you need to add a shell function that lets you :
convert_jboss-cli_to_json.sh "localhost:9999" "/subsystem=infinispan/cache-container=web:read-resource(recursive=true)"
which returns the JSON block that can be read by JCliff !
Example :
this is the starting point
/subsystem=infinispan/cache-container=web:read-resource(recursive=true)
the whole JSON part of the jboss-cli (the return value has to be taken out)
{
"outcome" => "success",
"result" => {
"aliases" => ["standard-session-cache"],
"default-cache" => "local-web",
"eviction-executor" => undefined,
"jndi-name" => undefined,
"listener-executor" => undefined,
"module" => "org.jboss.as.clustering.web.infinispan",
"replication-queue-executor" => undefined,
"start" => undefined,
"statistics-enabled" => undefined,
"distributed-cache" => undefined,
"invalidation-cache" => undefined,
"local-cache" => {"local-web" => {
"batching" => true,
"indexing" => undefined,
"indexing-properties" => undefined,
"jndi-name" => undefined,
"module" => undefined,
"start" => undefined,
"statistics-enabled" => undefined,
"binary-keyed-jdbc-store" => undefined,
"eviction" => undefined,
"expiration" => undefined,
"file-store" => {"FILE_STORE" => {
"fetch-state" => true,
"passivation" => false,
"path" => undefined,
"preload" => false,
"purge" => false,
"relative-to" => "jboss.server.data.dir",
"shared" => false,
"singleton" => false,
"property" => undefined,
"write-behind" => undefined
}},
"locking" => undefined,
"mixed-keyed-jdbc-store" => undefined,
"remote-store" => undefined,
"store" => undefined,
"string-keyed-jdbc-store" => undefined,
"transaction" => undefined
}},
"replicated-cache" => undefined,
"transport" => undefined
},
"response-headers" => {"process-state" => "reload-required"}
}
adding 3 json hierarchies in front of result : infinispan cache-container web
the expected result !!!
{
"infinispan" => {
"cache-container" => {
"web" => {
}
}
The text was updated successfully, but these errors were encountered: