Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

The Grouper discovery client is a way to discover information about services using a failsafe cache.  This is available in Grouper v2.1+ in grouperClient.jar.  It simply downloads a file from a web server.  The file can be a properties file that holds information about the URLs and other metadata about a service.  There should be multiple discovery URLs, and it uses the GrouperClient failover client so that communication is always available if there are no shared components of the multiple discovery web servers.  However, if there is only one server, and it has been downloaded once in the past, then it will be in a failsafe cache so that it will use that information instead of failing.

This client will be used for the GrouperClient WS and GrouperClient LDAP to make the service more highly available.  It can used as a command line utility or Java library for other non-Grouper services.

...

Code Block
C:\mchyzer\grouper\trunk\grouperClient\dist>dir temp*
 Volume in drive C is OS
 Volume Serial Number is 4651-8CE1

 Directory of C:\mchyzer\grouper\trunk\grouperClient\dist

02/08/2012  02:10 PM                35 temp_20120208_141052_088_Q8O0R25L.txt
02/08/2012  02:57 PM                35 temp_20120208_145238_982_Q8O2F8SB.txt
02/08/2012  03:03 PM                42 temp_20120208_150323_221_Q8O2NMKU.txt
               3 File(s)            112 bytes
               0 Dir(s)  270,957,670,400 bytes free

C:\mchyzer\grouper\trunk\grouperClient\dist>ren temp_20120208_145238_982_Q8O2F8SB.txt temp_20120208_143238_982_Q8O2F8SB.
txt

C:\mchyzer\grouper\trunk\grouperClient\dist>dir temp*
 Volume in drive C is OS
 Volume Serial Number is 4651-8CE1

 Directory of C:\mchyzer\grouper\trunk\grouperClient\dist

02/08/2012  02:10 PM                35 temp_20120208_141052_088_Q8O0R25L.txt
02/08/2012  02:57 PM                35 temp_20120208_143238_982_Q8O2F8SB.txt
02/08/2012  03:03 PM                42 temp_20120208_150323_221_Q8O2NMKU.txt
               3 File(s)            112 bytes
               0 Dir(s)  270,956,908,544 bytes free

C:\mchyzer\grouper\trunk\grouperClient\dist>java -cp grouperClient.jar edu.internet2.middleware.grouperClient.discovery.DiscoveryClient --operation=getFile --fileName=temp.txt
C:\mchyzer\grouper\trunk\grouperClient\dist\temp_20120208_150615_884_Q8O2RBNV.txt
C:\mchyzer\grouper\trunk\grouperClient\dist>dir temp*
 Volume in drive C is OS
 Volume Serial Number is 4651-8CE1

 Directory of C:\mchyzer\grouper\trunk\grouperClient\dist

02/08/2012  02:57 PM                35 temp_20120208_143238_982_Q8O2F8SB.txt
02/08/2012  03:03 PM                42 temp_20120208_150323_221_Q8O2NMKU.txt
02/08/2012  03:06 PM                42 temp_20120208_150615_884_Q8O2RBNV.txt
               3 File(s)            119 bytes
               0 Dir(s)  270,956,711,936 bytes free

Chttps://spaces.at.internet2.edu/display/Grouper/Grouper+Web+ServicesC:\mchyzer\grouper\trunk\grouperClient\dist>

...

Always Available Web Services
Failover Client

Grouper Client