{
"operation-name" : "add",
"description" : "Add a singleton policy",
"request-properties" : {
"cache" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The cache backing the singleton policy's singleton service. If undefined, the default cache of the specified cache-container is used.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"capability-reference" : "org.wildfly.clustering.infinispan.cache-configuration",
"capability-reference-pattern-elements" : [
"cache-container",
"cache"
],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"cache-container" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The cache container backing the singleton policy's singleton service",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"capability-reference" : "org.wildfly.clustering.infinispan.default-cache-configuration",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"quorum" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The minimum number of nodes required before this singleton service will start",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1,
"min" : 1,
"max" : 2147483647,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}