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: "Hyzer, Chris" <>
  • To: "Black, Carey M." <>, Shaun Koh <>, " Mailing List" <>
  • Subject: [grouper-users] RE: EsbHttpPublisher -- el filter for attribute assignments
  • Date: Mon, 9 Apr 2018 19:35:03 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:LfKj4xDsUXWSUH5hTwduUyQJP3N1i/DPJgcQr6AfoPdwSP36os+wAkXT6L1XgUPTWs2DsrQY07GQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDSwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95RWSJfH428c4UBAekPPelaronyu1QBoACkCgWwGO/i0CNEimPo0aA8zu8vERvG3AslH98WvnjartX0NaYMXuCv1KXD0CvOb/NM2Tf884jEfA0qrPaJXb1sccrQyUguGB3fjliLqIzlJC+a2v4Qs2iD8eVgU+Svh3Q5pA5svzii38EhgZTHiIISz1DL7yR5wIAtKN24VE57fcakEIdQty6AMYt2QdgiTH1ouCYgy70GopC7fDINyJQiyB7fcfuHc5WQ4h39TuadOCp4hGl7d7KlnBa+6FKgxfPlVsmpzllKtTZFktjKtnARyRPT8M6HReVh/ku/wzqAyR3c6vxCLEsplqTbM4YszqAtmpcSq0jOEDH6lF/rgKKVakko4Oel5uD/brn7qJKQK5V4hwXjPqg0hMCzHOA1PhITU2WZ+OmwzLPj8lP6TblWi/A7l6nUvZTAKssFo6O0ABNa3Zgn5hu6Ezipzc4XkWQCIV9KfB+LkYfkNlfTK/7iF/i/mU6jkDJzyvDGILLhBpLNI2Dbnrr9erhx90BRxBMuwN9d+Z5YE7YBL+ntVUPrs9zYEwM5PBezw+b6DtVyy5kSWXqVAq+eLKPdr0OH5v4uI+mLYo8ZojH9K+U55/7qin85nlwdcbO10psQbXC0BvVmI0OHbnrwmtoND3oGswskQOHkllGOSyNfanWuU64m6Tw2DJqqDYLZSYCshLyB0j27HppTZm1eD1CDDXfodoWFWvgSciKfOc5hkicYWrS7Vo8hzQ+htAn8y7Z9MOXb5zAYuYr51Ndp/+3TiQ0y9TtsAsSSyWGNSHx0nnsWSD8sxax/vFd9xUmZ0ahjmPFYEd1T5+hVUgchK5LQ1e16C9buWg3fZNeJTkipQsm4DT0rUN0+3sIOMA5BHIDopBTK1CnuS5QcjbGaTLlyuOqI1Xz4LMU7kiyd/K46kh8rTtYZcSWdhqdi8UDwAI6Bx16ZnrusM6cb3AbE6WyAyWOIsAdRW0h2Q/OBFToQfEzLtdnjo17ZQqW1IbUhLgZbz8OecO1HZsChqFxHQPblN5z6Ynmt0S/kCgyP26uBds/3YGgHxw3cDlQJiQYe4SzAOAQjUHSPuWXbWXZOBEDieQek2ulkqWjxBhsxxAGbfUB7/7uu8VgInfGaTbUe0q9S63RpkCl9AFvoh4GeMNGHvQc0OfwEOd4=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

The API method:

 

boolean group.getAttributeDelegate().hasAttributeOrAncestorHasAttribute(String attributeFlagName, boolean checkSecurity)

 

Allows you to easily see if a group or parent folder has an attribute assigned (e.g. for provisioning).  Not sure it can be called from an EL filter… want me to try it?

 

Is kafka messaging?  You want to do an HTTP -> Kafka connector and send from grouper to http?

 

Thanks

Chris

 

From: [mailto:] On Behalf Of Black, Carey M.
Sent: Monday, April 09, 2018 12:11 PM
To: Shaun Koh <>; Mailing List <>
Subject: [grouper-users] RE: EsbHttpPublisher -- el filter for attribute assignments

 

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