mirror of https://github.com/apache/nifi.git
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:
parent
fc6677153f
commit
7f7e3f0e7a
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue