WSO2 DAS. Vizualization event points on the map - wso2

I would like to test GEO map gadget using WSO2 DAS.
I have a stream with geo coordinates (e.g.: latitude=51.509865, longitude=-0.118092). My goal is to show points on the map in real time (real time datasource) using Geo Map chart type. I set only Id, latitude and longitude properties (default for others). In the result I see the map without points any points.
I cannot find detailed information and examples in documentation.
Is it possible or I have to use GPL - Siddhi Geo Extension?

As per the documentation
Download GPL feature as mentioned in the Prerequisites section.
As per the steps in the GPL feature installing documentation,
Start WSO2 DAS
Log into the DAS Management Console.
Click Configure in the side toolbar, and then click Features.
Click Repository Management, and then click Add Repository.
Enter the details as shown below to add the created P2 repository.
Click the Available Features tab.
In the Repository parameter, select the WSO2 GPL Feature Repository repository you previously added.
Remove the tick for "Group features by category" Click Find Features. Once all the features are listed, select the "GPL - Siddhi Geo Extension" feature and install.
Copy the two extension JAR files in the / samples/cep/utils/geo-dashboard-extensions/ directory to the /repository/components/lib/ directory.
Navigate to the /repository/resources/geo-dashboard directory and copy all the folders into the /repository/deployment/server directory.
Download GeoTools GIS toolkit
Copy the following client JAR files from downloaded directory to /repository/components/lib/
gt-geojson-13.1.jar
gt-main-13.1.jar
gt-metadata-13.1.jar
jai_core-1.1.3.jar
jai_imageio-1.1.jar
Download JTS Topology Suite.
Copy jts-1.8.jar from /lib directory to both /repository/components/lib directory
Copy /samples/capp/org_wso2_carbon_geo_dashboard-1.0.0.car to /repository/deployment/server/carbonapps
Add <\Role>GeoDashboard</Role> to /repository/conf/carbon.xml under <\ServerRoles> parent tag
Add the Geo_DB datasource as mentioned in the 3rd step of prerequisites.
Restart the DAS server and you can access the dashboard via this url
You can then simulate some events through the simulator and see.
Click Tools in the side toolbar, and then click Simulator.
Add the following and send the event.
You will be able to see the sent information (Zoom out the map)
Best Regards,
Ramindu.

Related

GCP Data Fusion HTTP post-run plugin errors

from CDAP documentation exists an HTTPS post-run plugin to trigger pipeline start based on the successful execution of another pipeline (Scheduling). I'm trying to use this functionality in GCP Data Fusion but the plugin even if installed (because I can see it from Control Center) seems to be not available.
I also tried to install manually the plugin HTTP Plugin v2.2.0 as stated in the documentation but has only sink and source action. Also if I try to use the plugin an error is displayed
HTTP Properties 1.2.0 (No widgets JSON found for the plugin. Please check the documentation on how to add.)
this error seems related to the fact that Data Fusion is trying to use version 1.2.0 (the one already installed) with properties of version 2.2.0.
Any suggestions on how to solve this issue?
Update
I can see the two vesions http-plugin from Control Center
but I cannot set the version
Problem about http plugin hasn't been solved but I found the existence of pipeline trigger to execute pipeline based on status of another pipeline, this feateure is only available with Enterprise edition.
I believe you can find HTTPCallback post action plugin for the particular batch pipeline attaching appropriate pipeline alert.
Following Configure menu from the main dashboard plate:
Create the new Alert object invoking HTTPCallback plugin properties list:
Depending on the version of the you Data Fusion instance, it may still be defaulting to the old version of the plugin. To select the new version of the plugin you should:
Navigate to the Studio
Hover your mouse over the HTTP plugin in the sidebar
After a second or so, a box will appear with the plugin details. You will see the current version of the plugin and a button beside it that says "Change", click on this button. If you don't see this button that means you only have one version of the plugin in your instance.
You will see a list of all the versions of the plugin in this instance, select the one you want. The version you select will be the new default version.
You should now be able to use v2.2.0 of the plugin.

Amazon Web Service IP address and service protocol

In my organisation, installation of Amazon Web Service in eclipse is blocked. To get the access i need destination IP address and service protocol so that i can raise a request to get access. Does anyone has any information about the same?
This may not be exactly what you are looking for but may be helpful
Amazon Web Services (AWS) publishes its current IP address ranges in JSON format. To view the current ranges, download the .json file. To maintain history, save successive versions of the .json file on your system. To determine whether there have been changes since the last time that you saved the file, check the publication time in the current file and compare it to the publication time in the last file that you saved.
https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html
You can also download from source and install that way
https://github.com/aws/aws-toolkit-eclipse/releases
Compiling JS-Test-Driver Plugin and Installing it on Eclipse 3.5.1 Galileo?
When installing the Eclipse plugin, if the software list contains an item that says "There are no categorized items", untick the "Group items by category" checkbox below.
This fixed the above errors I was getting after an initial install when I displayed or tried to configure the plugin tab.

Opencart attribute image

I was looking for an answer to this question through Google and the site but did not find the right answer.
The system opencart attribute whether it is possible to set values in an image?
version opencart - 2.1.0.2 (rs.1)
more:
I wanted to download the products via the file .xls. To do this, I installed the module export / import .xls. structure file:
Here, a column with a red background is an attribute, it must be the values of the image. This file shows the image link. Now, how can I upload the product up correctly with this file?
this is a readme.txt :
Export/Import Tool (V2.19) for OpenCart 2.0.x
=============================================
The Import/Export Tool allows the admin user to do a bulk export
of categories, products, options and attributes to an Excel spreadsheet file.
The spreadsheet file can be edited offline and then be re-imported to the OpenCart database.
New features include:
The Import can be incremental, that is, data is updated or added to the OpenCart server.
Or it can be non-incremental which means all old data is first deleted before the Import.
The Export can be limited to certain data ranges only for products and categories.
Multiple languages are now supported, too.
Requirements and Limitations
============================
Memory requirements can be quite high.
Not every shared web hosting account supports a high process memory usage.
Therefore, if you use a basic shared web hosting account,
no more than a few thousand products can be exported or imported at a time.
Use a more dedicated web hosting account if a higher number of products
are to be processed in one go. Or export and import multiple times in smaller batches.
Installation
============
In the OpenCart admin backend, do the following steps:
Step 1)
Go to Extensions > Extension Installer
Step 2)
Upload the opencart-2-0-0-x-export-import-multilingual-2-xx.ocmod.zip
Step 3)
Go to Extensions > Modifications
You should see any entry for this Export/Import tool
Step 4)
Click on the Refresh button (top right of the page)
Step 5)
Go to System > Users > User Group > Edit Administrator
Step 6)
Set access and modify permissions for 'tool/export_import'
That's it!
If during the install you get an error saying "Could not connect as ......"
while uploading this zipped extension via the Extension Installer,
you probably have the FTP support disabled from your hosting.
In that case you may try the following OpenCart Extension Installer fix first:
<http://www.opencart.com/index.php?route=extension/extension/info&extension_id=18892>
Further help and customized versions
====================================
This tool has been successfully tested for a standard OpenCart 2.0.x.
Don't use other Opencart versions with this module.
If you need a customized version of the Export/Import Tool,
let us know and we can create one for a charge.
You can contact us at <http://www.mhccorp.com>

WS02 Minimized Deployment for GW Worker node

I would like to run WSO2 on two hosts, one serves as manager and the other as gateway worker.
I consulted the clustering guide and product profiles documentation, and I understand that after configuring the two hosts correctly, I can run the product with selected profile:
-Dprofile=gateway-manager on the manager node
-Dprofile=gateway-worker on the gateway worker node
In addition to perform selective-run, I would also like the gateway-worker to have the minimal possible deployment, i.e. to be installed only with artifacts it really needs.
Three options I can think of, from best to worst:
Download a minimized deployment package - in case there is one? In the site I saw only complete package which contains artifacts of all the components. Are there other download options which contain selective artifacts per profile?
Download the complete package and then remove the artifacts which are not necessary for gateway-worker (how do I know which files/directories to remove?)
Download the source from github and run a selective build? (which components should I build and how do I package them for deployment)?
There are no separate product packs for each profiles to download. So option 1 is not there. But you can do the option 2 to some extent. You can remove the publisher, store and admin-dashboard application from the product by removing 'jaggeryapps' folder in 'wso2am-1.10.0/repository/deployment/server/' location. Other than that we are not recommending to remove any components from the pack.
You can check the profile generation code for API Manager 1.10 in here. It only has module import definitions. These component are needed to be there for each profile.

WSO2 EMM 2.0 not installed correctly when Building from Source

Wso2 EMM 2.0 building from source ,
reference link https://docs.wso2.com/display/EMM200/Building+from+Source#BuildingfromSource-Downloadingthesource
Device and Policy management (Core functionality) - https://github.com/wso2/carbon-device-mgt (MASTER Branch)
Plugins specific device management (Eg : Android, Windows) - https://github.com/wso2/carbon-device-mgt-plugins (MASTER Branch)
EMM product repo - https://github.com/wso2/product-mdm (MASTER Branch)
successfully build the product , the EMM 2.0 found <EMM_SOURCE_HOME>/modules/distribution/target directory, as wso2mdm-2.0.0-SNAPSHOT.zip. when i extract and started the server ,server started but when i try to access
Publisher -localhost:9443/publisher/ not able to access the publisher ,
when i try to access Store - localhost:9443/store/ not able to access store but it redirects to publiser url .
Usually master branch is the place the current developments are being committed. So there could be a chance to have bugs which could affect to application functionality. Anyway if you need to build specific version of product from the source, it is better to checkout relevant tag first and build the tag. In your case it is https://github.com/wso2/product-emm/tree/v2.0.0
Also to build product from source, you don't need to build entire list of depended repositories (i.e carbon-device-mgt, carbon-device-mgt-plugins) unless you are going to build the product based on modified code, which is not in master branch or tags. Because WSO2 has nexus repository hosted and it has all required dependencies, which is needed to build the product. However if you would like to build product based on another branch of a depended repository, then you need to build the relevant branches of those depended repositories.
Thanks