Configuration Settings
The visualization types, use cases, and information for the visualization types can be configured in the CentraSite's customization file, centrasite.xml.
You can find this file on <CentraSiteInstall_Directory>\cast\cswebapps\BusinessUI\custom\conf. However, CentraSite provides the following built-in configurations available in the <AssetNavigatorConfigurations> tag in the centrasite.xml file. You can modify the configurations to suit your requirements.
1. Use Cases: You can configure the different use cases to view the assets and also specify the default chart for that object. For example,
<UseCases>
<UseCase id="OrganizationStructure" rootQueryId="getRootForOrgStructure"
fillChild="false" default = "true" defaultChart="SunBurst"
applicableChartTypes="SunBurst,TreeChart,Icicle">
INMCL_USECASE_ORG</UseCase>
<UseCase id="RuntimeLandscapeView"
rootQueryId="getRootForRuntimeLandscapeview"
fillChild="false" defaultChart="TreeChart"
applicableChartTypes="SunBurst,TreeChart,Icicle">
INMCL_USECASE_RUNTIMELANDSCAPEVIEW</UseCase>
</UseCases>
The following attributes can be configured for each use case:
Parameter | Description |
id | Unique identifier for the use case. |
rootQueryId | ID for the first saved search to be executed. |
fillChild | Boolean to determine whether to display the complete information at the beginning of the tree and graph charts. |
default | Use cases to be displayed by default for the first time. |
defaultChart | Chart to be displayed by default for the first time. |
applicableChartTypes | The chart types that you want to be displayed for a specific use case. |
2. Asset Specific Use cases: You can configure the list of use cases displayed under the Asset Specific Use cases. For example,
<AssetSpecificUseCases>
<UseCase id="AssetDependency"
rootQueryId="getRootForAssetDependencies"
default="true" defaultChart="TreeChart"
applicableChartTypes="SunBurst,TreeChart,Icicle">
INMCL_USECASE_ASSETDEPENDENCY</UseCase>
<UseCase id="AssetUsage"
rootQueryId="getRootForAssetUsage"
defaultChart="TreeChart"
applicableChartTypes="SunBurst,TreeChart,Icicle">
INMCL_USECASE_ASSETUSAGE</UseCase>
<UseCase id="DeploymentOverview"
rootQueryId="getRootForDeploymentOverview"
defaultChart="TreeChart"
applicableChartTypes="SunBurst,TreeChart">
INMCL_USECASE_DEPLOYMNENT</UseCase>
</AssetSpecificUseCases>
The following attributes can be configured for each use case:
Parameter | Description |
id | Unique identifier for the use case. |
rootQueryId | ID for the first saved search to be executed. |
fillChild | Boolean to determine whether to display the complete information at the beginning of the tree and graph charts. |
default | Use cases to be displayed by default for the first time. |
defaultChart | Chart to be displayed by default for the first time. |
applicableChartTypes | The chart types that you want to be displayed for a specific use case. |
3. Chart Types: You can configure the type of charts and their corresponding images. For example,
<ChartTypes>
<Chart id="SunBurst" nameTruncationLimit="12"
imageUrl="images/system/charticons/sunburst.png" />
<Chart id="TreeChart" nameTruncationLimit="18"
imageUrl="images/system/charticons/treechart.png" />
<Chart id="Graph" nameTruncationLimit="10"
imageUrl="images/system/charticons/graph.png" />
<Chart id="Icicle" nameTruncationLimit="18"
imageUrl="images/system/charticons/icicle.gif" />
</ChartTypes>
The following attributes can be configured for each use case:
Parameter | Description |
id | Unique identifier for the chart. |
nameTruncationLimit | Truncation limit for the displaying text. |
imageUrl | Display icons for the charts are configured here. |
4. Images: You can configure the icons used for the nodes in the tree and graph charts. For example,
<Images>
<Image ref="getRootForOrgStructure">d3/images/org.png</Image>
<Image ref="getOrgNames">d3/images/org-child-icon.png</Image>
<Image ref="rolesDummy">d3/images/medium dummy.png</Image>
<Image ref="groupsDummy">d3/images/medium dummy.png</Image>
</Images>
Note: The path mentioned in this configuration is related to the images folder. You can find this folder on <CentraSiteInstall_Directory>\cast\cswebapps\BusinessUI\d3.
The following attributes can be configured for each use case:
Parameter | Description |
ref | Id of the savedQuery. |
5. Common Attributes: You can configure the list of common attributes (displayed when you hover over an asset or node) for each asset or node. For example, name, description, type, and so on.
<CommonAttributes>
<Attribute qname=
"{http://namespaces.CentraSite.com/Schema/jaxr}name"
description=
"INMCL_COMMON_ATTR_NAME_DEC">INMCL_COMMON_ATTR_NAME</Attribute>
<Attribute qname=
"{http://namespaces.CentraSite.com/Schema/jaxr}description"
description=
"INMCL_COMMON_ATTR_DESC_DESC">INMCL_COMMON_ATTR_DESC</Attribute>
<Attribute qname=
"{http://namespaces.CentraSite.com/Schema/jaxr}type"
description=
"INMCL_COMMON_ATTR_TYPE_DESC">INMCL_COMMON_ATTR_TYPE</Attribute>
</CommonAttributes>
The following attributes can be configured for each use case:
Parameter | Description |
qname | The qualified name. |
description | The description of the common attribute. |
6. Saved query: To retrieve data with respect to the asset and node from the database. For example,
<SavedQueries>
<SavedQuery id="getRootForAssetDependencies"
childQueries="getTypeNamesForAssetDependencies"
ref="AssetDependency" >${AssetName}</SavedQuery>
<SavedQuery id="getTypeNamesForAssetDependencies"
resource="GetOutgoingTypesAssociatedWithAsset"
parameters="${assetKey}" ref="AssetDependency"
childQueries="getAssetsForOutgoingAssociation"></SavedQuery>
<SavedQuery id="getAssetsForOutgoingAssociation"
resource="GetAssetsForOutgoingAssociation"
parameters="${typeId},${assetKey}"
childQueries="getTypeNamesForAssetDependencies" ref="AssetDependency"/>
</SavedQueries>
The following attributes can be configured for each use case:
Parameter | Description |
id | Unique identifier for the saved query. |
resource | Name of the saved search file. |
childQueries | Set of queries to be executed next to the current saved query. |
ref | Use case ID for which the data is provided. |
parameters | Input parameters required by the saved search. |