Skip to content

globocom/globomap-loader-api

Repository files navigation

GloboMap Loader API

Application responsible for reading connected applications events and apply them to 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:

API

make deploy_api project=<name of project>

Environment variables configuration

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

API

Variable Description Example
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)
VARIABLES of globomap-auth-manager globomap-auth-manager --
GLOBOMAP_API_URL GloboMap API address http://globomap.domain.com
GLOBOMAP_API_USERNAME GloboMap API username username
GLOBOMAP_API_PASSWORD GloboMap API password xyz

Documentation

API

Licensing

GloboMap Core Loader is under Apache 2 License