[Registry-dev] [Build Report] WSO2 Registry - Continuous build 44 was SUCCESSFUL (with 122 tests). Change made by Glen Daniels

WSO2 Builder builder at wso2.org
Thu May 22 10:40:45 PDT 2008


The project WSO2 Registry - Continuous has the following 1 change by 1 author:

*Glen Daniels* made the following changes at 

Comment:
Whoops - mistakenly committed registry.xml last time.

Remove ReviewLifecycle (I'm still working on that), but check in Lifecycle.

This gives us a state-based lifecycle as discussed in today's meeting.  It's configured like this:

<aspect name="whatever" class="org.wso2.registry.aspects.Lifecycle">
 <state name="one"/>
 <state name="two>
  <condition property="color" condition="equals" value="red"/>
 </state>
 <state name="end"/>
</aspect>

This makes a lifecycle that has three states.  When you associate it with a resource it goes into the first state.  Promotion from the *second* state to the last one is conditional, based on the fact that a property named "color" has a particular value "red".  In addition to "equals" as a condition, we also support isNull, contains, greaterThan, and lessThan (the last two assume the property has an integer value).

Will be moving all this to modules/extensions in a bit.


> /trunk/registry/modules/core/src/main/java/org/wso2/registry/servlet/registry.xml (17280)
> /trunk/registry/modules/core/src/main/java/org/wso2/registry/aspects/Lifecycle.java (17280)



---------------------------------------------------------------------------------------

All 122 tests passed.

Click http://builder.wso2.org/browse/REGISTRY-CONT-44 to find out more.

Thanks,

Bamboo



More information about the Registry-dev mailing list