An open API service indexing awesome lists of open source software.

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.

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)