metric_studio_contribution.atom 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. +========================================================================+
  4. | IBM Confidential
  5. | OCO Source Materials
  6. | IBM Cognos Products: BUX
  7. | (C) Copyright IBM Corp. 2009, 2010
  8. |
  9. | The source code for this program is not published or otherwise
  10. | divested of its trade secrets, irrespective of what has been deposited
  11. | with the U.S. Copyright Office.
  12. +========================================================================+
  13. -->
  14. <atom:feed xmlns:atom="http://www.w3.org/2005/Atom">
  15. <!-- this entry defines a typedfeed contribution -->
  16. <atom:entry>
  17. <!-- standard ATOM tombstone information -->
  18. <atom:published>2009-03-24T22:01:37Z</atom:published>
  19. <atom:id>tag:ibm.cognos.icd.com,2009-08-23:MetricApplication</atom:id>
  20. <atom:updated>2009-03-24T22:01:37Z</atom:updated>
  21. <!-- this category marks this entry as a typed feed contribution -->
  22. <atom:category scheme="http://www.ibm.com/xmlns/prod/cognos/icd/contribution#type" term="typedfeed">
  23. <!-- associatedtype extension element(s) identify the type(s) of object that will be augmented with
  24. this typed feed. There can be more than one of these if there is more than one
  25. type to be augmented. -->
  26. <contrib:associatedtype xmlns:contrib="http://www.ibm.com/xmlns/prod/cognos/icd/contribution">com.ibm.cognos.om85/metricPackage/1</contrib:associatedtype>
  27. </atom:category>
  28. <!-- title and summary are required to make this a valid ATOM entry,
  29. but are currently ignored. -->
  30. <atom:title type="text">ignored</atom:title>
  31. <atom:summary>ignored</atom:summary>
  32. <!-- sample link to a really simple iwidget in c8 static content. -->
  33. <!-- Note how the href is parameterized. {cgi} is replaced with the URL
  34. to the gateway (e.g.: cognos.cgi), and {web} is replaced with the URL to the
  35. static content. -->
  36. <atom:link title="MetricApplication" rel="alternate" type="application/atom+xml" href="{cgi}/icd/feeds/ext/cmm?path=/controller&amp;ui.object=storeID(&quot;{storeid}&quot;)&amp;pid=atom_metricApplication">
  37. <!-- Configure a mapping from the bux remote atom provider to the external
  38. resource. externalFeedMappings are required only when you want the BUX remote atom provider
  39. involved in handling the request for the typed feed. The remote provider can
  40. be used like a proxy to get a resource that is on another server, to avoid
  41. cross-domain problems. In this sample the typed feed is served by another
  42. server on the local machine, but is accessed through the BUX remote provider. We
  43. have to tell the remote provider that requests for /ext/typedfeed are proxied
  44. to http://localhost/dyno/jim.
  45. If the typed feed is served through the same domain/gateway as BUX this mapping may not be necessary,
  46. but the remote provider does some useful value-add like transforming ATOM to JSON.
  47. -->
  48. <contrib:externalFeedMapping xmlns:contrib="http://www.ibm.com/xmlns/prod/cognos/icd/contribution">
  49. <parameterInclusionPattern>.*</parameterInclusionPattern>
  50. <cookiePolicy>compatibility</cookiePolicy>
  51. <local>/ext/cmm</local>
  52. <remote>{bus}/mms.run</remote>
  53. </contrib:externalFeedMapping>
  54. <!-- entryClassMapping it provides a limited way to define new an entry class
  55. for a specific objectClass and userInterface combination. entryClass is what we
  56. match on when deciding to add a typed feed contribution to an entry. Matching on
  57. objectClass is sometimes insufficient. Consider object class "package". Some packages
  58. are intended to be handled by MetricStudio. The following example shows how we
  59. map the combination of objectClass=package and userInterface=metricStudio to a
  60. synthetic entry class "metricPackage".
  61. entryClassMapping is optional.
  62. -->
  63. <contrib:entryClassMapping xmlns:contrib="http://www.ibm.com/xmlns/prod/cognos/icd/contribution">
  64. <objectClass>package</objectClass>
  65. <userInterface>metricStudio</userInterface>
  66. <entryClass>metricPackage</entryClass>
  67. </contrib:entryClassMapping>
  68. </atom:link>
  69. <!-- other links for icons, etc. More docs and correct examples are needed. -->
  70. <atom:link rel="http://www.ibm.com/xmlns/prod/cognos/rel/icon16" type="image/gif" href="{web}/icd/feeds/images/icon_metrics_package.gif"/>
  71. <atom:link rel="http://www.ibm.com/xmlns/prod/cognos/rel/icon64" type="image/gif" href="{web}/icd/feeds/images/icon_metrics_package_64.gif"/>
  72. <atom:link rel="http://www.ibm.com/xmlns/prod/cognos/rel/thumbnail" type="image/gif" href="{web}/icd/feeds/images/icon_metrics_package_64.gif"/>
  73. </atom:entry>
  74. </atom:feed>