Manage data sources
Defining a data source in Citrix ADM helps you to use data from external sources as an input while creating or updating StyleBook configurations. Otherwise, you have to explicitly supply each input required by the StyleBook. In Citrix ADM, you can use any managed ADC instance as a data source for the input to a StyleBook configuration. You can also define custom data sources which can serve as input when creating or updating configurations.
Collections: Like how a database can have multiple tables, a data source can contain multiple collections. Each collection has a name and contains a list of similar tuples, where each tuple is a set of key-value pairs. For example, a collection can be made up of tuples where each tuple has (
<name>: <value>, <virtualip>:<value>).
Data source type: A data source type distinguishes the type of source from which the data is retrieved. Citrix ADM supports two data source types.
managed-adc- It is a built-in data source. And, it is used for retrieving data from any existing ADC managed by ADM. For more information, see Use an ADC instance as the data source.
You can also use the target ADC instance as a data source. For more information, see Use target ADC instances as data sources.
Custom data source type - You can define custom data source types where data is locally populated on ADM.
Consider a data source type
Environment. This data source type has two data sources
Staging. While creating a StyleBook configuration, the StyleBook user can select any data source of type
Environment. Depending on the selection the data values from either
Stagingare used as input to the StyleBook.
For more information, see Use custom data sources
Collection type: It describes what type of data that can be stored in a collection tuple. The collection type describes the name of each key in the tuple and its expected type. In a database analogy, a collection type is similar to a database schema for a table where each column has a well-defined name and supporting type.
The following diagram is a general representation of the various components of data sources and how they relate to each other: