Skip to content

Merge branch 'develop' into 1.1 - #15

Merged
shibu-narayanan merged 15 commits into
OpenG2P:1.1from
mkumar-02:1.1
Sep 3, 2026
Merged

shibu-narayanan merged 15 commits into
OpenG2P:1.1from
mkumar-02:1.1

Conversation

@mkumar-02

Copy link
Copy Markdown
Member

No description provided.

openg2pbot and others added 15 commits July 17, 2026 10:50
…s table. The API builds these tables with create_all, which never adds a column to an existing one, so the seed job adds the column itself before inserting rather than failing on an environment seeded before this field existed.
… in master-data-api, trailing whitespace in codelist SQL seeds, missing final newlines in UI files, README and .gitignore); formatting only, no functional change
Supersedes the 'moved to GitLab' note; the tree is GitLab's develop.
Restores the GitHub Actions caller and removes the GitLab pipeline. Images go back
to Docker Hub, where the previous versions already sit, and the chart values and
dependency repository pointed at GitLab and now point at Docker Hub and
openg2p-helm.
The dependency's repository moved to openg2p-helm but its version stayed at
0.0.0-develop.57, which only ever existed in the GitLab registry, so helm dep up
could not resolve it and the chart job failed. Now 0.0.0-develop.60, the version
keycloak-init published after its own move.
master-data-api crashed on boot with:

  File "iam_core/user_auth/app.py", line 8, in <module>
    from openg2p_fastapi_common.crypto import CryptoFactory
  ModuleNotFoundError: No module named 'openg2p_fastapi_common.crypto'

The image installs both libraries from git. IAM_SERVICE_REF was pinned to
1.4 on 21 Aug, and iam-core 1.4 imports openg2p_fastapi_common.crypto --
but FASTAPI_COMMON_REF was left at develop, which has no crypto module.
The crypto package (G2P-5581, centralised crypto/key management) lives on
the fastapi-common 1.2 line, so the two refs were a line apart.

Pin fastapi-common to 1.2, matching what partner-management already does.

Checked before switching:
  * master-data-api imports only app, context, controller, models, ping,
    schemas and service from openg2p_fastapi_common -- all present on 1.2
  * it uses none of the packages 1.2 removes (openg2p-fastapi-auth,
    -auth-models, -partner-auth)
  * all nine symbols iam-core 1.4 needs resolve on 1.2
  * the only commits develop has over 1.2 are README edits, so nothing is
    given up by moving off develop

Merging 1.2 into develop would be the wrong fix: 1.2 deletes those three
auth packages, and g2p-bridge, spar and pbms all install them from
develop, so their images would stop building.
…ckerfile

The previous commit changed the Dockerfile's ARG default to 1.2, but that
had no effect on the published image: the caller declares a 'pins' entry
for FASTAPI_COMMON_REF, which openg2p-packaging resolves to a SHA and
passes as a --build-arg, overriding the Dockerfile default. The pin still
said 'develop', so master-data-api 0.0.0-develop.67 was still built
against fastapi-common develop and kept crash-looping on

  ModuleNotFoundError: No module named 'openg2p_fastapi_common.crypto'

Point the pin at 1.2, matching iam-core 1.4 and the Dockerfile default.
The Dockerfile ARG stays at 1.2 so local builds match CI.
Bring latest develop changes into the 1.1 release line.
@shibu-narayanan
shibu-narayanan merged commit 05da2b4 into OpenG2P:1.1 Sep 3, 2026
3 checks passed
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.

4 participants