Skip to content

maestro-server/data-app

Repository files navigation

Codacy Badge Build Status Maintainability Test Coverage Coverage Status

Maestro Server

Maestro Server is an open source software platform for management and discovery servers, apps and system for Hybrid IT. Can manage small and large environments, be able to visualize the latest multi-cloud environment state.

Demo

To test out the demo, Demo Online

Documentation

Maestro Server - Data Layer API

Data app is a gateway connection to the mongodb.

  • CRUD database operations

Data app use Flask <http://flask.pocoo.org>_, on python >3.5.

TechStack

  • Python <3.4
  • Flask

Connect to:

None

Setup

Installation by docker

version: '2'

services:
    data:
        image: maestroserver/data-maestro
        environment:
            - "MAESTRO_MONGO_URI=mongodb"
            - "MAESTRO_MONGO_DATABASE=maestro-client"

Dev Env

Install pip dependences

pip install -r requeriments.txt

Run server

python -m flask run.py

or

FLASK_APP=run.py FLASK_DEBUG=1 flask run

or 

npm run server

Run all tests

python -m unittest discover

Create doc

npm install
apidoc -i app/controller/ -o docs/

Env variables

Env Variables Example Description
MAESTRO_PORT 5010 port used
MAESTRO_GWORKERS 2 DB string connection
MAESTRO_MONGO_URI mongodb://localhost MongoDB URL
MAESTRO_MONGO_DATABASE maestro-client Database name
MAESTRO_SCAN_QTD 200 Prefetch limit
MAESTRO_SECRETJWT_PRIVATE XXX Secret Key - JWT private connections
MAESTRO_NOAUTH XXX Secret Pass to validate private connections

Contribute

Are you interested in developing Maestro Server, creating new features or extending them?

We created a set of documentation, explaining how to set up your development environment, coding styles, standards, learn about the architecture and more. Welcome to the team and contribute with us.

See our developer guide

Contact

We may be able to resolve support queries via email. Please send me a message here

Donate

I have made Maestro Server with my heart, think to solve a real operation IT problem. Its not easy, take time and resources.

The donation will be user to:

  • Create new features, implement new providers.
  • Maintenance libs, securities flaws, and technical points.

Buy Me A Coffee

Sponsor