Ah great - that is what I was looking for. Thanks!!!

I wonder if this is documented somewhere. The schema does not seem to...

On Mon, Oct 8, 2012 at 8:56 AM, Janaka Ranabahu <[email protected]> wrote:

> Hi Samisa,
>
> On Mon, Oct 8, 2012 at 8:49 AM, Samisa Abeysinghe <[email protected]> wrote:
>
>>
>>
>> On Mon, Oct 8, 2012 at 8:46 AM, Janaka Ranabahu <[email protected]> wrote:
>>
>>> Hi Samisa,
>>>
>>> On Mon, Oct 8, 2012 at 8:37 AM, Samisa Abeysinghe <[email protected]>wrote:
>>>
>>>> it just promoted to the next state, without caring about the check-list
>>>> items. (may be I raised the same issue sometime back and there was a
>>>> reasoning)
>>>>
>>>> A fresh look at this, seems to think that this is badly broken. The
>>>> whole idea is that, if not checked, you cannot promote to LC to next stage.
>>>>
>>>> This behavior is there because the default lifecycle configuration is
>>> written in way where it does not check for check-items when promoting. We
>>> can fix this by changing the default lifecycle configuration so that all 3
>>> check-items are mandatory for lifecycle promotion.
>>>
>>
>> Do you mean code change at use level or product level?
>>
> No code changes. Lifecycle configuration change is sufficient.
>
>>
>> I am trying to see if I can do this on my own as a user.
>>
>
> In the lifecycle configuration, there is a element where we define
> check-items. Eg:-
>
> <data name="checkItems">
>    <item name="Code Completed" forEvent="">
>    </item>
>    <item name="WSDL, Schema Created" forEvent="">
>    </item>
>    <item name="QoS Created" forEvent="">
>    </item>
>  </data>
>
> In these elements we have an attribute(ForEvent attribute) to define the
> events/actions that depends on this check item. So, if you need to make all
> these check-items mandatory for promote action, you need to change the
> lifecycle configuration as follows.
>
> <data name="checkItems">
>    <item name="Code Completed" *forEvent="Promote"*>
>    </item>
>    <item name="WSDL, Schema Created" *forEvent="Promote"*>
>    </item>
>    <item name="QoS Created" *forEvent="Promote"*>
>    </item>
>  </data>
>
> Thanks,
>> Janaka
>>
>>>
>>> Thanks,
>>> Janaka
>>>
>>> https://wso2.org/jira/browse/REGISTRY-1371
>>>>
>>>> Thanks,
>>>> Samisa...
>>>>
>>>> Samisa Abeysinghe
>>>> VP Engineering
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>> http://wso2.org
>>>>
>>>>
>>>
>>>
>>> --
>>> Janaka Ranabahu
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile +94 718370861
>>> Email : [email protected]
>>> Blog : janakaranabahu.blogspot.com
>>>
>>>  Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>>
>
>
> --
> Janaka Ranabahu
> Software Engineer
> WSO2 Inc.
>
> Mobile +94 718370861
> Email : [email protected]
> Blog : janakaranabahu.blogspot.com
>
>  Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to