Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "COSMOS Design 299382"

(New page: = Implement simple registry to store resulting resource/change information = This is the design document for [http://bugs.eclipse.org/299382 bugzilla 299382]. = Change History = {|{{BM...)
 
Line 64: Line 64:
 
=Design details=
 
=Design details=
 
* This code will use jaxb to generate classes from our schema as well as marshaling and unmarshaling the data.
 
* This code will use jaxb to generate classes from our schema as well as marshaling and unmarshaling the data.
 +
 +
The schema will resemble this:
 +
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
<Registry version="2">
 +
<Key name="Machine">
 +
<Key name="COMMON">
 +
<Value data="C:\SAS\9.2" name="sashome"/>
 +
<Value data="username" name="install_user"/>
 +
</Key>
 +
<Key name="INSTALL">
 +
<Key name="win">
 +
<Key name="javaruntime">
 +
<Key name="JAVA 5 UPDATE 12">
 +
<Value data="015500" name="order"/>
 +
<Value data="Java Platform Standard Edition Runtime Environment" name="displayname"/>
 +
<Value data="C:\Program Files\Java\jre1.5.0_12" name="location"/>
 +
</Key>
 +
</Key>
 +
</Key>
 +
</Key>
 +
</Key>
 +
</Registry>
 +
  
 
=Impacts of this enhancement=
 
=Impacts of this enhancement=

Revision as of 07:05, 12 January 2010

Implement simple registry to store resulting resource/change information

This is the design document for bugzilla 299382.

Change History

Name: Date: Revised Sections:
Josh Hester January 12, 2010
  • Initial version

Workload Estimation

Rough workload estimate in person weeks
Process Sizing Names of people doing the work
Design 1 Josh Hester
Code 1 Josh Hester
Test 1 Josh Hester
Documentation 0
Build and infrastructure 0
Code review, etc.* 1
TOTAL 2

'* - includes other committer work (e.g. check-in, contribution tracking)

Purpose

This work will implement a simple registry in xml format for storing the resulting resource and change information.

Requirements

  • This code must store information regarding resulting resources and changes made to a system.
  • The resulting xml repository must use a strict schema to accomplish this.
  • The resulting xml must be easy to update for future changes.

Design details

  • This code will use jaxb to generate classes from our schema as well as marshaling and unmarshaling the data.

The schema will resemble this:

<?xml version="1.0" encoding="UTF-8"?> <Registry version="2"> <Key name="Machine"> <Key name="COMMON"> <Value data="C:\SAS\9.2" name="sashome"/> <Value data="username" name="install_user"/> </Key> <Key name="INSTALL"> <Key name="win"> <Key name="javaruntime"> <Key name="JAVA 5 UPDATE 12"> <Value data="015500" name="order"/> <Value data="Java Platform Standard Edition Runtime Environment" name="displayname"/> <Value data="C:\Program Files\Java\jre1.5.0_12" name="location"/> </Key> </Key> </Key> </Key> </Key> </Registry>


Impacts of this enhancement

  • The SDD runtime will be aware and be able to keep track of updates made to a user's system in a simple and concise fashion.

Open Issues/Questions

Schema needs to be designed.

Back to the top