This project delivers a new widget for RTC (Rational Team Concert) to support a team's capacity planning by visualizing the Scheduled Absences of each user in a team.
Managing Scheduled Absences is an out of the box feature in RTC.
Please note that the plugin itself doesn't contain an importer to do this automatically, but you could evolve a process like the following:
- Export a list of all Jazz User
- Pull Scheduled Absences out of your primary calendar system (e.g. Google Calendar, Microsoft Exchange, ...) and filter them for specific keywords
- Import all Absences. You could build something based on this code snippet:
private void createAbsence(IContributor contributor, String summary, Timestamp startDate, Timestamp endDate) throws TeamRepositoryException {
ContributorAbsence absence = (ContributorAbsence) IContributorAbsence.ITEM_TYPE.createItem();
absence.setContributor(contributor);
absence.setStartDate(startDate);
absence.setEndDate(endDate);
absence.setSummary(summary);
IResourcePlanningClient rpc = (ResourcePlanningClient) this.teamRepository.getClientLibrary(IResourcePlanningClient.class);
OperationStatus<IContributorAbsence> status = rpc.saveAbsences(new IContributorAbsence[] { absence }, null);
}
The Widget itself can be used like any other Dashboard Widget. As soon as you have it configured, It will somehow like this:
The widget is available as a serverside plugin, which can be installed on any RTC (CCM) instance.
The Widget works for CLM V.4.0.3 and later. Currently it is in successful operation on V.6.0.3.
Today we offer you a binary distribution, which can be downloaded from this project and installed on your system. The current stable release can be downloaded directly from the Releases page.
Deploy just like any other update site:
- Extract the
com.siemens.bt.jazz.absence.viewlet.absence-update-site.ini
file from the zip file to theserver/conf/ccm/provision_profiles
directory - Extract the
com.siemens.bt.jazz.absence.viewlet.absence-update-site
folder to theserver/conf/ccm/sites
directory - Restart the server
- Request a server reset in one of the following ways:
- If the server is currently running, call
https://server-address/ccm/admin/cmd/requestReset
- Navigate to
https://localhost:9443/ccm/admin?internaltools=true
so you can see the internal tools (on the left in the side-pane). Click onServer Reset
and press theRequest Server Reset
button - If your server is down, you can delete the ccm
built-on.txt
file. Liberty packed with 6.0.3 puts this file in a subfolder ofserver/liberty/servers/clm/workarea/org.eclipse.osgi/**/ccm
. The easiest way to locate the file is using your operating system's search capabilites.
- If the server is currently running, call
- Delete previously deployed updatesite folder
- Follow the file extraction steps from the section above
- Restart the server
Please use the Issue Tracker of this repository to report issues or suggest enhancements.
For general contribution guidelines, please refer to CONTRIBUTING.md
Copyright (c) Siemens AG. All rights reserved.
Licensed under the MIT License.