Giter Club home page Giter Club logo

marathon-example-plugins's Introduction

Example plugins for Marathon

Marathon Plugin Dependency

The Marathon plugin interface is needed to compile this package. It's specified like compileOnly "mesosphere.marathon:plugin-interface_2.11:1.5.1" for Gradle. But Mesosphere Maven repository may lack some Marathon versions. In this case you have to build Marathon plugin interface library by yourself:

  1. Go grab the Marathon sources.
  2. Switch to preferred tag/version (git checkout v1.5.1 for example).
  3. Build and publish to local Maven repo with sbt publishM2.

Package

To build the package run this command: ./gradlew clean build This will compile and package all plugins. The resulting jars with all dependencies are put into the plugin directories: build/libs. This directories can be used directly as plugin directory for Marathon.

Using a Plugin

  1. Run ./gradlew clean build in the repository's root directory.
  2. Locate the Plugin configuration file (look at the Plugin's README.md for a hint)).
  3. Start Marathon with the following flags: --plugin_dir <plugin_path>/build/libs --plugin_conf <path_to_the_plugin_config_file>.
  4. Or even better - you can use docker-compose file.

Plugins

javaauth

Example Authentication and Authorization Plugin (Java based). See README.md.

fileauth

Authentication and Authorization Plugin performed against htpasswd file. See README.md.

marathon-example-plugins's People

Contributors

aquamatthias avatar armandgrillet avatar dddpaul avatar gkleiman avatar janisz avatar kensipe avatar lkysow avatar zen-dog avatar

Stargazers

 avatar

Watchers

 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.