NIFI-12165 Changed the properties "Custom Transformation Class Name" and "Custom Module Directory" to depend on the "Jolt Transformation DSL" property when its value is "Custom"

This closes #7890

Signed-off-by: Chris Sampson <chris.sampson82@gmail.com>
This commit is contained in:
dan-s1 2023-10-17 00:49:35 +00:00 committed by Chris Sampson
parent fc6677153f
commit 7f7e3f0e7a
No known key found for this signature in database
GPG Key ID: 546AEB0826587237
2 changed files with 4 additions and 4 deletions

View File

@ -161,7 +161,7 @@ public class JoltTransformRecord extends AbstractProcessor {
.required(false)
.expressionLanguageSupported(ExpressionLanguageScope.FLOWFILE_ATTRIBUTES)
.addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
.dependsOn(JOLT_SPEC, CUSTOMR)
.dependsOn(JOLT_TRANSFORM, CUSTOMR)
.build();
static final PropertyDescriptor MODULES = new PropertyDescriptor.Builder()
@ -172,7 +172,7 @@ public class JoltTransformRecord extends AbstractProcessor {
.expressionLanguageSupported(ExpressionLanguageScope.ENVIRONMENT)
.identifiesExternalResource(ResourceCardinality.MULTIPLE, ResourceType.FILE, ResourceType.DIRECTORY)
.dynamicallyModifiesClasspath(true)
.dependsOn(JOLT_SPEC, CUSTOMR)
.dependsOn(JOLT_TRANSFORM, CUSTOMR)
.build();
static final PropertyDescriptor TRANSFORM_CACHE_SIZE = new PropertyDescriptor.Builder()

View File

@ -122,7 +122,7 @@ public class JoltTransformJSON extends AbstractProcessor {
.required(false)
.expressionLanguageSupported(ExpressionLanguageScope.FLOWFILE_ATTRIBUTES)
.addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
.dependsOn(JOLT_SPEC, CUSTOMR)
.dependsOn(JOLT_TRANSFORM, CUSTOMR)
.build();
public static final PropertyDescriptor MODULES = new PropertyDescriptor.Builder()
@ -133,7 +133,7 @@ public class JoltTransformJSON extends AbstractProcessor {
.identifiesExternalResource(ResourceCardinality.MULTIPLE, ResourceType.FILE, ResourceType.DIRECTORY)
.expressionLanguageSupported(ExpressionLanguageScope.ENVIRONMENT)
.dynamicallyModifiesClasspath(true)
.dependsOn(JOLT_SPEC, CUSTOMR)
.dependsOn(JOLT_TRANSFORM, CUSTOMR)
.build();
static final PropertyDescriptor TRANSFORM_CACHE_SIZE = new PropertyDescriptor.Builder()