Available from 0.9.9 2703
Driver redirection is a feature of ARDI to allow you to set up testing/development systems that use different data source addresses (or even completely different drivers) without disrupting the sites existing configuration.
It allows you to specify a different address for a specific data source, that only applies when the system is running on a given IP address.
First, open your Site Folder.
If you don't already have one, create a redirection folder in the root of your site folder.
Inside the folder, create a text file that has a name in the following format…
<ip address>-<assetid>-<context>-<mode>.txt
Where 'assetid' is the ID of the data source asset, 'context' is the ID of the context, and 'mode' is '0' for live data and '1' for historical data.
The file contains the new address string.
For example, let's assume that when we bring our customers ARDI database back to our development machine, we want to read all of our 'live' data from a simple tab-delimited text file instead of OSI Pi.
Our database short code is 'testing'
First, we gather the details we need.
Now, we create the redirection file.
c:\windows\temp\mydatafile.txt^0^1^\t
Using this method, when a driver asks this specific server for the address of this data source, it will come back with the connection details pointing towards a text file, rather than PI.
You could then manually launch a text driver in order to access live data from text rather than PI.