-
Enhancement
-
Resolution: Done
-
Major
-
fuse-7.0.1
-
%
-
-
Fuse 7.3 Sprint 40 - Dev #1, Fuse 7.3 Sprint 41 - Dev #2
Data source creation registers multiple DS under the same name.
Steps to reproduce:
cat <fuse-home>/etc/org.ops4j.datasource-mariadb.cfg osgi.jdbc.driver.class = org.mariadb.jdbc.Driver url=jdbc:mariadb://127.0.0.1:3306/test databaseName=test dataSourceName=test user=root password= karaf@root()> feature:install pax-jdbc-mariadb pax-jdbc-config karaf@root()> config:list '(service.factoryPid=org.ops4j.datasource)' {quote} Pid: org.ops4j.datasource.15301a54-ea1b-435d-a108-f715ac4f0dbb FactoryPid: org.ops4j.datasource BundleLocation: ? Properties: dataSourceName = test databaseName = test felix.fileinstall.filename = file:/Users/fvaleri/workspace/fuse-karaf-7.1.0.fuse-710023-redhat-00001/etc/org.ops4j.datasource-mariadb.cfg osgi.jdbc.driver.class = org.mariadb.jdbc.Driver password = service.factoryPid = org.ops4j.datasource service.pid = org.ops4j.datasource.15301a54-ea1b-435d-a108-f715ac4f0dbb url = jdbc:mariadb://127.0.0.1:3306/test user = root karaf@root()> jdbc:ds-list Name │ Product │ Version │ URL │ Status ─────┼─────────┼─────────────────┼────────────────────────────────────┼─────── test │ MySQL │ 10.3.10-MariaDB │ jdbc:mariadb://127.0.0.1:3306/test │ OK test │ MySQL │ 10.3.10-MariaDB │ jdbc:mariadb://127.0.0.1:3306/test │ OK test │ MySQL │ 10.3.10-MariaDB │ jdbc:mariadb://127.0.0.1:3306/test │ OK karaf@root()> jdbc:ds-factories Name │ Class │ Version ─────────────────┼─────────────────────────┼──────── mysql │ org.mariadb.jdbc.Driver │ mariadb │ org.mariadb.jdbc.Driver │ org.mariadb.jdbc │ org.mariadb.jdbc.Driver │ 1.5.9.0
- links to