https://github.com/backbase/positive-pay-extension
This example shows how to extend Positive Pay service.
https://github.com/backbase/positive-pay-extension
Last synced: 12 months ago
JSON representation
This example shows how to extend Positive Pay service.
- Host: GitHub
- URL: https://github.com/backbase/positive-pay-extension
- Owner: Backbase
- Created: 2021-07-06T11:20:45.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-12T13:43:43.000Z (almost 5 years ago)
- Last Synced: 2025-06-22T14:57:55.659Z (12 months ago)
- Language: Java
- Size: 5.86 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# positive-pay-extension
This project is an example on how to create a behaviour extension for Positive Pay.
This example involves custom subscription configuration and validator for checks on submit operation.
**Make sure you create all the extended classes under com.backbase.dbs.positivepay package** as this is the package
that Spring will scan to create the beans.
## How to use
To use your service extension, you include the JAR build from this artifact to the CLASSPATH used when the service is
started.
When you run a service as an [executable JAR](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#executable-jar-property-launcher-features),
use the `loader.path` command line argument to add JARs or directories of JARs to the classpath. For example:
```
./positive-pay-extension.jar -Dloader.path=/path/to/my.jar,/path/to/my/other.jar,/path/to/lib-dir
```
If you are not running the Service as a bootable jar, use the mechanism available in your application server.
### Docker
There is an example [Dockerfile](Dockerfile) demonstrating how to extend the Backbase Docker images
with the Behaviour Extension jar built from this project. **Make sure the base image has the tag you need**.
mvn package -Pdocker-image
The build creates a Docker image with the extension added and ready to use.
## Community Documentation
* [Extend the behavior of a service](https://community.backbase.com/documentation/ServiceSDK/latest/extend_service_behavior)
* [Extend and build Positive Pay](https://community.backbase.com/documentation/DBS/latest/positive_pay_eb)