Skip to content

G2P-5803 Refactor registry adapters and build process for pbms-connectors - #1

Merged
venky-ganapathy-openG2P merged 6 commits into
OpenG2P:developfrom
tahzeer:G2P-5803-pbms-connector
Oct 30, 2026
Merged

venky-ganapathy-openG2P merged 6 commits into
OpenG2P:developfrom
tahzeer:G2P-5803-pbms-connector

Conversation

@tahzeer

@tahzeer tahzeer commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

BREAKING CHANGE: sql_query column is removed from eligibility,
entitlement and priority rule definitions (core models and odoo
module), along with the _build_sql_query pipeline and the agent's
query UI fields. Rules now carry pbms_domain only, which the
registry adapters evaluate.
Registry adapters and odoo registry/theme addons now live in
pbms-connectors, whose images extend these bases. Drop their COPY
and pip lines here and remove extensions from the lint matrix.

BREAKING CHANGE: docker builds no longer bake registry adapters;
deploy the pbms-connectors images/chart instead.
Workers and staff API no longer open sessions on the registry
database. The registry adapter interface (now in pbms-connectors)
owns that access and takes only the bg-task session. Eligibility,
disbursement and multiplier math use adapter iter_*/multiplier
helpers instead of rule SQL; query_helper is gone.

BREAKING CHANGE: registry-interface call signatures (search,
compute, entitlement) changed; adapters must ship the matching
version.
One openg2p-pbms-celery-base runs either app: run_celery.py picks
the app from CELERY_APP and the args from CELERY_OPTS, both set per
deployment by the chart. Env examples updated for the merged image
and the registry adapter keys.

BREAKING CHANGE: openg2p-pbms-bg-task-celery-workers and
openg2p-pbms-bg-task-celery-beat-producers images are replaced by
openg2p-pbms-celery-base + CELERY_APP.
The platform chart keeps the templates and points at the base
images; the user-facing openg2p-pbms chart (pbms-connectors)
depends on it and sets the connector images. Values gain the
registry connector/partner-API settings.

BREAKING CHANGE: install openg2p-pbms from pbms-connectors instead
of deploying this chart directly.
Retargets the build: odoo and staff api build as -base images,
bene api renames to openg2p-pbms-beneficiary-api, and the single
celery base replaces the separate beat and worker publishes. Chart
path moves to openg2p-pbms-platform. README reflects the layout.
@tahzeer tahzeer changed the title Refactor registry adapters and build process for pbms-connectors G2P-5803 Refactor registry adapters and build process for pbms-connectors Oct 29, 2026
@tahzeer
tahzeer marked this pull request as draft October 29, 2026 12:07
@tahzeer
tahzeer marked this pull request as ready for review October 30, 2026 10:20
@venky-ganapathy-openG2P
venky-ganapathy-openG2P merged commit 6e69621 into OpenG2P:develop Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants