Repository navigation
fix(omvs): five link methods named a properties class Egeria lacks - #537
Merged
Merged
Conversation
With body=None, _async_new_relationship_request sends
{"properties": {"class": prop[0]}}. These methods passed a bare relationship
type name (or the wrong class), so the default body was refused:
- ClassificationExplorer.add_scope_to_element: ScopedBy -> ScopedByProperties
(seen live 2026-11-07: HTTP 400 "Could not resolve type id 'ScopedBy'")
- ClassificationExplorer.add_resource_to_element: ResourceList -> ResourceListProperties
- ClassificationExplorer.add_more_information: MoreInformation -> MoreInformationProperties
- TimeKeeper.link_related_context_events: ContextEventEvidenceProperties ->
RelatedContextEventProperties (its own docstring and URL are the related-events link)
- TimeKeeper.link_context_event_impact: ContextEventImpact -> ContextEventImpactProperties
Egeria's known-type list (from the 400 above) has each Properties name.
The ISSUE-111 test gains the five cases. Micro-tests on 3.13: 1842, 0 failed.
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
This was referenced Nov 7, 2026
dwolfson
added a commit
that referenced
this pull request
Nov 7, 2026
Ships #537 (five link methods sent a properties class Egeria lacks), #538 (population= is the count keyword; scope= deprecated), #539 (declarations for every registered routine), #540 and #541 (client support and Dr.Egeria commands for Egeria 6.3 report specs, measurements and dashboards), #542 (built-in declaration tests scoped to pyegeria's own routines) and #543 (report_spec passed through the MetadataExpert find methods). Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When no body is given,
_async_new_relationship_requestsends{"properties": {"class": prop[0]}}. These five methods passed a bare relationship type name, or the wrong class, so Egeria refused the default body. This is the same pattern as ISSUE-111.ClassificationExplorer.add_scope_to_element:ScopedBy→ScopedByProperties. Seen live on 2026-11-07: HTTP 400, "Could not resolve type id 'ScopedBy'". It blocked the Trellis perspective migration.ClassificationExplorer.add_resource_to_element:ResourceList→ResourceListProperties.ClassificationExplorer.add_more_information:MoreInformation→MoreInformationProperties.TimeKeeper.link_related_context_events:ContextEventEvidenceProperties→RelatedContextEventProperties, which matches its own docstring and URL.TimeKeeper.link_context_event_impact:ContextEventImpact→ContextEventImpactProperties.Egeria's own list of accepted type names, from that HTTP 400 error, includes each of the
Propertiesnames.The ISSUE-111 micro-test gains the five cases. Micro-tests on 3.13: 1,842 collected, 0 failed.
There's no version bump: the owner wants to collect more fixes before the next release.
🤖 Generated with Claude Code