Files
liteFlow/liteflow-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
2022-04-28 17:37:13 +08:00

129 lines
4.5 KiB
JSON

{
"properties": [
{
"name": "liteflow.enable",
"type": "java.lang.Boolean",
"description": "Whether to turn on liteflow.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty"
},
{
"name": "liteflow.print-banner",
"type": "java.lang.Boolean",
"description": "Whether to print liteflow banner.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty"
},
{
"name": "liteflow.rule-source",
"type": "java.lang.String",
"description": "Location of the flow rule source.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty"
},
{
"name": "liteflow.slot-size",
"type": "java.lang.Integer",
"description": "Set concurrent data slot size.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty"
},
{
"name": "liteflow.zk-node",
"type": "java.lang.String",
"description": "Node definition for ZK configuration.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty"
},
{
"name": "liteflow.main-executor-works",
"type": "java.lang.Integer",
"description": "Max thread count for main executor,only for FlowExecutor.execute2Future.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty"
},
{
"name": "liteflow.main-executor-class",
"type": "java.lang.String",
"description": "Custom thread pool implement for main executor.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty"
},
{
"name": "liteflow.thread-executor-class",
"type": "java.lang.String",
"description": "Custom thread pool implement for when executor.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty"
},
{
"name": "liteflow.when-max-wait-seconds",
"type": "java.lang.Integer",
"description": "Set the async thread max wait seconds on \" when \" mode.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty",
"defaultValue": 15
},
{
"name": "liteflow.when-max-workers",
"type": "java.lang.Integer",
"description": "Set the async thread pool worker max-size on \" when \" mode.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty",
"defaultValue": 4
},
{
"name": "liteflow.when-queue-limit",
"type": "java.lang.Integer",
"description": "Set the async thread pool queue max-size on \" when \" mode.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty",
"defaultValue": 512
},
{
"name": "liteflow.parse-on-start",
"type": "java.lang.Boolean",
"description": "Set whether the rule file needs to be parsed at startup.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty",
"defaultValue": true
},
{
"name": "liteflow.support-multiple-type",
"type": "java.lang.Boolean",
"description": "Whether to support multiple types of configuration.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty",
"defaultValue": false
},
{
"name": "liteflow.retry-count",
"type": "java.lang.Integer",
"description": "Number of component retries.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty",
"defaultValue": 0
},
{
"name": "liteflow.node-executor-class",
"type": "java.lang.String",
"description": "Executor class of node.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty",
"defaultValue": 0
},
{
"name": "liteflow.monitor.enable-log",
"type": "java.lang.Boolean",
"description": "Enable monitor log.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowMonitorProperty",
"defaultValue": false
},
{
"name": "liteflow.monitor.queue-limit",
"type": "java.lang.Integer",
"description": "Set monitor queue size.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowMonitorProperty",
"defaultValue": 200
},
{
"name": "liteflow.monitor.delay",
"type": "java.lang.Long",
"description": "Set delay time to print monitor log.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowMonitorProperty",
"defaultValue": 300000
},
{
"name": "liteflow.monitor.period",
"type": "java.lang.Long",
"description": "Set period time to print monitor log.",
"sourceType": "com.yomahub.liteflow.springboot.LiteflowMonitorProperty",
"defaultValue": 300000
}
]
}