[
https://issues.apache.org/jira/browse/NIFI-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15787792#comment-15787792
]
ASF GitHub Bot commented on NIFI-3266:
--------------------------------------
Github user pvillard31 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1373#discussion_r94231391
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenHTTP.java
---
@@ -16,22 +16,6 @@
*/
package org.apache.nifi.processors.standard;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.concurrent.ConcurrentHashMap;
-import java.util.concurrent.ConcurrentMap;
-import java.util.concurrent.TimeUnit;
-import java.util.concurrent.atomic.AtomicReference;
-import java.util.regex.Pattern;
-
-import javax.servlet.Servlet;
-import javax.ws.rs.Path;
-
--- End diff --
Could you fix import order? (I know this is probably automatically done by
your IDE, but it is better to keep the change to what is really needed)
> ListenHTTP Processor should support EL for basePath and port
> ------------------------------------------------------------
>
> Key: NIFI-3266
> URL: https://issues.apache.org/jira/browse/NIFI-3266
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Configuration Management
> Affects Versions: 1.0.0, 1.1.0, 1.1.1
> Reporter: Davy De Waele
>
> ListenHTTP should support expression language (without a flow file) for
> basePath and port in order to make use of the variable registry and reference
> different paths and ports per environment.
> Relevant code :
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenHTTP.java#L80#L93
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)