Retrieving synchronization rules for LDAP-JTS synchronization throws an error
Hello,
my use case is to automatically trigger a synchronization if a new user has been added to JazzUser group in LDAP.
Server version is 6.0.6
The workflow is as follow:
1. Add a user to JazzUser group in LDAP (may take some time)
2. Query whether the user has been added to the JazzUser group
3. If the user has been added, let JTS synchronize with LDAP (only the user which has been added)
There are certain synchronization rules for the JTS. I followed the example shown here:
But when I try to get the synchronization rules using
IInteropManager interopManager = (IInteropManager) jazzRepo.getClientLibrary(IInteropManager.class);
ISyncRuleHandle[] syncRuleHandle = interopManager.getAllSyncRules(null);
I am getting the error message that the server is temporarily unavailable i.e.
CRJAZ0106E The server is temporarily unavailable. The request for the following URL was denied:
/jts/service/com.ibm.interop.common.service.IInteropService
Do I have to enable that service within the JTS somewhere? I've already read that using repotools -syncUsers does nearly the same, but since I only want to synchronize certain users I want to use the Java API for this use case.
I would appreciate any comment.
|
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Feb 01 '19, 11:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Feb 01 '19, 11:33 a.m. You are aware what the sync rules are for, right? For setting up synchronization rues for work item synchronizer to synchronize RTC work items and their attributes to Clear Quest and other tools. This has nothing to do with LDAP and, as far as I know, has no use for it.
That only small parts of the RTC Plain Java Client Libraries are actually available in the JTS server, and the InteropManager for work item synchronization likely is not one of those?
Comments
Dinh-Van Vo
commented Feb 04 '19, 10:50 a.m.
So if the sync rules are not intended for user synchronization between LDAP and JTS, how else can I trigger a sync for a certain user via the Java API? |
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.