-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7c0b2b
commit 2340df1
Showing
28 changed files
with
216 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
vertx-gaia/vertx-ams/src/main/environment/io/modello/eon/configure/VPC.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package io.modello.eon.configure; | ||
|
||
/** | ||
* 可扩展部分配置的标准化 | ||
* Value for Programming Configuration | ||
* | ||
* @author lang : 2023-06-03 | ||
*/ | ||
public interface VPC { | ||
|
||
interface aop extends HPCAop { | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
vertx-gaia/vertx-ams/src/main/environment/io/modello/eon/configure/aop.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
package io.modello.eon.configure; | ||
|
||
/** | ||
* @author lang : 2023-06-03 | ||
*/ | ||
interface HPCAop { | ||
/** | ||
* <value>plugin.component.before</value>,AOP配置中的前置插件,数据类型为 {@link io.vertx.core.json.JsonArray} | ||
* 配置如下: | ||
* <pre><code> | ||
* { | ||
* "plugin.component.before": [ | ||
* "xxx.xxx.xxx.BeforeComponent1", | ||
* "xxx.xxx.xxx.BeforeComponent2" | ||
* ] | ||
* } | ||
* </code></pre> | ||
* 插件执行流程会对 {@link io.vertx.core.json.JsonObject} 和 {@link io.vertx.core.json.JsonArray} 两种类型执行链式操作,串行执行 | ||
* <pre><code> | ||
* Monad1 -> Monad2 -> Monad3 | ||
* 配置点有两部分: | ||
* 1. 动态建模 {@see VDBC.I_SERVICE.SERVICE_CONFIG} 中配置 | ||
* 2. 全局处理 {@link io.horizon.uca.aop.AspectConfig} 中处理 | ||
* </code></pre> | ||
*/ | ||
String PLUGIN_COMPONENT_BEFORE = "plugin.component.before"; | ||
/** | ||
* <value>plugin.component.after</value>,AOP配置中的后置插件,数据类型为 {@link io.vertx.core.json.JsonArray} | ||
* 配置如下: | ||
* <pre><code> | ||
* { | ||
* "plugin.component.after": [ | ||
* "xxx.xxx.xxx.AfterComponent1", | ||
* "xxx.xxx.xxx.AfterComponent2" | ||
* ] | ||
* } | ||
* </code></pre> | ||
* 插件执行流程会对 {@link io.vertx.core.json.JsonObject} 和 {@link io.vertx.core.json.JsonArray} 两种类型执行链式操作, | ||
* <pre><code> | ||
* Monad1 -> Monad2 -> Monad3 | ||
* 配置点有两部分: | ||
* 1. 动态建模 {@see VDBC.I_SERVICE.SERVICE_CONFIG} 中配置 | ||
* 2. 全局处理 {@link io.horizon.uca.aop.AspectConfig} 中处理 | ||
* </code></pre> | ||
*/ | ||
String PLUGIN_COMPONENT_AFTER = "plugin.component.after"; | ||
/** | ||
* <value>plugin.component.job</value>, AOP配置中的后置异步回调插件,在 after 之后,{@link io.vertx.core.json.JsonArray} | ||
* 配置如下: | ||
* <pre><code> | ||
* { | ||
* "plugin.component.job": [ | ||
* "xxx.xxx.xxx.JobComponent1", | ||
* "xxx.xxx.xxx.JobComponent2" | ||
* ] | ||
* } | ||
* </code></pre> | ||
*/ | ||
String PLUGIN_COMPONENT_JOB = "plugin.component.job"; | ||
String PLUGIN_CONFIG = "plugin.config"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ib/io/horizon/spi/environment/Indent.java → ...in/jib/io/horizon/spi/modeler/Indent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.horizon.spi.environment; | ||
package io.horizon.spi.modeler; | ||
|
||
import io.vertx.core.Future; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
vertx-gaia/vertx-ams/src/main/jib/io/horizon/uca/aop/AspectSwitcher.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package io.horizon.uca.aop; | ||
|
||
/** | ||
* 「切面分流器」 | ||
* 根据既定规则对AOP部分的配置执行分流操作,分类规则 | ||
* | ||
* @author lang : 2023-06-03 | ||
*/ | ||
public class AspectSwitcher { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
vertx-gaia/vertx-co/src/main/modeler/io/modello/eon/I_SERVICE.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
package io.modello.eon; | ||
|
||
import io.modello.eon.configure.VPC; | ||
|
||
/** | ||
* @author lang : 2023-06-03 | ||
*/ | ||
interface I_SERVICE { | ||
/** | ||
* I_SERVICE / SERVICE_CONFIG 字段 | ||
*/ | ||
interface SERVICE_CONFIG extends VPC.aop { | ||
/** | ||
* 「动态建模专用」 | ||
* <value>configuration.operation</value>, ServiceConfig中用于配置操作类型的专用常量 | ||
* 操作类型对应到 {@link io.horizon.eon.em.typed.ChangeFlag} | ||
* <pre><code> | ||
* - ADD: 添加 | ||
* - UPDATE: 更新 | ||
* - DELETE:删除 | ||
* </code></pre> | ||
*/ | ||
String CONFIGURATION_OPERATION = "configuration.operation"; | ||
|
||
/** | ||
* 「动态建模专用」 | ||
* <value>plugin.plugin</value>,ServiceConfig中配置的标识选择插件,实现接口 | ||
* {@link io.horizon.spi.modeler.Identifier} | ||
*/ | ||
String PLUGIN_IDENTIFIER = "plugin.identifier"; | ||
/** | ||
* 「动态建模专用」 | ||
* <value>plugin.component</value>, ServiceConfig中标准插件,通道可配置的触发主插件 | ||
* 配置如下 | ||
* <pre><code> | ||
* { | ||
* "plugin.component": "cn.originx.plugin.scaffold.AspectRecord" | ||
* } | ||
* </code></pre> | ||
* 插件本身可区分单记录和多记录 | ||
* <pre><code> | ||
* 1. {@see cn.originx.scaffold.plugin.AspectRecord} 单记录处理器 | ||
* 2. {@see cn.originx.plugin.scaffold.AspectBatch} 多记录处理器 | ||
* </code></pre> | ||
*/ | ||
String PLUGIN_COMPONENT = "plugin.component"; | ||
/** | ||
* 「动态建模专用」 | ||
* <value>plugin.activity</value>, ServiceConfig中配置变更历史插件,对应 X_ACTIVITY 表 | ||
* 配置如下 | ||
* <pre><code> | ||
* { | ||
* "plugin.activity": "" | ||
* } | ||
* </code></pre> | ||
*/ | ||
String PLUGIN_ACTIVITY = "plugin.activity"; | ||
/** | ||
* 「动态建模专用」 | ||
* <value>*</value>,ServiceConfig中配置待办插件,对应 `X_TODO` 表,由于TODO是标签所以此处不写todo部分 | ||
* 配置如下 | ||
* <pre><code> | ||
* { | ||
* "plugin.todo": "" | ||
* } | ||
* </code></pre> | ||
*/ | ||
String PLUGIN_TODO = "plugin.todo"; | ||
/** | ||
* 「动态建模专用」 | ||
* <value>plugin.ticket</value>,ServiceConfig中配置待确认单插件,对应新表 `B_TICKET` 和 `X_TODO` 实现跨数据库Join | ||
* 以及二次更新流程 | ||
* <pre><code> | ||
* { | ||
* "plugin.ticket": "" | ||
* } | ||
* </code></pre> | ||
*/ | ||
String PLUGIN_TICKET = "plugin.ticket"; | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
vertx-gaia/vertx-co/src/main/modeler/io/modello/eon/VDBC.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package io.modello.eon; | ||
|
||
/** | ||
* 扩展配置部分的标准化 | ||
* High Order Database Configuration | ||
* 存储于数据库中的相关配置,针对字段级的操作 | ||
* | ||
* @author lang : 2023-06-03 | ||
*/ | ||
public interface VDBC { | ||
|
||
/** | ||
* 关联数据表:{@see I_SERVICE} | ||
*/ | ||
interface I_SERVICE extends io.modello.eon.I_SERVICE { | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...ature/io/aeon/mature/checker/HocTrue.java → ...ature/io/horizon/hoc/checker/HocTrue.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
vertx-pin/zero-ambient/src/main/modulat/io/vertx/mod/ambient/aop/BeforeTreeChecker.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/input/SerialPre.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
vertx-pin/zero-ke/src/main/java/io/vertx/mod/ke/refine/KeEnv.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.