Available in CAST Imaging ≥ 2.15.
The datasource icon Applications tile, allows you to add/update a datasource (a datasource is a CAST Storage Service/PostgreSQL instance where an application's source code data is stored) specifically for configuring the source code viewer. In previous releases of CAST Imaging (≤ 2.14), configuring the datasource for the source code viewer involved manually updating .properties files or running specific commands for Docker deployments., available in
This feature allows you to add and edit the datasource, but deletion is not supported.
Click the Datasource icon to view a list of existing datasources:
The following screen is displayed with an option to ADD DATASOURCE. In a fresh installation of CAST Imaging, datasources in the list are taken from the
%APPDATA%\CAST\ImagingSystem\sourcecode\application.properties or server/sourcecode/application.properties file - i.e. in a fresh install you will see just this:
Any new datasources added to the application.properties file will appear in the UI (when the host or the source code service is restarted), but any datasources added through the UI are not added back in to the application.properties file.
Add a new datasource
To add a datasource, click ADD DATASOURCE. The following screen is displayed, enter the following information:
|Alias||This entry is used to identify the host name - you can use any name, however CAST suggests using the host name or IP address as entered in |
This is the JDBC url for the CAST Storage Service/PostgreSQL instance where the application source code is stored. The syntax is as follows:
|Username||For the vast majority of CAST Storage Service / PostgreSQL instances, this will be |
|Password||For the vast majority of CAST Storage Service / PostgreSQL instances, this will be |
Edit an existing datasource
To edit a datasource, click on EDIT icon (highlighted below).
Following screen is displayed with the editable fields.