Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] [PSPNG] Full sync of a single group

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] [PSPNG] Full sync of a single group


Chronological Thread 
  • From: Yoann Delattre <>
  • To: Jeffrey Williams <>
  • Cc: "Hyzer, Chris" <>, "" <>
  • Subject: Re: [grouper-users] [PSPNG] Full sync of a single group
  • Date: Thu, 19 Mar 2020 17:17:34 +0100
  • Arc-authentication-results: i=1; smtp.ac-lille.fr; auth=pass
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ac-lille.fr; s=dkim201910; t=1584634660; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=8BsOxwpCiXBokXtxw1KN+4zZ0O5g/tAhYaWwdwoMDsY=; b=qlYPvZ8bdxcHxh1ak9/A5dJZZep2s7XAZEiIM9Sdx7U10e6Tv4N2me4bId0KE/aY6B8oCF UrodToKFQbsFvpdlf4aucBIRWitgLVhehukmUO3ldNe13I2BgYbBVTzrHKW8cZ9Jgj3dHs 4IOhXHxiYtSe+UECfeg2UG047D7uncbuHpcUqzEAlUdl3qf5ys24HVWPRhEkwIXdibr1to QXQBtYhmPuvONUmzbpblw7Zz7JRE6VWJhFdDJuwsAF3ftHMwpXdkg10yOl1Wf33LMdNViC Os2LP9bWK3KlSZTY0KySncXFhsi7oQVKAb+RJ3y0Q1VwkkWlc7m7nafvkNgZMQ==
  • Arc-seal: i=1; s=dkim201910; d=ac-lille.fr; t=1584634660; a=rsa-sha256; cv=none; b=gKqHx7rON6n4sK9gD0EuegjZHXX+mbYqFaAc4H+Nxsv4VXTuDJQV3GYEtZ8NaJpsENChQR T0yMhAHyO0F7S+CMUtOask8pMrI9p/bAm6GDPaVt0DsZdnbTBE+1drPEkXBZ2FHhiTo0Xo PnLoZWU4N4YDLicu0AMYPA/3NVJoCVc/FOpc0dMW5bj1i+mC3mtP195VD8xnnaF+5GYLKm 7V65kqlcc80/vn/Iqj4MRyKwA9IEsgyUNiLtfzJfOfRfTHs2+WJd6wRe1L0qkgJR2E+Rby zY6KLkFAwYm8nmlCKreSfo29SW71VcdFcbHXzMKCMdeyOwPWICFi+DCOWZe5Zg==

Hi Jeffrey,

Thanks for your answer.

It's been 15minutes and i still have no return of this command :

full_provisioner=edu.internet2.middleware.grouper.pspng.FullSyncProvisionerFactory.getFullSyncer(provisioner_name);

The provisioner i used take care of 50k groups with a group selection _expression_. If i use a "lighter" provisioner (only hundred of groups), no problem, i have an answer to this command in few seconds. (i think it's the same problem explain in this JIRA : GRP-2348 ).

Maybe divide the "big" provisionner in smaller one could be a good idea.

Thanks,
Yoann
Le 18/03/2020 à 21:55, Jeffrey Williams (via grouper-users Mailing List) a écrit :
Hi Yoann,

I can confirm that the add you gave does allow it to run.  There's another method to do it that's more consistent with the rest of the doc and gives a little more influence into what's logged:

provisioner_name="xyz"; // Whatever your provisioner is called in grouper_loader.properties
group_name="this:is:a:group";
  gs = GrouperSession.startRootSession(); full_provisioner=edu.internet2.middleware.grouper.pspng.FullSyncProvisionerFactory.getFullSyncer(provisioner_name); qt=edu.internet2.middleware.grouper.pspng.FullSyncProvisioner$QUEUE_TYPE; full_provisioner.scheduleGroupForSync(qt.ASAP, group_name, "optExtReference", "manualFullSync"); //optExtReference can be an issue tracking number or ""
Can you confirm that this works for you as well?


On Fri, Mar 13, 2020 at 4:43 AM Yoann Delattre <> wrote:

Grouper 2.4 with api patches 89 and pspng patches 12

Thanks,
Yoann
Le 12/03/2020 à 17:43, Hyzer, Chris a écrit :

What version of grouper exactly with what patches?

 

From: On Behalf Of Yoann Delattre
Sent: Thursday, March 12, 2020 11:16 AM
To:
Subject: [grouper-users] [PSPNG] Full sync of a single group

 

Hi everyone,

i needed to force a full sync for a single group. I followed the wiki (Full sync of a single group) but it didn't work.

To make it work, the message need to be send to pspng_full_sync_<provisioner_name>_asap and not anymore to pspng_full_sync_<provisioner_name>.

If someone of the grouper team can update the wiki (maybe i can do it ?)

Thanks !

Yoann.

--



--
Jeffrey Williams 
Identity Engineer
Identity & Access Services
https://its.uncg.edu





Archive powered by MHonArc 2.6.19.

Top of Page