Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121

Question asked: Oct 06 '15, 2:15 p.m.

Question was seen: 2,112 times

Last updated: Oct 06 '15, 2:15 p.m.

Confirmation Cancel Confirm