diff --git a/liteflow-core/pom.xml b/liteflow-core/pom.xml index 32f478b74..f31cb6fc5 100644 --- a/liteflow-core/pom.xml +++ b/liteflow-core/pom.xml @@ -9,7 +9,7 @@ com.yomahub liteflow - 2.5.2 + 2.5.3 diff --git a/liteflow-spring-boot-starter/pom.xml b/liteflow-spring-boot-starter/pom.xml index b8d38ac49..4885846ff 100644 --- a/liteflow-spring-boot-starter/pom.xml +++ b/liteflow-spring-boot-starter/pom.xml @@ -10,7 +10,7 @@ liteflow com.yomahub - 2.5.2 + 2.5.3 @@ -28,6 +28,7 @@ org.springframework.boot spring-boot-configuration-processor ${springboot.version} + true org.springframework.boot diff --git a/liteflow-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/liteflow-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json new file mode 100644 index 000000000..8df0e24cf --- /dev/null +++ b/liteflow-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -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 + } + ] +} \ No newline at end of file diff --git a/liteflow-test-spring/pom.xml b/liteflow-test-spring/pom.xml index 3dd48d811..b879dca65 100644 --- a/liteflow-test-spring/pom.xml +++ b/liteflow-test-spring/pom.xml @@ -9,7 +9,7 @@ liteflow com.yomahub - 2.5.2 + 2.5.3 diff --git a/liteflow-test-springboot/pom.xml b/liteflow-test-springboot/pom.xml index b3571295e..1bb344d0c 100644 --- a/liteflow-test-springboot/pom.xml +++ b/liteflow-test-springboot/pom.xml @@ -9,7 +9,7 @@ liteflow com.yomahub - 2.5.2 + 2.5.3 diff --git a/pom.xml b/pom.xml index 6b5b18a6e..d6262b649 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.yomahub liteflow pom - 2.5.2 + 2.5.3 liteflow a lightweight and practical micro-process framework https://github.com/bryan31/liteflow