Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
caece27
Dr.Egeria: send Parent Relationship Attributes typed, never raw (F-A 1)
dwolfson Nov 12, 2026
672d37f
Dr.Egeria: send template and classification dictionaries typed (F-A 2)
dwolfson Nov 12, 2026
5aa5adb
Dr.Egeria: send Uncertainty as Egeria's Long, refuse non-integers (F-…
dwolfson Nov 12, 2026
4dced06
Dr.Egeria: Create ToDo/Meeting/Review say "no personal profile" (F-A 4)
dwolfson Nov 12, 2026
4ca1e6d
Dr.Egeria: wire Create UC Server/Schema/Table Element; never "unrecog…
dwolfson Nov 12, 2026
93b2edf
Dr.Egeria: a failed command always says why, on one line (F-A 6)
dwolfson Nov 12, 2026
ab388f3
Dr.Egeria: every spec'd Create runs or says why; no nameless success …
dwolfson Nov 12, 2026
22bdad7
Dr.Egeria: treat Egeria GUIDs as opaque; accept type-prefixed GUIDs (…
dwolfson Nov 12, 2026
7fec299
Dr.Egeria: a GUID reference is a whole UUID, one type prefix at most …
dwolfson Nov 12, 2026
f0f0c80
Dr.Egeria: Blog/Journal/Activity Entry creates report success (F-A 9)
dwolfson Nov 12, 2026
e1e3607
Dr.Egeria: don't send Default Value Override; report it (F-B 9)
dwolfson Nov 12, 2026
2fdff9b
feat(view): report_spec_publish, the shared report-spec publish/withd…
dwolfson Nov 12, 2026
6fb6c9b
Dr.Egeria: attach Search Keywords after every create/update (F-B 2)
dwolfson Nov 12, 2026
fd1f453
Dr.Egeria: apply or report the other Referenceable attributes (F-B 3)
dwolfson Nov 12, 2026
28dfc13
Dr.Egeria: send the bundle each type declares; report the rest (F-B 5)
dwolfson Nov 12, 2026
f59adf4
Dr.Egeria: Project attributes to their Egeria homes (F-B 7)
dwolfson Nov 12, 2026
6ea62d6
Dr.Egeria: glossary-term flags as Egeria classifications (F-B 1)
dwolfson Nov 12, 2026
07eba09
Dr.Egeria: Parent Relationship Attributes without a Parent ID say so …
dwolfson Nov 12, 2026
9cec95f
Dr.Egeria: one-off attributes under Egeria's keys, or reported (F-B 6)
dwolfson Nov 12, 2026
428f297
Dr.Egeria: close the last silent drops the F-B gate run showed (F-B 5…
dwolfson Nov 12, 2026
1373365
Dr.Egeria: schema attribute position/cardinality on its parent link (…
dwolfson Nov 12, 2026
acf9cf8
Dr.Egeria: no spec defaults when a Create resolves to an existing ele…
dwolfson Nov 12, 2026
408f26f
Dr.Egeria: schema link properties use the Architect's wording when no…
dwolfson Nov 12, 2026
a52490f
Revert "Dr.Egeria: no spec defaults when a Create resolves to an exis…
dwolfson Nov 12, 2026
c85528f
Test that a resolved Create keeps Merge Update when dropping spec def…
dwolfson Nov 12, 2026
0cacc08
Merge F-A + F-B: Dr.Egeria creates that break, attributes never appli…
dwolfson Nov 12, 2026
bf2ca75
Merge Stage 1a: report_spec_publish (origin feat/report-spec-publish …
dwolfson Nov 12, 2026
195434f
pyegeria 6.2.40: Dr.Egeria round-trip fixes (F-A, F-B) and report_spe…
dwolfson Nov 12, 2026
e6fb2b6
Release notes 6.2.40: exact Link command names; Known issues
dwolfson Nov 12, 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
76 changes: 76 additions & 0 deletions docs/release-notes/6.2.40.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# pyegeria 6.2.40

pyegeria 6.2.40 is the release the Dr.Egeria round-trip probe built. Every property-style attribute of every
Dr.Egeria Create command was written to a scratch Egeria and read back; this release fixes what didn't come back
(F-A: creates that broke; F-B: attributes no processor applied). It also adds
`pyegeria.view.report_spec_publish`, the shared report-spec publish/withdraw helper (Stage 1a).

Checked for this release: the 3.13 micro-tests, and the round-trip probe (branch `probe/release-gate`, not part of
this release) on a PostgreSQL scratch Egeria (757a5df0) against its baseline `757a5df0.json`, with 0 regressions.

## Behaviour changes

- **"not applied" output.** An attribute Dr.Egeria can't send is no longer dropped silently. The command's
warnings say `not applied: <attribute>: <reason>` -- a key the Egeria type doesn't declare, a value that isn't
a whole number for an integer field, a property with no Egeria home, a relationship property with no parent link.
Keys a type doesn't declare are no longer sent (Egeria ignored them).
- **Search Keywords are written.** After every create and update, each `Search Keywords` entry is attached as a
SearchKeyword (its text is `displayName`). Idempotent; keywords not listed are left in place. Most commands
never applied them before.
- **Glossary-term flags are classifications.** Is Abstract Concept, Is Activity Description (+ Term Activity
Type), Is Context (+ Context Description / Scope) and Is Data Value now classify the term AbstractConcept,
ActivityDescription(activityType), ContextDefinition(description, scope) and DataValueMeaning. They were sent as
term properties, which Egeria 6 ignores. Create Question gets the term properties too.
- **Schema attribute link properties.** Element Position, Min Cardinality and Max Cardinality are sent as
`position` / `minCardinality` / `maxCardinality` on the AttributeForSchema / NestedSchemaAttribute link to the
parent (Parent ID + Parent Relationship Type Name), never on the attribute; with no parent link they're reported.
Is Ordered Values is `orderedValues`. Default Value Override isn't sent (not in this Egeria's type system).
- **Refusals with a sentence.** Commands Dr.Egeria can't carry out say why and send nothing: Create Rating /
Create Like (use **Link Element->Rating** / **Link Element->Like**), Create Data Sharing Request (a ToDo subtype in Egeria), an Asset
Maker command with no template mapping ("not supported yet"), a To-Do / Meeting / Review for a user with no
personal profile, a technology type or template missing on the server. Every failure now prints its exception
type and message on one line, with Egeria's message id.
- **Opaque GUIDs.** GUIDs are treated as opaque strings. A server whose repository returns type-prefixed GUIDs
(`Glossary-<uuid>`, Egeria's in-memory repository) no longer has nearly every Create reported as failed after
the element was made. Where a value may be a GUID or a name, a GUID is a UUID with at most one type prefix.
- **Typed bodies.** Parent Relationship Attributes, Template Properties and (Generic) Initial Classifications are
sent as their Egeria class (`<Type>Properties`) with only the keys it declares; sent raw they failed the whole
create (400). Absolute/Relative Uncertainty are sent as integers (Egeria's Long).
- **Project attributes.** Project Identifier -> `identifier`; Approach / Management Style / Results Usage ->
the ProjectClassification classification; Project Type -> its named classification. Purposes (removed) and
Project Scope (no Egeria property) are reported. Information Supply Chain reads Purposes or Data Processing
Purposes and now sends integrationStyle and estimatedVolumetrics.
- **Referenceable extras.** Classifications (Named DICT) are classified; Translation Details are set through
Egeria's multi-language service (new `ClassificationExplorer.set_translation`); User Defined Status and
Supplementary Properties are reported.
- **Commands that now run.** Create UC Server / Schema / Table Element, Create Subject Area, Create CSV File.
Create Blog / Journal / Activity Entry now report success (they created the entry, then failed to read it back).

## Known issues

- **additionalProperties is replaced as a whole map.** On an upsert (a Create that finds its element) or any
merge update, Egeria replaces `additionalProperties` as one value, not key by key: keys the document leaves out
are removed. On laz a saved query's refresh keys were wiped this way. Give every key you want to keep.
- **Egeria-side gaps** (reported to the Egeria project; not fixable in pyegeria):
- Regulation **Regulators** are not stored.
- **Authors** are stored but lost on read for External References and Design Models (removed twice by the
property converter).
- Entity **Effective From / Effective To** are stored but not returned on read.
- **Default Value Override** is declared by Egeria's SchemaAttributeProperties but not by the repository type
definition, so Dr.Egeria doesn't send it ("not applied").
- **B5, Egeria 8840035f:** a find with `pageSize` 1 can miss an element when a same-named element was deleted
("No elements found" although a match exists). Use a larger page size for existence checks.

## Added

- **`pyegeria.view.report_spec_publish`** (Stage 1a): `build_publish_document`, `build_withdraw_document`,
`check_zones`, `restricted_publish_status`, `held_in_egeria`, `document_digest` / `check_unchanged`,
`run_document`. App-neutral (no credentials, no web or app code, no cache I/O), so the Portal and Egeria Advisor
build and check the same Dr.Egeria documents.
- `scripts/gen_properties_class_fields.py` and the generated `md_processing_utils/properties_class_fields.py`:
every Egeria framework Properties class, its kind and the JSON names it reads, from Egeria's Java source.

## Not in this release

The spec-metadata fixes (F-C), the MetadataExpert family, and the round-trip probe / release gate itself
(`probe/release-gate`).
6 changes: 6 additions & 0 deletions md_processing/dr_egeria.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from md_processing.md_processing_utils.common_md_proc_utils import set_parse_summary_mode, set_usage_level
from md_processing.md_processing_utils.common_md_utils import set_attribute_log_level
from md_processing.md_processing_utils.md_processing_constants import PROJECT_SUBTYPES, COLLECTION_SUBTYPES
from md_processing.v2.not_supported import NOT_SUPPORTED_YET, NotSupportedYetProcessor
from md_processing.v2 import (
UniversalExtractor, V2Dispatcher, AsyncBaseCommandProcessor,
TermProcessor, TermRelationshipProcessor, GlossaryClassifyProcessor, QuestionProcessor, TermAsContextProcessor,
Expand Down Expand Up @@ -380,6 +381,11 @@ def reg(base, cls):
reg(f"Update {coll_type}", CollectionManagerProcessor)

reg("Create CSV Element", CSVElementProcessor)
# The Digital Product Manager spec names it "Create CSV File"; nothing was registered for that name.
reg("Create CSV File", CSVElementProcessor)
# Specs Dr.Egeria offers but can't create as written: say why instead of "No processor registered".
for command in NOT_SUPPORTED_YET:
reg(command, NotSupportedYetProcessor)
reg("Add Member to Collection", CollectionLinkProcessor)
reg("Link Agreement Item", CollectionLinkProcessor)
reg("Link Agreement Actor", CollectionLinkProcessor)
Expand Down
Loading
Loading