When configuring a WSO2 DSS datasource, I have checked the 'Enable ODATA' option. I have verified that, ODATA endpoints are available for Oracle tables, but not Oracle views.
Does WSO2 DSS support for creating ODATA endpoints for Oracle views?
Currently, it is not supported for Oracle views. You can use this jira ticket to track this improvement.
Related
We are installing WSO2 API Manager 2.6 Analytics using PostgreSQL DB.
When the dashboard component starts we get the following error:
Caused by: org.wso2.carbon.database.query.manager.exception.QueryMappingNotAvailableException: Mapping value for query: 'table_check' not found in Deployment config Map and Component config Map for database type: 'PostgreSQL' and version '9.5.12'
It seems it can't find the PostgreSQL queries.
How can we solve this problem?
The WSO2 APIM 2.6.0 statistics are not displayed in the APIM Analytics 2.6.0 dashboard, rather as same as the previous product version it is displayed on APIM 2.6.0 Publisher profile. underneath implementation directly access the Store Query AP in APIM Analytics 2.6.0 Worker runtime in order to get the statistics data.
So, in the default analytics scenario, you don't need to deploy the APIM Analytics 2.6.0 dashboard runtime to view the APIM statistics.
To give an answer to your query, unfortunately, there is a limitation in dashboard runtime with Postgres SQL where we need to introduce the compatible queries in here: https://github.com/wso2/carbon-dashboards/blob/master/components/dashboards/org.wso2.carbon.dashboards.core/src/main/resources/sql-queries.yaml
or else you can give the compatible queries in the wso2am-analytics-2.6.0/conf/dashboard/deployment.yaml as explained in the doc:
https://docs.wso2.com/display/SP430/Configuring+Database+Queries#ConfiguringDatabaseQueries-DashboardDashboard
Copy the queries with the above structure under the 'wso2.status.dashboard' namespace.
I start wso2ei micro integrator profile and deploy carbonapp with
carbon datasource in dbs file. Then I get nullpointer error in get datasource in log.
If I specify jdbc datasource in dbs - it all ok.
Can I use carbon datasource in dbs for micro integrator?
The carbon datasources feature is not shipped with micro integrator. When a carbon datasource is created it saves in the registry in the default ESB profile. As all the registry related features are removed from the micro integrator, it is not available. Instead you can define the datasource in line in the dataservice it self.
I would like to generate visualization(charts) on the usage of API accessed via WSO2 API Manager. I see many products and versions and cannot find right one. What is the difference between these products ?
API M Analytics 2.2
API DAS server 3.2
API Streaming processer 4.1
I'm using API manager 2.2 version and need real time analytics so which one is suitable for this purpose and the corresponding documentation to setup ?
Thanks in advance.
With APIM 2.2.0 you should use APIM Analytics 2.2.0. It's a DAS with some custom code specific to APIM.
For statistics, APIM out of the box supports batch analytics only. However, it supports alerts.
You can read this for analytics configurations.
I have an Rest service build on wso2 Dss. This Rest call an SQL query link to an datasource.
I cannot find the way to switch on runtime the datasource. I want with the same service, do the same query on an different datasource that I can specified in parameter.
Thank for your help.
Best regards,
Nicolas
You can make several DSS services with different datasource and make Proxy service in WSO ESB to balancing requests to your DSS services by parameter in url.
According the IT policy of our company, the Cassandra is not allowed to use since of some reason, I need to replace with MongoDB as the analysis DB of WSO2 Business Activity Monitor. Is there any documents for setting MongoDB on WSO2 BAM 2.4.1? many appreciate
Unfortunately, in the current version of BAM (2.4.1) MongoDB can not be used as a replacement to Cassandra.
MongoDB support is in the WSO2 BAM road-map and it will be available in the future.
Is there any particular reaseon why you would want to replace Cassandra with MongoDB in your implementation?