# 1.0.2

### Release version: 1.0.2

### Release date: 6th December 2024

## Summary

openg2p-g2p-bridge Release 1.0.2 represents a fully functional digital cash disbursement hub. This subsystem accepts disbursement payloads from upstream the PBMS (aka Program MIS) systems. It then interfaces with the downstream Sponsor Bank to initiate the corresponding payment requests. It also accepts account statement from the Sponsor Bank (account statement for the program funding account) and reconciles the payments and failures if any with the original disbursement requests.

To demonstrate the end to end lifecycle of disbursments, this release also ships a Sponsor Bank simulator - called openg2p-g2p-bridge-example-bank. This simulator implements all the APIs expected from a Sponsor Bank. It also generates Account Statement in MT940 format.

## Features of this release

The g2p-bridge subsystem has the following microservices and libraries

### openg2p-g2p-bridge

#### openg2p-g2p-bridge-api

Microservice - that implements all the APIs (incoming APIs from upstream PBMS/MIS systems, outgoing APIs into Sponsor Bank and incoming APIs from Sponsor Bank)

#### openg2p-g2p-bridge-celery-beat-producers

Microservice - All processing in g2p-bridge is handled asynchronously. This asynchronous processing is orchestrated using Celery Beat producers.

#### openg2p-g2p-bridge-celery-workers

Microservice - The beats produced by the aforementioned beat producers are processed by celery workers. This module implements the necessary workers.

#### openg2p-g2p-bridge-models

Library - This is a library that contains the pydantic schemas and sqlalchemy models for the g2p-bridge subsystem

#### openg2p-g2p-bridge-bank-connectors

Library - This library contains the interface definitions for connecting with the sponsor bank. It also contains an implementation of this interface, to connect with Example Bank. Connecting with different sponsor banks during implementations will require custom connectors to be written - on the lines of Example Bank Connector.

### openg2p-g2p-bridge-example-bank

#### openg2p-g2p-bridge-example-bank-api

Microservice - This microservice implements the APIs expected from any Sponsor Bank. This is a Bank Simulator to facilitate end-to-end feature demonstrations of G2P Bridge. This microservice is not expected to be deployed in any Production environment.

#### openg2p-g2p-bridge-example-bank-celery

Microservice - Handles all asynchrononous processing in the Bank Simulator. It has both the components, viz the beat producers and the workers.

#### openg2p-g2p-bridge-example-bank-models

Library - Contains the Pydantic schemas and Sqlalchemy models for Example Bank.

## Release contents

<table><thead><tr><th width="269">Release item</th><th>Links</th></tr></thead><tbody><tr><td>G2P Bridge Source Code<br>&#x26; Example Bank Source Code</td><td><ul><li><a href="https://github.com/OpenG2P/openg2p-g2p-bridge/releases/tag/v1.0.2">openg2p-g2p-bridge:v1.0.2</a></li><li><a href="https://github.com/OpenG2P/openg2p-g2p-bridge-example-bank/releases/tag/v1.0.2">openg2p-g2p-bridge-example-bank:v1.0.2</a></li></ul></td></tr><tr><td><strong>Packaged dockers</strong></td><td><ul><li><a href="https://hub.docker.com/r/openg2p/openg2p-g2p-bridge-api/tags">openg2p-g2p-bridge-api:1.0.2</a></li><li><a href="https://hub.docker.com/r/openg2p/openg2p-g2p-bridge-celery-beat-producers/tags">openg2p-g2p-bridge-celery-beat-producers:1.0.2</a></li><li><a href="https://hub.docker.com/r/openg2p/openg2p-g2p-bridge-celery-workers/tags">openg2p-g2p-bridge-celery-workers:1.0.2</a></li><li><a href="https://hub.docker.com/r/openg2p/openg2p-g2p-bridge-example-bank-api/tags">openg2p-g2p-bridge-example-bank-api:1.0.2</a></li><li>o<a href="https://hub.docker.com/r/openg2p/openg2p-g2p-bridge-example-bank-celery/tags">peng2p-g2p-bridge-example-bank-celery:1.0.2</a></li></ul></td></tr><tr><td><strong>Deployment</strong></td><td><ul><li><a href="https://github.com/OpenG2P/openg2p-g2p-bridge-deployment/releases/tag/v1.0.2">openg2p-g2p-bridge-deployment:v1.0.2</a></li><li><a href="https://github.com/OpenG2P/openg2p-g2p-bridge-example-bank-deployment/releases/tag/v1.0.2">openg2p-g2p-bridge-example-bank-deployment:v1.0.2</a></li></ul></td></tr><tr><td><strong>Testing</strong></td><td><ul><li><p>Functional Testing</p><ul><li><a href="https://docs.openg2p.org/g2p-bridge/development/testing/functional-testing">Test scenarios</a></li><li><a href="https://github.com/OpenG2P/openg2p-g2p-bridge-test/releases/tag/v1.0.2">openg2p-g2p-bridge-test:v1.0.2</a> - Test Scripts</li></ul></li></ul></td></tr><tr><td><strong>Documentation</strong></td><td><ul><li><a href="https://docs.openg2p.org/g2p-bridge">G2P Bridge Documentation</a></li><li><p>API reference</p><ul><li><a href="https://openg2p.stoplight.io/docs/openg2p-g2p-bridge-api/b0fb6beb9cd7e-open-g2-p-g2-p-bridge-api">openg2p-g2p-bridge-api</a></li><li><a href="https://openg2p.stoplight.io/docs/g2p-bridge-example-bank-api/b0fb6beb9cd7e-example-bank-ap-is-for-cash-transfer">openg2p-g2p-bridge-example-bank-api</a></li></ul></li></ul></td></tr></tbody></table>

## Deploy

To deploy this release on Kubernetes refer to the [deployment guide](https://docs.openg2p.org/products/spar/deployment)[.](https://docs.openg2p.org/g2p-bridge/deployment)

## Compatibility with PBMS

This 1.0.2 release has been tested with [openg2p-program:v1.2.1](https://github.com/OpenG2P/openg2p-program/releases/tag/v1.2.1)

## Limitations and known issues

1. Release 1.0.2 has been tested with limited scale. Load testing and performance benchmarks are planned for Release 1.1.0.
2. REST API security for Incoming APIs into openg2p-g2p-bridge-api needs JWT implementation as described [here](https://docs.openg2p.org/g2p-bridge/features/privacy-and-security). This is planned for Release 1.1.0.
3. REST API security for outgoing APIs in openg2p-g2p-bridge-celery-workers needs JWT implementation as described [here](https://docs.openg2p.org/g2p-bridge/features/privacy-and-security). This is planned for Release 1.1.0.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.openg2p.org/products/g2p-bridge/releases/1.0.2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
