Giter Club home page Giter Club logo

killbill-kpm-plugin's Introduction

killbill-kpm-plugin

Plugin to enable plugin management at runtime.

Release builds are available on Maven Central with coordinates org.kill-bill.billing.plugin.ruby:kpm-plugin.

Kill Bill compatibility

KPM plugin version Kill Bill version
0.0.y 0.16.z
1.x.y 0.18.z
1.2.y 0.19.z
1.3.y 0.20.z

Usage

The plugin also offers private APIs:

Lookup plugins

All plugins:

curl -v \
     -u admin:password \
     http://127.0.0.1:8080/plugins/killbill-kpm/plugins

Specific plugin:

curl -v \
     -u admin:password \
     http://127.0.0.1:8080/plugins/killbill-kpm/plugins?name=stripe

Plugin Management

Note that in a multi-nodes deployment, these commands would have to be run on each node. We also provide Kill Bill apis to manage plugins that work across multi-nodes installation, but they do not allow uploading a plugin binary (e.g: jarfile), so those commands are still very useful in the context of doing plugin development.

Upload a plugin:

curl -v \
     -X POST \
     -u admin:password \
     -H 'Content-Type: application/json' \
     -d @/path/to/myplugin.jar \
     'http://127.0.0.1:8080/plugins/killbill-kpm/plugins?filename=myplugin.jar&key=myplugin&version=0.2.5'

Uninstall a plugin

curl -v \
     -X DELETE \
     -u admin:password \
     'http://127.0.0.1:8080/plugins/killbill-kpm/plugins?key=myplugin&version=0.2.5'

Restart a plugin

curl -v \
     -X PUT \
     -u admin:password \
     'http://127.0.0.1:8080/plugins/killbill-kpm/plugins?key=myplugin&version=0.2.5'

killbill-kpm-plugin's People

Contributors

killbillio avatar pierre avatar sbrossie avatar wwjbatista avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

killbill-kpm-plugin's Issues

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.