Simple test application for the DigitalOcean API library
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
res
src/digitalriver
.gitignore
.project
.pydevproject
.travis.yml
README.md
requirements.txt
setup.cfg
setup.py

README.md

DigitalRiver

Simple test application for the DigitalOcean API library.

Purpose

It's often difficult to be able to deploy constant infra-structure across a grid without maintaining state across the various nodes composing it. It should be possible to use an inexpensive infra-structure (like DigitalOcean or others) to be able to manage a grid infra-structure with minimal state in the nodes/machines.

Idea

The concept is to build simple JSON based files that define the way the feature is configured/build and/or destroyed. A simple bash script file should run the various steps to build the feature in the machine.

It should be possible to "recover" the state of the node from it's local information, avoiding the need for a constant centralized data source managed state.

The main engine is named Torus and is deployed as part of the base infra-structure required for the running of the provisioning tasks that deploye the features associated with the instance.

Example

{
    "build" : "build.sh",
    "destroy" : "destroy.sh",
    "start" : "docker start hello_service",
    "stop" : "docker stop hello_service",
    "depends" : [
        "https://server.com/docker/torus.json"
    ],
    "config" : [
        {
            "name" : "HOST",
            "default" : "127.0.0.1",
            "persist" : true
        }
    ]
}

License

DigitalRiver is currently licensed under the Apache License, Version 2.0.

Build Automation

Build Status Coverage Status PyPi Status License