How to Run WSO2 Streaming Integrator Editor - wso2

I installed WSO2 Streaming Integrator using Docker Container. There is no word about how to install the editor in this tutorial but I need to have WSO2 SI editor.
please give some points about how to install editor for developing Siddhi application.

Currently, a docker image is not available for the SI tooling distribution. You can use the Zip Archive of Streaming Integrator tooling from here to create a docker image.

Related

Wso2 mi dashboard create docker image

I am able to run my mi dashboard, (i'm using v4.0.1.17 as it allows me to replace the default H2 database), successfully on Windows. I now want to create a docker image for the same version, but I cannot find it's release in the official GitHub repositories. I tried vainly to build an image for provided version 4.0.1.2 and then replaced the zipped directory with my own 4.0.1.17 one, but it didn't work. Any suggestions would be welcome. Thanks.
You can get the updated docker image for MI Dashboard from the WSO2 Private Docker registry. The page wso2mi-dashboard contains a list of all the docker images released with the update tag.
In your case to pull the v4.0.1.17 you can use the following command,
docker pull docker.wso2.com/wso2mi-dashboard:4.0.1.17
Note that you need to log in to docker.wso2.com with the WSO2 subscription credentials before pulling the image
docker login docker.wso2.com

unable to get docker image for wso2 IS 6.0.0

I was using public repo for wso2is i.e wso2/wso2is:5.10.0 however when I try to upgrade to 6.0.0 it does not let me pull the image. Looks like 6.0.0 is not on the public repo. How do I get 6.0.0, do we need to have active subscription to use the private wso2 ?
IS 6.0.0 docker image is available in the wso2 docker registry https://wso2.com/identity-and-access-management/install/docker/get-started/. You need to have the wso2 account to get the U2 updated IS 6.0.0 docker image. If you want to build a docker image from an open-source distribution, you can build it locally by providing the product. You can check out this readme for further information. https://github.com/wso2/docker-is/tree/master/dockerfiles/ubuntu/is
Looks like this is not been pushed to docker hub. You can simply build it using the docker file here[1]
[1]. https://github.com/wso2/docker-is/blob/6.0.x/dockerfiles/ubuntu/is/Dockerfile

Set up customized Jwt Grant Handler when using Helm installation of WSO2 Api Manager 3.x

I have developed a custom JWTBearerGrantHandler which is packaged as a jar. In a bare metal WSO2 deployment I would add that jar into repository/components/lib and setup the relevant class in repository/resources/conf/default.json:
"oauth.grant_type.jwt_bearer.grant_handler": "xxx.MyJWTBearerGrantHandler",
However I want to deploy WSO2 API Manager in Kubernetes using the provided Helm chart (https://github.com/wso2/kubernetes-apim/tree/master/advanced/am-pattern-1). In this case, how can I add my custom handler?
Both changes, adding JAR and configuration(repository/resources/conf/default.json) can be done by building a Docker image. In this case, the base image would be the WSO2 provided Docker image for WSO2 API Manager and you can use Docker COPY Dockerfile instruction to add JAR + configuration file into the Docker image. Once the image is built and pushed to a private registry, please refer to the image via values.yaml.
Another way of adding the JAR file, assuming the JAR file is remotely accessible, is downloading the JAR using an Init container. Please have a look at how the MySQL connector is getting downloaded using init container.
If the given configuration is changing often, it is best to apply it via a
K8s Configmap. To add repository/resources/conf/default.json as a Configmap, please have a look at an existing configuration mount

Wso2 CEP - on docker

Im trying to build a docker image of Wso2 CEP on a linux VM.
I failing in the ./build.sh script and I get the following error meassage
Docker version should be equal to or greater than 1.10.0 to build WSO2 Docker images. Found 17.03.0-ce
How can I solve the docker version issue?
thank you
The docker version validating logic used in scripts are not compatible with latest docker version.
You can comment the following line in common/scripts/docker-build.sh file to skip the validation.
# validateDockerVersion "${docker_version}" "${min_required_docker_version}"

How to run WSO2 API Manager from source code

I am trying to run the WSO2 API Manager from source code.
I have installed orbit,kernel and platform of version 4.0.0
After installing the platform(mvn clean install -Dmaven.test.skip=true -Dproduct=apimgt), what
is the next step to see the API Manger portal in browser
and play around it.
If you built everything successfully go into product/apimgt//modules/distribution/product/target in platform. then you will find the binary distribution as a zip file you can extract this to a place of your choice and run the wso2server.sh( linux) or wso2server.bat( windows) in the bin folder.
Thanks,
Pulasthi