12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <!--
- IBM Confidential
- OCO Source Materials
- IBM Cognos Products: Cognos Analytics
- (C) Copyright IBM Corp. 2019
- The source code for this program is not published or otherwise
- divested of its trade secrets, irrespective of what has been
- deposited with the U.S. Copyright Office.
- -->
- <service name="restBridgeService"
- class="com.cognos.pogo.services.SoapActionHandlerService"
- registerInCM="true"
- CMdefaultName="RestBridgeService">
- <prerequisites>
- <!--
- disabledProperty allows the service to be enabled/disabled in the Cognos Configuration tool.
- The property is obtained from cogstartup.xml.
- restBridgeService uses the same property as Monitor Service ("msIsEnabled").
- This is reasonable because Monitor Service generates the requests to restBridgeService.
- It makes sense to enable/disable the two services together.
- -->
- <prerequisite disabledProperty="msIsEnabled"/>
- </prerequisites>
- <handlers>
- <handler
- name="serviceStatus"
- classname="com.cognos.pogo.handlers.engine.ServiceStatusHandler"
- dispatcherStateHandler="dispatcher.dispatcherStatusHandler"
- serviceName="restBridgeService"
- skip_on_fault="false"
- />
- <handler
- name="restBridgeAsyncHandler"
- classname="com.cognos.pogo.async.impl.AsyncHandler"
- threadBaseName="asyncRestBridgeServiceThread-"
- expiryCheckIntervalms="10000"
- abandonLimit="12"
- graceLimit="12"
- wrappedHandler="restBridgeService.restBridgeHandler"
- onCompletionHandler="restBridgeService.restBridgeServiceReporter"
- />
- <handler
- name="restBridgeHandler"
- classname="com.ibm.bi.rest.bridge.service.RestBridgeHandler"
- runTimeInfoReporter="restBridgeService.restBridgeServiceReporter"
- />
- <!--
- The case of reporterName and serviceType is significant.
- The reporterName entry must match the CM objectClass.
- The serviceType entry must match the service name.
- -->
- <handler
- name="restBridgeServiceReporter"
- classname="com.cognos.pogo.monitoring.SimpleRequestReportingHandler"
- publisherName="pogoPublisher"
- reporterName="RestBridgeService"
- serviceType="restBridgeService"
- skip_on_fault="false"
- />
- <handler
- name="restBridgeChainHandler"
- classname="com.cognos.pogo.handlers.logic.ChainHandler">
- <chain>
- <handler_ref name="pogo.auth_check"/>
- <handler_ref name="restBridgeAsyncHandler"/>
- <handler_ref name="pogo.respond" skip_on_fault="false"/>
- </chain>
- </handler>
- </handlers>
- <soapActions>
- <soapAction path="restBridgeService" handler="restBridgeService.restBridgeChainHandler" />
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/restBridgeService/*/" handler="restBridgeService.restBridgeChainHandler" />
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/restBridgeService/*/.absolute" handler="restBridgeService.restBridgeChainHandler" />
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/restBridgeService/*/.control" handler="restBridgeService.restBridgeChainHandler" />
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/restBridgeService/*/.server" handler="restBridgeService.restBridgeChainHandler" />
- <soapAction path="http://www.ibm.com/xmlns/prod/cognos/restBridgeService/*/.session" handler="restBridgeService.restBridgeChainHandler" />
- </soapActions>
- <attributes>
- <attribute>advancedSettings</attribute>
- </attributes>
- </service>
|