DMN.createDRG(<id>)
.decision(<id>, <decisionConsumer>) (1-* times)
.requires(<id>)
.done()
decisionConsumer (DecisionBuilder):
builder
.literalExpression(<expression>)
.variableName(<name>)
.variableType(<type>)
option 1:
builder
.decisionTable()
.input(<expression>, <type>) (1-* times)
.value(<expression>) (0-* times)
.input(<expression>, <type>) (1-* times)
.value(<expression>) (0-* times)
.output(<name>, <type>) (1-* times)
.value(<expression>) (0-* times)
.hitPolicy(<HitPolicy Enum>)
option 2:
builder
.decisionTable()
.input(<expression>, <type>) (1-* times)
.input(<expression>, <type>) (1-* times)
.output(<name>, <type>) (1-* times)
.row()
.inputs(<inputs>)
.outputs(<outputs>)
.hitPolicy(<HitPolicy Enum>)
Empty maven project with defaults that incorporates Camunda Community Hub best practices.
- Use this as a template for new Camunda Community Hub projects. (https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template)
- Change names and URLs in
pom.xml
groupId
/artifactId
<groupId>org.camunda.community.extension.name</groupId> <artifactId>give-me-a-name</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging>
- URLs
<scm> <url>https://github.com/camunda-community-hub/maven-template</url> <connection>scm:git:git@github.com:camunda-community-hub/maven-template.git</connection> <developerConnection>scm:git:git@github.com:camunda-community-hub/maven-tenmplate.git </developerConnection> <tag>HEAD</tag> </scm>
- Add contribution guide to the repo ( e.g. Contributing to this project )
- Select desired license and exchange
LICENSE
file
- IDE integration
- GitHub Integration
- Dependabot enabled for Maven dependencies
- Backport action (https://github.com/zeebe-io/backport-action)
- Maven POM
- Release to Maven, Nexus and GitHub
- Google Code Formatter
- JUnit 5
- AssertJ
- Surefire Plugin
- JaCoCo Plugin (test coverage)
- flaky test extractor (https://github.com/zeebe-io/flaky-test-extractor-maven-plugin)
Different versions are represented in different branches
main
- Java 11