Skip to content

Dr.Egeria Postgres element commands take a secrets store (ISSUE-160 follow-up) - #478

Merged
dwolfson merged 2 commits into
odpi:mainfrom
dwolfson:claude/elegant-chatterjee-d280de
Oct 22, 2026
Merged

dwolfson merged 2 commits into
odpi:mainfrom
dwolfson:claude/elegant-chatterjee-d280de

Conversation

@dwolfson

Copy link
Copy Markdown
Member

Summary

ISSUE-160 follow-up: pyegeria 6.2.8's Postgres template builders ignore db_user/db_pwd (Egeria's Postgres templates take credentials from a secrets store), but Dr.Egeria's Create Postgres Server Element / Create Postgres Database Element still asked for Database User Id / Database Password.

  • Asset Maker compact spec (via the Spec Editor API): removed Database User Id / Database Password (no other command used them); added Secrets Store Path Name, Secrets Collection Name and Version Identifier to both, and Resource Name (canonical definition) to the server.
  • AssetMakerProcessor passes secrets_store_path_name, secrets_collection_name, version (and resource_name for the server); no longer passes db_user/db_pwd.
  • Regenerated templates and report specs (refresh_specs --merge-reports). generated_format_sets.json also picks up the analytic_binders field added to ActionParameter since its last regeneration.
  • New test tests/micro-tests/test_postgres_element_secrets.py; ISSUE-160 entry in PYEGERIA_ISSUES.md updated.

Pairs with #477 for the next release (6.2.9).

Companion template PRs: egeria-workspaces and egeria-trellis feat/postgres-secrets-templates.

Test plan

  • Micro-tests in a clean python:3.13-slim container: 1,424 collected, 0 failed
  • Not exercised against a live Egeria server

🤖 Generated with Claude Code

dwolfson and others added 2 commits October 21, 2026 20:11
…ollow-up)

pyegeria 6.2.8's Postgres template builders ignore db_user/db_pwd (Egeria's
Postgres templates read credentials from a secrets store), but Dr.Egeria's
Create Postgres Server Element / Create Postgres Database Element still
asked for Database User Id / Database Password and passed them through.

- Asset Maker compact spec (edited through the Spec Editor API): delete
  Database User Id / Database Password (used by no other command); add
  Secrets Store Path Name and Secrets Collection Name; add Version
  Identifier to both commands and Resource Name (canonical Governance
  Officer definition) to the server.
- AssetMakerProcessor passes secrets_store_path_name,
  secrets_collection_name, version (and resource_name for the server), and
  no longer passes db_user/db_pwd.
- Regenerated templates and report specs (refresh_specs --merge-reports).
  generated_format_sets.json also picks up the analytic_binders field
  added to ActionParameter since it was last regenerated.
- tests/micro-tests/test_postgres_element_secrets.py.
- PYEGERIA_ISSUES.md: ISSUE-160's Dr.Egeria follow-up is done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
@dwolfson
dwolfson merged commit 817e7ef into odpi:main Oct 22, 2026
5 checks passed
dwolfson added a commit that referenced this pull request Oct 22, 2026
Ships #477 (ISSUE-161: Dr.Egeria entry points resolve the Egeria user
at run time with one precedence chain, via resolve_egeria_credentials)
and #478 (Dr.Egeria Postgres Server/Database Element commands take
secrets-store attributes; Database User Id / Database Password removed).

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
dwolfson added a commit that referenced this pull request Oct 28, 2026
* docs(issues): re-sort the issue trackers, open items first

PYEGERIA_ISSUES.md:
- Released fixes still marked "not yet released" now name the PR and
  release: ISSUE-111/113/129/134/136 (#446) and ISSUE-135 (#445) in
  6.2.2, ISSUE-153 (#460) 6.2.5, ISSUE-160 (#474/#475 6.2.8, #478 6.2.9),
  ISSUE-161 (#477) 6.2.9, ISSUE-162 (#482) and ISSUE-163/164 (#483)
  6.2.10. ISSUE-166 notes the pyegeria side (#498, 6.2.13).
- Moved the fixed entries (ISSUE-153, 160-166) from the open sections
  to the top of Fixed / Resolved.
- Awaiting re-test is now a real section after the open ones, holding
  ISSUE-125, 124, 117, 112, 90, 95 and 89. Its old header sat in the
  middle of the Fixed list, where everything under it except ISSUE-95
  and ISSUE-89 was already fixed.
- The At-a-glance counts and lists are rebuilt from the section
  contents (14 open pyegeria items, 7 awaiting re-test, 5 open Egeria
  Server issues), and the re-test section notes the quickstart now runs
  Egeria main abe31272.

EGERIA_OPEN_ISSUES.md: drop the fixed ISSUE-166 entry, and move
ISSUE-79 (Egeria needs information) and ISSUE-38 (pending oak2026
merge) out of Awaiting re-test, matching their 2026-10-18 status.

No entry text was removed: 166 entries before and after.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015pdMuTg6FmqPWeapeXM54g
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>

* docs(issues): ISSUE-165 released in 6.2.11

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015pdMuTg6FmqPWeapeXM54g
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>

---------

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@dwolfson
dwolfson deleted the claude/elegant-chatterjee-d280de branch October 30, 2026 16:35
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.

1 participant