grouper-users - [grouper-users] Re: constructing GSH commands from the Grouper API
Subject: Grouper Users - Open Discussion List
List archive
- From: Scott Koranda <>
- To: grouper-users <>
- Subject: [grouper-users] Re: constructing GSH commands from the Grouper API
- Date: Thu, 22 Jun 2017 16:15:03 -0500
- Ironport-phdr: 9a23:dWPXmBDPYG89gYsomsjPUyQJP3N1i/DPJgcQr6AfoPdwSPTzocbcNUDSrc9gkEXOFd2CrakV1KyH6eu5BDJIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZbF/IA+yoAnPucUanItvJ6cswRbVv3VEfPhby3l1LlyJhRb84cmw/J9n8ytOvv8q6tBNX6bncakmVLJUFDspPXw7683trhnDUBCA5mAAXWUMkxpHGBbK4RfnVZrsqCT6t+592C6HPc3qSL0/RDqv47t3RBLulSwKMSMy/mPKhcxqlK9VrhKvqQJizYDXboGaO+Zxcb7fctwUXmdBQtpdWjZdDo+gdYYDEewMNvtYoYnnoFsOqAOzCxSwC+Po1j9ImmL906g90+Q7Cw7G2hEvEMgTu3nTt9X1N6ASUfqvw6nO0DrMdehb2Tj46IfScxAhpeuAUq53ccrU0EQiER7OgFuXqYzgJTyV1+INvnCa7+pmSeKglXQnqwdvrTiz2MsgkJfGiZ8Iylzc+iV5wZo1Jd2lSEFge9KrDJxQtyScOoBrQc0iW3lltDg7x7Eau5O2eSYKxZc8yBLDbvGKfJSE7g7+WOuUPTh0mGlqdbe6ihqs70SgxPXwW8u03VpQrSdIk8PAum0C2hDN8MSLV+Vx8lun1D2SzQ7c8PtELloxlafDK54u3Lowlp0LvETGBCD2mUH2gLaXdkU45uSk8uvmbqv4qp+SLYN0hQb+MqMhmsy7H+s0KBQBX2+e+eik1b3j+1P2QKlSg/Eok6TVrJLXKMEVpqO6GABZzoMu5hmjAzu6zdgVmGUIIE5edx+CioXlJU/CIP7gAfe6mVuskTNrx/7cPr3mB5XANmPDkLTmfbZn8UFczhc8wspE6pJbD7EOOvPzWkvruNPECR85NhS4w/z7B9VlyoMeRWWPD7eWMKPItl+I+/ovLPeWZIMMpTb9MOYq5+T1jXIinV8dfLKp3YcMaHymBPhmIkOZYWbyjdcbF2cFoBY+QPLwhFKcTDFTeiX6Y6Vp6Ss8FZqrF8LeXY23m/TV0z28A4VbfCVbEV2WCl/pcZmJQfEBdHjUL8N8xG8qT7+kHrQq0g2y/Cz90bNhIuOcrjYbsojq0tR8z+LWnBA2szdzCpLOgCm2U2hokzZQFHcN16dlrBklxw==
> Hi,
>
> On this wiki page for GSH
>
> https://spaces.internet2.edu/pages/viewpage.action?pageId=14517859
>
> I read
>
> "Any Grouper API method can be directly invoked just by referencing it,
> inclusive of the class in which it is defined."
>
> Suppose I want to construct a GSH command or script that finds all
> composite owner groups under a particular stem. How do I inspect the
> Grouper API, other than browsing through GitHub, to find available
> methods that will help me construct the GSH command(s)?
>
> Is there an up-to-date Javadoc somewhere?
>
Apologies for answering my own question.
I did not find an online API Javadoc, but the following process worked:
- Browse to the Internet2/Grouper GitHub repository at
https://github.com/Internet2/grouper/
- Download the current repository. I recommend downloading it rather
than trying to clone it since it is surprisingly large (binary jar
files in it?). Unless you plan to hack the code, a download will be
fine.
- Unzip/untar the downloaded repository and with your web browser browse
to
.../grouper-master/grouper/doc/api/index.html
There you can more easily track down classes and their methods.
- If you want to inspect the source code for the "helper" methods that
"live" inside of GSH (like the ones you find in the wiki at
https://spaces.internet2.edu/pages/viewpage.action?pageId=14517859
) to understand what they are doing at a lower level,
you can find them defined in
.../grouper-master/grouper/src/grouper/edu/internet2/middleware/grouper/app/gsh/
in the source tree you downloaded, or via GitHub at
https://github.com/Internet2/grouper/tree/master/grouper/src/grouper/edu/internet2/middleware/grouper/app/gsh
Scott K
- [grouper-users] constructing GSH commands from the Grouper API, Scott Koranda, 06/22/2017
- [grouper-users] Re: constructing GSH commands from the Grouper API, Scott Koranda, 06/22/2017
- RE: [grouper-users] Re: constructing GSH commands from the Grouper API, Hyzer, Chris, 06/23/2017
- [grouper-users] Re: constructing GSH commands from the Grouper API, Scott Koranda, 06/22/2017
Archive powered by MHonArc 2.6.19.