1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?xml version="1.0"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: ps
- (C) Copyright IBM Corp. 2005, 2011
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!--
- Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
- -->
- <!--
- Sample Configuration file for the IBM Cognos Onebox provider.
- Rename to map.xml and modify as necessary.
- -->
- <onebox>
- <!--
- Multiple modules are permitted. The oneboxName attribute should correspond to the name
- given in the module configuration of the Google Search Appliance
- -->
- <module oneboxName="test">
- <!--
- Map entries allow you to map a particular regular expression (regex) to a particular
- piece of content. The content can be either an object stored in Content Manager, or
- a particular Metric from a Metrics Package.
- -->
- <mapEntries>
- <!--
- Multiple entries are supported. The regular expressions will be evaluated in the
- order in which they appear in this file. Once one match is found, that entry will
- be used, so order is important.
- The 'provider' attribute must be one of:
- cm : the entry identifies an object in Content Manager
- mm : the entry identifies a Metrics object
- -->
- <mapEntry provider="cm">
- <!--
- The regular expression.
- -->
- <regex>top.*perform.*</regex>
- <!--
- Multiple path elements are supported for each mapEntry. This is useful if you
- want to display both a chart and a list or crosstab in the Onebox response. The
- value of this element must be a valid searchPath in Content Manager. The objects
- that are identified are asssumed to have saved output in XHTML format.
- The 'type' attribute must be one of:
- output : the object is a non-graphic report (list or cross tab).
- image : the object is a report containing a chart
- -->
- <path type="output">/content/package[@name='Onebox Reports']/query[@name='Top Performers']</path>
- </mapEntry>
-
- <mapEntry provider="mm">
- <regex>.*inventory</regex>
- <!--
- For mapEntry elements with provider='mm', the path element should hold the name
- of package that the metric is associated with.
- -->
- <path>Metrics Package</path>
- </mapEntry>
- </mapEntries>
- </module>
- </onebox>
|