Jump to: navigation, search

COSMOS Design 220593

Revision as of 17:15, 6 March 2008 by David whiteman.us.ibm.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Need ability to create data managers in toolkit for OSGi deployment

This is the design document for bugzilla 220593.

Change History

Name: Date: Revised Sections:
David Whiteman 3/6/2008
  • Initial version

Workload Estimation

Rough workload estimate in person weeks
Process Sizing Names of people doing the work
Design 0.2 David
Code 1 David
Test 0.4 David
Documentation 0.4 David/Rich
Build and infrastructure 0
Code review, etc.* 0
TOTAL 2.0

Purpose

The data manager toolkit designed in COSMOS Design 208274 was supposed to support OSGi and J2EE. Due to time constraints in i9, only J2EE was implemented. This enhancement provides additional details about our OSGi deployment not found in the original design.

Detailed Design

For COSMOS Design 208274, there were 3 plugins described:

  • org.eclipse.cosmos.me.dmtoolkit.common - contains code common to both J2EE and OSGi deployment scenarios
  • org.eclipse.cosmos.me.dmtoolkit.j2ee - contains code specific to the J2EE deployment scenario. This plug-in will have a dependency on the Eclipse Web Tools Project (WTP).
  • org.eclipse.cosmos.me.dmtoolkit.osgi - contains code specific to the OSGi deployment scenario.

As part of the J2EE work, there was a lot of reusable code pushed up to the common plugin. A lot of the artifacts and wizard pages are already implemented in the common plugin. In the osgi plugin, we will need to implement the wizard that holds those wizard pages, since the J2EE plugin used a different approach unique to WTP and we don't want to prereq WTP for the OSGi support.

We will probably find that some of the logic found in the J2EE plugin can be further refactored to the common plugin, so we don't have the same code in both J2EE and OSGi versions.

UI

The user interface will be basically the same as designed in 208274.

Testing

As described in 208274 design, we will provide a context menu option for data manager projects for running on the server, but with the following name change: Systems Management > Run Server....

Test Coverage

Automated JUnits will be provided where applicable. As much logic as possible will be decoupled from the UI so that standard JUnits can be implemented to drive code coverage.

Open Issues/Questions

All reviewer feedback should go in the Talk page for 220593.

References