View statisctics on WSO2 API manager Analitytcs - wso2

I've deployed wso2 api manager version 3.2.0 on k8s with keycloak as identity manager , i'm not able to view stats on Analitycs Dashboard for APIs published by developers .
How to manage Analytics permissions to have admin access on it.

Related

WSO2 API Manager and Analytics doesn't connect on docker

I am trying to implement WSO2 API manager with the Analytics solution in K8s (local machine- Docker K8s)
I am using the APIM 3.2.0 image the same version image for analytics
Both the API manager and the analytics solution is getting deployed and I could access the analytics dashboard, publisher and devportal. I can create and call APIs from publisher and devportal. However, the analytics solution doesn't hold any of my API data.
I have deployed the Worker, then the API manager, and then the dashboard in the same order as suggested here
After the analytics server is started
I cannot see the below message in the Analytics worker
INFO {org.wso2.carbon.databridge.core.DataBridge} - user admin connected
I have enabled the apim.analytics in my deployment.toml file (as a config map).
[apim.analytics]
enable = true
store_api_url = "https://localhost:7444"
Please throw some insights on the missing part

How to programatically create the users and roles in WSO2 API manager

I am using wso2 API manager 3.1.0 I want to create the users and roles programatically. Are there any REST APIs available for the carbon console of the APIM to achieve this? I referred to this document
https://apim.docs.wso2.com/en/next/develop/product-apis/restful-apis/ which has only details of the
REST APIs available for API publisher and devportal mainly.
You can use RemoteUserStoreManagerService SOAP service.
See https://docs.wso2.com/display/IS580/Managing+Users+and+Roles+with+APIs

APIs created via super tenant publisher are not available in developer portal/ publisher of other tenants

I am using wso2 API manager 3.1.0 and wso2 IS as KM 5.10.0 . I created the tenants in API manager's carbon console. When I created some APIs via super tenant's publisher portal and set the subscription availability to specific tenants as shown in below figure. Also the developer portal visibility is set to public.
But when I login to the developer portals of one of the tenant to which I configured the subscription to be availble in previous step I am unable to see the API. Is this a Bug?
If you checked for the API in the specific tenant's Developer Portal, the API will not be visible. Since the API is created by the super tenant which is carbon.super, the API is only accessible from the carbon.super developer portal space. If you login as a different tenant to the carbon.super developer portal space, then you will be able to see the API.
The API will be visible and subscribable for the tenants that you have specified under "Subscription Availability" section in Publisher given their visibility is Public according to your scenario. For this you have to login to carbon.super Developer Portal Space.
See the image below where you can select the tenant developer portal you need to log into. Try logging into carbon.super space with the specific tenant credentials.

How to set up WSO2 API gateway?

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.

How to allow access permission from wso2is to wso2api manager using ReadWriteLDAPUserStore

When i create user's roles in wso2 identity server and give some permissions to roles and then configure wso2is using ReadWriteLDAPUserStore with wso2 api manager or wso2 business server then in wso2is role's permissions not visible to wso2 api manager or wso2 business process server.
am using wso2is-5.3.0 and wso2am-2.5.0.
Role permissions are not stored in the user store. They're stored in the UM_DB. So you have to share that database among the 2 nodes.
On a related note: APIM 2.5.0 compatible IS version is 5.6.0.