Deployment Artefacts
This document provides an overview of all necessary artifacts to deploy the G2P Bridge application, stored in designated repositories to ensure controlled access and ease of deployment.
1. Helm Chart for G2P Bridge
Purpose: Deploys the complete G2P Bridge suite on Kubernetes, including the API, Celery Beat (for scheduled tasks), and Celery Workers (for background processing).
Repository: G2P Bridge Deployment on GitHub
Access and Installation:
Add the GitHub Helm chart repository and install the
openg2p-g2p-bridge
chart, which includes all G2P Bridge components:Environment Configuration: Ensure the required environment variables are configured before installation. Refer to G2P Bridge Developer section to know more about environment configuration.
2. Docker Images
Purpose: Provides containerized versions of each G2P Bridge component for consistent and repeatable deployments.
Repository: Docker Hub
Available Images:
Celery Workers: openg2p-g2p-bridge-celery-workers
Celery Beat Producers: openg2p-g2p-bridge-celery-beat-producers
Usage:
Each image can be pulled directly from Docker Hub:
Replace
<version>
with the specific tag orlatest
for the latest stable release.
2. Python Libraries
Purpose: Provides essential libraries and dependencies for G2P Bridge services. These are available on PyPI and should be installed where necessary.
Repository: PyPI (Python Package Index)
Available Libraries:
openg2p-fastapi-common
: Common FastAPI components.openg2p-fastapi-auth
: Authentication modules.openg2p-g2pconnect-common-lib
: Core library for G2P Connect.openg2p-g2p-bridge-models
: Database models.openg2p-g2p-bridge-api
: API components.openg2p-g2p-bridge-bank-connectors
: Bank connectors for financial integration.openg2p-g2p-bridge-celery-beat-producers
: Schedulers for Celery tasks.openg2p-g2p-bridge-celery-workers
: Workers for background processing.
Installation:
Install each required package using
pip
:
3. Post-Installation Configuration
After deploying the G2P Bridge, the following database table must be configured to enable the benefit program features:
Table:
benefit_program_configurations
Purpose: Stores configuration details for each benefit program, which are essential for the operation of the G2P Bridge.
Populate this table with required rows for each benefit program. Below is an example configuration (replace with your own details):
benefit_program_mnemonic | benefit_program_name | funding_org_code | funding_org_name | sponsor_bank_code | sponsor_bank_account_number | sponsor_bank_branch_code | sponsor_bank_account_currency | id_mapper_resolution_required | active |
---|---|---|---|---|---|---|---|---|---|
EXAMPLE_PROGRAM | Example Benefit Program | EXB | Example_Org | EXAMPLE | EXAMPLE_ACC_1 | EX001 | USD | true | true |
Populate this table with the relevant program information to enable program-specific configurations within the G2P Bridge.
Last updated