GithubHelp home page GithubHelp logo

globocom / globomap-loader Goto Github PK

View Code? Open in Web Editor NEW
0.0 13.0 0.0 196 KB

GloboMap Loader

License: Apache License 2.0

Makefile 2.74% Python 96.09% Dockerfile 1.02% Shell 0.15%
python3 globomap globocom globo

globomap-loader's Introduction

GloboMap Core Loader

Application responsible for reading connected applications events and apply them to the Globo Map API. This application makes use of decoupled drivers for reading and transforming sources' information and make them available for updating the Globo Map API.

Starting Project:

make dynamic_ports
make containers_build (Build images.)
make containers_start (Up containers)

Running local with docker:

make dynamic_ports
make containers_build (When project not started yet.)
make containers_start (When project not started yet.)

Running Tests:

make containers_build (When project not started yet.)
make containers_start (When project not started yet.)
make tests

Deploy in Tsuru:

Loader

make deploy_loader project=<name of project>

Environment variables configuration

All of the environment variables below must be set for the application to work properly.

Loader

Variable Description Example
DRIVER_FETCH_INTERVAL Interval in seconds on which the updates are fetched from a driver 60 (default)
GLOBOMAP_API_URL GloboMap API address http://globomap.domain.com
GLOBOMAP_API_USERNAME GloboMap API username username
GLOBOMAP_API_PASSWORD GloboMap API password xyz
GLOBOMAP_RMQ_HOST RabbitMQ host rabbitmq.yourdomain.com
GLOBOMAP_RMQ_PORT RabbitMQ port 5672 (default)
GLOBOMAP_RMQ_USER RabbitMQ user user-name
GLOBOMAP_RMQ_PASSWORD RabbitMQ password password
GLOBOMAP_RMQ_VIRTUAL_HOST RabbitMQ virtual host /globomap
GLOBOMAP_RMQ_QUEUE_NAME RabbitMQ queue name globomap-updates
GLOBOMAP_RMQ_EXCHANGE RabbitMQ updates exchange name globomap-updates-exchange
GLOBOMAP_RMQ_ERROR_EXCHANGE RabbitMQ error exchange name globomap-errors-exchange
GLOBOMAP_RMQ_BINDING_KEY RabbitMQ generic driver API binding key globomap.updates (default)
RETRIES Number of retries. 3
FACTOR Number of threads. 1
QUERIES Queries query_name_test
ZBX_PASSIVE_MONITOR_LOADER Zabbix monitor passive_abc_monitor_loader
ZBX_PASSIVE_MONITOR_SCHED_QUERIES Zabbix monitor passive_abc_monitor_sched_queries
SENTRY_DSN Destination Sentry server. https://user:[email protected]/test

Environment variables configuration from external libs

All of the environment variables below must be set for the application to work properly.

globomap-auth-manager

Licensing

GloboMap Core Loader is under Apache 2 License

globomap-loader's People

Contributors

edersonbrilhante avatar eusouovh avatar sergios avatar victor-mendes-eduardo avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.