wso2 product configuration & testing setup guide - wso2

I am novice to WSO2 platform.
We are in the process of evaluating WSO2 product suite for integration requirement with SAP via SAPJco.
After going through product documentation, I got to know that I would be using below products in WSO2
Carbon server (as this is base) - Ant Configuration, Apache Ant,
Maven
ESB (Data transformation)
Message Broker (for asynchronous communication) - In turn this needs
Active MQ & JMS
Developer studio (for developing mediation flow & for deploying run
time component)
I would be working on a POC for the above case study & would require quick start guide or a reference document to configure & setup my environment since there are four different products & would need to bring all under single umbrella.
-Thanks

This sample at [1], little closely assemble you requirement. You can refer the documentation for each product at WSO2 website, for ESB it's [2]. You can find the documentation for other products in the same place.
[1] - https://docs.wso2.com/display/DVS370/Retail+Banking+Sample
[2] - https://docs.wso2.com/display/ESB481/Getting+Started
Thanks,
Pushpalanka

Related

WSO2 integration with TCP and Restservice

I am new to WSO2 and we are planing to use WSO2 in our product. Our requirement is to communicate with other system through TCP(socket) and rest web services. I did not find any help regrading to my requirement.
I need a step by step guide or any tutorial about my requirements or any sample projet. Thanks
You can use WSO2 ESB to connect systems with TCP and HTTP(rest). You can go through WSO2 ESB documents and find enough samples on that. TCP[1][2], rest api[3]. If you are going to manage the rest apis then you can use the WSO2 API Manager[4]
[1]https://docs.wso2.com/display/ESB500/Setting+Up+the+ESB+Samples#SettingUptheESBSamples-ConfiguringWSO2ESBtousetheTCPtransport
[2] https://docs.wso2.com/pages/viewpage.action?pageId=33136069
[3] https://docs.wso2.com/display/ESB500/Using+REST+with+APIs
[4] https://docs.wso2.com/api-manager-documentation

How WSO2 TAF can be used to test WSO2 API 1.7

We would like to leverage the WSO2 Test Automation Framework(TAF) to test APIs on WSO2 API 1.7
However since the WSO2 TAF is not a binary distribution and requires to be build from source the svn link available in the document points to the repository which has only one version of API Manager available which is 1.4(https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/apimgt)
The documentation is not quite straight forward when it comes to TAF, Would like to know if there is some other repository we should be looking at
to test API 1.7?
Can someone also comment on usage of WSO2 TAF for testing APIs created using API Mgmt. I am getting a feeling that the WSO2 TAF is purely meant for product testing only?
The svn location for the 1.7.0 is available at [1]. The integration tests on
[2].
The WSO2 Test Automation Framework is a maven based module which enable users to write tests using automation framework as a test engine and common utility provider which needs to write tests based on wso2 carbon products.
You can get a understanding of WSO2 Test automation framework in [3]. And you can get idea on common usage and basic steps to write a test can be get by [4], Test configuration and execution details can be found in [5].
Hope this will help you to setup a basic test suite using wso2 TAF
[1]. https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.7.0/
[2].https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.7.0/modules/integration/
[3]. http://wso2.com/library/articles/2014/03/platform-wide-test-automation-with-wso2-test-automation-framework/
[4]. http://wso2.com/library/articles/2014/06/introducing-automated-tests-for-wso2-products/
[5]. http://wso2.com/library/articles/2014/03/platform-test-automation-using-wso2-test-automation-framework/
Thank You,
Dharshana

SOA Suite - How to automatically enable Web Service Rest support after composite deploy

I have a composite with a SOAP web service entry point running on SOA Suite. We will have a new client for that web service, but this client cannot speak SOAP, so we will have to publish that entry point on a REST endpoint. I know I can enable REST Support to the existing web service through EM console, but I would like to have this configuration enabled by default after deploy.
My research for ways to do that using a property or attribute on a configuration plan did not get useful informations.
Does anyone know how could I achieve that?
Thanks!
REST Support is formal part of SOA Suite 12c. Download and install that and then you can easily add a REST interface to a SOAP composite. Also, 12c now installs without RCU/DB, etc - just start the Integrated WLS domain in JDev and it builds itself and you are up and deploying in under 20 mins. And this may help.

Application Development on WSO2

Can I Have any sample Application or full design or Solution blueprint, which is build upon Wso2 with different server (Product) like ESB, DSS, AS, BPS, API Manager, Identity Server and User Interface etc.
So that I can understand how to use all the product to build any application.
Thanks in advance.
You can start with reading case studies in wso2 website. For example first two are small and useful. Here is the link of the wso2 case studies.

WSO2 Stratos Live Services / APIs

currently I´m evaluating WSO2 Stratos LIVE as a public PaaS. I did much research but there are still some questions:
1.) Does WSO2 Stratos Live offer a "multi-tenancy-api" to make Java web applications multi-tenant-aware (something like the Google App Engine Namespace API)?
2.) Is the cartridge-based architecture available (like in WSO2 Stratos 2)?
3.) Are there official API documentations / code samples for all the cloud services? I just found blog posts and webinars. But an official api documentation and code samples would be very great (for example how to unse Identity Server for authentication in Java web applications).
4.) Based on WSO2 API Manager deployment on Stratos, I assume that the API manager is not available as cloud-service?
5.) Do I have hosting options on Stratos Live (e.g. Java Version, the country / Data Center where my app will be hosted)?
6.) Does exist a logs-api to access application logs from my application?
7.) Are there apis for data handling (for example Map Reduce, execution of cron jobs, CDN)?
8.) Do I have a local test environment? I know that there are IDE plugins for an easy deployment. But is it possible to test my app with all WSO2 Stratos Live cloud services local on my machine without connecting to the real services?
I know this is a lot but it would be more than helpful if the WSO2 professionals would help me to answer those questions. As I said, I did much research but those 8 questions are still open.
Thanks a lot and best regards
Ben
See the answers in-line.
1.) Does WSO2 Stratos Live offer a "multi-tenancy-api" to make Java web applications multi-tenant-aware (something like the Google App Engine Namespace API)?
Yes. Your web app can be multi-tenanted.
http://www.youtube.com/watch?v=_lEwm6VzAmo&noredirect=1
http://www.slideshare.net/afkham_azeez/building-a-multitenanted-cloudnative-appserver
2.) Is the cartridge-based architecture available (like in WSO2 Stratos 2)?
Not yet. But our plan is to make Stratos2.0 as the foundation of StratosLive. This will be done after the GA release of Stratos2.0 (it is now in beta stage)
3.) Are there official API documentations / code samples for all the cloud services? I just found blog posts and webinars. But an official api documentation and code samples would be very great (for example how to unse Identity Server for authentication in Java web applications).
All the documents and samples available for WSO2 products are valid for StratosLive. Reason is, we have deployed the very same product in the cloud. We are in the process of filling the documentation gap with regards to StratosLive at the moment.
4.) Based on WSO2 API Manager deployment on Stratos, I assume that the API manager is not available as cloud-service?
Not yet. It will be available in the future.
5.) Do I have hosting options on Stratos Live (e.g. Java Version, the country / Data Center where my app will be hosted)?
No. StratosLive uses shared instances to achieve multi-tenantcy (not like some other PaaSes which uses a JVM per tenant). Therefore, hosting options are not available.
6.) Does exist a logs-api to access application logs from my application?
Yes. We allow the tenants to view system logs and application logs. Unfortunately the API for log viewing is not documented yet.
http://sparkletechthoughts.blogspot.com/2012/09/how-distributed-logging-works-in-wso2.html
7.) Are there apis for data handling (for example Map Reduce, execution of cron jobs, CDN)?
Map reduce related tasks can be handled using toolboxes which can be deployed in WSO2 BAM (monitor.stratoslive.wso2.com). Please check the WSO2 BAM2 documentation for more info.
8.) Do I have a local test environment? I know that there are IDE plugins for an easy deployment. But is it possible to test my app with all WSO2 Stratos Live cloud services local on my machine without connecting to the real services?
You can download and use the Stratos local setup which can be found at http://wso2.com/cloud/stratos