Custom VFS provider for Amazon S3 within WSO2 ESB - wso2

Is there a way to add a custom provider to VFS within WSO2 ESB? The requirement is to add a custom VFS provider for S3 within WSO2 ESB. I have tried it out with Apache Commons VFS on its own but can't figure out a way to customise WSO2 ESB.
Thanks

You can use your own vfs listener / sender classes (see repository/conf/axis2/axis2.xml and search for transportReceiver name="vfs" and transportSender name="vfs").
You can add your own providers (see repository/components/plugins/commons-vfs2_2.0.0.wso2v14.jar : in META-INF/vfs-provider.xml you will have a sample that add a "smb" and a "mime" provider) and have a look to this sample : http://detailfocused.blogspot.fr/2009/06/add-plugin-for-apache-vfs.html
But probably the best way would be to use the dedicated esb connector for Amazon s3, see
https://docs.wso2.com/display/ESBCONNECTORS/Amazon+S3+Connector

Related

WSO2 API Manager with ESB

In API Manager, I pass APIs in API Manager with respective services, also after reading documentacion of API Manager version 3.0.0 (https://apim.docs.wso2.com/en/latest/GettingStarted/overview/), I know in Publisher there exists a ESB, also in my case I work with this cases I think is part of ESB:
WSO2 OAuth Mediator(JAR).
File JSON by WSO2 OAuth Mediator, with endpoints referents to API's I'm cosuming.
In publisher page I add Custom Policies in request or response.
But existing WSO2 Enterprise Integrator (EI) version 6.6.0, this component have a ESB.
My questions are:
In my case, really I work with ESB?
How to integrate API Manager with EI?
WSO2 API Manager gateway is built on top of Synapse engine which is the same engine used in WSO2 EI (ESB). Using API Manager you can do simple mediation. But if you want to do any complex mediation, then you should use EI (ESB) along with API Manager.

WSO2 esb and api manager

we want to use Wso2 api manager and wso2 esb both but we want to use single analytics for both of them and we want both of these products to use the same identity server can it be done i just want to know that.
we want to use Wso2 api manager and wso2 esb both but we want to use single analytics for both of them
You can configure wso2sp as analytics for both wso2am and wso2ei (esb)
https://docs.wso2.com/m/mobile.action#page/97567378
we want both of these products to use the same identity server
can it be done i just want to know that.
Yes, it can be done. You can use wso2is as a key manager for wso2am or as an external IdP.

wso2 Greg - Service Registry and Discover with Rest

I have all wso2 products, but I don't understand how I can use Governance Registry in conjunction with rest webservices.
For example: I published a Rest Webservice in Governance, and now I want to use the service discovery to get the endpoint for this Webservice.
It's possible to do this with wso2 products?
Thanks
With WSO2 Governance Registry, you can discover endpoint details in three different ways: As example, if you are using WSO2 ESB(integration scenarios for Governance)
Share Registry space with both ESB and G-Reg
Use G-Reg to push artifacts into ESB node
ESB pull artifact from the G-Reg
Since you have already created a Rest Service in the G-Reg side, you can retrieve Endpoint details using Governance Rest API. It has an inbuilt functionality to retrieve Endpoint associated with a given RestService instance. You can find more details from this doc.

matching API with data services in WSo2

I have created a data service in WSo2 for exposing a table. I have also created an API for this, Now I wanted to match the API with this data service.
Please help how to do this.
Have you created the API in the ESB? You can create the API in the DSS itself[1] while creating the data service[1][2]. If you want to expose the datasservice via an ESB then the service endpoint of the created dataservice is available in the dataservice dashboard page which can be directly accessed by the ESB.
[1]https://docs.wso2.com/display/DSS321/Defining+Service+Operations
[2]https://docs.wso2.com/display/DSS321/Exposing+Data+as+REST+Resources

WSO2 ESB Proxy Service Versioning

Is there any way to create and maintain multiple versions of the same proxy service in WSO2 ESB??.
Please track the progress of this JIRA.
Thanks
Thilini