Create and Add a Step to a Flow Using Gradle
Before you begin
You need:
- Java SE JDK 8
- MarkLogic Server (See Version Compatibility.)
- Gradle 4.6 or later
About this task
A flow must have at least one step. You can create steps in two ways:
- By customizing the example steps. If you created your flow using Gradle, the resulting flow definition file includes an example step for each predefined type of step (ingestion, mapping, mastering). Simply customize these example steps.
- By creating and customizing a step definition using Gradle. Use the Gradle task hubCreateStepDefinition to initialize a step definition, copy the step definition to the flow definition, and customize.
This task describes how to create and customize a step definition using Gradle.
Procedure
What to do next
- Modify your custom module.
- (Optional) To perform other tasks outside the Data Hub space, you can create a custom hook module and add it to a custom hook in the step.