Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
83e4fb2
feat(6.4): A0 - generated tables from odpi/egeria#9463 and the 6.4 na…
dwolfson Nov 21, 2026
0010735
feat(audit): properties-class audit of built request bodies (Egeria 6…
dwolfson Nov 21, 2026
6552ace
docs(audit): re-run the properties-class audit on Egeria 90232870b2 (…
dwolfson Nov 21, 2026
1b9b967
feat(6.4): A1 - Governance Officer decisions, outcomes and assessments
dwolfson Nov 21, 2026
b3982dd
feat(6.4): A2a - DataEngineer data-value lifecycle (7 requests)
dwolfson Nov 21, 2026
e295ba6
feat(6.4): A3 - ProjectTarget, SupportedVariableType and a new Devops…
dwolfson Nov 21, 2026
eb16baf
feat(6.4): A2b - DataEngineer data-value link pairs (6 requests)
dwolfson Nov 21, 2026
a0f914e
fix(dr-egeria): PY-45 - properties table keys from public setters thr…
dwolfson Nov 21, 2026
a55dc25
feat(6.4): A4 - report specs for Decision, DataValue and LiteralDataV…
dwolfson Nov 21, 2026
801cab3
Merge A2b data-value links (origin/claude/e64-a2b-data-value-links) i…
dwolfson Nov 21, 2026
8761d0f
Merge A3 project/schema/devops (origin/claude/e64-a3-project-schema-d…
dwolfson Nov 21, 2026
74fe811
Merge A4 report specs (origin/claude/e64-a4-report-specs) into e64-a6…
dwolfson Nov 21, 2026
7cc85ca
Merge PY-45 generator setters (origin/claude/py45-generator-setters) …
dwolfson Nov 21, 2026
10818d1
Merge A5 properties-class audit (origin/claude/e64-a5-properties-clas…
dwolfson Nov 21, 2026
90a7000
feat(6.4): A6 - one shared body checker in pyegeria/core for every 6.…
dwolfson Nov 21, 2026
f7b329b
feat(authoring): derive RELATED_ELEMENT_KEYS from RELATIONSHIP_FIELDS…
dwolfson Nov 21, 2026
f24b1cf
fix(audit): name setter keys by Jackson's rule, as the PY-45 generato…
dwolfson Nov 21, 2026
64aa9f7
feat(dr-egeria): Egeria 6.4 Decision commands (Phase B1, Governance O…
dwolfson Nov 21, 2026
cb97672
feat(dr-egeria): Egeria 6.4 Data Value commands (Phase B2, new Data E…
dwolfson Nov 21, 2026
e1f20c2
feat(dr-egeria): Egeria 6.4 Project Target, Supported Variable Type a…
dwolfson Nov 21, 2026
b6b2900
fix(dr-egeria): check an Assessment GUID belongs to the document's El…
dwolfson Nov 21, 2026
2be62ae
Merge B1 read-back fix (W1, N1) into B2
dwolfson Nov 21, 2026
be6ca9c
Merge B2 (carrying the B1 read-back fix W1, N1) into B3
dwolfson Nov 21, 2026
eb7a04a
fix(report-specs): show Project scope in the default Projects report …
dwolfson Nov 20, 2026
5bf2a53
fix(report-specs): show Project scope in My-User-Projects-Detail (PY-…
dwolfson Nov 20, 2026
067bdd7
chore(release): bump version to 6.3.2
dwolfson Nov 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
349 changes: 349 additions & 0 deletions docs/audits/properties-class-audit-2026-11-21.md

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions docs/dr_egeria_manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,13 @@ Dr.Egeria organizes its commands into "families," each corresponding to a specif

- **Glossary**: Manage business terms, categories, and their relationships (e.g., `Create Glossary`, `Create Term`, `Link Term to Category`).
- **Data Designer**: Define data structures, fields, data classes, and value specifications (e.g., `Create Data Structure`, `Create Data Field`), following Egeria's `0580 Data Dictionaries` / `0581 Data Field Implementation` models. Relationship commands cover each model relationship — `Link Data Field to Data Structure` (MemberDataField), `Link Nested Data Field` (NestedDataField), `Link Data Field` (LinkedDataField), `Link Data Value Definition`, `Link Schema Attribute Definition`, `Link Schema Type Definition`, `Link Certification Type to Data Structure` — and each also accepts `Detach`/`Unlink`/`Remove` to remove the relationship. `Classify Data Field as Primary Key` records which fields identify a record. `Create Measurement Specification` (Egeria 6.3) records how a measured value is read — `Units`, `Completeness Declared`, `Confidence Form`, `Uncertainty Form`, `Absence Sentences` — and `Link Basis Data Field` / `Link As Of Data Field` point it at the fields giving its basis and its time of measurement.
- **Data Engineer** (Egeria 6.4, odpi/egeria#9463, model 0208; processors in `md_processing/v2/data_values.py`): data values used or produced by processing.
- `Create`/`Update Data Value`: a DataValue with Data Format, Length, Data Type, Usage, Fingerprint (+ Algorithm) and Hash (+ Algorithm). A `Literal Value`, `Literal Value List` or `Literal Value Map` makes it a LiteralDataValue that carries the value itself; updating an existing LiteralDataValue keeps its class. Egeria can't change an element's type, so a literal value for an existing plain DataValue is refused in words.
- `Link`/`Detach Data Value Source` (DataValue → the Asset it is stored in), `Link`/`Detach Processing Variable` (an element such as a process → the DataValue it uses, with `Position`) and `Link`/`Detach Embedded Data Value` (parent DataValue → embedded DataValue, with `Position`). All uni-link. `Position` is a whole number, 0 means unset, and it is sent only when the document gives it.
- Like the Decision commands, each needs Egeria 6.4 and is refused with "needs Egeria 6.4" on an earlier platform.
- **Actor Manager**: Manage organizational metadata, including people, teams, organizations, and roles (e.g., `Create Person`, `Create Team`, `Create Organization`, `Create Person Role`). Supports linking team structures and role appointments.
- **Project**: Manage projects and their dependencies or hierarchies (e.g., `Create Project`, `Link Project Dependency`).
- `Link`/`Detach Project Target` (Egeria 6.4, odpi/egeria#9463): the ProjectTarget relationship, a project → any element it works on (`Project`, `Target Element`, with Label and Description). Uni-link. Processor in `md_processing/v2/egeria_6_4_other.py`.
- **Collection Manager**: Manage various collections of elements, including Folders, Products, and Agreements (e.g., `Create Collection Folder`, `Create Digital Product`).
- **Business Capabilities** (0715 Digital Business, added 2026-10-24): `Create Business Capability` (a Collection subtype with `Business Capability Type` and `Business Implementation Type`), `Link`/`Detach Business Capability Dependency` (Dependent Capability → Supporting Capability) and `Link`/`Detach Digital Support` (a business capability → the element, such as a digital service or product, that supports it). Both relationships are uni-link, so re-running a Link updates rather than duplicates.
- **Solution Architect**: Manage solution blueprints, components, information supply chains, and design patterns (e.g., `Create Design Pattern`, `Link Nested Design Patterns`, `Link Specialized Design Patterns`, `Link Related Design Patterns`).
Expand All @@ -300,7 +305,13 @@ Dr.Egeria organizes its commands into "families," each corresponding to a specif
- `Link Implemented By` (0737, added 2026-09-13): attaches a design object (Information Supply Chain, Solution Component, Governance Definition, ...) to its implementation via the `ImplementedBy` relationship — a cross-OMVS call to `governance_officer`'s `linkDesignToImplementation`/`detachDesignFromImplementation` endpoints (`Detach`/`Unlink`/`Remove` variants auto-derived, same mechanism as the Concept Model relationship commands above). Along the way, fixed a real latent bug: `_get_supply_chain_rel_elements()` read a nonexistent `implementedByList` field instead of the real `implementedBy` (confirmed against `AttributedMetadataElement.java` and a live element fetch) — this had silently made the `Implemented By` sync's as-is diff always see zero existing relationships.
- **Correction, 2026-09-16:** the paragraph above's `Create Information Supply Chain`/`Create Solution Component` sync was itself wrong — `In Information Supply Chain` (on `Create Solution Component`) and `Implemented By` (on `Create Information Supply Chain`) were both syncing via `ImplementedBy` (the mechanism `Link Implemented By` legitimately uses), when `InformationSupplyChain` is a Collection subtype and these two attributes are ordinary collection membership. Reported live: 71 components each carrying `In Information Supply Chain` fanned each chain out to 143 `ImplementedBy` links, alongside the 47 correct `CollectionMembership`s from explicit `Add Member` blocks. Both sync points (`SolutionComponentProcessor._sync_all_rels`'s "Supply Chains" block and `SupplyChainProcessor._sync_rels`'s "Implemented By" block, `solution_architect.py`) now call `_async_add_to_collection`/`_async_remove_from_collection` with `CollectionMembershipProperties`, matching every other ISC membership sync in this file. Pre-existing bad `ImplementedBy` links created before this fix are not auto-cleaned — the as-is fetch now reads `collectionMembers`, not `implementedBy`, so a re-sync no longer sees or touches them; removing them is a separate one-off cleanup against affected servers.
- **Lineage Linker** (added 2026-09-16): Create/update/detach the seven Lineage Linker OMVS relationship types (0750/0755/0770 — DataFlow, ControlFlow, ProcessCall, LineageMapping, DataMapping, UltimateSource, UltimateDestination) between two elements, e.g. `Link Data Flow`, `Update Process Call`, `Link Data Mapping`. One dedicated `Link`/`Update` command pair per type (each with only its own type's attributes — Guard/Mandatory Guard for `Control Flow`; Query/Query ID/Query Type for `Data Mapping`; One Way/Integration Style/Protocol/Frequency/Data Exchanged, reused from Solution Architect's `SolutionLinkingWire` attributes, for the rest), plus one shared `Unlink Lineage Relationship` command since detaching only needs the relationship's own GUID. Split from an earlier single generic command triple that used a `Lineage Relationship Type` selector attribute offering every type's attributes regardless of which type was picked. The split also surfaced and fixed a real gap: the pyegeria SDK's `DataFlowProperties`/`ProcessCallProperties`/`LineageMappingProperties`/`UltimateSourceProperties`/`UltimateDestinationProperties` (`pyegeria/omvs/lineage_linker.py`) were missing `oneWay`/`integrationStyle`/`protocol`/`frequency`/`dataExchanged` (and `ProcessCallProperties` was missing `lineNumber`) entirely — real fields on the Egeria DTOs (`DataLineageRelationshipProperties`/`ProcessCallProperties.java`) that had no home on the pydantic model, so a caller passing them would validate silently and have them dropped before serialization (the `PyegeriaModel` `extra='ignore'` gotcha — see the SDK section below).
- **Schema Maker** (Egeria 6.4 additions): `Link`/`Detach Supported Variable Type`, the SupportedVariableType relationship, an element such as a process → the schema type of a variable it supports, with `Position` (0 means unset), `Min Cardinality` and `Max Cardinality` (whole numbers, sent only when given).
- **Devops Pipeline** (Egeria 6.4, new family): `Set`/`Clear Branch` classify an element (such as a repository's SourceControlLibrary) as holding one branch of a source code repository, with `Display Name` (required), `Scope`, `Purpose` and `URL`. Branch has no label or description.
- These, and Project Target, need Egeria 6.4 and are refused with "needs Egeria 6.4" on an earlier platform.
- **Governance Officer**: Manage governance definitions, policies, and responsibilities.
- **Decisions** (Egeria 6.4, odpi/egeria#9463, model 0018; processors in `md_processing/v2/decisions.py`): `Create`/`Update Decision` (an AuthoredReferenceable with Summary, Scope, Usage, Importance, Disposition, Implications, Notes and Start / Last Review / Next Review / Expiry Time); `Link`/`Detach Decision Outcome` (the Outcome relationship, Decision → any element, with Label, Description, Importance, Disposition); `Link`/`Update`/`Detach Assessment` (the Assessment relationship, element → Decision, with Assessor, Assessor Type Name, Assessor Property Name, Assessment Time, Expiry Time, Notes, Additional Properties).
- Assessment is **multi-link**: the same element can be assessed for a decision many times, so one assessment is identified by its own `Assessment GUID`. `Link Assessment` writes it into the processed document, and running that document again updates the assessment instead of adding another. The GUID must be the document's Decision's assessment of its Element: a copied processed document (the usual way to record a new assessment) still carries the old GUID, so it is refused, with words saying whose assessment it is; remove the `Assessment GUID` section to record a new one. `Update`/`Detach` given both a GUID and an Element/Decision check them the same way. `Update`/`Detach Assessment` take the `Assessment GUID`, or else `Element` + `Decision` + `Label` (+ `Assessment Time` when more than one matches), found in the decision's assessed inputs (`inputsToDecision`). Exactly one match proceeds; none, or several, is refused with the candidates listed (GUID, label, assessmentTime). Times are compared as UTC instants, and an Assessment Time with no zone is refused.
- On an Egeria before 6.4 every one of these commands is refused with "needs Egeria 6.4" (a WARNING row; nothing is sent). The platform version comes from `/api/about` (`pyegeria/core/egeria_6_4_gate.py`); when it can't be read, a bare HTTP 404 from the request gives the same words.
- **Security Officer** (added 2026-10-26, Egeria 6.3): Statements of applicability — the record of which controls from a standard (such as ISO/IEC 27001 Annex A) apply to the organization, why, and how far each is implemented. Processors in `md_processing/v2/security_officer.py`.
- `Create`/`Update Statement of Applicability`: an AuthoredReferenceable with `Scope`, `Review Date`, `Authors` and `Content Status` (set APPROVED before an audit). `Certification Standard` links the certification type it is assessed against (GovernedBy); `Scoped By` links the organization, site or system it covers (ScopedBy). Leaving either out leaves its links alone; `Merge Update: false` also removes links the command no longer lists.
- Security testing results (model 0665): `Create`/`Update Survey Report` catalogues one test run, through Asset Maker. It takes Category (e.g. Penetration Test Results), Purpose, Start Time and Completion Time; `Report Subjects` links the assets the run tested (ReportSubject). `Create`/`Update Security Finding`, `Vulnerability Finding` and `Penetration Test Finding` each create one finding under its `Survey Report` (ReportedAnnotation, required), with Severity (the CVSS ratings None/Low/Medium/High/Critical), CVSS Score and the type's own fields. `Affected Elements` links catalogued elements (AssociatedAnnotation), `Previous Finding` links the same finding in an earlier run (AnnotationExtension), and `Vulnerability Type` links a reference data value (ReferenceValueAssignment). `Create Security Posture Summary` records a run's counts: `Finding Counts By Severity` takes one `severity: count` pair per line. Egeria stores the CVSS score, exploit/patch flags and posture counts as primitives, so a merge update that leaves one out would reset it to 0 / false; these commands copy the current value into the update to prevent that (ISSUE-166). Processors in `md_processing/v2/security_officer.py`.
Expand Down
57 changes: 54 additions & 3 deletions docs/release-notes/6.3.x-egeria-6.3.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,62 @@
# pyegeria 6.3.1, with 6.3.0 and the 6.2 series that led to it
# pyegeria 6.3.2, with 6.3.1, 6.3.0 and the 6.2 series that led to them

pyegeria 6.3.1 is the Python client for **Egeria 6.3**. This page describes what's new in 6.3.1 and 6.3.0, then the
6.2 series of releases that led up to them.
pyegeria 6.3.2 is the Python client for **Egeria 6.3**. It also carries early support for the types Egeria 6.4 adds.
This page describes what's new in 6.3.2, 6.3.1 and 6.3.0, then the 6.2 series of releases that led up to them.

```bash
pip install -U pyegeria
```

## pyegeria 6.3.2

Released 2026-11-22.

### Early support for Egeria 6.4 types

Egeria 6.4 is not released yet. These calls need a platform built from Egeria main at or after
[odpi/egeria#9463](https://github.com/odpi/egeria/pull/9463) (merged as `90232870b2`); a 6.3 platform answers them with
404. Nothing that worked against 6.3 changes.

- **Decisions** (`GovernanceOfficer`): create, create from template, update, delete, get by name or GUID, and find;
link and detach a decision's outcomes; and link, update and detach Assessments. An Assessment can be linked more
than once between the same element and decision, so `link_assessment` returns the Assessment's own GUID, and
`update_assessment` and `detach_assessment` take it.
- **Data values** (`DataEngineer`): the lifecycle for `DataValue` and `LiteralDataValue` (create, create from
template, update, delete, get by name or GUID, and find), and link and detach for a data value's sources, a
Processing Variable (the data values that configure an element) and embedded data values.
- **Project targets** (`ProjectManager.setup_project_target` / `clear_project_target`), **supported variable types**
(`SchemaMaker.link_supported_variable_type` / `detach_supported_variable_type`) and a new **`DevopsPipeline`**
client that sets and clears the **Branch** classification.
- **Bodies are checked before they are sent.** Every 6.4 call sends your body as given, but refuses it locally if
`properties.class` is not one the request accepts, or if it carries a key that class doesn't read. Egeria
ignores unknown keys, so without this check such a key would be dropped without a word.
- **Dr.Egeria commands** for all of the above: Create/Update Decision, Link/Detach Decision Outcome, Link/Update/Detach
Assessment (Governance Officer); Create/Update Data Value and Link/Detach Data Value Source, Processing Variable and
Embedded Data Value (a new Data Engineer family); Link/Detach Project Target, Link/Detach Supported Variable Type and
Set/Clear Branch (a new Devops Pipeline family). Link Assessment writes the new Assessment GUID into the processed
document, so running the document again updates that Assessment instead of adding another.
- **Report specs** for Decision, Data-Value and Literal-Data-Value, so Dr.Egeria Display and Portal tables have
columns for the new types.

### Fixes

- **Project scope is shown** in the default Projects report spec (behind `find_projects` and
`get_project_by_guid`) and in My Profile's project detail. Egeria stores `scope`, but DICT, MD and REPORT output
used to drop it (PY-5, EG-14).
- **Dr.Egeria accepts every key a Properties class really reads.** The generated table of keys now follows Egeria's
public setters through the whole superclass chain, the way Egeria's JSON reader binds them. Valid keys such as
`resourceUse` on resource lists, and the query options under find-property-names requests, were being refused
(PY-45).
- **My Profile:** mouse clicks land on the right row and footer keys
([#605](https://github.com/odpi/egeria-python/pull/605)).

### Also included

- **My Profile: Work with Projects and Find Project** ([#604](https://github.com/odpi/egeria-python/pull/604)).
- The generated relationship and Properties-class tables were regenerated from Egeria main at `90232870b2`.
Report-spec authoring now allows every relationship list in them, so a later Egeria's lists need no hand edit.
- `scripts/audit_properties_class_bodies.py` reports request bodies whose keys their Properties class doesn't read.

## pyegeria 6.3.1

Released 2026-11-18 ([odpi/egeria-python#603](https://github.com/odpi/egeria-python/pull/603), [release](https://github.com/odpi/egeria-python/releases/tag/v6.3.1)).
Expand Down Expand Up @@ -266,6 +316,7 @@ These three releases, from November 12 to 15, came just before 6.3.0.
| 6.2.40 – 6.2.42 | Nov 12 – Nov 15 | #593, #595, #598 |
| 6.3.0 | Nov 16 | #600 |
| 6.3.1 | Nov 18 | #603 |
| 6.3.2 | Nov 22 | this release |

Detailed notes: [6.2.26](6.2.26.md) · [6.2.27](6.2.27.md) · [6.2.28](6.2.28.md) · [6.2.29](6.2.29.md) ·
[6.2.30](6.2.30.md) · [6.2.31](6.2.31.md) · [6.2.32](6.2.32.md) · [6.2.33](6.2.33.md) · [6.2.34](6.2.34.md) ·
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@
"default_value": "",
"valid_values": [],
"existing_element": "",
"description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.",
"description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).",
"generated": false,
"style": "Simple",
"user_specified": true,
Expand All @@ -1514,7 +1514,7 @@
"min_cardinality": 1,
"max_cardinality": 1,
"level": "Common",
"Journal Entry": ""
"Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it."
},
"Purposes": {
"variable_name": "purposes",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,7 @@
"default_value": "",
"valid_values": [],
"existing_element": "",
"description": "The purpose of this collection \u2014 a short description of why it exists or what it is used for.",
"description": "The purpose of this element - a short description of why it exists or what it is used for (for a collection, why it was made; for a branch, what the branch is for).",
"generated": false,
"style": "Simple",
"user_specified": true,
Expand All @@ -1533,7 +1533,7 @@
"min_cardinality": 1,
"max_cardinality": 1,
"level": "Common",
"Journal Entry": ""
"Journal Entry": "Reworded 2026-11-21 so the Egeria 6.4 commands can share it."
},
"Purposes": {
"variable_name": "purposes",
Expand Down
Loading
Loading