Skip to content
Merged
Changes from all commits
Commits
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
33 changes: 33 additions & 0 deletions PYEGERIA_ISSUES.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,30 @@ they're holding real port materialization until this exists server-side

---

### ISSUE-159: no archive wrappers on the project or collection managers, and no restore wrapper at all, although Egeria offers both

**Layer:** Pyegeria · **Status:** open, logged only (no fix without the owner's word) · **Found:** 2026-10-20, raised by the Resource Explorer expansion-architecture session: RE's investigation-delete ruling needs a Project archived through the project manager and restored by GUID. Facts confirmed here against Egeria `origin/main` 05a5e982 and pyegeria upstream `main`, read-only.

**Egeria:** `OpenMetadataAPIGenericHandler.java` (common-services/generic-handlers):
- `archiveBeanInRepository` (`:3289`) classifies the element Memento, renames each affected Referenceable's qualifiedName to `<qn>_archivedOn_<date>` (marker `archivedQualifiedNameMarker = "_archivedOn_"`, `:51`), and records one `lastOperationId` per operation.
- `restoreBeanInRepository` (`:4170`) restores an element and everything the same delete or archive changed, given any GUID that operation touched.

The OMF store's delete (`OpenMetadataStoreRESTServices`, around `:4118`) also routes `deleteMethod: ARCHIVE` to `archiveMetadataElementInStore`, and resolves `LOOK_FOR_LINEAGE` to ARCHIVE when lineage relationships exist.

**pyegeria:**
- Archive exists only as `MetadataExpert.archive_metadata_element` (`metadata-expert/metadata-elements/{guid}/archive`).
- There is no `archive_project`, `archive_collection` or other manager-level archive.
- There is no `restore_*` method anywhere. ISSUE-155 item 5 already lists Metadata Expert `metadata-elements/{guid}/restore` and `related-elements/{guid}/restore` as missing.

**Possible route today (unverified):** `ProjectManager.delete_project(guid, body={"class": "DeleteElementRequestBody", "deleteMethod": "ARCHIVE"})`. pyegeria passes `deleteMethod` through, but whether the project-manager delete path honours ARCHIVE as the OMF store delete does was not traced.

**Proposed (not made):**
1. Add `MetadataExpert.restore_metadata_element` / `restore_related_elements` (and undo), per ISSUE-155 item 5.
2. Add `ProjectManager.archive_project` and `CollectionManager.archive_collection`. These can be thin wrappers that send `deleteMethod: ARCHIVE` once that path is confirmed live, or call Metadata Expert archive.
3. Live-test archive then restore of a throwaway Project, including the `_archivedOn_` rename and its reversal.

---

### ISSUE-158: `GOV_DEF_PROPERTIES_LIST` lacks `DataQualityRuleProperties`, and Dr.Egeria's governance create fallback silently drops every type-specific attribute

**Layer:** Pyegeria · **Status:** open, not fixed (owner approval needed) · **Found:** 2026-10-19, raised by the TestGen evaluation session while drafting a DataQualityRule convenience-API spec (`~/localGit/egeria-v6/wt-testgen-notes/packages/resource-explorer/docs/design-notes/SPEC-PYEGERIA-DATA-QUALITY-RULE.md`, uncommitted, pending owner review). Both points confirmed in source here, read-only; not run live.
Expand Down Expand Up @@ -739,6 +763,8 @@ then deleted and verified gone. **Confirmed still present on the rebuilt platfor

**Re-test 2026-10-19 (quickstart recreated 13:02Z on Egeria `main` 05a5e982, image 6.3-SNAPSHOT built 2026-10-18 16:13Z; as erinoverview on qs-view-server; throwaways named `pyeg_rt_*`, each deleted and verified gone by GUID; peers cleared first):** **Plain path PASS; Memento path not re-tested here.** A fresh CSV asset (`create_csv_data_file_element_from_template`) with its Connection, deleted with `{"class": "DeleteElementRequestBody", "cascadeDelete": True}` (forLineage default), succeeded; the asset and Connection were both gone by GUID. The soft-delete (Memento) path, which was the actual bug, needs an asset used as an engine-action target. Resource Explorer is re-testing that path with its own throwaways (agreed with the RE coordinator).

**Memento path re-test 2026-10-20 01:54:50Z by Resource Explorer (reported to this session; its record read here, the test not re-run): PASS** on Egeria `main` 05a5e982, as erinoverview. A throwaway CSV asset (`create_csv_data_file_element_from_template`, with anchored Connection and Endpoint) was the `destinationDataSet` of `ProvisioningActionProcess::Actor, Places and Products::Create Subscription::EVALUATION-SUBSCRIPTION`. The requester was erinoverview's own UserIdentity (Callie's gives 403-020 to erin). The engine action ran with the asset as action target and ended INVALID (`GOVERNANCE-ACTION-CONNECTORS-0033 ... not been passed a licenseType action target`), so no DigitalSubscription was created. Being the target of a real, executed engine action was enough. The original failing call, `delete_metadata_element(asset, {"class": "DeleteElementRequestBody", "cascadeDelete": True})` with forLineage left false, **succeeded**: the asset and both anchored elements read back not visible. The record says `not_visible`; RE reports they returned 400-010 (Memento), i.e. soft-deleted. Nothing was left live or half-deleted. **Note for re-testers:** an EngineAction that was never initiated, linked by ActionTarget, makes Egeria purge instead, so it does not reach the Memento path. Record `~/.re-gate/retest-issue-117-heavy-20261020T015450Z.json`; script `~/.re-gate/scripts/retest_issue_117_heavy.py`. Ready to move to the Appendix.

**Layer:** Egeria Server · **Status:** open, workaround known; reported to the Egeria team (response 2026-10-05); Egeria fix merged to Egeria `main` 2026-10-06 (odpi/egeria#9363), not yet re-tested on a platform built from it · **Found:** 2026-10-02, live test of Dr.Egeria's
Automation family (`Initiate Subscription` / `Cancel Subscription`, PR #414),
cleaning up the throwaway destination data set afterwards.
Expand Down Expand Up @@ -809,6 +835,13 @@ reproduction is to run a subscription process with a fresh asset as

**Re-test 2026-10-19 (quickstart recreated 13:02Z on Egeria `main` 05a5e982, image 6.3-SNAPSHOT built 2026-10-18 16:13Z; as erinoverview on qs-view-server; throwaways named `pyeg_rt_*`, each deleted and verified gone by GUID; peers cleared first):** **Left to Resource Explorer** (agreed with the RE coordinator); not re-tested here.

**Re-test 2026-10-20 01:25Z by Resource Explorer (reported to this session; its record read here, the test not re-run): PASS** on Egeria `main` 05a5e982, run once by the owner as peterprofile with two throwaway secrets-store graphs (ConnectorType, Endpoint, Connection, Asset; `RE::rt112::<T>::...`) and fake values only.
- **Case A, read-only provider** (`YAMLSecretsStoreProvider`): `save_client_side_secret` now raises `InvalidParameterException` `OMAG-COMMON-400-034`: "The saveClientSideSecret operation cannot be performed on asset <guid> because its connector, ...YAMLSecretsStoreConnector, does not support it". pyegeria surfaces it as `SERVER_ERROR_500` wrapping that 400. No file was written. Before the fix this returned success with no write.
- **Case B, control** (`YAMLSecretsFileProvider`): the save succeeded and the file was created (184 B).
- **Cleanup:** `delete_client_side_secret`, all 8 elements deleted, both `/tmp` files removed; typed getters return `PyegeriaNotFoundException` for all 8.

Script `~/.re-gate/scripts/retest_issue_112.py`; record `~/.re-gate/retest-issue-112-20261020T012543Z.json`. Ready to move to the Appendix.

**Layer:** Egeria Server (`automated-curation` OMVS) · **Status:** open ·
**Found:** 2026-09-21, live-verifying Resource Explorer's own client-side
secrets store end to end (`docs/design-notes/PROBES-2026-09-21.md` in the
Expand Down
Loading