{
"operation-name" : "add",
"description" : "Add distributed work manager",
"request-properties" : {
"elytron-enabled" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enables Elytron security for this workmanager.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default",
"deprecated" : {
"since" : "6.0.0",
"reason" : "Elytron is enabled by default and this field is ignored."
}
},
"name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of the DistributedWorkManager",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"policy" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The policy decides when to redistribute a Work instance",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "WATERMARK",
"allowed" : [
"NEVER",
"ALWAYS",
"WATERMARK"
],
"stability" : "default"
},
"policy-options" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "List of policy's options key/value pairs",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
},
"selector" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The selector decides to which nodes in the network to redistribute the Work instance to",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "PING_TIME",
"allowed" : [
"FIRST_AVAILABLE",
"PING_TIME",
"MAX_FREE_THREADS"
],
"stability" : "default"
},
"selector-options" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "List of selector's options key/value pairs",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}