aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Holly Cummins (JIRA)" <>
Subject [jira] Updated: (ARIES-319) Check in a re-factored version of the samples-sandbox/demo sample
Date Mon, 31 May 2010 18:39:37 GMT


Holly Cummins updated ARIES-319:

    Attachment: goat-services-a.txt

I've started to work towards support for visualising services and cascading configuration.
The changes in this patch aren't a complete solution but they're free-standing give basic
service visualisation and shared configuration support.

I've introduced a decorator framework for relationships so we can draw the service triangles
(or package names). The service handling will need to be updated slightly once we're not working
from the DummyInfoProvider. Handling of services which aren't consumed and services which
are consumed by multiple bundles is pretty weak. 

I've also started to add cascading configuration. I've added a Theme class and a ComponentAppearance
class which takes defaults from the theme and allows them to be over-ridden. ComponentAppearances
will also inherit from one another when we have nested components (like a bundle inside an
application). I've only switched the ComponentColorElement (which was the ComponentColorProperty)
over to use the new configuration so far, but I'll switch the other elements over to using
the new configuration next. 

In the new version, elements have two methods - render(), which draws them, and apply() which

initialises shared properties like colour. This allows for a two-phase rendering. Apply isn't
the best name but we're already using update(), so suggestions welcome. :)

I've renamed ComponentColorProperty to be ComponentColorElement and RelationshipAggregation
to TwistieAggregation. I've also moved RelationshipElement to the elements namespace. These
are all svn file deletions which will need to be done by hand when applying the hand.

> Check in a re-factored version of the samples-sandbox/demo sample
> -----------------------------------------------------------------
>                 Key: ARIES-319
>                 URL:
>             Project: Aries
>          Issue Type: Improvement
>          Components: Samples
>            Reporter: zoe slattery
>            Assignee: zoe slattery
>         Attachments: goat-architecture.odp
> The demo sample code currently under samples-sandbox/demo is being refactored and moved
> The first stage in the process is to move the code to samples/goat (Graphical Osgi Analysis
Tool)  - this code only contains a dummy info provider so it's not quite up to the same level
as the code currently under samples-sandbox/demo. When the new code has an equivalent of BundleContextInfoProvder
the code under samples-sandbox will be removed.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message