How to set up WSO2 API gateway? - wso2

Good day
I have created my ESB project using the enterprise integration studio provided by wso2 and have also downloaded the API manager separately. Meanwhile when I start WSO2 API manager, API Publisher and developer dashboard open.
I just want to create WSO2 API Gateway. How can I achieve this also I want gateway should be access based.
Please assist me how can I proceed for the gateway implementation.
I only want the WSO2 API gateway.

WSO2 APIM is consist of 5 profiles as Gateway, Traffic Manager, Publisher, Store(Devportal in APIM 3.x series) and KM profiles. You can start an APIM with the default profile (if you started as sh wso2server.sh) and you can work with each profile. But if you want to start APIM as Gateway profile, then you need to start the server with "-Dprofile" mode as follows.
sh wso2server.sh -Dprofile=gateway-worker
You can read this document https://docs.wso2.com/display/AM260/Product+Profiles to aware of the profile of wso2 APIM.
And WSO2 has Micro GW product too, you can find more details about that MGW here https://docs.wso2.com/display/AM260/Working+with+the+API+Microgateway. You can download the form here https://wso2.com/api-management/api-microgateway/ and test.

Related

How to integrate apim with wso2 micro intergrator

Integrate apim with micro integator
How to integrate apim with micro integator without using integration studio
If you have already created a back-end API, then you don't need Micro-integrator, and you can directly expose that API through the API Manager. The API Manager can add schema validation as well.
If you need to implement additional message mediations, message transformations, and service orchestration on top of your existing back-end services, then you can do that using Micro-integrator and expose that as an API using API Manager.
Please see - https://apim.docs.wso2.com/en/latest/get-started/integration-quick-start-guide/
Micro Integrator is already embedded with the API Manager 4.1 .If you need to add some transformations to your API that you didn't found in the API Manger ,then you have to do it in the Integration Studio and then publish it to the Publisher Portal using service catalog feature.
You can follow this documentation
https://apim.docs.wso2.com/en/latest/tutorials/integration-tutorials/service-catalog-tutorial/
Integrating API Manager and Micro-integrator will be done via the Service Catalog by adding the following configurations in MI deployment .toml.
[[service_catalog]]
apim_host = "https://localhost:9443"
enable = true
username = "admin"
password = "admin"
Once you have created the integration service and deployed it in the Micro-integrator, you only need to start the two servers (APIM server and the Micro-integrator server).
More information - https://apim.docs.wso2.com/en/latest/integrate/develop/working-with-service-catalog/

how to set one server for wso2 analytics and one sever for wso2 api manager

I want to have a server that visualize api data from my wso2 api manager
can anyone help me pls?
Thanx
`enter code here`
You can deploy the WSO2 API Manager in a single server and the Analytics in another server and configure both API Manager and Analytics TOML/Yaml configurations to communicate and send data.
Follow the Standard Setup steps provided in WSO2 API Manager Docs for more detailed steps and configurations.

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 Configuration (IS Application securing APIM endpoint)

We're attempting to configure a relatively complicated WSO2 setup in which Identity Server (5.7.0 with KM) authenticates through an OAuth Service Provider, uses the token to secure API Manager (2.6.0) Endpoints, which then cycles through the Enterprise Integrator (6.5.0).
I've followed the steps to configure IS as the Key Manager (https://docs.wso2.com/display/AM260/Configuring+WSO2+Identity+Server+as+a+Key+Manager). This appears to be working, as I can see users in APIM that were configured in IS.
The problem is in the application. In IS I've created an OAuth POC that federates to another authentication provider. I want APIM to understand that application, and be able to use it to subscribe to APIs through the store for users that IS has given roles to. The application doesn't appear in APIM's applications, and I can't figure out how to link the two. I'd like for APIM to understand the token, figure out that it's for the OAuth POC in IS, and then if the user has that role, let them in, else return a 401 or something equivalent. Haven't been able to find someone else with a tutorial or guidance on this setup specifically.
Linking an Oauth2 provider from IS to an APIM application is called by WSO2 as "Out-of-Band provisioning". This guide may bring you a step further in your POC: https://docs.wso2.com/display/AM260/Provisioning+Out-of-Band+OAuth+Clients

the wso2 soa security gateway solution

I found a white paper the wso2 soa security gateway solution that builds a security gateway for SOA.
and in WSO2 API Manager Home page it says that:
It leverages proven, production-ready integration, security, and
governance components from the WSO2 Enterprise Service Bus, WSO2
Identity Server, and WSO2 Governance Registry. In addition, it
leverages the WSO2 Business Activity Monitor for Big Data analytics,
giving you instant insight into APIs behavior.
my question is: Does WSO2 API Manager do every thing mentioned in whitepaper document? if yes why the whitepaper is written? can we use WSO2 API Manager as an XML Gateway?
Given white paper has been published in 2011 and WSO2 API manger is resealed later 2012 and it is improving with the industry standards. All most all the aspects were covered in latest WSO2 API manger (v 1.7).
You can make use of WSO2 API manger or WSO2 ESB for XML Gateway.