https://github.com/openmf/ph-ee-connector-common
Shared artifacts/ common code between Java-based connectors.
https://github.com/openmf/ph-ee-connector-common
Last synced: about 1 year ago
JSON representation
Shared artifacts/ common code between Java-based connectors.
- Host: GitHub
- URL: https://github.com/openmf/ph-ee-connector-common
- Owner: openMF
- License: mpl-2.0
- Created: 2020-02-28T21:48:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-04T06:10:19.000Z (over 1 year ago)
- Last Synced: 2025-03-30T09:04:56.597Z (about 1 year ago)
- Language: Java
- Size: 324 KB
- Stars: 5
- Watchers: 7
- Forks: 24
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# payment-hub-ee
Payment Hub Enterprise Edition middleware for integration to real-time payment systems.
# How to enable JWSWebInterceptor
Step1: Add `@EnableJsonWebSignature` annotation to the main application class of your microservice.
Step2: Use below mention configuration in application.yaml to disable or enable the JsonWebSignatureInterceptor.
```yaml
security:
jws:
enable: true
response:
enable: true
```
# How to generate signature
```java
JsonWebSignature jwsSignature = new JsonWebSignature.JsonWebSignatureBuilder()
.setClientCorrelationId(UUID.randomUUID().toString())
.setTenantId("rhino").setData("/src/main/resources/demo.csv").build();
String signature = jwsSignature.getSignature("");
```
# Checkstyle
Use below command to execute the checkstyle test.
```shell
./gradlew checkstyleMain
```
## Spotless
Use below command to execute the spotless apply.
```shell
./gradlew spotlessApply
```