Solr
  1. Solr
  2. SOLR-1076

JdbcDataSource should resolve variables in jdbc url, username and password

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      It is not possible to use request parameters as a variable in JdbcDataSource.

      Related discussion on solr-user at
      http://www.lucidimagination.com/search/document/835dd5d14518c260/dih_read_datasource_param_values_from_property_file_or_configure_jndi_datasource

      1. SOLR-1076.patch
        0.9 kB
        Shalin Shekhar Mangar
      2. SOLR-1076.patch
        2 kB
        Shalin Shekhar Mangar
      3. SOLR-1076.patch
        1 kB
        Shalin Shekhar Mangar

        Activity

        Hide
        Shalin Shekhar Mangar added a comment -

        Patch with the fix.

        Show
        Shalin Shekhar Mangar added a comment - Patch with the fix.
        Hide
        Shalin Shekhar Mangar added a comment -

        Updated to resolve variables once again before a connection is created. I'll commit this shortly.

        Show
        Shalin Shekhar Mangar added a comment - Updated to resolve variables once again before a connection is created. I'll commit this shortly.
        Hide
        Shalin Shekhar Mangar added a comment -

        Committed revision 756340.

        Show
        Shalin Shekhar Mangar added a comment - Committed revision 756340.
        Hide
        Shalin Shekhar Mangar added a comment -

        Fixing a bug with resolving batchSize parameter in JdbcDataSource introduced by the last commit.

        Committed revision 765481.

        Show
        Shalin Shekhar Mangar added a comment - Fixing a bug with resolving batchSize parameter in JdbcDataSource introduced by the last commit. Committed revision 765481.
        Hide
        Shalin Shekhar Mangar added a comment -

        JNDI name is not resolved

        Show
        Shalin Shekhar Mangar added a comment - JNDI name is not resolved
        Hide
        Shalin Shekhar Mangar added a comment -

        Resolve all variables before extracting jndi name

        Show
        Shalin Shekhar Mangar added a comment - Resolve all variables before extracting jndi name
        Hide
        Shalin Shekhar Mangar added a comment -

        Committed revision 771656.

        Show
        Shalin Shekhar Mangar added a comment - Committed revision 771656.
        Hide
        Grant Ingersoll added a comment -

        Bulk close for Solr 1.4

        Show
        Grant Ingersoll added a comment - Bulk close for Solr 1.4

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Shalin Shekhar Mangar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development