How to configure a asynchronous task which uses a custom service ?
I have written an asynchronous task named com.process.tasks.DriverSynchronizationTask which uses a service com.process.service.ITestDriverService.
<extension point="com.ibm.team.repository.service.asynchronousTask">
<asynchronousTask
clusterPolicy="SCOPED_TO_CLUSTER"
taskId="driverSynchronizationTask">
<extensionService
componentId="com.ibm.firmware.process"
implementationClass="com.ibm.firmware.process.planning.DriverSynchronizationTask">
<prerequisites>
<requiredService interface="com.ibm.firmware.process.service.ITestDriverService"/>
</prerequisites>
</extensionService>
</asynchronousTask>
</extension>
I get error that the DriverSynchronizationTask not present in component.
But when I remove the service it recognizes the task but says check the prerequisites in plugin.xml .
I am facing issue with configuring a service used by task. Please help me in understanding what I am doing wrong
<extension point="com.ibm.team.repository.service.asynchronousTask">
<asynchronousTask
clusterPolicy="SCOPED_TO_CLUSTER"
taskId="driverSynchronizationTask">
<extensionService
componentId="com.ibm.firmware.process"
implementationClass="com.ibm.firmware.process.planning.DriverSynchronizationTask">
<prerequisites>
<requiredService interface="com.ibm.firmware.process.service.ITestDriverService"/>
</prerequisites>
</extensionService>
</asynchronousTask>
</extension>
I get error that the DriverSynchronizationTask not present in component.
But when I remove the service it recognizes the task but says check the prerequisites in plugin.xml .
I am facing issue with configuring a service used by task. Please help me in understanding what I am doing wrong