Results 1 to 5 of 5

Threaded View

  1. #1

    Configuring adapter at runtime

    Our corporate environment has a fairly typical setup with different execution environments for development, integration testing, and production. There is a single server setup in each environment and all the various groups develop and maintain their individual adapters. The format for the package we submit to the LS team for installation is a zip file containing the adapters.xml and the libraries that we need to load. As such, we don't have access to JVM parameters or such in the execution environment.

    The issue I'm facing is that we need to use the same package for both INTEGRATION and PROD deployments, but of course, they use different connection strings to their source data. It appears whatever calls DataProvider.init() has already read the xml parameters into a map before the init() method is called. I'm looking for a way to "choose" either the location or filename of adapters.xml at runtime and include that map in the DataProvider.init() call. We can use existence of certain filesystems to make that determination, but I can't seem to locate where the DataProvider.init() is called. Any help would be greatly appreciated.

    Thanks in advance,
    Paul
    Last edited by paulwiersema; December 21st, 2018 at 11:05 PM.

 

 

Similar Threads

  1. Configuring Lightstreamer with SSL Certificate
    By hakankecelioglu in forum General
    Replies: 1
    Last Post: May 21st, 2015, 10:48 AM
  2. Replies: 4
    Last Post: October 24th, 2011, 10:33 AM
  3. Replies: 3
    Last Post: January 24th, 2011, 09:48 AM
  4. Replies: 3
    Last Post: January 7th, 2010, 09:57 AM
  5. Problem configuring new Moderato
    By markgoldin in forum General
    Replies: 2
    Last Post: September 25th, 2008, 07:49 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 05:38 PM.