Skip to content

Plugins to connect the infinimesh IoT and AI platform to 3rd party systems like SAP Hana, Snowflake, Elastic, Redis Enterprise and cloud storage of AWS, GCP and Azure

License

Notifications You must be signed in to change notification settings

infinimesh/plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infinimesh plugins

We publish here plugins to connect infinimesh to external backends. To enable as much as possible modularization we have split the plugins into two main streams:

  • generic packages

    • pkg
      pkg contains shared code to connect to our API, retrieve token and iterate over /objects to find devices in the desired namespace
    • redisstream
      shared code for generic cache and stream, based on redis. This package can be included into future plugins.
  • Plugins and connectors

    • Elastic
      Connect Infinimesh IoT seamless into Elastic.
    • Timeseries
      Redis-timeseries with Grafana for Time Series Analysis and rapid prototyping, can be used in production when configured as a Redis cluster and ready to be hosted via Redis-Cloud.
    • SAPHana
      all code to connect infinimesh IoT Platform to any SAP Hana instance
    • Snowflake
      all code to connect infinimesh IoT Platform to any Snowflake instance.
    • Cloud Connect
      all code to connect infinimesh IoT Platform to Public Cloud Provider AWS, GCP and Azure. This plugin enables customers to use their own cloud infrastructure and extend infinimesh to other services, like Scalytics, using their own cloud native data pipelines and integration tools.

More plugins will follow, please refer to the plugin directory for any developer friendly documentation.

Building plugins

checkout and build docker based environments starting in the / directory of plugins, like:

git clone https://github.com/infinimesh/plugins.git  
cd plugins  
docker-compose -f timeseries/docker-compose.yml --project-directory . up --build

Please read the notes in the different plugin directories how to set username / password and API Endpoint (if not using infinimesh.cloud).

Deploy to any Kubernetes / OpenShift

We recommend to use kompose to translate the dockerfiles into kubernetes ready deployments. As example:

# verify that it works via docker-compose  
docker-compose -f Elastic/docker-compose.yml --project-directory . up --build  
  
# convert to k8s yaml  
kompose -f Elastic/docker-compose.yml convert  
  
# prepare env - this makes sure that when we run `docker build` the image is accessible via minikube  
eval $(minikube docker-env)  
  
# build images and change the image name so that the k8s cluster doesn't try to pull it from some registry  
docker build -f ./redisstream/Dockerfile -t redisstream:0.0.1 . # change the image in producer-pod.yaml to redisstream:0.0.1  
docker build -f ./Elastic/Dockerfile -t elastic:0.0.1 . # change the image in consumer-pod.yaml to elastic:0.0.1  
  
# apply each yaml file
kubectl apply -f xxx.yaml  
  
# verify that it's working, eg via logs  
kubectl logs producer  

About

Plugins to connect the infinimesh IoT and AI platform to 3rd party systems like SAP Hana, Snowflake, Elastic, Redis Enterprise and cloud storage of AWS, GCP and Azure

Topics

Resources

License

Stars

Watchers

Forks