[jira] [Created] (OFBIZ-12081) Setup database driver and entity engine delegator from build property

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-12081) Setup database driver and entity engine delegator from build property

Nicolas Malin (Jira)
Daniel Watford created OFBIZ-12081:
--------------------------------------

             Summary: Setup database driver and entity engine delegator from build property
                 Key: OFBIZ-12081
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12081
             Project: OFBiz
          Issue Type: Improvement
          Components: framework/entity
            Reporter: Daniel Watford
            Assignee: Daniel Watford


Use a gradle.properties property to drive dependency selection for a particular DBMS and to configure entity engine data sources.

Identifying the relevant database driver to download and make available as part of an ofbiz environment is an additional configuration step that we can automate based on a user configured property in gradle.properties. Depending on the selection we can add a dependency to ofbiz to download a particular JDBC library version specific to the various DBMS we support.

Further, based on that same property we can modify the contents of entityengine.xml to use the correct datasource for the chosen DBMS.

These settings are thought to be useful for building docker images pre-configured to target specific DBMS containers deployed as part of a docker-compose application.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)