-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
45 changed files
with
306 additions
and
170 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
2 changes: 1 addition & 1 deletion
2
...umentation/src/docs/helper/directory.conf → ...ation/src/docs/development/directory.conf
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,6 +1,6 @@ | ||
|
||
laika.navigationOrder = [ | ||
development.md | ||
intro.md | ||
initCompany.md | ||
createProject.md | ||
projectDev.md | ||
|
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
...umentation/src/docs/helper/development.md → ...cumentation/src/docs/development/intro.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,198 @@ | ||
# Project Development | ||
**Experimental** | ||
|
||
The following chapters describe the tasks to support the project development. | ||
|
||
We provide a `helper.scala` script that helps you with the most common tasks. | ||
|
||
In general, you can type `./helper.scala x` to get a list of available commands. | ||
|
||
And then you can type `./helper.scala <command>` to get help for a specific command. | ||
|
||
The `version` is optional and defaults to `1`. | ||
|
||
## update | ||
Whenever you have changes in the `company-camundala` project or in one of your dependencies, | ||
you can update the project with the following command: | ||
|
||
```bash | ||
./helper.scala update | ||
``` | ||
|
||
This will create or update your project with the latest changes. | ||
|
||
Files that contain the `DO NOT ADJUST` comment will be replaced. | ||
If you do adjust them, remove this comment. | ||
You will get a warning, but the file will not be replaced. | ||
|
||
## Generate Process/-Elements | ||
To handle name conventions and to avoid errors, we generate as much as possible. | ||
|
||
So it is essential, not to change the generated names. | ||
|
||
The following generators are provided: | ||
|
||
### process | ||
Creates a new Process. | ||
|
||
Usage: | ||
``` | ||
./helper.scala process <processName> [version: Int] | ||
``` | ||
|
||
Example: | ||
``` | ||
./helper.scala process myProcess 1 | ||
``` | ||
|
||
This creates the following files: | ||
``` | ||
// the BPMN | ||
src - main -> myproject-myProcessV1.bpmn | ||
// the domain In -> Out | ||
02-bpmn - main -> mycompany.myproject.bpmn.myProcess.v1.MyProcess | ||
// the Simulation | ||
03-simulation - test -> mycompany.myproject.simulation.MyProcessSimulation | ||
// the InitWorker | ||
03-worker - main -> mycompany.myproject.worker.myProcess.v1.MyProcessWorker | ||
- test -> mycompany.myproject.worker.myProcess.v1.MyProcessWorkerTest | ||
``` | ||
|
||
### customTask | ||
Creates a new Custom Task. | ||
|
||
Usage: | ||
``` | ||
./helper.scala customTask <processName> <bpmnName> [version: Int] | ||
``` | ||
|
||
Example: | ||
``` | ||
./helper.scala customTask myProcess MyCustomTask 1 | ||
``` | ||
|
||
This creates the following files: | ||
``` | ||
// the domain In -> Out | ||
02-bpmn - main -> mycompany.myproject.bpmn.myProcess.v1.MyCustomTask | ||
// the CustomWorker | ||
03-worker - main -> mycompany.myproject.worker.myProcess.v1.MyCustomTaskWorker | ||
- test -> mycompany.myproject.worker.myProcess.v1.MyCustomTaskWorkerTest | ||
``` | ||
|
||
### serviceTask | ||
Creates a new Service Task. | ||
|
||
Usage: | ||
``` | ||
./helper.scala serviceTask <processName> <bpmnName> [version: Int] | ||
``` | ||
|
||
Example: | ||
``` | ||
./helper.scala serviceTask myProcess MyServiceTask 1 | ||
``` | ||
|
||
This creates the following files: | ||
``` | ||
// the domain In -> Out (ServiceIn -> ServiceOut) | ||
02-bpmn - main -> mycompany.myproject.bpmn.myProcess.v1.MyServiceTask | ||
// the ServiceWorker | ||
03-worker - main -> mycompany.myproject.worker.myProcess.v1.MyServiceTaskWorker | ||
- test -> mycompany.myproject.worker.myProcess.v1.MyServiceTaskWorkerTest | ||
``` | ||
|
||
### userTask | ||
Creates a new User Task. | ||
|
||
Usage: | ||
``` | ||
./helper.scala userTask <processName> <bpmnName> [version: Int] | ||
``` | ||
|
||
Example: | ||
``` | ||
./helper.scala userTask myProcess MyUserTask 1 | ||
``` | ||
|
||
This creates the following files: | ||
``` | ||
// the domain In -> Out | ||
02-bpmn - main -> mycompany.myproject.bpmn.myProcess.v1.MyUserTask | ||
``` | ||
|
||
### decision | ||
Creates a new Decision. | ||
|
||
Usage: | ||
``` | ||
./helper.scala decision <processName> <bpmnName> [version: Int] | ||
``` | ||
|
||
Example: | ||
``` | ||
./helper.scala decision myProcess MyDecision 1 | ||
``` | ||
|
||
This creates the following files: | ||
``` | ||
// the domain In -> Out | ||
02-bpmn - main -> mycompany.myproject.bpmn.myProcess.v1.MyDecision | ||
``` | ||
|
||
### signalEvent | ||
Creates a new Signal Event. | ||
|
||
Usage: | ||
``` | ||
./helper.scala signalEvent <processName> <bpmnName> [version: Int] | ||
``` | ||
|
||
Example: | ||
``` | ||
./helper.scala signalEvent myProcess MySignalEvent 1 | ||
``` | ||
|
||
This creates the following files: | ||
``` | ||
// the domain In -> NoOutput | ||
02-bpmn - main -> mycompany.myproject.bpmn.myProcess.v1.MySignalEvent | ||
``` | ||
|
||
### messageEvent | ||
Creates a new Message Event. | ||
|
||
Usage: | ||
``` | ||
./helper.scala messageEvent <processName> <bpmnName> [version: Int] | ||
``` | ||
|
||
Example: | ||
``` | ||
./helper.scala messageEvent myProcess MyMessageEvent 1 | ||
``` | ||
|
||
This creates the following files: | ||
``` | ||
// the domain In -> NoOutput | ||
02-bpmn - main -> mycompany.myproject.bpmn.myProcess.v1.MyMessageEvent | ||
``` | ||
|
||
### timerEvent | ||
Creates a new Timer Event. | ||
|
||
Usage: | ||
``` | ||
./helper.scala timerEvent <processName> <bpmnName> [version: Int] | ||
``` | ||
|
||
Example: | ||
``` | ||
./helper.scala timerEvent myProcess MyTimerEvent 1 | ||
``` | ||
|
||
This creates the following files: | ||
``` | ||
// the domain NoInput -> NoOutput | ||
02-bpmn - main -> mycompany.myproject.bpmn.myProcess.v1.MyTimerEvent | ||
``` |
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 |
---|---|---|
|
@@ -7,4 +7,5 @@ laika.navigationOrder = [ | |
technologies.md | ||
generalConcerns.md | ||
functionalityDsls | ||
development | ||
] |
Oops, something went wrong.