Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tawfik-s/killbill-plugin-notification-test
https://github.com/tawfik-s/killbill-plugin-notification-test
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/tawfik-s/killbill-plugin-notification-test
- Owner: tawfik-s
- License: apache-2.0
- Created: 2023-11-23T09:14:15.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-11-23T14:13:28.000Z (12 months ago)
- Last Synced: 2024-04-16T19:55:34.593Z (7 months ago)
- Language: Java
- Size: 11.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# killbill-hello-world-java-plugin
Hello World Kill Bill plugin in Java. It shows how to:
* Build an OSGI plugin using Maven
* Listen to Kill Bill events
* Call Kill Bill APIs from the plugin
* Register a custom HTTP servlet## Getting Started
To build, run `mvn clean install`. You can then install the plugin locally:
```
kpm install_java_plugin helloworld --from-source-file target/hello-world-plugin-*-SNAPSHOT.jar --destination /var/tmp/bundles
```You can also use it as a template for your own plugins:
```bash
curl https://codeload.github.com/killbill/killbill-hello-world-java-plugin/tar.gz/master | tar zxvf - --strip-components=1
rm -rf .circleci LICENSE .idea/copyrightPACKAGE=acme
PREFIX=Acmemv src/main/java/org/killbill/billing/plugin/helloworld src/main/java/org/killbill/billing/plugin/$PACKAGE
find . -name 'HelloWorld*.java' -exec bash -c 'mv $0 ${0/HelloWorld/'$PREFIX'}' {} \;find pom.xml src -type f -print0 | xargs -0 sed -i '' 's/org\.killbill\.billing\.plugin\.helloworld/org\.killbill\.billing\.plugin\.'$PACKAGE'/g'
find pom.xml src -type f -print0 | xargs -0 sed -i '' 's/HelloWorld/'$PREFIX'/g'
find pom.xml src -type f -print0 | xargs -0 sed -i '' 's/helloWorld/'$PACKAGE'/g'
find .idea pom.xml src -type f -print0 | xargs -0 sed -i '' 's/hello-world-/'$PACKAGE'-/g'
```Finally, modify the pom.xml with your own Git urls.
## About
Kill Bill is the leading Open-Source Subscription Billing & Payments Platform. For more information about the project, go to https://killbill.io/.