Skip to content

chore(release): bump version to 6.3.2 - #607

Merged
dwolfson merged 26 commits into
odpi:mainfrom
dwolfson:prep/6.3.2
Nov 22, 2026
Merged

dwolfson merged 26 commits into
odpi:mainfrom
dwolfson:prep/6.3.2

Conversation

@dwolfson

Copy link
Copy Markdown
Member

pyegeria 6.3.2

Bumps the version to 6.3.2 (pyproject.toml, uv.lock) and adds the 6.3.2 section to docs/release-notes/6.3.x-egeria-6.3.md.

This PR carries the 25 reviewed commits from the fork's release/next-6.4 (5bf2a53) plus the bump. What ships:

Tested: uv run -p 3.13 pytest tests/micro-tests/ gave 5009 passed, 5 skipped and 0 failed. The wheel was built and checked (my_egeria top-level, serve_my_profile entry point, the 6.4 modules present). The 6.4 write path passed a live create/update/delete acceptance run against an Egeria 6.4-SNAPSHOT platform.

Signed-off-by: Dan Wolfson dan.wolfson@pdr-associates.com

…mes in one place

Groundwork for the Egeria 6.4 additions (process variables and decisions).

- Regenerate pyegeria/view/egeria_relationship_fields.py (307 lists) and
  md_processing/md_processing_utils/properties_class_fields.py (691 classes)
  from odpi/egeria#9463 head 0dbf468774c7f3dc102dd677b720b670ed6a8e09
  (merged as 90232870b2, same tree). Both headers name that sha.
- #9463 adds 14 root-element lists and 11 Properties classes.
- Drift also picked up (Egeria main changes before #9463, base 7d0db89538):
  relationship lists asOfDataField, basisDataField, derivedFromReportType,
  providesAsOfTimeForMeasurements, providesBasisForMeasurements,
  reportTypeInstances, usedInReports, usesResultsSets added, and
  equivalentSchemaAttribute/equivalentSchemaType renamed to the plural
  (nothing in this repo reads the old names). No Properties-class drift.
- scripts/gen_egeria_relationship_fields.py gains --ref, reading the two Java
  files with git show so the Egeria checkout is never modified (the
  properties generator already worked this way).
- tests/fixtures/egeria-6.4/: the five .http collections at the PR head and
  a SOURCE file naming it.
- pyegeria/core/egeria_6_4_names.py: 11 type names, 14 lists with their
  relationship types, 11 Properties classes with the spec's keys, 31 URL
  paths. Names may change in review, so they live only here.
- tests/micro-tests/test_egeria_6_4_names.py (30 tests): the lists and
  classes are in the generated tables, the names and the .http paths agree
  both ways, and the fixtures and both tables name the same sha.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
….4 A5)

Egeria reads Properties beans with ignoreUnknown=true, so a body whose
properties.class doesn't read a key we send drops it silently (TR-89 lost
libraryType under SoftwareCapabilityProperties). This adds
scripts/audit_properties_class_bodies.py, an AST scan of the bodies our
code builds that reports UNREAD_KEYS, PARENT_CLASS and NO_CLASS, counts
pass-throughs and table-filtering helpers, and lists what it can't
classify instead of guessing.

Keys read = PROPERTIES_CLASS_FIELDS plus, when an Egeria clone is present,
the public setters in the class chain at the table's source sha (git
cat-file, read-only); that also exposes table gaps in
gen_properties_class_fields (package-private fields, superclasses outside
properties/).

The report for egeria-python, egeria-workspaces and trellis is in
docs/audits/properties-class-audit-2026-11-21.md. No fixes here: each
finding is its own item.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…A0 tables)

Read-back conditions for A5: re-run the audit against Egeria 90232870b2
(#9463 merged) using A0's regenerated tables (claude/e64-a0-generated-tables
83e4fb2, generated from 0dbf468774, the same tree), and record the
unclassified count per run.

- audit_properties_class_bodies.py: --table PATH audits against another
  generated properties_class_fields.py (with a test).
- The report has been updated in place. A new Runs table gives the Egeria
  ref, tables ref, findings and unclassified counts per run. Run 2's
  findings match run 1 row for row (19/11/1, unclassified 127), and A0's
  table still has the F15 gaps. The largest unclassified bucket (57: 52
  unresolvable built classes, plus 5 set_element_prop_body slots) is
  named as the inter-procedural follow-up.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
The 12 Governance Officer requests odpi/egeria#9463 adds for Egeria 6.4, each
an _async_x plus sync wrapper, with every path from egeria_6_4_names:
- decisions: create, create_from_template, update, delete, get_by_name,
  get_by_guid (retrieve), find (by-search-string);
- link_decision_outcome / detach_decision_outcome (uni-link, returns nothing);
- link_assessment returns the Assessment RELATIONSHIP GUID (or
  NO_GUID_RETURNED), the License/Certification multi-link shape;
  update_assessment and detach_assessment take that GUID.

Attach and detach with no body send no body. Updates without a body are
refused locally with words; mergeUpdate passes through. A properties object
naming the wrong class (or none) is refused before sending, naming the class
the request expects. Every docstring says the call needs Egeria 6.4.

Tests: tests/micro-tests/test_egeria_6_4_governance_officer.py, 50 tests,
run failing first (49 failed, 1 passed). Each request's body is the .http
sample sent whole and unchanged, plus only the listed defaults the shared
request models always add (makeAnchor, templateSubstitute, allowRetrieve,
relationshipsPageSize, forLineage, forDuplicateProcessing).

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Adds the seven Egeria 6.4 data-value lifecycle requests (odpi/egeria#9463)
to pyegeria/omvs/data_engineer.py, each as _async_x plus a sync wrapper:
create, create-from-template, update, delete, get-by-name, get-by-GUID
and find. Paths come from pyegeria.core.egeria_6_4_names.

- Write requests send the caller's body as given: a dict is validated
  against its request-body model and sent unchanged; a model is sent as
  its JSON dump. A body copied from the .http samples reaches Egeria as is.
- properties.class must be DataValueProperties or
  LiteralDataValueProperties; anything else is refused locally, naming
  both expected classes. dataValueList and dataValueMap round-trip.
- create, create-from-template and update with no body are refused
  locally; mergeUpdate passes through.
- Reads use the shared helpers and annotate **kwargs with the matching
  filters TypedDict (ListFilters / GetFilters / SearchFilters).
- Every docstring says the call needs Egeria 6.4.
- The five existing tabular-data-set defs are unchanged.

Tests: tests/micro-tests/test_e64_data_engineer_data_values.py, 37 tests,
no Egeria, run failing first (37 failed, then 37 passed). Full micro-test
suite on Python 3.13: 4651 passed, 5 skipped, 0 failed; parent A0
83e4fb2 (git archive): 4614 passed, 5 skipped, 0 failed.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…Pipeline client (Branch)

Wraps 6 of the 31 Egeria 6.4 requests (odpi/egeria#9463, merged as 90232870b2):
- ProjectManager.setup_project_target / clear_project_target
  (project-manager/projects/{p}/project-targets/{t}/attach|detach);
- SchemaMaker.link_supported_variable_type / detach_supported_variable_type
  (schema-maker/elements/{e}/supported-variable-types/{schemaType}/attach|detach);
- new pyegeria/omvs/devops_pipeline.py, DevopsPipeline.set_element_as_branch
  (NewClassificationRequestBody, BranchProperties) and clear_element_as_branch
  (branch/remove, MetadataSourceRequestBody).

Every path comes from pyegeria.core.egeria_6_4_names (A0). A shared local check,
_checked_6_4_body, sends the caller's body as given (so it equals the .http
sample), sends no body when none is given, and refuses before Egeria a wrong
request-body class, a wrong or missing properties class (the TR-89 parent-class
case), and keys the class does not read per PROPERTIES_CLASS_FIELDS (so
BranchProperties label/description are refused). The ServerClient helpers could
not be used as they are: with no body they send a default body, they do not
refuse a wrong properties class, and they add model defaults.

DevopsPipeline is registered in pyegeria/__init__.py, pyegeria/omvs/__init__.py,
egeria_client.py and egeria_tech_client.py (subclient "devops_pipeline").

Tests: tests/micro-tests/test_egeria_6_4_a3_project_schema_devops.py, 47 tests,
failing first (46 failed, 1 passed). Micro-tests on Python 3.13: 4662 passed,
5 skipped, 0 failed (A0 tip: 4614 passed, 5 skipped); +47 new, +1 from
test_no_password_opt_out covering the new client.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Adds the three Egeria 6.4 data-value link pairs (odpi/egeria#9463) to
pyegeria/omvs/data_engineer.py, each as _async_x plus a sync wrapper:
link/detach_data_value_source, link/detach_processing_variable and
link/detach_embedded_data_value. Paths come from egeria_6_4_names.

- Attach and detach with no body send no body.
- A body is sent as given. When it has properties, properties.class must
  be the relationship's own class (DataValueSourceProperties,
  ProcessingVariableProperties, EmbeddedDataValueProperties); anything
  else is refused locally, naming the expected class.
- position (ProcessingVariable, EmbeddedDataValue) must be an int; 0 means
  unset and is passed through unchanged. A str, float or bool is refused
  locally.
- link_* returns the relationship GUID, or NO_GUID_RETURNED.
- Every docstring says the call needs Egeria 6.4.

Tests: tests/micro-tests/test_e64_data_engineer_data_value_links.py, 47
tests, no Egeria, run failing first (47 failed, then 47 passed). Full
micro-test suite on Python 3.13: 4698 passed, 5 skipped, 0 failed; parent
A2a b3982dd: 4651 passed, 5 skipped, 0 failed.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…ough the full superclass chain

scripts/gen_properties_class_fields.py read private/protected fields of
*Properties.java and properties/ files only, so it missed package-private
fields (ResourceListProperties' resourceUse/label/description/
additionalProperties) and superclasses outside properties/ (the
GetOptions -> QueryOptions -> SearchOptions chain under
FindPropertyNamesProperties and six other query classes). Dr.Egeria's
typed_properties would refuse those valid keys (A5 finding F15).

The generator now derives each class's JSON keys the way Jackson binds them
(setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE): public one-argument
setters of the top-level class, through the whole superclass chain, root
first. Same ground truth as scripts/audit_properties_class_bodies.py, with:
- superclasses resolved by explicit import, then same package, then wildcard
  imports, across the whole frameworks tree (not by simple name);
- Jackson's default setter naming (setURL -> url, setGUID -> guid) and
  @JsonProperty renames (setISCQualifiedName -> iscQualifiedName);
- nested-class setters, @JsonIgnore'd and multi-argument setters excluded.
It still reads a git ref with git cat-file, never the Egeria working tree.

Regenerated from Egeria 90232870b2 (odpi/egeria#9463 merged; same tree as
A0's 0dbf468774): 691 classes as before, 14 classes gain keys, none lose
any, no kind changes. The 11 new 6.4 classes are unchanged.
test_egeria_6_4_names' source-sha check also accepts the merge commit that
tests/fixtures/egeria-6.4/SOURCE records.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…alue

Egeria 6.4 (odpi/egeria#9463) adds Decision, DataValue and LiteralDataValue.
These hand-maintained FormatSets in base_report_specs follow License-Type's
shape, so Dr.Egeria Display and Portal tables have columns before the
Phase B Dr.Egeria commands exist.

- Decision: displayName, disposition, importance, contentStatus, summary,
  scope, usage, implications, notes, authors, start/lastReview/nextReview/
  expiry times, plus the decisionOutcomes and inputsToDecision lists.
- Data-Value: displayName, dataType, dataFormat, usage, length, description,
  plus the dataValueUses, dataValueSources and embeddedDataValues lists.
- Literal-Data-Value: the Data-Value columns plus dataValue, dataValueList
  and dataValueMap.
- Each spec also carries qualifiedName and GUID.
- Formats: DICT/MD/FORM/REPORT/ALL give the full set; TABLE/LIST give the
  scalar summary.
- Aliases: the Egeria type name and "<Type>-DrE", the name
  render_result_markdown falls back to.
- Action: MetadataExpert.find_metadata_elements_with_string filtered by
  metadata_element_type (the Dashboards precedent) until the typed
  finders land in A1/A2.
- target_type is the Egeria type name, so the authoring validator's
  strict column check applies to every spec.

The seed is regenerated with `python -m pyegeria.view.seed build`: the
Governance Officer.json and manifest.json files change, and the
Data Engineer.json family file is new.

authoring/validate.py: the five 6.4 relationship-list keys are added to
RELATED_ELEMENT_KEYS, the allow-list of relationship fields that shipped
specs read.

Tests: tests/micro-tests/test_egeria_6_4_report_specs.py (19), run failing
first. The specs load and resolve through select_report_spec by label,
type name and -DrE name. Every column is a PROPERTIES_CLASS_FIELDS field,
a RELATIONSHIP_FIELDS list or the header GUID. The brief's columns and
lists are present. Strict authoring validation checks each spec and
accepts it.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…nto e64-a6 consolidation

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…evops) into e64-a6 consolidation

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
… consolidation

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…into e64-a6 consolidation

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…s-audit) into e64-a6 consolidation

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…4 wrapper

pyegeria/core/egeria_6_4_bodies.py holds the URL builder, the body
requirement, the Properties-class check (a set of accepted classes) and the
unread-key refusal (generated PROPERTIES_CLASS_FIELDS, imported lazily here
only). Writes send the caller's body exactly as given: no model re-dump.

- governance_officer: drop _require_properties_class, _require_body and
  _e64_url; writes go through checked_body (no added makeAnchor or template
  defaults). Unread keys are now refused.
- data_engineer: drop _e64_url, _e64_body, _e64_link_body, _e64_detach_body;
  unread keys are now refused.
- devops_pipeline: _checked_6_4_body moves to core, without its final
  model_validate/model_dump_json re-dump; project_manager and schema_maker
  import from core. SupportedVariableType position must be an int.
- A1 write tests move to exact equality with the .http sample; reads keep
  sample plus Egeria's defaults.
- New core tests for rules 1-5.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
… (A4 follow-up)

Every relationship list in the generated RELATIONSHIP_FIELDS is allowed, in
snake_case, replacing A4's two hand-added 6.4 lines, so a later Egeria's lists
need no hand edit. Keys a shipped spec reads that are not relationship lists
stay hand-kept (_HAND_KEPT_RELATED_KEYS); the "allow-list keys must be used by
a shipped spec" test now applies to those hand-kept keys only.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…r does (A5 follow-up)

The audit now reads Egeria's setters with gen_properties_class_fields' own
parser: Jackson legacy naming (setURL -> url, setGUID -> guid), @JsonProperty
honoured, @JsonIgnore'd, multi-argument and nested-class setters skipped,
instead of java.beans decapitalize. This changes 70 classes' setter keys at
90232870b2 but no finding.

Two A5 tests relied on table gaps that PY-45 filled (they failed on the
merged base); they now plant A0-shaped rows. Runs 3 and 4 are added to the
report: 19/11/1 findings, 127 and 129 unclassified.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…fficer)

Create/Update Decision, Link/Detach Decision Outcome and Link/Update/Detach
Assessment, through the A6 GovernanceOfficer wrappers (md_processing/v2/
decisions.py). Specs added with the Spec Editor API; templates, help and the
Decision-DrE report specs regenerated by refresh_specs.

Assessment (multi-link) follows the Architect's section 2 ruling: Link
Assessment writes Assessment GUID into the processed document (re-running it
updates that assessment rather than adding another); Update/Detach take the
GUID, or else Element + Decision + Label (+ Assessment Time) resolved through
the Decision's inputsToDecision. Exactly one match proceeds; none or several
are refused listing each candidate's GUID, label and assessmentTime. Times
compare as UTC instants; a time with no zone is refused with words.

Version gate (pyegeria/core/egeria_6_4_gate.py, md_processing/v2/
egeria_6_4.py): on an Egeria before 6.4 (from /api/about; a 6.4-SNAPSHOT
built before the #9463 merge counts as before) every new command is a
WARNING row saying "needs Egeria 6.4" and nothing is sent. With the version
unreadable, a bare HTTP 404 from the request gives the same words.

Shared attributes reworded identically in every family that defines them
(the loader merges attribute definitions across files): Disposition, Start
Time, Last Review Time. GovernanceOfficer.find_decisions joins the reviewed
find-method additions (it only reads). generated_format_sets.json gains only
the two new entries; the snapshot is fully regenerated at release bumps.

Tests: each command's document runs through the real extractor, dispatcher,
processor and A6 wrapper with the HTTP call captured, checking the exact
body; the assessment picking rules; the gate for every B1 command; the
attribute-consumption audit.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…ngineer family)

Create/Update Data Value, Link/Detach Data Value Source, Processing Variable
(Position) and Embedded Data Value (Position), through the A6 DataEngineer
wrappers (md_processing/v2/data_values.py). A new Data Engineer family file,
made with the Spec Editor API; templates, help and the Data-Value-DrE report
specs regenerated by refresh_specs.

A Literal Value, Literal Value List or Literal Value Map makes the value a
LiteralDataValue (LiteralDataValueProperties); an update of an existing
LiteralDataValue keeps its class, and a literal value for an existing plain
DataValue is refused in words (Egeria can't change an element's type).
Position, Length and Hash must be whole numbers; Position is sent only when
the document gives it (its spec default 0 means unset). Every command is
gated on Egeria 6.4, as in B1.

The new family's bundles and shared attributes are copies of the
definitions the loader already ends up with, so they change nothing at
runtime (checked). Position and Length are reworded identically in Data
Designer. DataEngineer.find_data_values joins the reviewed find-method
additions (it only reads). test_zone_membership_basic counts 15 families.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…nd Branch (Phase B3)

Link/Detach Project Target (Projects), Link/Detach Supported Variable Type
(Schema Maker: Position, Min Cardinality, Max Cardinality) and Set/Clear
Branch (a new Devops Pipeline family: Display Name, Scope, Purpose, URL),
through the A6 ProjectManager, SchemaMaker and DevopsPipeline wrappers
(md_processing/v2/egeria_6_4_other.py). Specs added with the Spec Editor
API; templates and help regenerated by refresh_specs (no new report specs:
none of these is a Create).

Position and the cardinalities must be whole numbers and are sent only when
given. Branch sends BranchProperties (no label or description) in a
NewClassificationRequestBody; Clear sends a MetadataSourceRequestBody. Every
command is gated on Egeria 6.4, as in B1.

Shared attributes reworded identically in every family defining them:
Purpose (was collection-specific) and Schema Type. Schema Maker gains copies
of the Request Base and Link Command Base bundles; every copied definition
is the one the loader already ends up with, so runtime changes are only the
two rewordings and the new Project attribute (checked).

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…ement and Decision (B1 read-back W1, N1)

W1: Link Assessment with an Assessment GUID updated that assessment without
checking it. A copied processed document, the normal way to record a new
assessment on this multi-link, carries the old GUID, so it silently
overwrote the earlier assessment. Now the GUID must be one of the
Decision's inputsToDecision, with the document's Element at end 1;
otherwise the command is refused, saying whose assessment it is and that
removing the Assessment GUID section records a new one. Update and Detach
apply the same check whenever a Decision (and Element) is given with the
GUID. A GUID given alone is still used as is.

N1: on the HTTP 404 path the request was sent, so the gate's words now say
the platform does not serve the request (HTTP 404) instead of "Nothing was
sent to Egeria".

Tests: a copied document for another element, or another decision, is
refused with nothing sent; Update/Detach with a mismatched GUID are
refused, and with a matching one proceed; a true re-run still updates;
the 404 words. 5 of the 7 new or changed assessment tests fail on 64aa9f7.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Carries b6b2900 (Assessment GUID end check; HTTP 404 wording) up from
claude/e64-b1-dr-egeria-governance.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Carries b6b2900 (Assessment GUID end check; HTTP 404 wording) up through
claude/e64-b2-dr-egeria-data-values.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…spec (PY-5 / EG-14)

Egeria #9448 added ProjectProperties.scope and the server round-trips it, but
the hand-maintained PROJECT_COLUMNS (behind the default "Projects" spec used by
find_projects / get_project_by_guid) had no Scope column, so DICT, MD and
REPORT output dropped it. Add the column and regenerate the Project Manager
seed file.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…5 follow-up)

Adds the Scope column to the My Profile project detail spec, as every other
Project, Campaign and Task spec already has it, and regenerates the seed.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Early Egeria 6.4 support (Decisions, Data Values, Project Target,
Supported Variable Type, Branch: wrappers A0-A6 and Dr.Egeria B1-B3),
PY-45 Properties-class keys, PY-5 Project scope in report specs, and
My Profile odpi#604/odpi#605. Release notes added to the 6.3.x page.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
@dwolfson
dwolfson merged commit 46b092d into odpi:main Nov 22, 2026
7 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.

1 participant