Why is my Operation Advisor not showing up when I try to enable it?
More Operation Advisor issues (sorry).
I have the first Operation Advisor created and enabled (following this article: https://www.ibm.com/developerworks/mydeveloperworks/blogs/extendingrtc/entry/checksummaryadvisor?lang=en_us)
Then I wanted to do another one, so I followed the same instructions but changed a bit (name, package, logic in the advisor). I created the Feature, created the Site, directory, etc.
Then I restarted my server, but the operation advisor is not listed in the list of Preconditions when I go into my project area. However, I have no idea where to start debugging. I have gone back and double-checked spelling in my directory for my site, in my .ini file for my provisioning_profiles ... everything.
Help?
Susan
I have the first Operation Advisor created and enabled (following this article: https://www.ibm.com/developerworks/mydeveloperworks/blogs/extendingrtc/entry/checksummaryadvisor?lang=en_us)
Then I wanted to do another one, so I followed the same instructions but changed a bit (name, package, logic in the advisor). I created the Feature, created the Site, directory, etc.
Then I restarted my server, but the operation advisor is not listed in the list of Preconditions when I go into my project area. However, I have no idea where to start debugging. I have gone back and double-checked spelling in my directory for my site, in my .ini file for my provisioning_profiles ... everything.
Help?
Susan
Accepted answer
this is what I meant by define it as a requirement
on your plugin.xml, the second entry, rich click, add extensionservice
right click on extensionservice, add prerequisite
here is a plugin from Ralphwhich shows it
<plugin>
<extension
point="com.ibm.team.process.service.operationParticipants">
<operationParticipant
class="com.ibm.js.team.workitem.createapproval.participant.CreateApprovalParticipant"
id="com.ibm.js.team.workitem.createapproval.participant"
name="Create Approvel Participant"
operationId="com.ibm.team.workitem.operation.workItemSave">
<extensionService
componentId="com.ibm.js.team.workitem.createapproval.participant.component"
implementationClass="com.ibm.js.team.workitem.createapproval.participant.CreateApprovalParticipant">
<prerequisites>
<requiredService interface="com.ibm.team.repository.common.service.IContributorService"/>
<requiredService interface="com.ibm.team.workitem.common.IAuditableCommon"/>
<requiredService interface="com.ibm.team.process.internal.common.service.IProcessService"/>
<requiredService interface="com.ibm.team.process.service.IProcessServerService"/>
<requiredService interface="com.ibm.team.workitem.service.IWorkItemServer"/>
</prerequisites>
</extensionService>
</operationParticipant>
</extension>
on your plugin.xml, the second entry, rich click, add extensionservice
right click on extensionservice, add prerequisite
here is a plugin from Ralphwhich shows it
<plugin>
<extension
point="com.ibm.team.process.service.operationParticipants">
<operationParticipant
class="com.ibm.js.team.workitem.createapproval.participant.CreateApprovalParticipant"
id="com.ibm.js.team.workitem.createapproval.participant"
name="Create Approvel Participant"
operationId="com.ibm.team.workitem.operation.workItemSave">
<extensionService
componentId="com.ibm.js.team.workitem.createapproval.participant.component"
implementationClass="com.ibm.js.team.workitem.createapproval.participant.CreateApprovalParticipant">
<prerequisites>
<requiredService interface="com.ibm.team.repository.common.service.IContributorService"/>
<requiredService interface="com.ibm.team.workitem.common.IAuditableCommon"/>
<requiredService interface="com.ibm.team.process.internal.common.service.IProcessService"/>
<requiredService interface="com.ibm.team.process.service.IProcessServerService"/>
<requiredService interface="com.ibm.team.workitem.service.IWorkItemServer"/>
</prerequisites>
</extensionService>
</operationParticipant>
</extension>
Comments
One other answer
Thanks! I actually went ahead and rebooted and that also cleared it up. I'll remember to requestRestart next time.
Comments
sam detweiler
Jan 20 '14, 9:02 a.m.1 vote
sam detweiler
Jan 20 '14, 11:05 a.m.