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 260468"

(New page: = Design Document for Profile Module = This is the design document for [http://bugs.eclipse.org/260468 bugzilla 260468]. = Change History = {|{{BMTableStyle}} !align="left"|Name: !align=...)
(No difference)

Revision as of 15:58, 23 January 2009

Design Document for Profile Module

This is the design document for bugzilla 260468.

Change History

Name: Date: Revised Sections:
Josh Hester January 23, 2009
  • Initial version

Workload Estimation

Rough workload estimate in person weeks
Process Sizing Names of people doing the work
Design 1 Josh Hester
Code 2 Josh Hester
Test 1 Josh Hester
TOTAL 4

Background

What is SDD?

Solution Deployment Descriptor provides a standardized way to declare and externalize information about your software package and its deployment.

What is the Change Resolver?

The Change Resolver is the core component of the SDD Runtime uses analyzed SDD data from the Change Analyzer to define specific steps or actions necessary to execute and satisfy the constraints of the SDD in the specific deployment environment. Through the Orchestrator, it may leverage any of the available interfaces in order to satisfy the resource, environment or other constraints presented by SDD.

What is the Profile?

The SDD is intended to fit a wide range of needs, but it is not intended to describe these needs in finely grained detail. It says that a resource can host other resources that can host other resources, and it requires that you specify what kind of resources you’re talking about, but the SDD does not have a list of possible resource types. This list and other lists of acceptable values to be plugged into SDD documents are determined by the developers who create the runtime. When a runtime is written, the developers will keep a list of these acceptable values, their definitions, and how they relate to each other. This list is called the profile. (Dunston 2008)

Purpose

The profile module is a helper to the change resolver. As the change resolver is processing an SDD it will encounter resources and references to resources. Upon being instantiated, the profile module will parse the profile. When a particular resource is encountered, the change resolver will then call upon the profile module in order to find out information about how to find the resource.

Design details

The main task of the profile module will be to parse and traverse an xml document, the profile. This will be accomplished by using xpath. As the change resolver is traversing an sdd, it may come to a resource, property or constraint that it knows nothing about. At this point, it will call the profile module and pass it the complex type along with any values associated with the item. The profile module will traverse the tree it has created with xpath. If it finds the item it will then return the resolver to load associated with the item in the profile.

Open Issues/Questions

Back to the top