Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-1446

Empty DBConnectionPool select box

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 0.4.1
    • None
    • Core UI
    • None

    Description

      Hi all

      I'm currently developing a custom Processor based on the ExecuteSQL processor (with a ControllerService of type DBConnectionPool).
      After successfully deploying, I can create a new instance of my processor with the GUI, but in the properties tab, I can not select any of my DBConnectionPool (the select box is empty).

      • My processor is exactly the same as ExecuteSQL.java
      • My project pom is :
        <?xml version="1.0" encoding="UTF-8"?>
        <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
        	<modelVersion>4.0.0</modelVersion>
        	<parent>
        		<groupId>myparentgroupid</groupId>
        		<artifactId>mypoarentartifact</artifactId>
        		<version>0.0.1-SNAPSHOT</version>
        	</parent>
        	<artifactId>mynifibundle</artifactId>
        	<packaging>nar</packaging>
        
        	<properties>
        		<nifi.version>0.4.1</nifi.version>
        	</properties>
        
        	<build>
        		<plugins>
        			<plugin>
        				<groupId>org.apache.nifi</groupId>
        				<artifactId>nifi-nar-maven-plugin</artifactId>
        				<version>1.1.0</version>
        				<extensions>true</extensions>
        			</plugin>
        		</plugins>
        	</build>
        
        	<dependencies>
        		<dependency>
        			<groupId>org.apache.nifi</groupId>
        			<artifactId>nifi-api</artifactId>
        			<version>${nifi.version}</version>
        		</dependency>
        		<dependency>
        			<groupId>org.apache.nifi</groupId>
        			<artifactId>nifi-processor-utils</artifactId>
        			<version>${nifi.version}</version>
        		</dependency>
        		<dependency>
        			<groupId>org.apache.nifi</groupId>
        			<artifactId>nifi-dbcp-service-api</artifactId>
        			<version>${nifi.version}</version>
        		</dependency>
        
        		<dependency>
        			<groupId>org.apache.nifi</groupId>
        			<artifactId>nifi-mock</artifactId>
        			<version>${nifi.version}</version>
        			<scope>test</scope>
        		</dependency>
        		<dependency>
        			<groupId>com.h2database</groupId>
        			<artifactId>h2</artifactId>
        			<scope>test</scope>
        		</dependency>
        	</dependencies>
        </project>
        
      • I used the maven "clean install" goal to create my nar file and deployed this nar into "my_install_NIFI_dir/lib"

      PS : Very nice and promising project, love it

      Attachments

        Activity

          People

            Unassigned Unassigned
            baf50 Fabien
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: