Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Obsolete COSMOS SDD Tooling BTG Rules"

(New page: This page holds ideas about how rules should be written for combining two SDDs together. ==Rules== Our rules engine is Drools 4.0.4. Any discussion about rules should take this into cons...)
 
(Resources)
Line 7: Line 7:
 
===Resources===
 
===Resources===
 
Resources can have any number of hosted resources, and those hosted resources can have any number of hosted resources, and etc. We need some rules to determine how to combine two trees from different descriptors.
 
Resources can have any number of hosted resources, and those hosted resources can have any number of hosted resources, and etc. We need some rules to determine how to combine two trees from different descriptors.
 +
 +
Let's say we have the following two resource trees:
 +
 +
Tree 1:
 +
A
 +
  B
 +
    C
 +
  D
 +
  E
 +
 +
Tree 2:
 +
F
 +
  A
 +
    B
 +
      C
 +
  G
 +
 +
The same letters in different trees refer to the same resource and should be merge together when merging trees.

Revision as of 11:15, 27 January 2008

This page holds ideas about how rules should be written for combining two SDDs together.

Rules

Our rules engine is Drools 4.0.4. Any discussion about rules should take this into consideration.

Resources

Resources can have any number of hosted resources, and those hosted resources can have any number of hosted resources, and etc. We need some rules to determine how to combine two trees from different descriptors.

Let's say we have the following two resource trees:

Tree 1: A

 B
   C
 D
 E

Tree 2: F

 A
   B
     C
 G

The same letters in different trees refer to the same resource and should be merge together when merging trees.

Back to the top