How to Combine WSO2 ES and WSO2 DS - wso2

How to Upload Gadget content to WSO2 ES
How to Download Gadget content to WSO2 DS from WSO2 ES

Right now this feature is not available in WSO2 DS 2.0.0 which is to add external gadget stores. But currently development of this feature is in progress and will be available in 2.0.1 release. So adding gadgets to the DS is done manually through the file system. User can add the gadget to PRODUCT_HOME/repository/deployment/server/jaggeryapps/portal/store/carbon.super/gadgets
Then user can use this gadget in dashboard creation.
And About uploading gadget content to the ES. In ES we only maintain the metadata of the artifacts(Ex:-gadgets). You can upload your gadget's whole content in to ES but only as an archive. But as we store the artifact in registry we recommend to content to be under size of 1MB. Also you can keep the gadget in your own location (Ex:-local file system).Then ES only manages the life-cycle of the artifact. After that you have to download the gadget and manually copy it in to DS. Also keep in mind not to update the gadget urls related to ES. Because ES cannot serve the gadget. You have to download the gadget.

Related

WSO2 APIM storing files in gov registry

I have another question on WSO2 APIM 2.6.0
I am working in one scenario where I have to store one file which is in json in gov registry. I can do that manually from the dashboard but I am looking for a way to perform that using API or in automated way.
Research done till now
1) Checking on the link which ideally enable WSO2 ESB to maintain a remote registry. But I am unable to get how the registry DB will be shared between the applications (APIM and ESB).
Like, ESB has property where we can store the data in registry directly from proxy or an API and also enables us to retrieve them accordingly.
But how do we do in APIM to store the file with json content.
Any suggestions here.
Thanks

Deploying ESB analytics car in DAS

We're evaluating a few WSO2 products for a solution. As part of the requirement we need to deploy the WSO2 analytics car file in DAS(preferably version 3.1.0). When we deploy the car it fails due to an incompatibility in the EsbAnalytics-ExecutionPlan-statistic execution plan file. A closer look inside the file shows that it refers to a custom stream function extension called esbAnalytics, this file is not available inside the car file or in the usual locations such as lib and dropins.
Can some one please share the steps to make the analytics car work in DAS?
If you are going to use ESB analytics features in DAS, you need to install its features first. The ESB analytics extension comes with those features.
Refer to the documentation[1] for the instructions on installing ESB analytics features on DAS 3.1.0.
[1] https://docs.wso2.com/display/DAS310/Working+with+Product+Specific+Analytics+Profiles#618096e7e77848b3abcc5785000d53cc

WSO2 DAS: Removing Gadgets

I'm evaluating WSO2 DAS 3.0.1. But can't find a way to remove gadgets created in the dashboard web portal.
Is there a way to delete them (either from the web UI or via command line)? I've looked through the documentation and cant really find out how to do it - aside from in their older BAM product where they could be removed from the Gadget Repository menu, which isn't in DAS.
Thanks!
For DAS 3.0.1 you cannot delete gadgets from the management console or terminal. You can manually remove them by deleting gadget files located in following directory
<DAS_HOME>/repository/deployment/server/jaggeryapps/portal/store/carbon.super/gadget

Is WSO2 DAS the new name or successor product for WSO2 BAM?

We are evaluating the WSO2 API Manager 1.8.0 (WSO2 AM) together with the WSO2 Business Activity Monitor 2.5.0 (WSO2 BAM). From our support partner Yenlo we got the WSO2 recommendation to use WSO2 BAM 3.0 for new installation, because the changes from BAM 2.5.0 to BAM 3.0.0 are massive.
BAM 3.0 is not released yet (see the release plan in JIRA). But milestone 4 should be available.
But the only thing I can find is milestone 3 of BAM and milestone 4 of DAS (Data Analytics Server) as announced in this email. Also the change log of DAS points to JIRA issues from BAM.
Is DAS the new name for BAM?
Is DAS the new name for BAM?
Yes, with exsisting BAM features + all features of WSO2 CEP are also included additionally in WSO2 DAS.
Some of the content of current BAM also applicable to DAS such as Collect & Store any Type of Business Events, High Performance Data Capture Framework, Pre-Built Data Agents for all WSO2 Products, etc. But since DAS is a complete revamp of old BAM, there are core changes such as analytics engine is now based on spark, and pluggable storage architecture and not cassandra centric (DAS 3.0 will be having RDBMS and hbase connectors).
DAS also includes all WSO2 CEP features, therefore users can do both real time and batch based analysis. Basically it's kind of analytics platform.
The old BAM is mainly focused on batch analysis.
More information can be found in WSO2 DAS Documentation. Also DAS would be in the future include Machine Learning Features as well, and it is an another name for whole analytics platform
Keep in mind as far as I know DAS is not completely backward compatible with BAM. So if you start new from WSO2 AM 1.10.0, best way is to use DAS Version 3, not BAM.

Is there a option to import downloaded APIs from WSO2 API Manager

I have downloaded one API (as api.zip file), which I created in WSO2 API Manager from the Administation console. Is there a way to import this API in different WSO2 instance?
Any suggestions??
Data of a published API from APIPublisher stored in three places.
In file-system [as a synapse config API element]
In database level
-- as registry data [stored API static meta-data]
-- as directly stored data in APIM db [stored API runtime data]
I believe you have downloaded the API element from Metadata-> List-> APIs in management console,which is stored in registry space.To restore a created API in another wso2 AM instance,this downloaded API element is not sufficient.
If you want to backup API data from one APIManager instance and restore in another instance,what you have to do is backup both above file-system and database specific data and restore.Other than that,currently there's no direct download and upload mechanism to do API backup and restoring process in WSO2 APIManager.
Thanks;