Driven User Guide
version 1.2-eap-11Managing Applications with Tags
Tip
|
Application developers and Driven system administrators should collaborate to form a consistent and logical taxonomy for tags. Tagging helps segment applications because tags can be used as search and column-chooser parameters. |
Tags are labels that can be applied to applications for categorization so that Driven users can sort and retrieve data more easily. For example, by creating a series of tags based on business units and assigning them to the applications that pertain to business units, developers can help Driven users track applications that are associated with each unit.
The tagging feature allows you to manage your data processing and ETL flows in a manner to provide superior support for governance, compliance, and operational visibility. While tags extend the value of the Driven user interface, tags are created and assigned during application development or Driven Plugin configuration.
Best Practice for Tags
A tag should consist of a category label and a term that identifies a particular entity in the category. Another way to think of tag construction is naming a dimension and then identifying a particular value of the dimension. For example, a couple tags in a sequence could be department:accounting
and department:security.
Always use the colon, without spaces, to separate the label and value.
Assigning Tags as Application-Level Properties
As a Cascading application developer, you can assign a tag or group of tags to the application. Enter the following command, replacing the terms in "country:Canada" with your own:
AppProps.addApplicationTag(properties, "country:Canada");
To define multiple tags, enter tag terms as comma-separated values.
Assigning Tags in the Driven Plugin Configuration File
If you have privileges to edit the Driven Plugin configuration file, you can specify a tag or group of tags for applications that run based on settings in the cascading-service.properties file. See Driven Plugin Configuration Parameters in the Driven Administrator Guide for more information.
Using Tags in a Search Query
Tags also allow you to quickly find your application with search queries. If you run a search query with a valid tag name, Driven displays the applications that are associated with the tag.
Figure 1: Using app tags as the search filter, with graphed search results and part of the tabular data for the results
Finding Tagged Applications with the Column Chooser
If you want to see which applications in a table are associated with a tag, select the tag category label in the column chooser. The tag label that you select appears as a column in the table. An application that is tagged with the label displays the tag value term in the cell of the column.
For example, Figure 2 shows applications that are tagged runid:fd33b2 and process:app. The cluster, runid, and process columns appear in the table because the user selected these tag prefixes in the column chooser.
Figure 2: Sorting applications in a view by tags (runid:fd33b2 and process:app)