添加additional-spring-configuration-metadata.json到 liteflow-springboot-starter

This commit is contained in:
zendwang 2021-04-20 09:31:35 +08:00
parent e56e13ec8d
commit d2c7779532
6 changed files with 71 additions and 5 deletions

View File

@ -9,7 +9,7 @@
<parent>
<groupId>com.yomahub</groupId>
<artifactId>liteflow</artifactId>
<version>2.5.2</version>
<version>2.5.3</version>
</parent>
<dependencies>

View File

@ -10,7 +10,7 @@
<parent>
<artifactId>liteflow</artifactId>
<groupId>com.yomahub</groupId>
<version>2.5.2</version>
<version>2.5.3</version>
</parent>
<dependencies>
@ -28,6 +28,7 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${springboot.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>

View File

@ -0,0 +1,65 @@
{
"properties": [
{
"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.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.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
}
]
}

View File

@ -9,7 +9,7 @@
<parent>
<artifactId>liteflow</artifactId>
<groupId>com.yomahub</groupId>
<version>2.5.2</version>
<version>2.5.3</version>
</parent>
<dependencies>

View File

@ -9,7 +9,7 @@
<parent>
<artifactId>liteflow</artifactId>
<groupId>com.yomahub</groupId>
<version>2.5.2</version>
<version>2.5.3</version>
</parent>
<dependencyManagement>

View File

@ -5,7 +5,7 @@
<groupId>com.yomahub</groupId>
<artifactId>liteflow</artifactId>
<packaging>pom</packaging>
<version>2.5.2</version>
<version>2.5.3</version>
<name>liteflow</name>
<description>a lightweight and practical micro-process framework</description>
<url>https://github.com/bryan31/liteflow</url>