Fabien created NIFI-1446:
----------------------------

             Summary: Empty DBConnectionPool select box
                 Key: NIFI-1446
                 URL: https://issues.apache.org/jira/browse/NIFI-1446
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core UI
    Affects Versions: 0.4.1
            Reporter: Fabien


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 :
{code:xml}
<?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>
{code}

 - I used the maven "clean install" goal to create my nar file and deployed 
this nar into "my_install_NIFI_dir/lib"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to