@kogito-tooling/import-java-classes-component
v0.16.0
Published
This component import Java classes as DMN data types
Downloads
4
Keywords
Readme
Import Java Classes component
This editor provides the possibility to edit the expression related to a Decision Node, or to a Business Knowledge Model's function.
Static deployed showcase
There you can access to the static deployed version of the showcase application for this editor. It will be manually updated as soon as new features will be added.
Structure
In the showcase
folder, there is a tiny React application, which represent the Proof Of Value about how it is possible to integrate the ImportJavaClasses
component inside another existing application.
Scripts
In the main project (where the components actually live), it is possible to execute, from the root folder, the following scripts (yarn
is recommended):
# Collect and build dependencies
yarn
# Remove 'dist' folder (such script is automatically called when the build is executed)
yarn prebuild
# Build a production-ready artifact to be deployed
yarn build
# Execute all tests
yarn test
# Trigger static code analysis
yarn lint
# Trigger type checking
yarn type-check
# Perform all the three checks above (tests, lint and type checking)
yarn quality-checks
In the showcase project, only two scripts are available:
# Start a local server to see the 'ImportJavaClasses' in action
yarn start
# Compiles a production ready showcase application
yarn build
Furthermore, there are cypress tests for the showcase project, however they are not automated yet. You can run them as:
# Start a local server to see the 'ImportJavaClasses' in action
yarn start
# Wait until app is running and execute tests
yarn cypress run