Giter Site home page Giter Site logo

globocom / globomap-api Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 5.0 535 KB

API abstract used to mapping of infrastructure, services and processes of Globo.com

License: Apache License 2.0

Makefile 0.53% Python 96.92% Shell 2.22% Dockerfile 0.34%
globo globomap python36 flask api-restful

globomap-api's Introduction

Globo Map API

Application responsible for reading and writing in ARANGODB. This application has a RESTFul 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

Plugin environment variables configuration

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

Variable Description Example
ARANGO_DB Database name globomap
ARANGO_USERNAME Database user user
ARANGO_PASSWORD Database password password
ARANGO_PROTOCOL Database protocol https
ARANGO_PORT Database port 8529
ARANGO_HOST Database host arangodb.domain.com
VARIABLES of globomap-auth-manager globomap-auth-manager --

Environment variables needed for the Zabbix plugin to work properly

Variable Description Example
ZABBIX_API_URL Zabbix API endpoint https://ro.api.zabbix.com
ZABBIX_API_USER Zabbix username username
ZABBIX_API_PASSWORD Zabbix password xyz
ZABBIX_UI_URL Zabbix endpoint https://zabbix.com

Environment variables configuration from external libs

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

globomap-auth-manager

Requirements:

Collections in ArangoDB:

meta_collection
meta_graph
meta_query
internal_metadata

Roles in Keystone:

globomap_admin
globomap_read
globomap_write

Simple Example

Complete flow with python

Licensing

Globo Map API is under Apache 2 License

globomap-api's People

Contributors

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

Stargazers

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

Watchers

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

globomap-api's Issues

Copyright holder and license

Hi,
Could you please add LICENSE file and put the copyright holder and license inside each file? This way there is no chance of someone stumbling across a piece of code without being exposed to the license.

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.