-
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
11 changed files
with
2,142 additions
and
111 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
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 +1,62 @@ | ||
# 03-dmn | ||
# 03-dmn | ||
Use this to add Company specific DMNTester stuff like the configuration of the projects within the Company. | ||
|
||
The following structure is generated by `./helperCompany.scala init`: | ||
|
||
```bash | ||
03-dmn/src | ||
| main/resources | ||
| main/scala/company/dmn | ||
| | CompanyDmnTester.scala | ||
| test/scala/company/dmn | ||
``` | ||
|
||
## CompanyDmnTester | ||
The Company's base class to generate the DmnTester Configurations and start the Docker image. | ||
|
||
Example (generated by `./helperCompany.scala init`): | ||
|
||
```scala | ||
package mycompany.camundala.dmn | ||
|
||
trait CompanyDmnTester extends DmnTesterConfigCreator: | ||
|
||
override def starterConfig: DmnTesterStarterConfig = | ||
DmnTesterStarterConfig(companyName = "mycompany") | ||
|
||
end CompanyDmnTester | ||
``` | ||
|
||
## DmnTesterStarterConfig | ||
You can customize the DmnTester Configuration. | ||
|
||
```scala | ||
DmnTesterStarterConfig( | ||
companyName = "valiant", | ||
dmnPaths = Seq(localDmnPath) | ||
) | ||
``` | ||
|
||
### Default Config | ||
|
||
Except for the `companyName` all other values are optional and preconfigured, | ||
and **should not be adjusted**. | ||
|
||
Especially the `dmnPaths` might change in the future. | ||
|
||
```scala | ||
// the name of the container that will be started | ||
containerName: String = "camunda-dmn-tester", | ||
// path to where the configs should be created in | ||
dmnConfigPaths: Seq[os.Path] = Seq( | ||
projectBasePath / "03-dmn" / "src" / "main" / "resources" / "dmnConfigs" | ||
), | ||
// paths where the DMNs are (could be in different places) | ||
dmnPaths: Seq[os.Path] = Seq( | ||
projectBasePath / "src" / "main" / "resources" | ||
), | ||
// the port the DMN Tester is started - e.g. http://localhost:8883 | ||
exposedPort: Int = 8883, | ||
// the image version of the DMN Tester | ||
imageVersion: String = "latest" | ||
``` |
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
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
Oops, something went wrong.