restBridgeService.xml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <!--
  2. IBM Confidential
  3. OCO Source Materials
  4. IBM Cognos Products: Cognos Analytics
  5. (C) Copyright IBM Corp. 2019
  6. The source code for this program is not published or otherwise
  7. divested of its trade secrets, irrespective of what has been
  8. deposited with the U.S. Copyright Office.
  9. -->
  10. <service name="restBridgeService"
  11. class="com.cognos.pogo.services.SoapActionHandlerService"
  12. registerInCM="true"
  13. CMdefaultName="RestBridgeService">
  14. <prerequisites>
  15. <!--
  16. disabledProperty allows the service to be enabled/disabled in the Cognos Configuration tool.
  17. The property is obtained from cogstartup.xml.
  18. restBridgeService uses the same property as Monitor Service ("msIsEnabled").
  19. This is reasonable because Monitor Service generates the requests to restBridgeService.
  20. It makes sense to enable/disable the two services together.
  21. -->
  22. <prerequisite disabledProperty="msIsEnabled"/>
  23. </prerequisites>
  24. <handlers>
  25. <handler
  26. name="serviceStatus"
  27. classname="com.cognos.pogo.handlers.engine.ServiceStatusHandler"
  28. dispatcherStateHandler="dispatcher.dispatcherStatusHandler"
  29. serviceName="restBridgeService"
  30. skip_on_fault="false"
  31. />
  32. <handler
  33. name="restBridgeAsyncHandler"
  34. classname="com.cognos.pogo.async.impl.AsyncHandler"
  35. threadBaseName="asyncRestBridgeServiceThread-"
  36. expiryCheckIntervalms="10000"
  37. abandonLimit="12"
  38. graceLimit="12"
  39. wrappedHandler="restBridgeService.restBridgeHandler"
  40. onCompletionHandler="restBridgeService.restBridgeServiceReporter"
  41. />
  42. <handler
  43. name="restBridgeHandler"
  44. classname="com.ibm.bi.rest.bridge.service.RestBridgeHandler"
  45. runTimeInfoReporter="restBridgeService.restBridgeServiceReporter"
  46. />
  47. <!--
  48. The case of reporterName and serviceType is significant.
  49. The reporterName entry must match the CM objectClass.
  50. The serviceType entry must match the service name.
  51. -->
  52. <handler
  53. name="restBridgeServiceReporter"
  54. classname="com.cognos.pogo.monitoring.SimpleRequestReportingHandler"
  55. publisherName="pogoPublisher"
  56. reporterName="RestBridgeService"
  57. serviceType="restBridgeService"
  58. skip_on_fault="false"
  59. />
  60. <handler
  61. name="restBridgeChainHandler"
  62. classname="com.cognos.pogo.handlers.logic.ChainHandler">
  63. <chain>
  64. <handler_ref name="pogo.auth_check"/>
  65. <handler_ref name="restBridgeAsyncHandler"/>
  66. <handler_ref name="pogo.respond" skip_on_fault="false"/>
  67. </chain>
  68. </handler>
  69. </handlers>
  70. <soapActions>
  71. <soapAction path="restBridgeService" handler="restBridgeService.restBridgeChainHandler" />
  72. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/restBridgeService/*/" handler="restBridgeService.restBridgeChainHandler" />
  73. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/restBridgeService/*/.absolute" handler="restBridgeService.restBridgeChainHandler" />
  74. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/restBridgeService/*/.control" handler="restBridgeService.restBridgeChainHandler" />
  75. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/restBridgeService/*/.server" handler="restBridgeService.restBridgeChainHandler" />
  76. <soapAction path="http://www.ibm.com/xmlns/prod/cognos/restBridgeService/*/.session" handler="restBridgeService.restBridgeChainHandler" />
  77. </soapActions>
  78. <attributes>
  79. <attribute>advancedSettings</attribute>
  80. </attributes>
  81. </service>