Dev/omar
From Omar Wiki
[edit]
Overview
This page is the root for all pages related to development of freebXML Registry:
- process - root for all pages describing team processes. Need to refactor patch, review, commit process etc here from omar web site.
- proposal - root for all pages related to proposed features or design changes for freebXML Registry
- design - root for all pages related to design documents for freebXML Registry
- code - root for all pages describing standards and procedures for developing code for freebXML Registry.
- test - root for all pages describing standards and procedures for developing or running tests for freebXML Registry.
- release - root for all pages describing releases of freebXML Registry.
[edit]
TO DO List
- Need to support CanonicalConstants.CANONICAL_SLOT_EXTRINSIC_OBJECT_REPOSITORYITEM_URL (similar to RegistryBrowser.importFromFile()) to JAXR Provider and SOAPSender, so XML files with embedded refs to RepositoryItems may be loaded via Import, JAXR or SOAPSender symmetrically without specifying attach param on SOAPSender. (Farrukh)
- Need to add new setStatus protocol (Farrukh)
- Need to shift defaultACP configuration from property to association with Registry singleton instance. See if other props could be moved the same way. This allows for server to be reconfigured without needing to bounce it.
- Fix CanonicalXMLCatalogingService to allow cataloging of ExternalLink content. See CanonicalXMLValidationService recent fix on same. (Farrukh or Paul).
- Fix Cataloger and Validator plugin interface and impls to use JAXR API so that users can develope plugins without being exposed to registry server API (Farrukh)
- Turn versioning off by default in JAXR Provider until versioning bugs are fixed. (Farrukh)
- Add new feature to allow XACML Policy plugins that can do custom policies decisions using Java Code. (Farrukh)
- Investigate use of DB stored procedures to do policy evaluation prior to filter query results based on ACP. (Diego)
- When creating new modules, remember to use following style for Log initializers: (all)
- private static final Log log = LogFactory.getLog(AbstractPluginManager.class);
- Fix all instances of singleton pattern to allow for multiple instances (one per registry instance) in same JVM thus allowing multiple registry instances in same JVM
- Modify any remaining singleton patern instances to conform to changes sugested by Doug. Wait until previous bullet is addressed first though. (Doug)
- Fix cast of RequestContext to ServerRequestContext in recent code (Nov-Dec 2005) related to caches and plugins per suggestions by Doug (Farrukh)
- Add a Unique Id field in User Registration dialog in Java and Web UI. The field should show the id of the user and allow user to change it to a human friendly id.
- Add event notification / update capability to Java and Web UI so they keep synced with changes in registry. Will need to defer until performance issues with event notification are addresed.
- Make RepositoryManager methods take a RequestContext as param. Make HibertanteRepositoryManager use callers RequestContext rather than create its own and use same connection and transaction for repository access. Replace HibernateRepositoryManager with JDBCRepositoryManager (Diego).
- Fix ~/omar directory tree to have a release independent sub-tree where things like keystores etc go so they do not have to be migrated betweeen releases.
- Redesign deploy anty target so that it supports multiple containers with sub-targets like deploy.glassfish, deploy.weblogic.9.2 etc.
[edit]
JUnit Tests Still needed
Dev Team and user community, please contribute by taking ownership and doing some of these. Thanks.
- Need JUnit tests for simulating user registration from Web UI
- Need JUnit tests for simulating user registration from Java UI
- Need RegistryTest to read Registry instance, add a slot to it and commit it back and read back to make sure edit was saved.
