Configuration Settings
The visualization types, usecases, and information for the visualization types can be configured in the centrasite.xml file available in the <SAG_HOME>\CentraSite\cast\cswebapps\BusinessUI\custom\conf folder. However, CentraSite provides the following built-in configurations available in the <AssetNavigatorConfigurations> tag in the centrasite.xml file. You can modify the configurations available in the centrasite.xml file based on your requirements:
1. UseCases: You can configure the different usecases 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 usecase:
Parameter | Description |
id | Unique identifier for the usecase. |
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 | Usecases 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 usecase. |
2. Asset Specific Usecases: You can configure the list of usecases displayed under the Asset Specific Usecases. 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 usecase:
Parameter | Description |
id | Unique identifier for the usecase. |
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 | Usecases 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 usecase. |
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 usecase:
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 BusinessUI folder. This folder is available in the following location: CentraSite\cast\cswebapps\BusinessUI\d3. |
The following attributes can be configured for each usecase:
Parameter | Description |
ref | Id of the savedQuery. |
5. Common Attributes: You can configure the list of common attributes (displayed when you hover the mouse 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 usecase:
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 usecase:
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 | Usecase ID for which the data is provided. |
parameters | Input parameters required by the saved search. |