kpm-plugin

Kill Bill KPM plugin

License

License

Categories

Categories

Ruby Languages
GroupId

GroupId

org.kill-bill.billing.plugin.ruby
ArtifactId

ArtifactId

kpm-plugin
Last Version

Last Version

1.3.0
Release Date

Release Date

Type

Type

pom
Description

Description

kpm-plugin
Kill Bill KPM plugin
Project URL

Project URL

http://github.com/killbill/killbill-kpm-plugin
Source Code Management

Source Code Management

https://github.com/killbill/killbill-kpm-plugin/

Download kpm-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/org.kill-bill.billing.plugin.ruby/kpm-plugin/ -->
<dependency>
    <groupId>org.kill-bill.billing.plugin.ruby</groupId>
    <artifactId>kpm-plugin</artifactId>
    <version>1.3.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.kill-bill.billing.plugin.ruby/kpm-plugin/
implementation 'org.kill-bill.billing.plugin.ruby:kpm-plugin:1.3.0'
// https://jarcasting.com/artifacts/org.kill-bill.billing.plugin.ruby/kpm-plugin/
implementation ("org.kill-bill.billing.plugin.ruby:kpm-plugin:1.3.0")
'org.kill-bill.billing.plugin.ruby:kpm-plugin:pom:1.3.0'
<dependency org="org.kill-bill.billing.plugin.ruby" name="kpm-plugin" rev="1.3.0">
  <artifact name="kpm-plugin" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.kill-bill.billing.plugin.ruby', module='kpm-plugin', version='1.3.0')
)
libraryDependencies += "org.kill-bill.billing.plugin.ruby" % "kpm-plugin" % "1.3.0"
[org.kill-bill.billing.plugin.ruby/kpm-plugin "1.3.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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'
org.kill-bill.billing.plugin.ruby

Kill Bill

Kill Bill has been the leading open-source platform for billing and payment since 2010.

Versions

Version
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1