Repositories
Last updated
Last updated
Copyright © 2024 OpenG2P. This work is licensed under Creative Commons Attribution International LicenseCC-BY-4.0 unless otherwise noted.
Repository | Contents |
---|---|
This repository has 5 python modules openg2p-g2p-bridge-api This is fastapi based module - that provides all REST APIs for the g2p-bridge subsystem. This module should be deployed as a k8s pod and should be scaled suitably to handle required volumes. openg2p-g2p-bridge-celery-beat-producers This uses Celery and produces periodic Celery beats. This module should be deployed as a k8s pod - but should be restricted to only a single pod. The volumes should be handled by scaling the next pod - openg2p-g2p-bridge-celery-workers openg2p-g2p-bridge-celery-workers This uses Celery and spawns workers that listen to the beats produced by the celery beat producer. The following workers exist 1. check available balance with sponsor bank 2. block funds with sponsor bank 3. initiate payments with sponsor bank 4. reconcile disbursements with mt940 This module is a service and should be deployed as a k8s pod and should be scaled suitably to handle the required volumes. openg2p-g2p-bridge-bank-connectors This module is a library (not a service/pod). This library contains the interface definition to connect to a sponsor bank & the sponsor bank specific implementations of the interface. openg2p-g2p-bridge-models This module is a library (not a service/pod). This library contains the sqlalchemy (persistence) models and pydantic schemas that are shared by the api, the celery beat producer and the celery worker modules.
Helm charts and deployment scripts for the g2p-bridge subsystem. This repository contains the Helm charts for the 3 services, viz. g2p-bridge-api, g2p-bridge-celery-beat-producers and g2p-bridge-celery-workers. Apart from the individual helm charts, there is also a single helm chart - openg2p-g2p-bridge - that installs all the 3 services.
This repository provides an implementation of a Sponsor Bank. This repository will not be used in a Production Deployment. This only simulates a Sponsor Bank so that we can demonstrate end to end working of the g2p-bridge subsystem. This repository has 3 python modules openg2p-g2p-bridge-example-bank-api This is python module built using fastapi. It provides REST APIs of a fictitous bank - called - "Example Bank". It provides REST APIs for checking available balance, blocking funds and initiating payments. openg2p-g2p-bridge-example-bank-celery This is a python module that uses Celery to perform all the asynchronous processing - viz. processing payments and producing MT940 statements based on statement requests. openg2p-g2p-bridge-example-bank-models This module is a library (not a service/pod). This library contains the sqlalchemy (persistence) models and pydantic schemas that are shared by the api and the celery modules.
Helm charts and deployment scripts for the example bank subsystem. This repository contains the Helm charts for the 2 services, viz. example-bank-api & example-bank-celery. Apart from the individual helm charts, there is also a single helm chart - openg2p-g2p-bridge-example-bank - that installs the 2 services.