Page tree
Skip to end of metadata
Go to start of metadata

Available in CAST Imaging ≥ 2.15.


The datasource icon , available in 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.

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\ or server/sourcecode/ file - i.e. in a fresh install you will see just this:

Any new datasources added to the 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 file.

Add a new datasource

To add a datasource, click ADD DATASOURCE. The following screen is displayed, enter the following information:

AliasThis 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 URL entry. 

This is the JDBC url for the CAST Storage Service/PostgreSQL instance where the application source code is stored. The syntax is as follows:

  • with IP and port address <ip_address_or_hostname>:<port>  OR
  • the complete URL jdbc:postgresql://<ip_address_or_hostname:<port>/postgres
UsernameFor the vast majority of CAST Storage Service / PostgreSQL instances, this will be operator
PasswordFor the vast majority of CAST Storage Service / PostgreSQL instances, this will be CastAIP.  

Edit an existing datasource

To edit a datasource, click on EDIT icon (highlighted below).

Following screen is displayed with the editable fields.

  • No labels