How to add OAuth feature to DSS - wso2

I am currently using WSO2 DSS to create RESTful APIs to access the databases.
I need DSS to perform OAuth authentication for every incoming request. Is there a way I can do it without using WSO2 API Manager or WSO2 ESB?
If I have to change the source code to implement this feature, which particular library should I be looking into?

For this scenario without using WSO2 API Manager you need use three products of WSO2 SOA Suite (ESB, IS, DSS). In other case you can add the WSO2 DSS as a feature to the WSO2 ESB, and use IS as key manager. Check this links and take your best decision.
http://wso2.com/library/tutorials/2015/05/tutorial-hosting-restful-web-services-using-oauth-with-the-wso2-platform-0/
https://www.yenlo.com/blog/wso2-tutorial-adding-wso2-data-services-server-dss-as-a-feature-to-the-wso2-esb

Related

How to use product of WSO2 correctly?

I have already read many documentations of WSO2, there are some products of WSO2 such as: Enterprise Integration (EI), API Management (APIM), Identity Access Management (IS), Analytics Stream Processing (SP). I can understand the functions of IS and SP.
1. But I dont know what are differences between EI and APIM?
2. When can we use EI? When can we use APIM?
3. Can we merge WSO2 EI and APIM and IS and SP Products to execute all of them on one server?
Sorry for many questions, but I am really confuse in these matters, please give me advice.
WSO2 EI can be used to integrate different systems, orchestrate and then expose as new services/APIs.
WSO2 APIM can be used to manage those services/APIs. You can manage security, rate limiting, CORS, etc. and can see analytics of API usage etc. too. For APIM analytics, there is a customized version of SP which you can download separately.
You can't run all 4 as a single server. Those are 4 runtimes, so you have to start them separately.

Exist a tool that read the WSO2 ESB APIs definition and automatically creates the Swagger documentation?

I am not so into WSO2 ESB and I have the following doubt.
I am using WSO2 EI containing WSO2 ESB product. I am using the ESB to developr some REST API.
My question is: exist some tool\plugin that starting from the APIs definition into the ESB creates the swagger documentation for these APIs? I don't mean the WSO2 API Manager, I am not using it at this time but something that read the APIs defined into the ESB and create the Swagger documentation.
If exists something like this what have I to do to install and use it?
Thank you

WSO2 API Manager Mashup

Is there any way to create a mash up service using WSO2 API Manager? My goal is to create two Web services, then generate some data on which business logic is applied. This final data then needs to be fed into a third Web service.
I think you can use Apache Camel to create a mashup API easily.

WSO2 API Manager with non-WSO2 ESB?

I have a working system with ESB (non-WSO2 product) already. I'm now trying to integrateWSO2 API Manager into my working system for 3rd party developer.
Is it possible to replace WSO2 ESB in API Manage with existing non-WSO2 ESB?
Yes, you can do that.
The ESB functionality is transparent no matter what is the brand of underlying product implementing it. The API Manager is going to store the endpoints, WSDLs, etc. and those are the same for every ESB implementation.
That's the "beauty" of SOA, its service-oriented, not vendor-oriented.
You can keep the ESB you are using as it is in your setup and use the API Manager to publish/subscribe/manage the API. Its perfectly a valid scenario
Regards,
/Nuwan

WSO2 API Manager - is ESB and rest of Carbon framework included in this package?

I am trying to build a POC using WSO2 middle ware that demonstrates API Management as well as ESB features. Will I need to download WSO2 Carbon as well as WSO2 API Manager? Or does WSO2 API Manager include ESB and the rest of the Carbon framework?
The API Manager is based on Carbon, and contains the features it needs to provide the advertised functionality. In other words, out of the box, you get API management, the API gateway, the API store and the publisher apps. If you need full ESB features beyond what the API gateway functionality provides, you can download the ESB separately.
Isabelle.