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

heroku PropertiesResourceProvider

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0-M1
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: