Giter VIP home page Giter VIP logo

scheduler's Introduction

Bootstrap scheduler

Scheduler that when triggered runs a project until it stabilizes, then stops. The service runs on port 5000.

Build Status

API

GET / returns scheduler state (se example-state.json)

{
  "state" : "init|running|stopped|failed|success"
}

POST /start starts the scheduler when not in state running.

The /start endpoint takes three request parameters:

  • reset_pipes=true - will reset all pipes before starting
  • delete_datasets=true - will delete all internal datasets associated with the pipes before running (only if reset_pipes is set
  • skip_input_sources=true - will skip all input sources when running the first pass
  • reload_and_wipe_microservices=true - will attempt to reload and wipe the data for all running microservices (except ourselves)
  • compact_execution_datasets=true - will schedule compaction jobs for the pipe execution datasets to keep them from growing too large

All of these are off by default. Note that this means that the mere inclusion of a parameter means that the corresponding flag is "on", the actual value of the parameter is ignored.

In addition you can change the amount of logging using:

  • log_level=INFO - sets the log level when running

Microservice configuration

    {
        "_id": "bootstrap-scheduler-microservice",
        "name": "Name of microservice",
        "type": "system:microservice",
        "docker": {
            "image": "sesamcommunity/scheduler:latest",
            "port": 5000,
            "memory": 128,
            "environment": {
                "MASTER_NODE": "https://m1.sesam.cloud",
                "JWT_TOKEN" : "fklrl464nimsnfskfklrl464nimskfklrl464nimsnfskfkfklrl464nimsnfskf4nimsnfskfklrl464n",
                "LOGLEVEL": "INFO"
            }
        }
    }

You can reach the running microservice API using the built-in proxy function. See details here: https://docs.sesam.io/api.html#get--systems-system_id-proxy--path-relative_path-

scheduler's People

Contributors

baardbouvet avatar tombech avatar

Watchers

 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.