Thanks Krishantha. Will follow ActiveMQ implementation. In a case of remotely hosted RabbitMQ, the connection configurations can be set from automation.xml. However, in that case synapse configs will also have to be modified accordingly. I will first work on localhost setup and improve from there.
Thanks, Maheeka Maheeka Jayasuriya Software Engineer Mobile : +94777750661 On Thu, Jun 18, 2015 at 6:44 PM, Krishantha Samaraweera <[email protected] > wrote: > Hi Maheeka, > > On Thu, Jun 18, 2015 at 11:31 AM, Maheeka Jayasuriya <[email protected]> > wrote: > >> [Moving to dev@] >> >> To update the current status on $subject. >> >> The main concern of including rabbitmq to test framework is that, >> rabbitmq server cannot be started programmatically. This is because there >> is no server library available and rabbitmq-server distribution is too >> large to be included to product-esb (~18MB). Hence, the alternative is to >> have rabbitmq-server started at the time of running tests. >> >> Therefore, as per offline discussion with Krishantha, rabbitmq-tests will >> be added to a new integration test module - 'tests-platform' and skipped >> during jenkins build by setting the skipTest property in >> maven-surefire-plugin configuration. >> >> However, most of the rabbitmq server operations can be performed via >> rabbitmqctl [1], by executing commands. With this support, I am looking at >> the possibility of starting rabbitmq server at runtime. For this following >> will be done. >> >> 1. set RabbitMQ server home using an automation.xml property >> 2. Start up RabbitMQ server >> >> To start the rabbitmq server, what is the best approach? To have a >> RabbitMQ server extension or with a broker startup test case similar to JMS >> for ActiveMQServer [2]. >> > > I think you better start RabbitMQ server Similar to the implementation > followed for ActiveMQ. it will give you much flexibility on server startup > and configuration management. Also keep noted about remotely hosted > RabbitMQ server instance as well. This is because we might be able to start > RabbitMQ server though puppet or some other configuration management system > in future along with product setup. > > Thanks, > Krishantha. > > >> >> In conclusion, the idea is to allow running RabbitMQ tests by, >> 1. enable tests in maven-surefire-plugin configuration >> 2. set RabbitMQ server home in automation.xml >> >> Please share your ideas. >> >> [1] https://www.rabbitmq.com/man/rabbitmqctl.1.man.html >> [2] >> https://docs.wso2.com/display/TA430/Writing+WSO2+ESB+and+JMS+Integration+Tests >> >> Thanks, >> Maheeka >> >> Maheeka Jayasuriya >> Software Engineer >> Mobile : +94777750661 >> >> On Fri, May 8, 2015 at 10:42 PM, Dharshana Warusavitharana < >> [email protected]> wrote: >> >>> Hi Kasun, >>> >>> At the moment we don't have this in Automation team road map. >>> >>> As per the Architecture of the Automation framework you can implement >>> an Framework extension to implement RabbitMQ support. So you don't have to >>> depend on the Framework release to get RabbitMQ support. >>> Since RabbitMQ related scenarios are most unlikely used by other >>> products other than ESB and APIM. So the best approach would be to >>> implement a Framework extension and maintain it in ESB side. >>> >>> Thank you, >>> Dharshana >>> >>> >>> On Fri, May 8, 2015 at 10:17 PM, Kasun Indrasiri <[email protected]> wrote: >>> >>>> Do we have any plans on adding RabbitMQ support in TAF? Is that >>>> something useful for other products in the platform? >>>> >>>> On Thu, May 7, 2015 at 10:47 AM, Maheeka Jayasuriya <[email protected]> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> With the upcoming ESB 4.9.0, rabbitmq transport and rabbitmq message >>>>> store and processor features will be released. >>>>> >>>>> Therefore, we need test automation support from TAF for rabbitmq >>>>> related scenarios. Can we get help from TAF team to work on this? >>>>> >>>>> Thanks, >>>>> Maheeka >>>>> >>>>> >>>>> Maheeka Jayasuriya >>>>> Software Engineer >>>>> Mobile : +94777750661 >>>>> >>>> >>>> >>>> >>>> -- >>>> Kasun Indrasiri >>>> Software Architect >>>> WSO2, Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> cell: +94 77 556 5206 >>>> Blog : http://kasunpanorama.blogspot.com/ >>>> >>> >>> >>> >>> -- >>> >>> 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 : +94770342233 >>> blog : http://dharshanaw.blogspot.com >>> >>> lean . enterprise . middleware >>> >> >> > > > -- > Krishantha Samaraweera > Senior Technical Lead - Test Automation > Mobile: +94 77 7759918 > WSO2, Inc.; http://wso2.com/ > lean . enterprise . middleware. >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
