New Datasource is not available after adding it in the UI

Description

After adding a new datasource from the Datasources view, I cannot use it with the Data Ingestion templatem as the password is not taken into consideration.
Not sure if it's an issue in fact with the NIFI DBCPConnectionPool, as I tested with one added directly and it cannot be used in Kylo GetTableData Processor, without setting manually the password in the properties file.

I needed to manually add the password entry nifi.service.test-mariadb.password=$PASSWORD in /opt/kylo/kylo-services/conf/application.properties and to restart kylo-services, which is not mentioned anywhere

LOG:

1 2 2017-06-30 13:01:50 INFO http-nio-8420-exec-2:NifiIntegrationRestController:339 - Query for Table Names against service: test-mariadb(f90ba4c8-015c-1000-eed2-010d41aeb69a) 2017-06-30 13:01:50 ERROR http-nio-8420-exec-2:DBCPConnectionPoolTableInfo:168 - Unable to connect to Controller Service test-mariadb, f90ba4c8-015c-1000-eed2-010d41aeb69a. You need to specifiy a configuration property as nifi.service.test-mariadb.password=PASSWORD with the password for user: root.

Environment

None

Status

Assignee

Scott Reisdorf

Reporter

Claudiu Stanciu

Labels

Reviewer

None

Story point estimate

None

Components

Sprint

None

Fix versions

Affects versions

0.8.1

Priority

Medium
Configure