Skip to Content.
Sympa Menu

grouper-dev - changed java package structure of Grouper

Subject: Grouper Developers Forum

List archive

changed java package structure of Grouper


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "" <>
  • Subject: changed java package structure of Grouper
  • Date: Mon, 21 Jul 2008 01:33:29 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

Hey,

 

I changed the java package structure of Grouper per our discussions.  Just a note, let me know if something doesn’t work in HEAD (all unit tests pass).

 

https://bugs.internet2.edu/jira/browse/GRP-144

 

The base Grouper package used to have 125+ classes in it. To make the API easier to understand and use (especially since hooks are soon to be released), we are repackaging. Granted some of the Java access modifiers need to be opened up a bit.

I adjusted UI / WS / GSH / loader / usdu so they compile (didnt touch ldappc, though there aren’t too many issues, just update grouper.jar and organize imports will fix most of them)

I put a javadoc package.html in every package

Note: if any ant tasks or anything else doesnt work, let me know

I didnt move 3 classes which are configured in grouper.properties and sources.xml so everyone doesnt have to change those files.

I didnt refactor where the unit tests are, they are still in the same package

The main package now has 2 dozen classes, which is reasonable

Here is the package structure per our discussions (the packages that already existed arent listed):

edu.internet2.middleware.grouper (beans e.g. Group, Member, and finders e.g. GroupFinder)

edu.internet2.middleware.grouper.cfg (e.g. GrouperConfig)

edu.internet2.middleware.grouper.exception (e.g. GrantPrivilegeException)

edu.internet2.middleware.grouper.filter (e.g. GroupAttributeFilter)

edu.internet2.middleware.grouper.log (e.g. EventLog)

edu.internet2.middleware.grouper.misc (e.g. GrouperVersion)

edu.internet2.middleware.grouper.registry (e.g. RegistryInstall)

edu.internet2.middleware.grouper.validator (e.g. BaseQueryValidator)

edu.internet2.middleware.grouper.xml (e.g. XmlReader)

Chris

 

Ps. Next step is to try to bring the extensions (loader, gsh, usdu) into grouper…

 

[ Show » ]

Chris Hyzer - [21/Jul/08 12:55 AM ] The base Grouper package used to have 125+ classes in it. To make the API easier to understand and use (especially since hooks are soon to be released), we are repackaging. Granted some of the Java access modifiers need to be opened up a bit. I adjusted UI / WS / GSH / loader / usdu so they compile (didnt touch ldappc) I put a javadoc package.html in every package Note: if any ant tasks or anything else doesnt work, let me know I didnt move 3 classes which are configured in grouper.properties and sources.xml so everyone doesnt have to change those files. I didnt refactor where the unit tests are, they are still in the same package The main package now has 2 dozen classes, which is reasonable Here is the package structure per our discussions (the packages that already existed arent listed): edu.internet2.middleware.grouper (beans e.g. Group, Member, and finders e.g. GroupFinder) edu.internet2.middleware.grouper.cfg (e.g. GrouperConfig) edu.internet2.middleware.grouper.exception (e.g. GrantPrivilegeException) edu.internet2.middleware.grouper.filter (e.g. GroupAttributeFilter) edu.internet2.middleware.grouper.log (e.g. EventLog) edu.internet2.middleware.grouper.misc (e.g. EventLog) edu.internet2.middleware.grouper.registry (e.g. RegistryInstall) edu.internet2.middleware.grouper.validator (e.g. BaseQueryValidator) edu.internet2.middleware.grouper.xml (e.g. XmlReader) Chris

 

 

 



  • changed java package structure of Grouper, Chris Hyzer, 07/21/2008

Archive powered by MHonArc 2.6.16.

Top of Page