Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-1397

JDBC Datasource: Container independent configuration

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.5.0
    • 7.0.0
    • Core

    Description

      Motivation

      Currently, the JDBC data source needs to be configured at the web container level. This is painful and requires other skill than configuring IG.

      Business Value

      Simplifying setup and configuration increases adoption.

      Requirements

      A configuration developer shall be able to setup an IG data source just from within the IG configuration.

      Exceptions

      UI support for setting up a JDBC data source shall be dealt with in a separate ticket.

      Acceptance Criteria

      • A JDBC data source can be setup without touching the web container's configuration.
      • A new Heaplet¬†for supporting DataSource has to be provided
        • Creates and configure an HikariCP DataSource
          • Mimic the JDBC CAUD EventHandler for supported configuration properties
          • IDM has OOTB support for HikariCP as well
      • Adapt the SqlAttributeFilter to get a DataSource reference from its configuration (instead of providing a JNDI lookup name)
      • Adapt the CAUD DependencyProvider to allow "injection" of that datasource

      Attachments

        Issue Links

          Activity

            People

              wayne.morrison Wayne Morrison
              joachim.andres Joachim Andres
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: