diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp
index fa390d3acf..9d9da2abd8 100644
--- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp
+++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp
@@ -102,6 +102,10 @@
+
+
+ This strategy is experimental
+
diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/css/processor-configuration.css b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/css/processor-configuration.css
index 5fa4f6254f..add52e0752 100644
--- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/css/processor-configuration.css
+++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/css/processor-configuration.css
@@ -111,6 +111,21 @@ div.processor-enabled-container {
line-height: 18px;
}
+#event-driven-warning {
+ padding-top: 22px;
+ color: #f00;
+}
+
+#event-driven-warning-icon {
+ float: left;
+ margin-top: -2px;
+ margin-right: 5px;
+ margin-left: 5px;
+ width: 18px;
+ height: 16px;
+ background-image: url(../images/iconAlert.png);
+}
+
#auto-terminate-relationship-names {
border: 0 solid #CCCCCC;
height: 280px;
diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-processor-configuration.js b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-processor-configuration.js
index 31bd79eb46..4dec7348a5 100644
--- a/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-processor-configuration.js
+++ b/nar-bundles/framework-bundle/framework/web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-processor-configuration.js
@@ -37,14 +37,14 @@ nf.ProcessorConfiguration = (function () {
strategies.push({
text: 'Event driven',
value: 'EVENT_DRIVEN',
- description: 'Processor will be scheduled to run when triggered by an event (e.g. a FlowFile enters an incoming queue).'
+ description: 'Processor will be scheduled to run when triggered by an event (e.g. a FlowFile enters an incoming queue). This scheduling strategy is experimental.'
});
} else if (processor.config['schedulingStrategy'] === 'EVENT_DRIVEN') {
// the processor was once configured for event driven but no longer supports it
strategies.push({
text: 'Event driven',
value: 'EVENT_DRIVEN',
- description: 'Processor will be scheduled to run when triggered by an event (e.g. a FlowFile enters an incoming queue).',
+ description: 'Processor will be scheduled to run when triggered by an event (e.g. a FlowFile enters an incoming queue). This scheduling strategy is experimental.',
disabled: true
});
}
@@ -506,17 +506,23 @@ nf.ProcessorConfiguration = (function () {
select: function (selectedOption) {
// show the appropriate panel
if (selectedOption.value === 'EVENT_DRIVEN') {
+ $('#event-driven-warning').show();
+
$('#timer-driven-options').hide();
$('#event-driven-options').show();
$('#cron-driven-options').hide();
- } else if (selectedOption.value === 'CRON_DRIVEN') {
- $('#timer-driven-options').hide();
- $('#event-driven-options').hide();
- $('#cron-driven-options').show();
} else {
- $('#timer-driven-options').show();
- $('#event-driven-options').hide();
- $('#cron-driven-options').hide();
+ $('#event-driven-warning').hide();
+
+ if (selectedOption.value === 'CRON_DRIVEN') {
+ $('#timer-driven-options').hide();
+ $('#event-driven-options').hide();
+ $('#cron-driven-options').show();
+ } else {
+ $('#timer-driven-options').show();
+ $('#event-driven-options').hide();
+ $('#cron-driven-options').hide();
+ }
}
}
});