Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This page describes the current implementation of Payment Building block emulator and how the different components can be accessed, reviewed and upgraded.

Note

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:

...

  1. Emulator repository

    1. Repository

    2. Helm Chart for deployment

    3. Documentation

  2. CirceCi implementation for emulator

    1. Image Creation Job

    2. Deployment Job

    3. Workflow (Build, Upload Image, Deploy in Kubernetes)

    4. CircleCi UI for the emulator & Trigger Pipeline Documentation

Configuration in X-Road (IM BB) of Payment BB Emulator

  1. Port forward to the service of the X-ROAD

    Code Block
    kubectl -n sandbox-im port-forward service/sandbox-xroad-ss3 14003:4000
  1. Access it in browser:

  1. View of the endpoints registered in X-ROAD

    Code Block
    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
  1. View of the access rights in X-ROAD

    Code Block
    Navigate to "Payment" SUBSYSTEM
    -> Services 
    -> OPENAPI3 (http://payment-bb-emulator-service.payment-bb-emulator.svc.cluster.local:8080/v3/api-docs)
    -> api 
    -> Service Paramethers
    -> Section Access Rights
    * This view shows the access rights to this Service (One of the access rights is for Other security server SYBSYSTEM)
    * Trought SS2 we are accessing the api registered in SS3