https://github.com/backbase/contact-manager-extension
This example shows you how to modify the default behavior of the Contacts presentation service.
https://github.com/backbase/contact-manager-extension
Last synced: 11 months ago
JSON representation
This example shows you how to modify the default behavior of the Contacts presentation service.
- Host: GitHub
- URL: https://github.com/backbase/contact-manager-extension
- Owner: Backbase
- Created: 2020-05-05T12:32:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-29T10:00:00.000Z (almost 2 years ago)
- Last Synced: 2025-02-25T22:47:22.551Z (11 months ago)
- Language: Java
- Size: 224 KB
- Stars: 1
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# contact-manager extension
[Example Contact Manager Behaviour extensions from Community](https://community.backbase.com/documentation/DBS/latest/contacts_extend_behavior)
Build with JDK 17.
## Description
This example shows you how to modify the default behavior of the Contacts presentation service.
This modification checks for specific country values and raises a flag if, for example, a country is on a blacklist.
## How to use
To use your service extension, you have to include the JAR build from this project to the CLASSPATH of the service.
[When you run a service as a bootable jar](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#executable-jar-property-launcher-features),
you can use the `loader.path` command line argument to add JARs to the CLASSPATH.
`loader.path` takes a comma-separated list of locations, which can reference JARs or
directories containing one or more JARs. For example:
java -Dloader.path=/lib,/path/to/my.jar -jar myservice-boot.jar
If you are not running the Service as a war, use the mechanism available in your application server.
### Docker
By adding the profile `docker-image` to the build command, the project builds and pushes a new docker image
that already contains the extension:
mvn clean build -Pdocker-image
To use the extension in other scenarios, please check the community documentation.