Payment BB emulator (G2P part)
This page describes the current implementation of Payment Building block emulator and how the different components can be accessed, reviewed and upgraded.
If clean version of the state of the Emulator is needed (eg. Demo or else), please navigate to the h2 console of the emulator (Description in point 1) and delete all of the records in both tables. Note that if you delete just the pod the state of the Database is preserved in Persistent volume!
Access the current running version of the Payment BB emulator in kubernetes cluster:
Via browser
// Port forward to the service of the emulator kubectl -n payment-bb-emulator port-forward service/payment-bb-emulator-service 15000:8080 // *Note: start detached with & or you should leave the terminal open
URL | Description |
---|---|
Open API Swagger visualisation | |
health api (From actuator) - they are used in helm chart to validate that the instacne is started correctly | |
Access to the database
|
Additional information is present in the repository of the emulator: Documentation
Emulator repository
CirceCi implementation for emulator
Configuration in X-Road (IM BB) of Payment BB Emulator
Port forward to the service of the X-ROAD
kubectl -n sandbox-im port-forward service/sandbox-xroad-ss3 14003:4000
Access it in browser:
username: xrd
password: secret
View of the endpoints registered in X-ROAD
Navigate to "Payment" SUBSYSTE -> Services -> OPENAPI3 (http://payment-bb-emulator-service.payment-bb-emulator.svc.cluster.local:8080/v3/api-docs) -> api -> endpoints * This view shows the registered services
View of the access rights in X-ROAD