From 03530223d28cf7ff17337d04ff3ec816922cfd2b Mon Sep 17 00:00:00 2001 From: dennisjaheruddin Date: Mon, 1 Jun 2020 13:58:35 +0200 Subject: [PATCH] NIFI-7501 Update nf-context-menu.js for an intuitive road to parameters When rightclicking a process group the variables are shown, but parameters are not. This makes sense as they have a prerequisite, in the form of a parameter context. This change gives a more consistent experience for finding the functionality regarding parameters by ensuring the contextmenu shows the possibility to configure a parameter context. Once the paramater context has been created for a process group, the parameters text shows, so this is no longer visible. People would then need to click configure to change the context, just as they would be required to do now. Added generateflowfile load tag and description Added GenerateFlowFile load tag to be consistent with DuplicateFlowFile and updated description to refer to DuplicateFlowFile. Revert "Update nf-context-menu.js for an intuitive road to parameters" This reverts commit 3c44b1661f09fb6ae11d2f088550f81fb7a4b393. This closes #4333 Signed-off-by: Mike Thomsen --- .../org/apache/nifi/processors/standard/GenerateFlowFile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GenerateFlowFile.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GenerateFlowFile.java index 73f607daf6ed..25ecfbb15b26 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GenerateFlowFile.java +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GenerateFlowFile.java @@ -54,10 +54,10 @@ import org.apache.nifi.processor.util.StandardValidators; @SupportsBatching -@Tags({"test", "random", "generate"}) +@Tags({"test", "random", "generate", "load"}) @InputRequirement(Requirement.INPUT_FORBIDDEN) @CapabilityDescription("This processor creates FlowFiles with random data or custom content. GenerateFlowFile is useful" + - " for load testing, configuration, and simulation.") + " for load testing, configuration, and simulation." + " Also see DuplicateFlowFile for additional load testing.") @DynamicProperty(name = "Generated FlowFile attribute name", value = "Generated FlowFile attribute value", expressionLanguageScope = ExpressionLanguageScope.VARIABLE_REGISTRY, description = "Specifies an attribute on generated FlowFiles defined by the Dynamic Property's key and value." +