[TRNSPRTPCE-765] Error compiling odl-transportpce-inventory feature with karaf-4.4.4 Created: 12/Oct/23  Updated: 30/Nov/23  Resolved: 30/Nov/23

Status: Verified
Project: transportpce
Component/s: inventory
Affects Version/s: ArgonSR3
Fix Version/s: ArgonSR3, PotassiumSR1

Type: Bug Priority: High
Reporter: Gilles Thouenon Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

TransportPCE Inventory module use JDBC to manage connection to a MariaDB external databse.

ArgonSR3 brings Karaf-4.4.4 with  an evolution of the API to connect to a MariaDB.

This evolution makes odl-transportpce-inventory feature fail at the runtime.
2023-10-12T13:54:25,943 | ERROR | features-3-thread-1 | DbcpPooledDataSourceFactory | 386 - org.ops4j.pax.jdbc.pool.dbcp2 - 1.5.6 | Error creating pooled datasource: Error setting property databaseName:No setter in class org.mariadb.jdbc.MariaDbDataSource for property databaseName
java.lang.IllegalArgumentException: Error setting property databaseName:No setter in class org.mariadb.jdbc.MariaDbDataSource for property databaseName
at org.ops4j.pax.jdbc.common.BeanConfig.trySetProperty(BeanConfig.java:104) ~[?:?]
at org.ops4j.pax.jdbc.common.BeanConfig.configure(BeanConfig.java:77) ~[?:?]
at org.ops4j.pax.jdbc.common.BeanConfig.configure(BeanConfig.java:63) ~[?:?]


Generated at Wed Feb 07 20:44:02 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.