Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: EsbHttpPublisher -- el filter for attribute assignments

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: EsbHttpPublisher -- el filter for attribute assignments


Chronological Thread 
  • From: "Black, Carey M." <>
  • To: Shaun Koh <>, " Mailing List" <>
  • Subject: [grouper-users] RE: EsbHttpPublisher -- el filter for attribute assignments
  • Date: Mon, 9 Apr 2018 16:10:46 +0000
  • Accept-language: en-US
  • Authentication-results: spf=pass (sender IP is 128.146.138.10) smtp.mailfrom=osu.edu; auckland.ac.nz; dkim=none (message not signed) header.d=none;auckland.ac.nz; dmarc=pass action=none header.from=osu.edu;
  • Ironport-phdr: 9a23:fOdMtBHIMC+jfbgCAT+S8p1GYnF86YWxBRYc798ds5kLTJ76p82zbnLW6fgltlLVR4KTs6sC17KN9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCazbL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhzsGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJVyJPHJ6yb5cBAeQCM+ZXrYj9qEcBohalHwagGOfixyVUinPqw6E31fkqHwHc3AwnGtIDqHrYocjxNKgITe+1z7HExijdYvxMwzfy9ojJeQ0mr/2WU757bM3cxlIrFwzfklqQqpbpMy6L2ukDqGWb6PFgVf+1h2E5tg5xvyGiy8ExgYfKnoIY0k7I+j9lzIooINC0VVN3bcOhHZteuCyWK5d6T8YsQ252tys21rgLtJu5cSQUxpkr3wPTZ+KEfoSS/x7uW+ecLS18iX9qYr6zmgu+/Ea4xu3ySMa500pGoy9An9TMqn8CyxLT582ZRvZy/0quxDOC2g/T5+xGL005kLbUJIU6zbEqkJcYrF7NETXsmErsia+bbkUk9fas6+TgerjovoOROYhohg3jK6ggh9SxDfkhPggJRGeU5/6w1Lr+/U3lW7pKieA2kq/Ev5zAPcQbvKm5AxNL3Yk/9xa/DjCm0NICkXkAMVJFZBaHj4/uO1HNOvz3EfC/g1G0nDdqwfDJIKHhD43TInfZjLvtYLNw51NBxAYuyN1f6Z1ZBq0dLP/2VE/+qtPVAgM8PgGxwevrFttw2psbWW2VA6+ZNK3SsUWP5uIqO+SDf4sVtyzhJPgm/fLikGE1lFEGcKmuxpsXdWq0Eep7LEWEeXbsmMsOEX8WvgoiS+znkFKCUSRUZ3avR6Iz+Cs7BJu7DYfYWI+tmqeB0Ty/Hp1XfWBGFkuMHWnye4WFXfcMdDydItVnkjMaSbitVZUt2g+zuw/nmPJbKb/v+iQFs9rA09g9s/bTnAw0sz9zD+yUzmqOS2hykiUBTHkwzvY76QZy0FCeyaVixuFDGMZIz/JPTgogM5PAlap3B826fwvAetaPRx6CQ866S3llQcg23scDeQNgANi4lTjC2TanGbkYi+bNCZAppPHyxX/0coxXz3/N1+1ppFA8T9oHECvszvp18wHYBMiQyR6xkL23M6kQwXiepy+40WOSsRQAA0ZLWqLfUCVaPxOOoA==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Shaun,

 

I am not an expert on the ESB flavor of Grouper things. But I am poking at the “changelog.consumer” stuff at the moment. And the ESB stuff looks like it is a “changelog.consumer” to Grouper. J

 

 

An option ( that may or may not appeal to you) would be to consider these two general approaches: ( Maybe also could depend on the ESB your talking too. I am not sure…)

1)      Use a single Grouper attribute (and a single ESB publisher) and have the ESB later route/filter/map/duplicate the Grouper stream of messages into ESB queues(“topics”?).

2)      Use a single Grouper attribute per “topic” and have “N” ESB publishers that each only publish to a given topic.

 

I can see advantages in both directions.

                Case 1:

                                Pros:      Smaller Grouper config foot print.  ( Per ESB infrastructure )

                                                Smaller Grouper data(attribute) foot print. (one attribute)

                                                Only one Loader daemon process being added. ( smaller RAM requirement.)

                                Cons:

                                                One big Grouper Change log and all message flow serially. ( may form delays during heavy updates? )

                                                Need to manage ESB config to do “route/filter/map/ duplicate” logic.

                Case2:

                                Pros:      Grouper controlled “topic to data” map.

                                                More (and separate) queues per topic. ( May still form delays but would only affect each topic independently.)

                                Cons:     More Grouper config foot print. (per “topic”)

                                                Likely a larger RAM foot print for the Loader daemon.

                                                (maybe a con, some might see this as an advantage) More Grouper data(attribute) foot print (N attributes).

 

 

Question for you….

                GrouperDAOFactory is a very “low level” api in the system. ( Basically your talking “directly” to the Grouper DB. Which seems like that is the wrong direction to me.) What do you think you need from that deep of an integration level to achieve?

 

--

Carey Matthew

 

From: <> On Behalf Of Shaun Koh
Sent: Monday, April 9, 2018 1:47 AM
To: Mailing List <>
Subject: [grouper-users] EsbHttpPublisher -- el filter for attribute assignments

 

Hi there,

 

I’m currently attempting to configure the EsbHttpPublisher to send messages to a Kafka topic via our ESB platform.

 

While this works with basic el filtering (i.e. using the EsbEvent object), I am wondering if it is possible to filter groups/stems based on an attribute that has been assign to it (e.g. similar to how PSPNG works) ?

 

The methods provided by the GrouperDAOFactory class seem useful though I have been unsuccessful in calling it as it returns matchesFilter: false even with predefined input.

 

It would be great to have some suggestions / workarounds before having to perform any custom extensions.

 

Best Regards,

Shaun K.




Archive powered by MHonArc 2.6.19.

Top of Page