Configure External Volume For Local Persisted File Data Sources

To allow your TDV Docker container to introspect and query data from a locally persisted flat file data sources (For example .csv, .xml, .txt files), you will need to transfer those files into your TDV Docker container's volume.

Example (introspect a flat file csv file stored on the TDV Container's volume):

sudo cp <flat-file-csv> /var/lib/docker/volumes/<tdv-container-volume-name>/_data/TDV_Server_<tdv-version>/tmp  

Note: This example expects a valid tdv-vol, default docker network bridge that works on your Docker host, and that you already have a valid TDV Docker Server container that exists and is running.

See References: for more details regarding <tdv-container-volume-name>.

1. docker exec -it <tdv-server-container-name> ls -al TDV*/tmp/*.csv # validate TDV container can see the new file.
2. Use TDV Studio Client to introspect and query new csv file.

- Go to File -> New -> Data Source -> File-Delimited

- Provide "name", select "Local File System" with "Root Path" /opt/TIBCO/TDV_Server_<tdv-version>

- Leave all other settings with the default values.

- Click "Create & Introspect" button.

- Open "name" data source. Click on "Show Contents" to query data in csv file data source.