+1 Indeed great work Akila!! On Mon, Sep 14, 2015 at 11:26 AM, Reka Thirunavukkarasu <r...@wso2.com> wrote:
> +1. Great work Akila. Really a useful feature for us to improve our > integration tests further.. > > Thanks, > Reka > > On Fri, Sep 11, 2015 at 3:11 AM, Akila Ravihansa Perera < > raviha...@wso2.com> wrote: > >> Hi, >> >> I've uplifted Carbon automation engine framework in Stratos to its latest >> version (v. 4.4.3). This version provides lot of enhancements which >> includes; >> >> - Ability to define Carbon port offset, users, tenants and credentials >> in automation.xml file >> - Jacoco integration to provide integration test coverage >> - More control over Carbon server execution start/stop. We can write >> extensions which will get triggered before, during and after server startup >> and shutdown. >> - Ability to start multiple servers with different configurations >> >> I've written an extension to this framework to dynamically pick an open >> port when starting Stratos and ActiveMQ servers. This will prevent possible >> port conflicts with other programs running on your local machine and also >> Jenkins builder. It will first start from the default port defined in >> automation.xml configuration and keep on incrementing until a set of open >> ports are found. Currently tests are using following initial ports; >> >> 61617 - initial port for ActiveMQ amqp transport >> 9543 - initial port for Stratos Https transport >> 9863 - initial port for Stratos Http transport >> 7811 - initial port for Thrift secure transport >> 7711 - initial port for Thrift transport >> 10099 - initial port for JMX registry >> 11211 - initial port for JMX server >> >> I've deliberately set an initial offset to default ports. >> >> Thanks. >> -- >> Akila Ravihansa Perera >> WSO2 Inc.; http://wso2.com/ >> >> Blog: http://ravihansa3000.blogspot.com >> > > > > -- > Reka Thirunavukkarasu > Senior Software Engineer, > WSO2, Inc.:http://wso2.com, > Mobile: +94776442007 > > > -- Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos