Hi
I have created a redmine entry[1] and finished the initial phase of the
implementation to support $subject.

[1] https://redmine.wso2.com/issues/3149

Thanks,
Nuwanw


On Tue, Aug 12, 2014 at 11:18 AM, Dharshana Warusavitharana <
[email protected]> wrote:

> +1 , Implemetation is on the way will add to the redmine . This is a
> required scenario
>
>
> On Tue, Aug 12, 2014 at 11:15 AM, Nuwan Wimalasekara <[email protected]>
> wrote:
>
>> Hi
>>
>> Current implementation of the extension class is designed not to refer
>> any parameters outside. Ex : CarbonServerExtension class starts the
>> carbon server with default configuration for the integration test.
>> <extentionClasses>
>>    <className
>> >org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension</
>> className>
>> </extentionClasses>
>>
>> But we need to pass some parameters into those extension classes to
>> improve the flexibility of those extensions as below. Then we can refer
>> those parameters inside the extension class and make those classes more
>> flexible. Then we can start the carbon server with dynamic configuration.
>>
>> <extentionClasses>
>>    <class>
>>       <name
>> >org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerExtension</name>
>>       <parameter name="portOffSet" value="2" />
>>       <parameter name="cmdArg" value="debug 5005" />
>>    </class>
>> </extentionClasses>
>>
>> Currently those extension classes implement ExecutionListenerExtension
>> class. But in order to implement $subject we need to change 
>> ExecutionListenerExtension
>> interface to abstract class and make some changes to automation.xml.
>> Then we can provide the parameter list into the actual class extends the
>> ExecutionListenerExtension.
>>
>> Thanks,
>> Nuwanw
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>
>
> --
>
> Dharshana Warusavitharana
> Senior Software Engineer , Test Automation
> WSO2 Inc. http://wso2.com
> email : [email protected] <[email protected]>
> Tel  : +94 11 214 5345
> Fax :+94 11 2145300
> cell : +94772202595
> blog : http://dharshanaw.blogspot.com
>
> lean . enterprise . middleware
>



-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to