{
"operation-name" : "add",
"description" : "This operation adds the WASM subsystem",
"request-properties" : {
"allowed-hosts" : {
"type" : {
"TYPE_MODEL_VALUE" : "LIST"
},
"description" : "List of allowed hosts accessible from a WASM module.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 0,
"max-length" : 2147483647,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
},
"max-memory-contraint" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Maximal allowed pages memory.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min" : 1,
"max" : 2147483647,
"stability" : "default"
},
"min-memory-contraint" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Minimal allowed pages memory.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min" : 1,
"max" : 2147483647,
"stability" : "default"
},
"path" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The path to the WASM binary.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"filesystem-path" : true,
"stability" : "default"
},
"relative-to" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The fpath to which the path is relative to.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"capability-reference" : "org.wildfly.management.path",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"use-aot" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enable runtime compiler to translate the WASM instructions to Java bytecode on-the-fly in-memory.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}