Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12081

Setup database driver and entity engine delegator from build property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • None
    • None
    • framework/entity
    • None
    • OFBiz Community Day (Nov 2020)

    Description

      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.

       

      Attachments

        Issue Links

          Activity

            People

              danwatford Daniel Watford
              danwatford Daniel Watford
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: