TDM GUI Configuration

A TDM configuration has the following:

TDM GUI Configuration

The main configuration file of the TDM GUI is the config.js file which is located under the ~/TDM/k2vtdmbe directory of the TDM server.

Config.js File

Section Name Attribute Name Description Default Value
N/A secret   hello
N/A sessionTimeout The number of seconds before an idle session expires. 3600
N/A https Configures the TDM GUI connection mode which can be either http or https. To connect the TDM GUI in https mode, set this parameter to True and set the url of the constants.js to https. false
N/A fluxMode Set to false to disable the creation and execution of Extract tasks and Load Data Flux tasks. true
adminUsers uid, displayName Defines the list of admin users in the TDM GUI. Note that each user including the admin user must also be defined in the LDAP system.  
postgres user The connection details of the TDM PostgreSQL DB. tdm
postgres pass The connection details of the TDM PostgreSQL DB. tdm
postgres host The connection details of the TDM PostgreSQL DB. Edit the host and populate it using the IP address of the TDM DB.  
postgres port The connection details of the TDM PostgreSQL DB. 5432
postgres database The connection details of the TDM PostgreSQL DB. TDMDB
postgres schema The connection details of the TDM PostgreSQL DB. public
postgres ssl Set to true to set an SSL connection to the TDM DB. false
debug level The TDM GUI debug level can be set to error, warn or info. info
debug outputType Set the debug output type to console or file. console
debug status Set to off to disable debug messages. on
ldap ssl Set to true to connect the LDAP in a secured mode (LDAPS). false
ldap MC_AD Set to true to connect the Microsoft Active Directory as an LDAP system. false
ldap urlString The LDAP's URL. Set the IP address and port of the LDAP system. Set the port to 636 to connect the LDAP in a secure mode (LDAPS). Note that the TDM server contains also an LDAP sever for TDM development and testing. Populate the URL with the TDM server IP address to invoke the development LDAP server. ldap://62.90.46.136:10389
ldap adminDN   uid=tdmldap,ou=users,ou=system
ldap adminPassword The LDAP password. Use the default password to connect the development LDAP. Q1w2e3r4t5
ldap ownersDN Use the default value to connect the development LDAP. ou=k2venvownerg,ou=system
ldap testersDN Use the default value to connect the development LDAP. ou=k2vtestg,ou=system
ldap ownersGroupName The group name of the environment owners users. Use the default value to connect the development LDAP. k2venvownerg
ldap testersGroupName The group name of the testers users. Use the default value to connect the development LDAP. k2vtestg
ldap baseCN To connect the Microsoft Active Directory, set the value as CN=Users,DC=k2vfabric,DC=local. DC=training,DC=k2view,DC=com
fabricWsUrl url Edit the URL and set the Fabric IP address. Create the [tdm-WS token] in Fabric and grant it permissions for all Fabric Web Services. http://62.90.46.136:3213/ws?format=json&token=tdm-WS
fabricWsUrl List of Fabric APIs invoked by the TDM GUI    
fabricWsUrlFormatHTML url Edit the URL and set Fabric the IP address. Create the [tdm-WS token] in Fabric and grant it permissions for all Fabric Web Services. http://62.90.46.136:3213/ws?format=json&token=tdm-WS
getEntitiesList entitiesArrarySize Maximum number of sample entities to be displayed in the copied and failed entity list of a task execution. 100
retentionPeriod maxRetentionPeriod Maximum retention period in days to define for Extract tasks. 90
retentionPeriod defaultPeriod The default retention period of an Extract task. "unit" : "Days", "value": 5
availableOptions name, units The available options for the retention period of an Extract task.  

Constants.js File

The constants.js configuration file is used by the TDM GUI and is located under the ~/TDM//k2vtdmfe/app/js/constants directory.

Edit the url of the BE_BASE_URL as follows:

  • Set the IP address to the TDM server IP address.

  • Replace http with https to connect the TDM GUI in https mode.

TDM GUI Configuration

A TDM configuration has the following:

TDM GUI Configuration

The main configuration file of the TDM GUI is the config.js file which is located under the ~/TDM/k2vtdmbe directory of the TDM server.

Config.js File

Section Name Attribute Name Description Default Value
N/A secret   hello
N/A sessionTimeout The number of seconds before an idle session expires. 3600
N/A https Configures the TDM GUI connection mode which can be either http or https. To connect the TDM GUI in https mode, set this parameter to True and set the url of the constants.js to https. false
N/A fluxMode Set to false to disable the creation and execution of Extract tasks and Load Data Flux tasks. true
adminUsers uid, displayName Defines the list of admin users in the TDM GUI. Note that each user including the admin user must also be defined in the LDAP system.  
postgres user The connection details of the TDM PostgreSQL DB. tdm
postgres pass The connection details of the TDM PostgreSQL DB. tdm
postgres host The connection details of the TDM PostgreSQL DB. Edit the host and populate it using the IP address of the TDM DB.  
postgres port The connection details of the TDM PostgreSQL DB. 5432
postgres database The connection details of the TDM PostgreSQL DB. TDMDB
postgres schema The connection details of the TDM PostgreSQL DB. public
postgres ssl Set to true to set an SSL connection to the TDM DB. false
debug level The TDM GUI debug level can be set to error, warn or info. info
debug outputType Set the debug output type to console or file. console
debug status Set to off to disable debug messages. on
ldap ssl Set to true to connect the LDAP in a secured mode (LDAPS). false
ldap MC_AD Set to true to connect the Microsoft Active Directory as an LDAP system. false
ldap urlString The LDAP's URL. Set the IP address and port of the LDAP system. Set the port to 636 to connect the LDAP in a secure mode (LDAPS). Note that the TDM server contains also an LDAP sever for TDM development and testing. Populate the URL with the TDM server IP address to invoke the development LDAP server. ldap://62.90.46.136:10389
ldap adminDN   uid=tdmldap,ou=users,ou=system
ldap adminPassword The LDAP password. Use the default password to connect the development LDAP. Q1w2e3r4t5
ldap ownersDN Use the default value to connect the development LDAP. ou=k2venvownerg,ou=system
ldap testersDN Use the default value to connect the development LDAP. ou=k2vtestg,ou=system
ldap ownersGroupName The group name of the environment owners users. Use the default value to connect the development LDAP. k2venvownerg
ldap testersGroupName The group name of the testers users. Use the default value to connect the development LDAP. k2vtestg
ldap baseCN To connect the Microsoft Active Directory, set the value as CN=Users,DC=k2vfabric,DC=local. DC=training,DC=k2view,DC=com
fabricWsUrl url Edit the URL and set the Fabric IP address. Create the [tdm-WS token] in Fabric and grant it permissions for all Fabric Web Services. http://62.90.46.136:3213/ws?format=json&token=tdm-WS
fabricWsUrl List of Fabric APIs invoked by the TDM GUI    
fabricWsUrlFormatHTML url Edit the URL and set Fabric the IP address. Create the [tdm-WS token] in Fabric and grant it permissions for all Fabric Web Services. http://62.90.46.136:3213/ws?format=json&token=tdm-WS
getEntitiesList entitiesArrarySize Maximum number of sample entities to be displayed in the copied and failed entity list of a task execution. 100
retentionPeriod maxRetentionPeriod Maximum retention period in days to define for Extract tasks. 90
retentionPeriod defaultPeriod The default retention period of an Extract task. "unit" : "Days", "value": 5
availableOptions name, units The available options for the retention period of an Extract task.  

Constants.js File

The constants.js configuration file is used by the TDM GUI and is located under the ~/TDM//k2vtdmfe/app/js/constants directory.

Edit the url of the BE_BASE_URL as follows:

  • Set the IP address to the TDM server IP address.

  • Replace http with https to connect the TDM GUI in https mode.