Harmonize Using the Gradle Plugin

Creating Entities

Entities are the high-level business objects in your enterprise. They can be things like Employee, Product, Purchase Order, Department, etc. With DHF, you have a choice between using abstract entities or Entity Services.

To create an entity, you simply issue this gradle command:

./gradlew hubCreateEntity -PentityName="My Awesome Entity"
gradlew.bat hubCreateEntity -PentityName="My Awesome Entity"

The command will generate an empty directory: $project-dir/plugins/entities/My Awesome Entity

Creating a Harmonize Flow

./gradlew hubCreateHarmonizeFlow -PentityName="My Awesome Entity" -PflowName="My Harmonize Flow"
gradlew.bat hubCreateHarmonizeFlow -PentityName="My Awesome Entity" -PflowName="My Harmonize Flow"

Running your Harmonize Flow

./gradlew hubRunFlow -PentityName="My Awesome Entity" -PflowName="My Harmonize Flow" -PflowType="harmonize"
gradlew.bat hubRunFlow -PentityName="My Awesome Entity" -PflowName="My Harmonize Flow" -PflowType="harmonize"