Advanced

@if (processorDetails$ | async; as processorDetails) {
Properties
Select the 'Jolt Transform' and enter the 'Jolt Specification' properties to be used when transforming the input.
Jolt Transform @if (processorDetails?.descriptors; as descriptors) { @for ( option of descriptors['Jolt Transform'].allowableValues | keyvalue; track option ) { {{ option.value }} } }
Jolt Specification
@if (joltState().validatingJoltSpec) { Validating... } @else { @if (joltState().validationResponse?.valid) { The specification is valid. } @else if ( joltState().validationResponse?.valid === false && joltState().validationResponse?.message !== null ) { {{ joltState().validationResponse?.message }} } @else if (joltState().validationFailureResponse) { {{ joltState().validationFailureResponse?.message }} } } @if (joltState().savingProperties) { Saving... } @else { @if (joltState().savePropertiesResponse) { Properties successfully saved! } @else if (joltState().savePropertiesFailureResponse) { {{ joltState().savePropertiesFailureResponse?.message }} } } @if ( joltState().savePropertiesResponse === null && joltState().savePropertiesFailureResponse === null && joltState().validationResponse === null && joltState().validationFailureResponse === null ) { Click the validate button to verify the specification for the selected transformation. Click the save button to apply the current values to the processor's configuration. }
Flow File Input
Enter sample flow file content and optional attributes to be transformed by the defined 'Jolt Transform' and 'Jolt Specification'.
Content
Attributes
@if (joltState().transformingJoltSpec) { Transforming... } @else { @if (joltState().transformationResponse) { The transform was successful. } @else if (joltState().transformationFailureResponse) { {{ joltState().transformationFailureResponse?.message }} } @else { Click the transform button to view the output of the transformation. } }
Output
The output of the transformation given the specification, flow file content, and (optional) attributes.
} @else {
An error has occurred loading the editor.
}