https://github.com/materna-se/declab
📊 Web-based decision model laboratory powered by jDEC and Vue.js
https://github.com/materna-se/declab
decision-management decision-model dmn docker java javascript vue
Last synced: about 2 months ago
JSON representation
📊 Web-based decision model laboratory powered by jDEC and Vue.js
- Host: GitHub
- URL: https://github.com/materna-se/declab
- Owner: materna-se
- License: apache-2.0
- Created: 2019-06-05T13:47:53.000Z (almost 6 years ago)
- Default Branch: master-portable
- Last Pushed: 2023-12-11T15:59:16.000Z (over 1 year ago)
- Last Synced: 2023-12-11T16:51:22.743Z (over 1 year ago)
- Topics: decision-management, decision-model, dmn, docker, java, javascript, vue
- Language: Java
- Homepage: https://declab.materna.de/documentation/
- Size: 4.08 MB
- Stars: 33
- Watchers: 7
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
![]()
![]()
![]()
![]()
## Features
### Community
#### Overview
To provide an overview of the imported model, the included decisions, inputs and business knowledge models are displayed.
#### Powerful Builder
To simplify the creation of tests, declab supports the user by providing a powerful builder.
It supports complex data types and an increasing number of FEEL data types
(`feel:string`, `feel:number` and `feel:boolean`). Support for `feel:date`, `feel:time`, `feel:dateTime` is planned.
The builder also suggests values that are predefined inside the imported model.
#### Batch Execution
declab is designed for the creation of hundreds of tests.
To test a modified model, all created tests can be executed simultaneously.
#### Structured Results
If an executed test fails, declab supports the user by providing
a clear overview of the differences between the expected and calculated output.
#### Playground
To accelerate the development time of decisions, FEEL expressions
can be executed in real time using the playground.
## Client
The following applications are required for client development:
- **Node.js**
- **npm**### Initialization
In order to initialize the project environment, the following commands should be executed:
```
cd ./client
npm install
```Optionally, the environment variable `DECLAB_HOST` can be set to change the server endpoint. It defaults to `http://127.0.0.1:8080/declab-{version}/api`.
### Development
In order to start the development server, the following command should be executed:
```
npm run dev
```
Afterwards, declab can be accessed at `http://127.0.0.1`.### Production
In order to start the production build, the following command should be executed:
```
npm run build
```
Afterwards, the generated files can be found at `./server/src/main/webapp`.## Server
The following applications are required for server development:
- **Java 11**
- **Maven**
- **WildFly or JBoss** (support for other application servers will be added in the future)### Production
In order to build a web archive, the following commands should be executed:
```
cd ./server
mvn clean package
```
Afterwards, the generated web archive can be found at `./server/target/declab-{version}.war`.
If declab should be directly executed on an application server, the generated
web archive can be copied into the specified directory (for example `./standalone/deployments`).If declab should be executed in a Docker container,
the project can be built and executed by using the included Dockerfile.
```
docker build -t declab:1.0.0 .
docker run -p 127.0.0.1:8080:8080 declab:1.0.0
```
Afterwards, declab can be accessed at `http://127.0.0.1:8080`.## License
This project is available under the Apache License 2.0. Please refer to the [LICENSE.md](https://github.com/declab/LICENSE.md) for more detailed information.
The [CONTRIBUTING.md](https://github.com/declab/CONTRIBUTING.md) and [CODE-OF-CONDUCT.md](https://github.com/declab/CODE-OF-CONDUCT.md) are based on the great [Open Source Template](https://github.com/auth0/open-source-template) created by Auth0, available under the MIT License.