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.
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,
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.
There is an example 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.