Skip to content

Latest commit

 

History

History
120 lines (82 loc) · 2.73 KB

README.adoc

File metadata and controls

120 lines (82 loc) · 2.73 KB

OpenVino Cloud - Connector

This project will received messajes from the queue and will send them to the AWS Kivana dashBoard.

This Microservice will receive the alarms that are being generate by Blindspot and it will send them directly to the cloud.

This Microservice Runs on any Operative System, for any test we recommend Ubuntu in his latest version.

The Microservice will run in any Device that can support an OS.

The Microservice is written in Python so we need to any OS that support this language.

At this point you only need to ensure that you have an OS running with Python and Docker inside.

  • Docker. To install on Ubuntu, run:

sudo snap install docker

sudo groupadd docker

sudo usermod -aG docker $USER

1. Clone the repository at desired location:

git clone git@github.com:incluit/OpenVino-Cloud-Connector.git

2. Change to the top git repository:

cd OpenVino-Cloud-Connector

3. Build the docker:

make docker-build
make docker-run

For verifying how the CloudConnector receives event messages it will be mandatory that the user have the Alert-Manager Microservice up and running on the same machinne. For installing and initiating Alert Manager Microservice, check the following link: https://github.com/incluit/OpenVino-Alert-Manager

1. For sending simulated events to the Alert Manager, open a browser and paste the following url:

http://localhost:5000/piq/?param=[Message to put in the QUEUE]

Also, you can send the event message through console terminal as follows:

culr http://localhost:5000/piq/?param=MessageToPutInTheQUEUE

2. For verifying all sent messages check the log file inside Container (Only Linux System) by executing the following command:

docker exec -it docker-cloud-connector cat /app/logs/subscriber.log
  • Stop the docker container

make docker-stop
  • Remove the docker container

make docker-remove