Apache Unomi 2.x - Documentation
basically two ways to create a new rule : Using the REST API Packaging it as a predefined rule in a plugin In both cases the JSON structure for the rule will be exactly the same, and in most scenarios it you require or are already using custom expressions, you should add a plugin to Apache Unomi to allow for this. The choice of a plugin was to make sure only system administrators and solution developers parameters” section below. Procedure to add allowed expressions: 1. Create a new Apache Unomi plugin project. 2. Create a JSON file in src/main/resources/META-INF/cxs/expressions/mvel.json with an0 码力 | 117 页 | 4.78 MB | 1 年前3Apache Unomi 1.x - Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 11.5. Plugin structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 11.7.1. Creating a plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . basically two ways to create a new rule : • Using the REST API • Packaging it as a predefined rule in a plugin In both cases the JSON structure for the rule will be exactly the same, and in most scenarios it0 码力 | 158 页 | 3.65 MB | 1 年前3Apache Unomi 1.1.x - Documentation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2.2. Plugin structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . instantiated when needed with actual values. 1.2.2. PLUGIN STRUCTURE Being built on top of Apache Karaf, Unomi leverages OSGi to support plugins. A Unomi plugin is, thus, an OSGi bundle specifying some specific specific metadata to tell Unomi the kind of entities it provides. A plugin can provide the following entities to extend Unomi, each with its associated definition (as a JSON file), located in a specific0 码力 | 32 页 | 477.20 KB | 1 年前3
共 3 条
- 1