You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Cassandra Targett (Jira)" <ji...@apache.org> on 2021/08/14 01:16:00 UTC
[jira] [Updated] (SOLR-11079) dynamic data source password in
db_data_config file
[ https://issues.apache.org/jira/browse/SOLR-11079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cassandra Targett updated SOLR-11079:
-------------------------------------
Component/s: contrib - DataImportHandler
> dynamic data source password in db_data_config file
> ----------------------------------------------------
>
> Key: SOLR-11079
> URL: https://issues.apache.org/jira/browse/SOLR-11079
> Project: Solr
> Issue Type: Improvement
> Components: contrib - DataImportHandler
> Reporter: Javeed Ali Khan
> Priority: Critical
> Labels: patch
>
> HI Team,
> As per my requirement I need to pass password dynamically to data source from configuration files .
> I did it successfully through HTTP URL by auto indexing time. Like below.
> In Application data import property file declare URL and password like this
> params=/dataimport?command=delta-import&clean=false&commit=true&pwd=Beta*****
> In SOLR Core(web logic) db-data-config.xml file fetching password on auto indexing like bellow.
> <dataSource driver="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@URL:Port/Schema" user="myUser***" password="${dataimporter.request.pwd}"/>
> But In this case if password changed need to deploy application Again with new password,
> So, I declare password variable in solrconfig.xml , dataimport.properties and core.properties files and try to fetch in to db-data-config.xml file, But its not working. Can you please help me out to use password in configuration file like able to update with out deployment.
> Thank you
> Javeed Ali Khan
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org