Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1575

heroku PropertiesResourceProvider

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0-M1
    • None
    • None

    Description

      Heroku provides DATABASE_URL environment variable but in a php style (postgres://user:pwd@host:port/db). It would be great to add a org.apache.openejb.api.resource.PropertiesResourceProvider to let a resource directly use it to define a datasource:

      <Resource id="jdbc/herokudb" type="DataSource"
        properties-provider="org.apache.openejb.resource.heroku.HerokuDatabasePropertiesProvider" />
      

      This provider will handle UserName/Password/JdbcUrl properties.

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: