xqe.securecache.config.xml-example 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: XQEODP
  5. (C) Copyright IBM Corp. 2010, 2017
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM corp.
  7. -->
  8. <XQESecureCacheConfiguration version="1.0">
  9. <!-- Reload flag and polling interval for configuration file -->
  10. <datasources>
  11. <!-- SAP BW -->
  12. <datasource type="BW">
  13. <!-- Control the items used to provide the security context for metadata cache reuse and lolap cube reuse: -->
  14. <!-- 1: Always use UserIds 2: Always use Profiles 3: Use Profiles for metadata cache reuse and UserIds for lolap cube reuse -->
  15. <securityContextMode value="1"/>
  16. <!-- Cache-clearing interval in minutes. The value -1 is interpreted as meaning "no configured cache clearing". -->
  17. <clearCacheEveryXminutes X="1440"/>
  18. <!-- Controls the storage type for secure member cache -->
  19. <!-- 1: Static Cache. All the objects will be stored in memory (The other two parameters maxObjects and replaceExistingFiles need not be set.)-->
  20. <!-- 2: Dynamic Cache. Creates a disk backed cache. Hold maxObjects in memory, the rest will be cached on disk.-->
  21. <!--maxObjects: maximum number of metadata cache objects kept in memory. -->
  22. <!--replaceExistingFiles: Reuse the existing disk cache files available on disk-->
  23. <!-- 3: Disk Cache. Everything on disk.-->
  24. <!--replaceExistingFiles: Reuse the existing disk cache files available on disk-->
  25. <metadataStorageType value="1" maxObjects="-1" replaceExistingFiles="true"/>
  26. <!-- Enter one of these cubeSpecificOverride elements for each cube for which you wish to override the above datasource defaults -->
  27. <cubeSpecificOverride dataSourceName="*" catalogName="*" cubeName="*">
  28. <securityContextMode value="1"/>
  29. <clearCacheEveryXminutes X="1440"/>
  30. </cubeSpecificOverride>
  31. </datasource>
  32. <!-- Essbase -->
  33. <datasource type="EB">
  34. <!-- Control the items used to provide the security context for metadata cache reuse and lolap cube reuse: -->
  35. <!-- 1: Always use UserIds; other values for this option are not currently supported for Essbase. -->
  36. <securityContextMode value="1"/>
  37. <!-- Cache-clearing interval in minutes. The value -1 is interpreted as meaning "no configured cache clearing". -->
  38. <clearCacheEveryXminutes X="1440"/>
  39. <!-- Controls the storage type for secure member cache -->
  40. <!-- 1: Static Cache. All the objects will be stored in memory (The other two parameters maxObjects and replaceExistingFiles need not be set.)-->
  41. <!-- 2: Dynamic Cache. Creates a disk backed cache. Hold maxObjects in memory, the rest will be cached on disk.-->
  42. <!--maxObjects: maximum number of metadata cache objects kept in memory. -->
  43. <!--replaceExistingFiles: Reuse the existing disk cache files available on disk-->
  44. <!-- 3: Disk Cache. Everything on disk.-->
  45. <!--replaceExistingFiles: Reuse the existing disk cache files available on disk-->
  46. <metadataStorageType value="1" maxObjects="-1" replaceExistingFiles="true"/>
  47. <cubeSpecificOverride dataSourceName="*" catalogName="*" cubeName="*">
  48. <securityContextMode value="1"/>
  49. <clearCacheEveryXminutes X="1440"/>
  50. </cubeSpecificOverride>
  51. </datasource>
  52. <!-- Dimensionally Modeled Relational -->
  53. <datasource type="DMR">
  54. <!-- Control the items used to provide the security context for dmr cube reuse: -->
  55. <!-- 1: Always use UserIds 2: Always use Profiles -->
  56. <securityContextMode value="1"/>
  57. <!-- Cache-clearing interval in minutes. The value -1 is interpreted as meaning "no configured cache clearing". -->
  58. <clearCacheEveryXminutes X="1440"/>
  59. <!-- For DMR, enter the properties of the first datasource in the model. -->
  60. <cubeSpecificOverride dataSourceName="*" catalogName="*" cubeName="*">
  61. <securityContextMode value="1"/>
  62. <clearCacheEveryXminutes X="1440"/>
  63. </cubeSpecificOverride>
  64. </datasource>
  65. <!-- TM1 -->
  66. <datasource type="TM">
  67. <!-- Control the items used to provide the security context for metadata cache reuse and lolap cube reuse: -->
  68. <!-- 1: Always use UserIds 2: Always use Profiles 3: Use Profiles for metadata cache reuse and UserIds for lolap cube reuse -->
  69. <securityContextMode value="2"/>
  70. <!-- Cache-clearing interval in minutes. The value -1 is interpreted as meaning "no configured cache clearing". -->
  71. <clearCacheEveryXminutes X="1440"/>
  72. <!-- Controls the storage type for secure member cache -->
  73. <!-- 1: Static Cache. All the objects will be stored in memory (The other two parameters maxObjects and replaceExistingFiles need not be set.)-->
  74. <!-- 2: Dynamic Cache. Creates a disk backed cache. Hold maxObjects in memory, the rest will be cached on disk.-->
  75. <!--maxObjects: maximum number of metadata cache objects kept in memory. -->
  76. <!--replaceExistingFiles: Reuse the existing disk cache files available on disk-->
  77. <!-- 3: Disk Cache. Everything on disk.-->
  78. <!--replaceExistingFiles: Reuse the existing disk cache files available on disk-->
  79. <metadataStorageType value="1" maxObjects="-1" replaceExistingFiles="true"/>
  80. <!-- Enter one of these cubeSpecificOverride elements for each cube for which you wish to override the above datasource defaults -->
  81. <cubeSpecificOverride dataSourceName="*" catalogName="*" cubeName="*">
  82. <securityContextMode value="2"/>
  83. <clearCacheEveryXminutes X="1440"/>
  84. </cubeSpecificOverride>
  85. </datasource>
  86. <!-- TM1 REST -->
  87. <datasource type="TMR">
  88. <!-- Control the items used to provide the security context for metadata cache reuse and lolap cube reuse: -->
  89. <!-- 1: Always use UserIds 2: Always use Profiles 3: Use Profiles for metadata cache reuse and UserIds for lolap cube reuse -->
  90. <securityContextMode value="2"/>
  91. <!-- Cache-clearing interval in minutes. The value -1 is interpreted as meaning "no configured cache clearing". -->
  92. <clearCacheEveryXminutes X="1440"/>
  93. <!-- Controls the storage type for secure member cache -->
  94. <!-- 1: Static Cache. All the objects will be stored in memory (The other two parameters maxObjects and replaceExistingFiles need not be set.)-->
  95. <!-- 2: Dynamic Cache. Creates a disk backed cache. Hold maxObjects in memory, the rest will be cached on disk.-->
  96. <!--maxObjects: maximum number of metadata cache objects kept in memory. -->
  97. <!--replaceExistingFiles: Reuse the existing disk cache files available on disk-->
  98. <!-- 3: Disk Cache. Everything on disk.-->
  99. <!--replaceExistingFiles: Reuse the existing disk cache files available on disk-->
  100. <metadataStorageType value="1" maxObjects="-1" replaceExistingFiles="true"/>
  101. <!-- Enter one of these cubeSpecificOverride elements for each cube for which you wish to override the above datasource defaults -->
  102. <cubeSpecificOverride dataSourceName="*" catalogName="*" cubeName="*">
  103. <securityContextMode value="2"/>
  104. <clearCacheEveryXminutes X="1440"/>
  105. </cubeSpecificOverride>
  106. </datasource>
  107. </datasources>
  108. </XQESecureCacheConfiguration>