Posts

Showing posts with the label rtc

RTC plugin component Developments

Image
See Env setup Create Plug-in  Open IDE(Eclipse) Create a new Plug-in Development-> Plug-in Project Fill out the second dialog as follows, and select Next. Fill out the second dialog as follows, and select Finish. Open  MANIFEST.MF  or  Plugin.xml  file for your project From the  Overview tab  select This plug-in is a singleton. Save this file. From the Dependencies tab, select the Add… button. Add the following four plug-ins to the list. After adding, save the file com.ibm.team.process.common  com.ibm.team.process.service  com.ibm.team.workitem.common  com.ibm.team.repository.common these are the few dependencies, for others functionality you may have to add others dependencies. Like for   SCM  you have to add *  scm.common  and *  scm.service repository.common and  repository.service Search for available  .service and .common  and add ...

RTC server side UI plugin developments

Download Template

RTC precondition plugin developments

Image
Precondition actions are events that are generated before any operation/event is trigger. A Advisors is basically operational behavior that happens before a certain operation completed. Extension point = com.ibm.team.process.service.operationAdvisors Implement the interface  com.ibm.team.process.common.advice.runtime.IOperationAdvisor You have to create two plugin project  1. Component   2. Service Link for Component Service Development  Create Plug-in  Open IDE(Eclipse) Create a new Plug-in Development-> Plug-in Project Fill out the second dialog as follows, and select Next. Fill out the second dialog as follows, and select Finish. Open  MANIFEST.MF  or  Plugin.xml  file for your project From the  Overview tab  select This plug-in is a singleton. Save this file. From the Dependencies tab, select the Add… button. Add the following four plug-ins to the list. After add...

RTC follow-up action plugin development

Image
Follow-up actions are events that are generated when the operation is completed. A Participant is basically operational behavior that happens after a certain operation completed. Extension point = com.ibm.team.process.service.operationParticipants Implement the interface com.ibm.team.process.common.advice.runtime.IOperationParticipant You have to create two plugin project  1. Component   2. Service Link for Component Service Development  Create Plug-in  Open IDE(Eclipse) Create a new Plug-in Development-> Plug-in Project Fill out the second dialog as follows, and select Next. Fill out the second dialog as follows, and select Finish. Open MANIFEST.MF  or Plugin.xml file for your project From the Overview tab select This plug-in is a singleton. Save this file. From the Dependencies tab, select the Add… button. Add the following four plug-ins to the list. After adding, save the file com.ibm.t...

RTC java Server side plugin developments Environment setup

List of jar required to setup development evn. link for documents and jars https://jazz.net/downloads/rational-team-concert/releases/6.0.5?p=allDownloads  From   Web Installers Download IDE as per your OS. Fow Win Download  From  IBM Installation Manager Repositories Download Server Link From  Source Code Download Client SDK Download Server SDK This Two are Importants. Once Download is complete Extract all files. Step for Developments  Open  IDE  Goto Windows Preferences  search " target ", select Platform target . In target Add Server SDK and Client SDK.

RTC extension plugin developments

This documents will help you to creation and enhancement of an RTC custom extension. You can create RTC server side plugin. 1. Setup of your development environment 2. RTC follow-up action development 3.  RTC precondition developments 4.  RTC server side UI plugin developments 5.  RTC server side Plugin Extension Deployment 

RTC java client user work resource allocation

Read work resource allocation to the user in projectarea and teamarea // Create this object before accessing the api IContributorHandle iContributorHandle; ITeamRepository repo; ITeamAreaHandle teamAreaHendle; IProgressMonitor monitor; IResourcePlanningClient resourcePlanningClient; IContributor contributor =         (IContributor) repo.itemManager().fetchCompleteItem(iContributorHandle, IItemManager.DEFAULT, null);     System.out.println(contributor.getName() + " " + contributor.getUserId());     IContributorInfo info =         resourcePlanningClient.getResourcePlanningManager().getContributorInfo(contributor, true, monitor);     ItemCollection<IWorkResourceDetails> workDetails = info.getWorkDetails(contributor);     long totalResource = 0;     for (IWorkResourceDetails iWorkResourceDetails : workDetails) {    ...

RTC java client required services and Client classes initialization

    Before accessing any RTC server side Components you have initialize the required services and client classes Below are the Few List of services and client classes initialization(If any other classes you need then add it)       IWorkItemClient iWorkitemClient = (IWorkItemClient) repo.getClientLibrary(IWorkItemClient.class);       IQueryClient iQueryClient = (IQueryClient) repo.getClientLibrary(IQueryClient.class);       IProcessClientService iProcessService =           (IProcessClientService) repo.getClientLibrary(IProcessClientService.class);       IAuditableClient iAuditClient = (IAuditableClient) repo.getClientLibrary(IAuditableClient.class);       IWorkItemCommon workItemCommon = (IWorkItemCommon) repo.getClientLibrary(IWorkItemCommon.class);       IAuditableCommon iA...

RTC java client Login to Server

RTC java client Login to Server List of import for Client dev The First step is login into RTC server using client api     IProgressMonitor monitor = new NullProgressMonitor();     String repositoryURI = args[0];     final String userId = args[1];     final String password = args[2];     TeamPlatform.startup();     try {       ITeamRepository repo = TeamPlatform.getTeamRepositoryService().getTeamRepository(repositoryURI);       repo.registerLoginHandler(new ILoginHandler2() {         @Override         public ILoginInfo2 challenge(final ITeamRepository repo) {           return new UsernameAndPasswordLoginInfo(userId, password);         }       });     ...

List of useful import for RTC dev

 import java.net.URI; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.NullProgressMonitor; import com.ibm.team.apt.internal.client.resource.IResourcePlanningClient; import com.ibm.team.process.client.IProcessClientService; import com.ibm.team.process.common.IDevelopmentLineHandle; import com.ibm.team.process.common.IIteration; import com.ibm.team.process.common.IProjectArea; import com.ibm.team.process.common.ITeamArea; import com.ibm.team.process.common.ITeamAreaHandle; import com.ibm.team.repository.client.IItemManager; import com.ibm.team.repository.client.ILoginHandler2; import com.ibm.team.repository.client.ILoginInfo2; import com.ibm.team.repository.client.ITeamRepository; import com.ibm.team.repository.client.TeamPlatform; import com.ibm.team.repository.client.login.UsernameAndPasswordLoginInfo; import com.ibm.te...

RTC java client developments Environment setup

RTC java client developments Environment setup List of jar required to setup development evn. link for documents and jars https://jazz.net/downloads/rational-team-concert/releases/6.0.5?p=allDownloads  1. Download rtc jaav client https://jazz.net/downloads/rational-team-concert/releases/6.0.5/RTC-Client-plainJavaLib-6.0.5.zip https://jazz.net/downloads/rational-team-concert/releases/6.0.5/RTC-SDK-Client-6.0.5.zip  (This jar required when any class in not present in RTC-Client-plainJavaLib) 2. Download Docs https://jazz.net/downloads/rational-team-concert/releases/6.0.5/RTC-Client-plainJavaLib-API-javadoc-6.0.5.zip  Extract the zip and keep it into a location Step to setup Evn 1. Open eclipse 2. Create a java project 3. Right click on the project go to Build path>configure build path>Libraries>Add eternal jars. 4. Go to the folder where your have extracted the RTC-client-plainJavaLib 5. Select all and click OK. Environment setup is Do...

RTC java Client api developments

1. RTC java client developments Environment setup 2. RTC java client Login to Server 3. RTC java client required services and Client classes initialization 4. RTC java client Connect to project area by project area name 5. RTC java client get all team area of project area 6. RTC java client get development line of the project area 7. RTC java client current iterations of the project area 8. RTC java client get members from team area 9. RTC java client get associated  team area from category 10. RTC java client get all category from project area 11. RTC java client get list of work item filed against category 12. RTC java client get work item attribute value by attribute id 13. RTC java client user profile information 14. RTC java client user work environment 15. RTC java client user work resource allocation 16. RTC java client get user absence 17. RTC java client get work item estimate hours