You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2015/04/10 15:43:45 UTC
[10/62] [abbrv] incubator-nifi git commit: Squashed commit of the
following:
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-optimistic-locking/src/main/java/org/apache/nifi/web/StandardOptimisticLockingManager.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-optimistic-locking/src/main/java/org/apache/nifi/web/StandardOptimisticLockingManager.java b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-optimistic-locking/src/main/java/org/apache/nifi/web/StandardOptimisticLockingManager.java
index 8da6d23..23ef8eb 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-optimistic-locking/src/main/java/org/apache/nifi/web/StandardOptimisticLockingManager.java
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-optimistic-locking/src/main/java/org/apache/nifi/web/StandardOptimisticLockingManager.java
@@ -16,6 +16,14 @@
*/
package org.apache.nifi.web;
+import java.util.concurrent.locks.Lock;
+import java.util.concurrent.locks.ReentrantLock;
+import org.apache.nifi.cluster.context.ClusterContext;
+import org.apache.nifi.cluster.context.ClusterContextThreadLocal;
+import org.apache.nifi.web.security.user.NiFiUserUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
/**
* Implements the OptimisticLockingManager interface.
*
@@ -23,55 +31,129 @@ package org.apache.nifi.web;
*/
public class StandardOptimisticLockingManager implements OptimisticLockingManager {
+ private static final Logger logger = LoggerFactory.getLogger(StandardOptimisticLockingManager.class);
+
+ private static final String INVALID_REVISION_ERROR = "Given revision %s does not match current revision %s.";
+ private static final String SYNC_ERROR = "This NiFi instance has been updated by '%s'. Please refresh to synchronize the view.";
+
private Revision currentRevision = new Revision(0L, "");
-
private String lastModifier = "unknown";
+ private final Lock lock = new ReentrantLock();
+
+ private void lock() {
+ lock.lock();
+ }
+
+ private void unlock() {
+ lock.unlock();
+ }
- @Override
- public Revision checkRevision(Revision revision) throws InvalidRevisionException {
- if (currentRevision.equals(revision) == false) {
- throw new InvalidRevisionException(String.format("Given revision %s does not match current revision %s.", revision, currentRevision));
- } else {
- currentRevision = revision.increment(revision.getClientId());
- return currentRevision;
+ private void checkRevision(final Revision revision) {
+ final FlowModification lastMod = getLastModification();
+
+ // with lock, verify revision
+ boolean approved = lastMod.getRevision().equals(revision);
+
+ if (!approved) {
+ logger.debug("Revision check failed because current revision is " + lastMod.getRevision() + " but supplied revision is " + revision);
+
+ if (lastMod.getRevision().getClientId() == null || lastMod.getRevision().getClientId().trim().isEmpty() || lastMod.getRevision().getVersion() == null) {
+ throw new InvalidRevisionException(String.format(INVALID_REVISION_ERROR, revision, lastMod.getRevision()));
+ } else {
+ throw new InvalidRevisionException(String.format(SYNC_ERROR, lastMod.getLastModifier()));
+ }
}
}
-
- @Override
- public boolean isCurrent(Revision revision) {
- return currentRevision.equals(revision);
+
+ private Revision updateRevision(final Revision updatedRevision) {
+ // record the current modification
+ setLastModification(new FlowModification(updatedRevision, NiFiUserUtils.getNiFiUserName()));
+
+ // return the revision
+ return updatedRevision;
}
@Override
- public Revision getRevision() {
- return currentRevision;
- }
+ public <T> ConfigurationSnapshot<T> configureFlow(Revision revision, ConfigurationRequest<T> configurationRequest) {
+ lock();
+ try {
+ // check the revision
+ checkRevision(revision);
- @Override
- public void setRevision(Revision revision) {
- currentRevision = revision;
- }
+ // execute the configuration request
+ final T result = configurationRequest.execute();
- @Override
- public Revision incrementRevision() {
- currentRevision = currentRevision.increment();
- return currentRevision;
- }
+ // update the revision
+ final Revision newRevision = updateRevision(incrementRevision(revision.getClientId()));
- @Override
- public Revision incrementRevision(String clientId) {
- currentRevision = currentRevision.increment(clientId);
- return currentRevision;
+ // build the result
+ return new ConfigurationSnapshot(newRevision.getVersion(), result);
+ } finally {
+ unlock();
+ }
}
@Override
- public String getLastModifier() {
- return lastModifier;
+ public void setRevision(UpdateRevision updateRevision) {
+ lock();
+ try {
+ final Revision updatedRevision = updateRevision.execute(getLastModification().getRevision());
+
+ // update the revision
+ if (updatedRevision != null) {
+ updateRevision(updatedRevision);
+ }
+ } finally {
+ unlock();
+ }
}
-
+
@Override
- public void setLastModifier(String lastModifier) {
- this.lastModifier = lastModifier;
+ public FlowModification getLastModification() {
+ lock();
+ try {
+ final Revision revision;
+ final ClusterContext ctx = ClusterContextThreadLocal.getContext();
+ if (ctx == null || ctx.getRevision() == null) {
+ revision = currentRevision;
+ } else {
+ revision = ctx.getRevision();
+ }
+
+ return new FlowModification(revision, lastModifier);
+ } finally {
+ unlock();
+ }
}
-
+
+ private void setLastModification(final FlowModification lastModification) {
+ lock();
+ try {
+ // record the last modifier
+ lastModifier = lastModification.getLastModifier();
+
+ // record the updated revision in the cluster context if possible
+ final ClusterContext ctx = ClusterContextThreadLocal.getContext();
+ if (ctx != null) {
+ ctx.setRevision(lastModification.getRevision());
+ } else {
+ currentRevision = lastModification.getRevision();
+ }
+ } finally {
+ unlock();
+ }
+ }
+
+ private Revision incrementRevision(String clientId) {
+ final Revision current = getLastModification().getRevision();
+
+ final long incrementedVersion;
+ if (current.getVersion() == null) {
+ incrementedVersion = 0;
+ } else {
+ incrementedVersion = current.getVersion() + 1;
+ }
+ return new Revision(incrementedVersion, clientId);
+ }
+
}
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-optimistic-locking/src/main/java/org/apache/nifi/web/UpdateRevision.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-optimistic-locking/src/main/java/org/apache/nifi/web/UpdateRevision.java b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-optimistic-locking/src/main/java/org/apache/nifi/web/UpdateRevision.java
new file mode 100644
index 0000000..e691bbe
--- /dev/null
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-optimistic-locking/src/main/java/org/apache/nifi/web/UpdateRevision.java
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.nifi.web;
+
+/**
+ * Represents an action that will result in an updated revision.
+ */
+public interface UpdateRevision {
+
+ /**
+ * Executes the action that will result in an updated revision
+ *
+ * @param currentRevision The current revision
+ * @return The updated revision
+ */
+ Revision execute(Revision currentRevision);
+}
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/user/NiFiUserUtils.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/user/NiFiUserUtils.java b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/user/NiFiUserUtils.java
index 0209cf7..acf37dc 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/user/NiFiUserUtils.java
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/user/NiFiUserUtils.java
@@ -79,4 +79,14 @@ public final class NiFiUserUtils {
return user;
}
+
+ public static String getNiFiUserName() {
+ // get the nifi user to extract the username
+ NiFiUser user = NiFiUserUtils.getNiFiUser();
+ if (user == null) {
+ return "unknown";
+ } else {
+ return user.getUserName();
+ }
+ }
}
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/pom.xml
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/pom.xml b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/pom.xml
index 34ba05e..f2d4861 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/pom.xml
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/pom.xml
@@ -265,12 +265,10 @@
<include>${staging.dir}/js/nf/canvas/nf-storage.js</include>
<include>${staging.dir}/js/nf/canvas/nf-snippet.js</include>
<include>${staging.dir}/js/nf/canvas/nf-canvas-toolbox.js</include>
- <include>${staging.dir}/js/nf/canvas/nf-custom-processor-ui.js</include>
+ <include>${staging.dir}/js/nf/canvas/nf-custom-ui.js</include>
<include>${staging.dir}/js/nf/canvas/nf-registration.js</include>
- <include>${staging.dir}/js/nf/canvas/nf-processor-property-table.js</include>
- <include>${staging.dir}/js/nf/canvas/nf-processor-property-text-editor.js</include>
- <include>${staging.dir}/js/nf/canvas/nf-processor-property-nfel-editor.js</include>
- <include>${staging.dir}/js/nf/canvas/nf-processor-property-combo-editor.js</include>
+ <include>${staging.dir}/js/nf/canvas/nf-controller-service.js</include>
+ <include>${staging.dir}/js/nf/canvas/nf-reporting-task.js</include>
<include>${staging.dir}/js/nf/canvas/nf-processor-configuration.js</include>
<include>${staging.dir}/js/nf/nf-processor-details.js</include>
<include>${staging.dir}/js/nf/canvas/nf-process-group-configuration.js</include>
@@ -406,6 +404,8 @@
<insertNewLine>true</insertNewLine>
<output>${project.build.directory}/${project.build.finalName}/css/nf-canvas-all.css</output>
<includes>
+ <include>${staging.dir}/css/reporting-task.css</include>
+ <include>${staging.dir}/css/controller-service.css</include>
<include>${staging.dir}/css/processor-configuration.css</include>
<include>${staging.dir}/css/processor-details.css</include>
<include>${staging.dir}/css/process-group-configuration.css</include>
@@ -420,6 +420,8 @@
<include>${staging.dir}/css/registration.css</include>
<include>${staging.dir}/css/dialog.css</include>
<include>${staging.dir}/css/new-processor-dialog.css</include>
+ <include>${staging.dir}/css/new-controller-service-dialog.css</include>
+ <include>${staging.dir}/css/new-reporting-task-dialog.css</include>
<include>${staging.dir}/css/graph.css</include>
<include>${staging.dir}/css/header.css</include>
<include>${staging.dir}/css/main.css</include>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/resources/filters/canvas.properties
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/resources/filters/canvas.properties b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/resources/filters/canvas.properties
index 056a2af..fd2bc17 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/resources/filters/canvas.properties
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/resources/filters/canvas.properties
@@ -22,12 +22,10 @@ nf.canvas.script.tags=<script type="text/javascript" src="js/nf/nf-namespace.js?
<script type="text/javascript" src="js/nf/canvas/nf-storage.js?${project.version}"></script>\n\
<script type="text/javascript" src="js/nf/canvas/nf-snippet.js?${project.version}"></script>\n\
<script type="text/javascript" src="js/nf/canvas/nf-canvas-toolbox.js?${project.version}"></script>\n\
-<script type="text/javascript" src="js/nf/canvas/nf-custom-processor-ui.js?${project.version}"></script>\n\
+<script type="text/javascript" src="js/nf/canvas/nf-custom-ui.js?${project.version}"></script>\n\
<script type="text/javascript" src="js/nf/canvas/nf-registration.js?${project.version}"></script>\n\
-<script type="text/javascript" src="js/nf/canvas/nf-processor-property-table.js?${project.version}"></script>\n\
-<script type="text/javascript" src="js/nf/canvas/nf-processor-property-text-editor.js?${project.version}"></script>\n\
-<script type="text/javascript" src="js/nf/canvas/nf-processor-property-nfel-editor.js?${project.version}"></script>\n\
-<script type="text/javascript" src="js/nf/canvas/nf-processor-property-combo-editor.js?${project.version}"></script>\n\
+<script type="text/javascript" src="js/nf/canvas/nf-controller-service.js?${project.version}"></script>\n\
+<script type="text/javascript" src="js/nf/canvas/nf-reporting-task.js?${project.version}"></script>\n\
<script type="text/javascript" src="js/nf/canvas/nf-processor-configuration.js?${project.version}"></script>\n\
<script type="text/javascript" src="js/nf/nf-processor-details.js?${project.version}"></script>\n\
<script type="text/javascript" src="js/nf/canvas/nf-process-group-configuration.js?${project.version}"></script>\n\
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp
index ba65475..c81bb9d 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp
@@ -29,6 +29,8 @@
<link rel="stylesheet" href="js/jquery/nfeditor/languages/nfel.css?${project.version}" type="text/css" />
<link rel="stylesheet" href="js/jquery/tabbs/jquery.tabbs.css?${project.version}" type="text/css" />
<link rel="stylesheet" href="js/jquery/combo/jquery.combo.css?${project.version}" type="text/css" />
+ <link rel="stylesheet" href="js/jquery/propertytable/jquery.propertytable.css?${project.version}" type="text/css" />
+ <link rel="stylesheet" href="js/jquery/tagcloud/jquery.tagcloud.css?${project.version}" type="text/css" />
<link rel="stylesheet" href="js/jquery/modal/jquery.modal.css?${project.version}" type="text/css" />
<link rel="stylesheet" href="js/jquery/qtip2/jquery.qtip.min.css?" type="text/css" />
<link rel="stylesheet" href="js/jquery/ui-smoothness/jquery-ui-1.10.4.min.css" type="text/css" />
@@ -45,6 +47,8 @@
<script type="text/javascript" src="js/jquery/jquery.tab.js"></script>
<script type="text/javascript" src="js/jquery/tabbs/jquery.tabbs.js?${project.version}"></script>
<script type="text/javascript" src="js/jquery/combo/jquery.combo.js?${project.version}"></script>
+ <script type="text/javascript" src="js/jquery/propertytable/jquery.propertytable.js?${project.version}"></script>
+ <script type="text/javascript" src="js/jquery/tagcloud/jquery.tagcloud.js?${project.version}"></script>
<script type="text/javascript" src="js/jquery/modal/jquery.modal.js?${project.version}"></script>
<script type="text/javascript" src="js/jquery/minicolors/jquery.minicolors.min.js"></script>
<script type="text/javascript" src="js/jquery/qtip2/jquery.qtip.min.js"></script>
@@ -76,13 +80,16 @@
<jsp:include page="/WEB-INF/partials/ok-dialog.jsp"/>
<jsp:include page="/WEB-INF/partials/yes-no-dialog.jsp"/>
<jsp:include page="/WEB-INF/partials/status-history-dialog.jsp"/>
+ <jsp:include page="/WEB-INF/partials/canvas/disable-controller-service-dialog.jsp"/>
+ <jsp:include page="/WEB-INF/partials/canvas/enable-controller-service-dialog.jsp"/>
+ <jsp:include page="/WEB-INF/partials/canvas/new-controller-service-dialog.jsp"/>
+ <jsp:include page="/WEB-INF/partials/canvas/new-reporting-task-dialog.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/new-processor-dialog.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/new-port-dialog.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/new-process-group-dialog.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/new-remote-process-group-dialog.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/new-template-dialog.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/instantiate-template-dialog.jsp"/>
- <jsp:include page="/WEB-INF/partials/canvas/new-processor-property-dialog.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/fill-color-dialog.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/connections-dialog.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/flow-status.jsp"/>
@@ -96,6 +103,8 @@
<jsp:include page="/WEB-INF/partials/canvas/navigation.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/settings-content.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/shell.jsp"/>
+ <jsp:include page="/WEB-INF/partials/canvas/controller-service-configuration.jsp"/>
+ <jsp:include page="/WEB-INF/partials/canvas/reporting-task-configuration.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/processor-configuration.jsp"/>
<jsp:include page="/WEB-INF/partials/processor-details.jsp"/>
<jsp:include page="/WEB-INF/partials/canvas/process-group-configuration.jsp"/>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/summary.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/summary.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/summary.jsp
index fdfc806..032509b 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/summary.jsp
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/summary.jsp
@@ -25,6 +25,7 @@
${nf.summary.style.tags}
<link rel="stylesheet" href="js/jquery/tabbs/jquery.tabbs.css?${project.version}" type="text/css" />
<link rel="stylesheet" href="js/jquery/combo/jquery.combo.css?${project.version}" type="text/css" />
+ <link rel="stylesheet" href="js/jquery/propertytable/jquery.propertytable.css?${project.version}" type="text/css" />
<link rel="stylesheet" href="js/jquery/modal/jquery.modal.css?${project.version}" type="text/css" />
<link rel="stylesheet" href="js/codemirror/lib/codemirror.css" type="text/css" />
<link rel="stylesheet" href="js/codemirror/addon/hint/show-hint.css" type="text/css" />
@@ -40,6 +41,7 @@
<script type="text/javascript" src="js/jquery/jquery.center.js"></script>
<script type="text/javascript" src="js/jquery/tabbs/jquery.tabbs.js?${project.version}"></script>
<script type="text/javascript" src="js/jquery/combo/jquery.combo.js?${project.version}"></script>
+ <script type="text/javascript" src="js/jquery/propertytable/jquery.propertytable.js?${project.version}"></script>
<script type="text/javascript" src="js/jquery/modal/jquery.modal.js?${project.version}"></script>
<script type="text/javascript" src="js/jquery/jquery.ellipsis.js"></script>
<script type="text/javascript" src="js/jquery/jquery.each.js"></script>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/canvas-header.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/canvas-header.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/canvas-header.jsp
index 8eea811..f312327 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/canvas-header.jsp
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/canvas-header.jsp
@@ -31,7 +31,7 @@
<div id="counters-link" class="utility-button" title="Counters"></div>
<div id="history-link" class="utility-button" title="Flow Configuration History"></div>
<div id="provenance-link" class="utility-button" title="Data Provenance"></div>
- <div id="flow-settings-link" class="utility-button" title="Flow Settings"></div>
+ <div id="flow-settings-link" class="utility-button" title="Controller Settings"></div>
<div id="templates-link" class="utility-button" title="Templates"></div>
<div id="users-link" class="utility-button" title="Users"><div id="has-pending-accounts" class="hidden"></div></div>
<div id="cluster-link" class="utility-button" title="Cluster"></div>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/controller-service-configuration.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/controller-service-configuration.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/controller-service-configuration.jsp
new file mode 100644
index 0000000..533aa54
--- /dev/null
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/controller-service-configuration.jsp
@@ -0,0 +1,90 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--%>
+<%@ page contentType="text/html" pageEncoding="UTF-8" session="false" %>
+<div id="controller-service-configuration">
+ <div class="controller-service-configuration-tab-container">
+ <div id="controller-service-configuration-tabs"></div>
+ <div id="controller-service-configuration-tabs-content">
+ <div id="controller-service-standard-settings-tab-content" class="configuration-tab">
+ <div class="settings-left">
+ <div class="setting">
+ <div class="setting-name">Name</div>
+ <div class="controller-service-editable setting-field">
+ <input type="text" id="controller-service-name" name="controller-service-name" class="setting-input"/>
+ <div class="controller-service-enabled-container">
+ <div id="controller-service-enabled" class="nf-checkbox checkbox-unchecked"></div>
+ <span> Enabled</span>
+ </div>
+ </div>
+ <div class="controller-service-read-only setting-field hidden">
+ <span id="read-only-controller-service-name"></span>
+ </div>
+ </div>
+ <div class="setting">
+ <div class="setting-name">Id</div>
+ <div class="setting-field">
+ <span id="controller-service-id"></span>
+ </div>
+ </div>
+ <div class="setting">
+ <div class="setting-name">Type</div>
+ <div class="setting-field">
+ <span id="controller-service-type"></span>
+ </div>
+ </div>
+ <div id="controller-service-availability-setting-container" class="setting hidden">
+ <div class="availability-setting">
+ <div class="setting-name">
+ Availability
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="Where this controller service is available."/>
+ </div>
+ <div class="setting-field">
+ <div id="controller-service-availability"></div>
+ </div>
+ </div>
+ <div class="clear"></div>
+ </div>
+ </div>
+ <div class="spacer"> </div>
+ <div class="settings-right">
+ <div class="setting">
+ <div class="setting-name">
+ Referencing Components
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="Other components referencing this controller service."/>
+ </div>
+ <div class="setting-field">
+ <div id="controller-service-referencing-components"></div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div id="controller-service-properties-tab-content" class="configuration-tab">
+ <div id="controller-service-properties"></div>
+ </div>
+ <div id="controller-service-comments-tab-content" class="configuration-tab">
+ <textarea cols="30" rows="4" id="controller-service-comments" name="controller-service-comments" class="controller-service-editable setting-input"></textarea>
+ <div class="setting controller-service-read-only hidden">
+ <div class="setting-name">Comments</div>
+ <div class="setting-field">
+ <span id="read-only-controller-service-comments"></span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+<div id="new-controller-service-property-container"></div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/disable-controller-service-dialog.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/disable-controller-service-dialog.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/disable-controller-service-dialog.jsp
new file mode 100644
index 0000000..dc76282
--- /dev/null
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/disable-controller-service-dialog.jsp
@@ -0,0 +1,71 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--%>
+<%@ page contentType="text/html" pageEncoding="UTF-8" session="false" %>
+<div id="disable-controller-service-dialog">
+ <div class="dialog-content">
+ <div class="settings-left">
+ <div id="disable-controller-service-service-container" class="setting">
+ <div class="setting-name">Service</div>
+ <div class="setting-field">
+ <span id="disable-controller-service-id" class="hidden"></span>
+ <span id="disable-controller-service-name"></span>
+ </div>
+ </div>
+ <div id="disable-controller-service-scope-container" class="setting">
+ <div class="setting-name">Scope</div>
+ <div class="setting-field">
+ Service and referencing components
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="Referencing components must be disabled/stopped in order to disable this service."/>
+ </div>
+ </div>
+ <div id="disable-controller-service-progress-container" class="setting hidden">
+ <div id="disable-progress-label" class="setting-name"></div>
+ <div class="setting-field">
+ <ol id="disable-controller-service-progress">
+ <li>
+ Stopping referencing processors and reporting tasks
+ <div id="disable-referencing-schedulable" class="disable-referencing-components"></div>
+ <div class="clear"></div>
+ </li>
+ <li>
+ Disabling referencing controller services
+ <div id="disable-referencing-services" class="disable-referencing-components"></div>
+ <div class="clear"></div>
+ </li>
+ <li>
+ Disabling this controller service
+ <div id="disable-controller-service" class="disable-referencing-components"></div>
+ <div class="clear"></div>
+ </li>
+ </ol>
+ </div>
+ </div>
+ </div>
+ <div class="spacer"> </div>
+ <div class="settings-right">
+ <div class="setting">
+ <div class="setting-name">
+ Referencing Components
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="Other components referencing this controller service."/>
+ </div>
+ <div class="setting-field">
+ <div id="disable-controller-service-referencing-components"></div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/enable-controller-service-dialog.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/enable-controller-service-dialog.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/enable-controller-service-dialog.jsp
new file mode 100644
index 0000000..14fe658
--- /dev/null
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/enable-controller-service-dialog.jsp
@@ -0,0 +1,70 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--%>
+<%@ page contentType="text/html" pageEncoding="UTF-8" session="false" %>
+<div id="enable-controller-service-dialog">
+ <div class="dialog-content">
+ <div class="settings-left">
+ <div id="enable-controller-service-service-container" class="setting">
+ <div class="setting-name">Service</div>
+ <div class="setting-field">
+ <span id="enable-controller-service-id" class="hidden"></span>
+ <span id="enable-controller-service-name"></span>
+ </div>
+ </div>
+ <div id="enable-controller-service-scope-container" class="setting">
+ <div class="setting-name">Scope</div>
+ <div class="setting-field">
+ <div id="enable-controller-service-scope"></div>
+ </div>
+ </div>
+ <div id="enable-controller-service-progress-container" class="setting hidden">
+ <div id="enable-progress-label" class="setting-name"></div>
+ <div class="setting-field">
+ <ol id="enable-controller-service-progress">
+ <li>
+ Enabling this controller service
+ <div id="enable-controller-service" class="enable-referencing-components"></div>
+ <div class="clear"></div>
+ </li>
+ <li class="referencing-component">
+ Enabling referencing controller services
+ <div id="enable-referencing-services" class="enable-referencing-components"></div>
+ <div class="clear"></div>
+ </li>
+ <li class="referencing-component">
+ Starting referencing processors and reporting tasks
+ <div id="enable-referencing-schedulable" class="enable-referencing-components"></div>
+ <div class="clear"></div>
+ </li>
+ </ol>
+ </div>
+ </div>
+ </div>
+ <div class="spacer"> </div>
+ <div class="settings-right">
+ <div class="setting">
+ <div class="setting-name">
+ Referencing Components
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="Other components referencing this controller service."/>
+ </div>
+ <div class="setting-field">
+ <div id="enable-controller-service-referencing-components"></div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-controller-service-dialog.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-controller-service-dialog.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-controller-service-dialog.jsp
new file mode 100644
index 0000000..eb54ace
--- /dev/null
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-controller-service-dialog.jsp
@@ -0,0 +1,53 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--%>
+<%@ page contentType="text/html" pageEncoding="UTF-8" session="false" %>
+<div id="new-controller-service-dialog">
+ <div class="dialog-content">
+ <div id="controller-service-type-filter-controls">
+ <div id="controller-service-type-filter-container">
+ <input type="text" id="controller-service-type-filter"/>
+ <div id="controller-service-type-filter-options"></div>
+ </div>
+ <div id="controller-service-type-filter-status">
+ Displaying <span id="displayed-controller-service-types"></span> of <span id="total-controller-service-types"></span>
+ </div>
+ </div>
+ <div id="controller-service-tag-cloud-container">
+ <div class="setting">
+ <div class="setting-name">Tags</div>
+ <div class="setting-field">
+ <div id="controller-service-tag-cloud"></div>
+ </div>
+ </div>
+ </div>
+ <div id="controller-service-types-container">
+ <div id="controller-service-types-table" class="unselectable"></div>
+ <div id="controller-service-description-container" class="hidden">
+ <div id="controller-service-type-name" class="ellipsis"></div>
+ <div id="controller-service-type-description" class="ellipsis multiline"></div>
+ <span class="hidden" id="selected-controller-service-name"></span>
+ <span class="hidden" id="selected-controller-service-type"></span>
+ </div>
+ </div>
+ <div class="clear"></div>
+ <div id="controller-service-availability-container" class="hidden">
+ <div class="setting-name availability-label">Available on</div>
+ <div id="controller-service-availability-combo"></div>
+ <div class="clear"></div>
+ </div>
+ </div>
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-processor-dialog.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-processor-dialog.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-processor-dialog.jsp
index 29b57c9..df7766c 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-processor-dialog.jsp
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-processor-dialog.jsp
@@ -26,13 +26,11 @@
Displaying <span id="displayed-processor-types"></span> of <span id="total-processor-types"></span>
</div>
</div>
- <div id="tag-cloud-container">
+ <div id="processor-tag-cloud-container">
<div class="setting">
<div class="setting-name">Tags</div>
<div class="setting-field">
- <ul id="tag-cloud"></ul>
- <div id="tag-cloud-separator"></div>
- <ul id="tag-filter"></ul>
+ <div id="processor-tag-cloud"></div>
</div>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-processor-property-dialog.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-processor-property-dialog.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-processor-property-dialog.jsp
deleted file mode 100644
index 9f58c2d..0000000
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-processor-property-dialog.jsp
+++ /dev/null
@@ -1,34 +0,0 @@
-<%--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
---%>
-<%@ page contentType="text/html" pageEncoding="UTF-8" session="false" %>
-<div id="processor-property-dialog" class="dialog">
- <div>
- <div class="setting-name">Property name</div>
- <div class="setting-field" id="new-property-name-container">
- <input id="new-property-name" name="new-property-name" type="text"/>
- </div>
- <div class="setting-name" style="margin-top: 36px;">Property value</div>
- <div class="setting-field">
- <div id="new-property-value"></div>
- </div>
- </div>
- <div id="new-property-button-container">
- <div id="new-property-ok" class="button button-normal">Ok</div>
- <div id="new-property-cancel" class="button button-normal">Cancel</div>
- <div class="clear"></div>
- </div>
-</div>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-reporting-task-dialog.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-reporting-task-dialog.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-reporting-task-dialog.jsp
new file mode 100644
index 0000000..cfb3992
--- /dev/null
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-reporting-task-dialog.jsp
@@ -0,0 +1,53 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--%>
+<%@ page contentType="text/html" pageEncoding="UTF-8" session="false" %>
+<div id="new-reporting-task-dialog">
+ <div class="dialog-content">
+ <div id="reporting-task-type-filter-controls">
+ <div id="controller-service-type-filter-container">
+ <input type="text" id="reporting-task-type-filter"/>
+ <div id="reporting-task-type-filter-options"></div>
+ </div>
+ <div id="reporting-task-type-filter-status">
+ Displaying <span id="displayed-reporting-task-types"></span> of <span id="total-reporting-task-types"></span>
+ </div>
+ </div>
+ <div id="reporting-task-tag-cloud-container">
+ <div class="setting">
+ <div class="setting-name">Tags</div>
+ <div class="setting-field">
+ <div id="reporting-task-tag-cloud"></div>
+ </div>
+ </div>
+ </div>
+ <div id="reporting-task-types-container">
+ <div id="reporting-task-types-table" class="unselectable"></div>
+ <div id="reporting-task-description-container" class="hidden">
+ <div id="reporting-task-type-name" class="ellipsis"></div>
+ <div id="reporting-task-type-description" class="ellipsis multiline"></div>
+ <span class="hidden" id="selected-reporting-task-name"></span>
+ <span class="hidden" id="selected-reporting-task-type"></span>
+ </div>
+ </div>
+ <div class="clear"></div>
+ <div id="reporting-task-availability-container" class="hidden">
+ <div class="setting-name availability-label">Available on</div>
+ <div id="reporting-task-availability-combo"></div>
+ <div class="clear"></div>
+ </div>
+ </div>
+</div>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp
index 9d9da2a..3516de7 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp
@@ -19,7 +19,7 @@
<div class="processor-configuration-tab-container">
<div id="processor-configuration-tabs"></div>
<div id="processor-configuration-tabs-content">
- <div id="configuration-standard-settings-tab-content" class="configuration-tab">
+ <div id="processor-standard-settings-tab-content" class="configuration-tab">
<div class="settings-left">
<div class="setting">
<div class="setting-name">Name</div>
@@ -71,7 +71,7 @@
<img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="The level at which this processor will generate bulletins."/>
</div>
<div class="setting-field">
- <div type="text" id="bulletin-level-combo"></div>
+ <div id="bulletin-level-combo"></div>
</div>
</div>
<div class="clear"></div>
@@ -90,7 +90,7 @@
</div>
</div>
</div>
- <div id="configuration-scheduling-tab-content" class="configuration-tab">
+ <div id="processor-scheduling-tab-content" class="configuration-tab">
<div class="settings-left">
<div class="setting">
<div class="scheduling-strategy-setting">
@@ -194,20 +194,13 @@
</div>
</div>
</div>
- <div id="configuration-processor-properties-tab-content" class="configuration-tab">
- <div id="processor-properties-header">
- <div id="required-property-note">Required field</div>
- <div id="add-property">
- <div id="add-property-icon" class="add-icon-bg"></div>
- <div id="add-text">New property</div>
- </div>
- <div class="clear"></div>
- </div>
+ <div id="processor-properties-tab-content" class="configuration-tab">
<div id="processor-properties"></div>
</div>
- <div id="configuration-comments-tab-content" class="configuration-tab">
+ <div id="processor-comments-tab-content" class="configuration-tab">
<textarea cols="30" rows="4" id="processor-comments" name="processor-comments" class="setting-input"></textarea>
</div>
</div>
</div>
-</div>
\ No newline at end of file
+</div>
+<div id="new-processor-property-container"></div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/registration.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/registration.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/registration.jsp
index 4a965e4..56b3236 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/registration.jsp
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/registration.jsp
@@ -20,7 +20,7 @@
<p id="register-title" class="message-pane-title">You are not authorized to access this data flow</p>
<p id="register-content" class="message-pane-content">
<div>
- <div id="expand-registration-button" class="registration-collapsed pointer"></div>
+ <div id="expand-registration-button" class="collapsed pointer"></div>
<span id="expand-registration-text" class="link">Request Access</span>
</div>
<div id="registration-form" class="settings hidden">
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/reporting-task-configuration.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/reporting-task-configuration.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/reporting-task-configuration.jsp
new file mode 100644
index 0000000..8d3e84d
--- /dev/null
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/reporting-task-configuration.jsp
@@ -0,0 +1,107 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+--%>
+<%@ page contentType="text/html" pageEncoding="UTF-8" session="false" %>
+<div id="reporting-task-configuration">
+ <div class="reporting-task-configuration-tab-container">
+ <div id="reporting-task-configuration-tabs"></div>
+ <div id="reporting-task-configuration-tabs-content">
+ <div id="reporting-task-standard-settings-tab-content" class="configuration-tab">
+ <div class="settings-left">
+ <div class="setting">
+ <div class="setting-name">Name</div>
+ <div class="reporting-task-editable setting-field">
+ <input type="text" id="reporting-task-name" name="reporting-task-name"/>
+ <div class="reporting-task-enabled-container">
+ <div id="reporting-task-enabled" class="nf-checkbox checkbox-unchecked"></div>
+ <span> Enabled</span>
+ </div>
+ </div>
+ <div class="reporting-task-read-only setting-field hidden">
+ <span id="read-only-reporting-task-name"></span>
+ </div>
+ </div>
+ <div class="setting">
+ <div class="setting-name">Id</div>
+ <div class="setting-field">
+ <span id="reporting-task-id"></span>
+ </div>
+ </div>
+ <div class="setting">
+ <div class="setting-name">Type</div>
+ <div class="setting-field">
+ <span id="reporting-task-type"></span>
+ </div>
+ </div>
+ <div id="reporting-task-availability-setting-container" class="setting hidden">
+ <div class="availability-setting">
+ <div class="setting-name">
+ Availability
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="Where this controller service is available."/>
+ </div>
+ <div class="setting-field">
+ <div id="reporting-task-availability"></div>
+ </div>
+ </div>
+ <div class="clear"></div>
+ </div>
+ </div>
+ <div class="spacer"> </div>
+ <div class="settings-right">
+ <div class="setting">
+ <div class="setting-name">
+ Scheduling strategy
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="The strategy used to schedule this reporting task."/>
+ </div>
+ <div class="reporting-task-editable setting-field">
+ <div id="reporting-task-scheduling-strategy-combo"></div>
+ </div>
+ <div class="reporting-task-read-only setting-field hidden">
+ <span id="read-only-reporting-task-scheduling-strategy"></span>
+ </div>
+ </div>
+ <div class="setting">
+ <div class="setting-name">
+ Run schedule
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="The amount of time that should elapse between task executions."/>
+ </div>
+ <div class="reporting-task-editable setting-field">
+ <input type="text" id="reporting-task-timer-driven-scheduling-period" class="reporting-task-scheduling-period"/>
+ <input type="text" id="reporting-task-cron-driven-scheduling-period" class="reporting-task-scheduling-period"/>
+ </div>
+ <div class="reporting-task-read-only setting-field hidden">
+ <span id="read-only-reporting-task-scheduling-period"></span>
+ </div>
+ </div>
+ </div>
+ <div class="clear"></div>
+ </div>
+ <div id="reporting-task-properties-tab-content" class="configuration-tab">
+ <div id="reporting-task-properties"></div>
+ </div>
+ <div id="reporting-task-comments-tab-content" class="configuration-tab">
+ <textarea cols="30" rows="4" id="reporting-task-comments" name="reporting-task-comments" class="reporting-task-editable setting-input"></textarea>
+ <div class="setting reporting-task-read-only hidden">
+ <div class="setting-name">Comments</div>
+ <div class="setting-field">
+ <span id="read-only-reporting-task-comments"></span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+<div id="new-reporting-task-property-container"></div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/settings-content.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/settings-content.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/settings-content.jsp
index d9b2f29..67e61de 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/settings-content.jsp
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/settings-content.jsp
@@ -18,43 +18,77 @@
<div id="settings">
<div id="settings-header-text">NiFi Settings</div>
<div id="settings-container">
- <div id="general-settings">
- <div class="setting">
- <div class="setting-name">Data flow name</div>
- <div class="setting-field">
- <input type="text" id="data-flow-title-field" name="data-flow-title" class="setting-input"/>
- <span id="archive-flow-link" class="link">Back-up flow</span>
- <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="Archives the flow configuration."/>
- </div>
+ <div id="settings-tabs-container">
+ <div id="settings-tabs"></div>
+ <div id="settings-refresh-button" class="pointer" title="Refresh"></div>
+ <div id="settings-last-refreshed-container">
+ Last updated: <span id="settings-last-refreshed"></span>
</div>
- <div class="setting">
- <div class="setting-name">Data flow comments</div>
- <div class="setting-field">
- <textarea id="data-flow-comments-field" name="data-flow-comments" class="setting-input"></textarea>
+ <div id="settings-refresh-required-icon" class="hidden"></div>
+ <div id="settings-loading-container" class="loading-container"></div>
+ <div id="new-service-or-task" class="add-icon-bg"></div>
+ <div class="clear"></div>
+ </div>
+ <div id="settings-tab-background"></div>
+ <div id="settings-tabs-content">
+ <div id="general-settings-tab-content" class="configuration-tab">
+ <div id="general-settings">
+ <div class="setting">
+ <div class="setting-name">Data flow name</div>
+ <div class="editable setting-field">
+ <input type="text" id="data-flow-title-field" name="data-flow-title" class="setting-input"/>
+ <span id="archive-flow-link" class="link">Back-up flow</span>
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="Archives the flow configuration."/>
+ </div>
+ <div class="read-only setting-field">
+ <span id="read-only-data-flow-title-field"></span>
+ </div>
+ </div>
+ <div class="setting">
+ <div class="setting-name">Data flow comments</div>
+ <div class="editable setting-field">
+ <textarea id="data-flow-comments-field" name="data-flow-comments" class="setting-input"></textarea>
+ </div>
+ <div class="read-only setting-field">
+ <span id="read-only-data-flow-comments-field"></span>
+ </div>
+ </div>
+ <div class="setting">
+ <div class="setting-name">
+ Maximum timer driven thread count
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="The maximum number of threads for timer driven processors available to the system."/>
+ </div>
+ <div class="editable setting-field">
+ <input type="text" id="maximum-timer-driven-thread-count-field" class="setting-input"/>
+ </div>
+ <div class="read-only setting-field">
+ <span id="read-only-maximum-timer-driven-thread-count-field"></span>
+ </div>
+ </div>
+ <div class="setting">
+ <div class="setting-name">
+ Maximum event driven thread count
+ <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="The maximum number of threads for event driven processors available to the system."/>
+ </div>
+ <div class="editable setting-field">
+ <input type="text" id="maximum-event-driven-thread-count-field" class="setting-input"/>
+ </div>
+ <div class="read-only setting-field">
+ <span id="read-only-maximum-event-driven-thread-count-field"></span>
+ </div>
+ </div>
+ <div id="settings-buttons" class="editable">
+ <div id="settings-save" class="button">Apply</div>
+ <div class="clear"></div>
+ </div>
</div>
</div>
- <div class="setting">
- <div class="setting-name">
- Maximum timer driven thread count
- <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="The maximum number of threads for timer driven processors available to the system."/>
- </div>
- <div class="setting-field">
- <input type="text" id="maximum-timer-driven-thread-count-field" class="setting-input"/>
- </div>
+ <div id="controller-services-tab-content" class="configuration-tab">
+ <div id="controller-services-table" class="settings-table"></div>
</div>
- <div class="setting">
- <div class="setting-name">
- Maximum event driven thread count
- <img class="setting-icon icon-info" src="images/iconInfo.png" alt="Info" title="The maximum number of threads for event driven processors available to the system."/>
- </div>
- <div class="setting-field">
- <input type="text" id="maximum-event-driven-thread-count-field" class="setting-input"/>
- </div>
+ <div id="reporting-tasks-tab-content" class="configuration-tab">
+ <div id="reporting-tasks-table" class="settings-table"></div>
</div>
</div>
- <div id="settings-buttons">
- <div id="settings-cancel" class="button">Cancel</div>
- <div id="settings-save" class="button">Apply</div>
- </div>
</div>
</div>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/processor-details.jsp
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/processor-details.jsp b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/processor-details.jsp
index abbd4c4..31df7c9 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/processor-details.jsp
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/processor-details.jsp
@@ -138,10 +138,6 @@
</div>
</div>
<div id="details-processor-properties-tab-content" class="details-tab">
- <div id="read-only-processor-properties-header">
- <div id="read-only-required-property-note">Required field</div>
- <div class="clear"></div>
- </div>
<div id="read-only-processor-properties"></div>
</div>
<div id="details-processor-comments-tab-content" class="details-tab">
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/about.css
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/about.css b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/about.css
index 5fd923b..df48ee8 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/about.css
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/about.css
@@ -22,7 +22,6 @@
font-size: 8pt;
z-index: 1201;
display: none;
- border: 1px solid #eee;
}
#nf-about-pic {
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/canvas.css
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/canvas.css b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/canvas.css
index cac2a3d..a8866ad 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/canvas.css
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/canvas.css
@@ -20,6 +20,8 @@
@import url(process-group-configuration.css);
@import url(process-group-details.css);
@import url(remote-process-group-configuration.css);
+@import url(controller-service.css);
+@import url(reporting-task.css);
@import url(port-configuration.css);
@import url(port-details.css);
@import url(label-configuration.css);
@@ -29,6 +31,8 @@
@import url(registration.css);
@import url(dialog.css);
@import url(new-processor-dialog.css);
+@import url(new-controller-service-dialog.css);
+@import url(new-reporting-task-dialog.css);
@import url(graph.css);
@import url(header.css);
@import url(main.css);
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/connection-configuration.css
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/connection-configuration.css b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/connection-configuration.css
index 0e8ae66..5bcf010 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/connection-configuration.css
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/connection-configuration.css
@@ -19,7 +19,6 @@
display: none;
width: 700px;
height: 400px;
- border: 1px solid #eee;
}
div.connection-configuration-tab-container {
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/connection-details.css
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/connection-details.css b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/connection-details.css
index 8d84cc4..3a3fdb9 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/connection-details.css
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/connection-details.css
@@ -23,7 +23,6 @@
display: none;
width: 700px;
height: 400px;
- border: 1px solid #eee;
}
div.connection-details-tab-container {
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/controller-service.css
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/controller-service.css b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/controller-service.css
new file mode 100644
index 0000000..acc8487
--- /dev/null
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/controller-service.css
@@ -0,0 +1,269 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ Controller service configuration styles.
+*/
+
+#controller-service-configuration {
+ position: absolute;
+ overflow: hidden;
+ width: 800px;
+ height: 450px;
+ font-size: 10px;
+ z-index: 1301;
+ display: none;
+}
+
+div.controller-service-configuration-tab-container {
+ margin-top: -10px;
+ padding: 5px 11px;
+}
+
+#controller-service-configuration-advanced {
+ display: none;
+}
+
+#controller-service-configuration-tabs {
+ background-color: transparent;
+ width: 778px;
+ height: 21px;
+ border-bottom: 3px solid #666;
+}
+
+#controller-service-configuration div.configuration-tab {
+ height: 320px;
+ overflow: auto;
+ padding: 10px;
+ background: #eee url(../images/bgTabContainer.png) repeat-x;
+ display: none;
+}
+
+/* controller-service settings */
+
+#controller-service-configuration div.settings-left {
+ float: left;
+ width: 330px;
+}
+
+#controller-service-configuration div.settings-right {
+ float: left;
+ width: 382px;
+}
+
+#controller-service-configuration div.spacer {
+ float: left;
+ margin-right: 40px;
+}
+
+#controller-service-configuration .setting-input {
+ font-size: 11px !important;
+}
+
+#controller-service-name {
+ width: 250px;
+ float: left;
+}
+
+#controller-service-enabled {
+ width: 12px;
+ height: 12px;
+ float: left;
+ margin-right: 4px;
+}
+
+div.controller-service-enabled-container {
+ float: left;
+ margin-top: 5px;
+ margin-left: 10px;
+}
+
+div.availability-setting {
+ float: left;
+ width: 140px;
+}
+
+/*
+ Service references
+*/
+
+#controller-service-referencing-components {
+ border: 0 solid #CCCCCC;
+ height: 280px;
+ overflow: auto;
+ padding: 2px;
+ width: 376px;
+}
+
+div.referencing-component-block {
+ margin-bottom: 6px;
+}
+
+span.referencing-component-title {
+ margin-left: 5px;
+ font-weight: bold
+}
+
+span.referencing-component-count {
+ margin-left: 5px;
+ color: #aaa;
+}
+
+ul.referencing-component-listing {
+ margin-left: 20px;
+ margin-bottom: 6px;
+}
+
+ul.referencing-component-listing li {
+ margin-bottom: 6px;
+ white-space: nowrap;
+}
+
+div.referencing-component-state {
+ margin-top: -2px;
+}
+
+span.service.expansion-button {
+ margin-right: 4px;
+ margin-top: 2px;
+}
+
+span.referencing-component-active-thread-count {
+ margin-left: 5px;
+}
+
+span.referencing-component-name {
+ margin-left: 5px;
+ margin-right: 5px;
+}
+
+span.referencing-component-type {
+ color: #aaa;
+ font-style: italic;
+}
+
+div.referencing-component-references {
+ margin-left: 20px;
+ margin-top: 6px;
+ clear: left;
+}
+
+/*
+ Comments
+*/
+
+#controller-service-comments {
+ height: 250px;
+ width: 748px !important;
+ margin-top: 10px;
+}
+
+/*
+ Disable dialog
+*/
+
+#disable-controller-service-dialog {
+ z-index: 1301;
+ display: none;
+ width: 800px;
+ height: 450px;
+ line-height: normal;
+}
+
+#disable-controller-service-dialog div.settings-left {
+ float: left;
+ width: 300px;
+}
+
+#disable-controller-service-dialog div.settings-right {
+ float: left;
+ width: 435px;
+}
+
+#disable-controller-service-dialog div.spacer {
+ float: left;
+ margin-right: 40px;
+}
+
+#disable-controller-service-referencing-components {
+ border: 0 solid #CCCCCC;
+ padding: 2px;
+ width: 429px;
+ height: 335px;
+ overflow: auto;
+ white-space: nowrap;
+}
+
+/*
+ Enable dialog
+*/
+
+#enable-controller-service-dialog {
+ z-index: 1301;
+ display: none;
+ width: 800px;
+ height: 450px;
+ line-height: normal;
+}
+
+#enable-controller-service-dialog div.settings-left {
+ float: left;
+ width: 300px;
+}
+
+#enable-controller-service-dialog div.settings-right {
+ float: left;
+ width: 435px;
+}
+
+#enable-controller-service-dialog div.spacer {
+ float: left;
+ margin-right: 40px;
+}
+
+#enable-controller-service-scope {
+ float: left;
+ width: 225px;
+ height: 18px;
+ line-height: 18px;
+}
+
+#enable-controller-service-referencing-components {
+ border: 0 solid #ccc;
+ padding: 2px;
+ width: 429px;
+ height: 335px;
+ overflow: auto;
+ white-space: nowrap;
+}
+
+/* enable, disable progress */
+
+div.disable-referencing-components, div.enable-referencing-components {
+ width: 16px;
+ height: 16px;
+ background-color: transparent;
+ float: right;
+}
+
+#enable-controller-service-progress, #disable-controller-service-progress {
+ margin-top: 2px;
+}
+
+#enable-controller-service-progress li, #disable-controller-service-progress li {
+ line-height: 16px;
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/dialog.css
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/dialog.css b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/dialog.css
index 1b658be..88555e7 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/dialog.css
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/dialog.css
@@ -23,7 +23,6 @@
display: none;
width: 350px;
height: 150px;
- border: 1px solid #eee;
}
#new-port-name {
@@ -35,7 +34,6 @@
display: none;
width: 350px;
height: 150px;
- border: 1px solid #eee;
}
#new-process-group-name {
@@ -47,7 +45,6 @@
display: none;
width: 350px;
height: 150px;
- border: 1px solid #eee;
}
#new-remote-process-group-uri {
@@ -59,29 +56,17 @@
display: none;
width: 350px;
height: 300px;
- border: 1px solid #eee;
}
.new-template-field {
width: 320px;
}
-#processor-property-dialog {
- z-index: 1301;
- display: none;
- border: 1px solid #eee;
- padding: 10px;
- border: 3px solid #365C6A;
- box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.9);
- cursor: move;
-}
-
#alias-dialog {
z-index: 1301;
display: none;
width: 350px;
height: 195px;
- border: 1px solid #eee;
}
#fill-color-dialog {
@@ -89,7 +74,6 @@
display: none;
width: 195px;
height: 400px;
- border: 1px solid #eee;
}
#fill-color-value {
@@ -156,7 +140,6 @@
display: none;
height: 365px;
width: 646px;
- border: 1px solid #eee;
}
div.connections-component-name {
@@ -264,7 +247,6 @@ div.go-to-link {
display: none;
height: 450px;
width: 420px;
- border: 1px solid #eee;
}
#instantiate-template-dialog {
@@ -272,7 +254,6 @@ div.go-to-link {
display: none;
width: 355px;
height: 120px;
- border: 1px solid #eee;
}
#available-templates {
@@ -286,7 +267,6 @@ div.go-to-link {
display: none;
width: 350px;
height: 195px;
- border: 1px solid #eee;
}
#nf-ok-dialog {
@@ -294,14 +274,12 @@ div.go-to-link {
display: none;
height: 225px;
width: 375px;
- border: 1px solid #eee;
}
#nf-ok-dialog-content {
width: 355px;
height: 130px;
overflow: auto;
- margin-top: -10px;
}
#nf-yes-no-dialog {
@@ -309,7 +287,6 @@ div.go-to-link {
display: none;
height: 175px;
width: 350px;
- border: 1px solid #eee;
}
#nf-yes-no-dialog-content {
@@ -352,4 +329,4 @@ img.icon-info {
position: relative;
left: 3px;
top: 1px;
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/e9647717/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/label-configuration.css
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/label-configuration.css b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/label-configuration.css
index 1b4850b..30af32a 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/label-configuration.css
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/css/label-configuration.css
@@ -20,7 +20,6 @@
#label-configuration {
font-size: 10px;
- border: 1px solid #eee;
z-index: 1301;
display: none;
padding: 10px;