Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Listing existing attributes in grouper Shell

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Listing existing attributes in grouper Shell


Chronological Thread 
  • From: Jeffrey Crawford <>
  • To: "Hyzer, Chris" <>
  • Cc: Gouper Users List <>
  • Subject: Re: [grouper-users] Listing existing attributes in grouper Shell
  • Date: Wed, 17 Feb 2016 07:37:42 -0800

This is not exactly doing what I had hoped. Basically I'm looking to programmatically read attributes on groups that are loader jobs (some SQL some are LDAP), and then change what I want.

I'm sure I'm asking the wrong question here :)

Jeffrey E. Crawford
ITS Application Administrator (IdM)
831-459-4365

Both pilots and IT professionals require training and currency before charging into clouds!
---------------------------------------

On Fri, Feb 12, 2016 at 7:13 AM, Hyzer, Chris <> wrote:

See the attributeDelegate…  this is from a test case

 

    assertTrue(group0.getAttributeDelegate().hasAttribute(attributeDefName0));

    List<String> values = group0.getAttributeValueDelegate().retrieveValuesString(attributeDefName0.getName());

    assertEquals(2, values.size());

    assertTrue(values.contains("A"));

    assertTrue(values.contains("B"));

 

also

 

group0.getAttributeDelegate().retrieveAttributes()

 

 

 

 

From: Jeffrey Crawford [mailto:]
Sent: Friday, February 12, 2016 1:41 AM
To: Hyzer, Chris <>
Cc: Gouper Users List <>
Subject: Re: [grouper-users] Listing existing attributes in grouper Shell

 

sorry ask the question and then lost track. I'm using grouper shell. I wanted to see the current values and then set new schedule settings via the shell.


Jeffrey E. Crawford
ITS Application Administrator (IdM)
831-459-4365

 

Both pilots and IT professionals require training and currency before charging into clouds!

---------------------------------------

 

On Wed, Feb 10, 2016 at 8:29 AM, Hyzer, Chris <> wrote:

Is this for a WS call or an API call?  What are you trying to do?  Do you want values too or just see if an attribute is assigned?

 

From: [mailto:] On Behalf Of Jeffrey Crawford
Sent: Friday, February 05, 2016 3:20 PM
To: Gouper Users List <>
Subject: [grouper-users] Listing existing attributes in grouper Shell

 

I've see getGroupAttr but is there something like getGroupAttrs which lists the attributes that exist on a group entry?


Jeffrey

C.

 

 

Both pilots and IT professionals require training and currency before charging into clouds!

---------------------------------------

 





Archive powered by MHonArc 2.6.16.

Top of Page