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