Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 7 additions & 2 deletions docs/dr_egeria_manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ Dr.Egeria organizes its commands into "families," each corresponding to a specif
### Core Families

- **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.
- **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.
- **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`).
- **Collection Manager**: Manage various collections of elements, including Folders, Products, and Agreements (e.g., `Create Collection Folder`, `Create Digital Product`).
Expand Down Expand Up @@ -294,6 +294,11 @@ Dr.Egeria organizes its commands into "families," each corresponding to a specif
- `Create Dashboard Sheet`: Create a named, ordered, nestable Dashboard Sheet — a local pyegeria-managed layout record (not yet an Egeria element; see `pyegeria/view/_output_dashboard_sheet_models.py`).
- `Link Report to Dashboard Sheet`: Place a `Report` (by name) onto a Dashboard Sheet as an ordered Placement, with layout hints (`Placement Span`/`Placement Emphasis`), optional viewer-role tagging (`Placement Perspectives`), and an optional drill-down target (`Placement Detail Spec`).
- `Add Text on Dashboard Sheet`: Place literal markdown text (a section header, explanation, or caption) onto a Dashboard Sheet as an ordered Placement, alongside Report placements — no Egeria element involved; also supports `Placement Perspectives` for viewer-role tagging.
- Egeria 6.3 report-spec and dashboard elements (odpi/egeria#9432), held in Egeria rather than locally:
- `Create Report Spec`: a `ReportSpec` (a `ReportType` collection) with its `Microflow` (the stage list as JSON), `Target Type Name`, `Aliases`, `Output Types` and `Include Preamble`.
- `Create Dashboard`: a `Dashboard` asset (a `DataSet`, sibling of `Report`) with `Aliases`, `Refresh Time Interval` (minutes) and `Layout Style`. Its sheets and placements are `Create Display Data Container` / `Create Display Data Field` (Schema Maker). The local `Create Dashboard Sheet` records above are unchanged.
- `Link Report Type Instance` (ReportType → Report) and `Link Report Run Of` (ResultsSet → Report, with `Result State`, `Result State Reason`, `Result Location`); each also accepts `Detach`/`Unlink`/`Remove`.
- `Create Report` also writes Egeria's typed `outputFormat` and `reportParameters` (JSON). `Output Format` accepts every format in pyegeria's report-spec registry plus `KPI`.
- **Asset Maker** (added 2026-09-11): Instantiate Open Metadata catalog templates via `pyegeria/omvs/automated_curation.py`'s create-from-template surface — no update path, since the underlying OMVS methods are create-only. The generic, Advanced-only `Create Element` (raw `typeName`/`templateGUID`/`placeholderPropertyValues`) moved to the Automation family on 2026-10-02; twelve Basic-level, type-specific wrappers remain here for the common cases: `Create Secrets Store Element`, `Create Kafka Server Element`, `Create CSV Data File Element`, `Create Postgres Server Element`, `Create Postgres Database Element`, `Create Folder Element`, `Create UC Server Element`, `Create UC Catalog Element`, `Create UC Schema Element`, `Create UC Table Element`, `Create UC Function Element`, `Create UC Volume Element`. Live-verified: `Create Schema Type` (see below) and `Create CSV Data File Element` round-tripped against a running server; `Create Kafka Server Element` currently fails on a server with no "Apache Kafka Server" catalog template registered — a pre-existing gap in that server's template catalog, not a defect in this command.
- **Automation** (added 2026-10-02): Commands that set Egeria's governance engines running, via `pyegeria/omvs/automated_curation.py` (processors in `md_processing/v2/automation.py`).
- `Initiate Governance Action Process` / `Initiate Governance Action Type`: run a process or a single action type. `Action Targets` takes one `action target name: element` pair per line; `Request Parameters` takes `name: value` pairs.
Expand All @@ -306,7 +311,7 @@ Dr.Egeria organizes its commands into "families," each corresponding to a specif
- `Import Data Contract` / `Import Data Product`: catalog an Open Data Contract Standard (ODCS) / Open Data Product Standard (ODPS) document as a `DataSharingAgreement` / a `DigitalProduct`. Re-importing the same version updates it; a new version creates new elements; a document with no `id` is skipped (reported as a failure).
- `Publish Data Contract` / `Publish Data Product`: send such a document to an `Integration Daemon`, which passes it to the connectors that registered a Bitol listener (Advanced).
- The document is read from the file named in `Document File` (YAML or JSON), resolved relative to the markdown file being processed, rather than written inline: YAML routinely contains `---` and `#` lines, which the extractor treats as horizontal rules and headings.
- **Schema Maker** (added 2026-09-11): The `pyegeria/omvs/schema_maker.py` surface — `Create`/`Update Schema Type` and `Create`/`Update Schema Attribute` (both upsert-capable, live-verified), `Create Schema Type From Template`/`Create Schema Attribute From Template`, 15 `Link`/`Detach` relationship command pairs (Nested Schema Attribute, Attribute for Schema, Foreign Key, External Schema Type, Map From/To Schema Type, Graph Edge, Query Target, Schema, Relational DB Schema, API Operations/Header/Request/Response, Schema Type Option — `Link Nested Schema Attribute` live-verified), and 3 `Add`/`Remove` classification pairs (Primary Key, Type Embedded Attribute, Calculated Value) on a schema attribute/column. Effectivity dates, Anchor ID, and Anchor Scope IDs are Advanced-level; everything else is Basic.
- **Schema Maker** (added 2026-09-11): The `pyegeria/omvs/schema_maker.py` surface — `Create`/`Update Schema Type` and `Create`/`Update Schema Attribute` (both upsert-capable, live-verified), `Create Schema Type From Template`/`Create Schema Attribute From Template`, 15 `Link`/`Detach` relationship command pairs (Nested Schema Attribute, Attribute for Schema, Foreign Key, External Schema Type, Map From/To Schema Type, Graph Edge, Query Target, Schema, Relational DB Schema, API Operations/Header/Request/Response, Schema Type Option — `Link Nested Schema Attribute` live-verified), and 3 `Add`/`Remove` classification pairs (Primary Key, Type Embedded Attribute, Calculated Value) on a schema attribute/column. Effectivity dates, Anchor ID, and Anchor Scope IDs are Advanced-level; everything else is Basic. `Create Display Data Container` / `Create Display Data Field` (Egeria 6.3) create the schema attributes that hold a report spec's formatters and a dashboard's sheets and placements, with `Placement Kind`, `Span`, `Presentation Style` (alias `Placement Emphasis`) and `Markdown Content`, plus `Renderer` on a container and `Input Field` on a field.

#### `Create Report`'s two Dictionary attributes, worked examples

Expand Down
187 changes: 187 additions & 0 deletions md_processing/data/compact_commands/commands_data_designer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3473,6 +3473,121 @@
"max_cardinality": 1,
"level": "Basic",
"Journal Entry": "Added 2026-09-11 -- Schema Maker family relationship/classification endpoint attributes; see 'Create Schema Type' Journal Entry for family-wide notes."
},
"Completeness Declared": {
"variable_name": "completeness_declared",
"inUpdate": true,
"attr_labels": "",
"examples": "",
"default_value": "",
"valid_values": [
"complete",
"lower_bound",
"unknown"
],
"existing_element": "",
"description": "Whether a measured value counts everything or may undercount (e.g. a page limit was hit), so a renderer can say 'at least N'. Validated against Egeria's valid metadata values for completenessDeclared.",
"generated": false,
"style": "Valid Value",
"user_specified": true,
"unique": false,
"input_required": false,
"min_cardinality": 0,
"max_cardinality": 1,
"level": "Basic",
"Journal Entry": "2026-11-07 -- Egeria 6.3 report specs / measurements / dashboards (odpi/egeria#9432).",
"property_name": "completenessDeclared",
"type_name": null
},
"Confidence Form": {
"variable_name": "confidence_form",
"inUpdate": true,
"attr_labels": "",
"examples": "",
"default_value": "",
"valid_values": [
"measured",
"estimated",
"inferred",
"judged",
"generated"
],
"existing_element": "",
"description": "How the value is produced -- confidence in the method, not the value. Validated against Egeria's valid metadata values for confidenceForm.",
"generated": false,
"style": "Valid Value",
"user_specified": true,
"unique": false,
"input_required": false,
"min_cardinality": 0,
"max_cardinality": 1,
"level": "Basic",
"Journal Entry": "2026-11-07 -- Egeria 6.3 report specs / measurements / dashboards (odpi/egeria#9432).",
"property_name": "confidenceForm",
"type_name": null
},
"Uncertainty Form": {
"variable_name": "uncertainty_form",
"inUpdate": true,
"attr_labels": "",
"examples": "",
"default_value": "",
"valid_values": [
"plus_minus",
"low_high",
"band"
],
"existing_element": "",
"description": "How to read Absolute/Relative Uncertainty: plus/minus a spread, a low-high range, or a named band. Validated against Egeria's valid metadata values for uncertaintyForm.",
"generated": false,
"style": "Valid Value",
"user_specified": true,
"unique": false,
"input_required": false,
"min_cardinality": 0,
"max_cardinality": 1,
"level": "Basic",
"Journal Entry": "2026-11-07 -- Egeria 6.3 report specs / measurements / dashboards (odpi/egeria#9432).",
"property_name": "uncertaintyForm",
"type_name": null
},
"Absence Sentences": {
"variable_name": "absence_sentences",
"inUpdate": true,
"attr_labels": "",
"examples": "nothing_found: No matching elements were found.",
"default_value": "",
"valid_values": [],
"existing_element": "",
"description": "Map from an absence state (nothing_found, not_measured, not_permitted, not_applicable) to the sentence shown in place of a value when there isn't one.",
"generated": false,
"style": "Dictionary",
"user_specified": true,
"unique": false,
"input_required": false,
"min_cardinality": 0,
"max_cardinality": 1,
"level": "Basic",
"Journal Entry": "2026-11-07 -- Egeria 6.3 report specs / measurements / dashboards (odpi/egeria#9432)."
},
"Measurement Specification": {
"variable_name": "measurement_specification",
"inUpdate": true,
"attr_labels": "",
"examples": "",
"default_value": "",
"valid_values": [],
"existing_element": "MeasurementSpecification",
"description": "A measurement specification name. Preferably a qualified name.",
"generated": false,
"style": "Reference Name",
"user_specified": true,
"unique": false,
"input_required": true,
"min_cardinality": 1,
"max_cardinality": 1,
"level": "Domain",
"Journal Entry": "2026-11-07 -- Egeria 6.3 report specs / measurements / dashboards (odpi/egeria#9432)."
}
},
"bundles": {
Expand Down Expand Up @@ -3708,6 +3823,15 @@
"Minimum Cardinality",
"Position"
]
},
"Measurement Specification Base": {
"inherits": "Data Value Specification Base",
"own_attributes": [
"Completeness Declared",
"Confidence Form",
"Uncertainty Form",
"Absence Sentences"
]
}
},
"commands": {
Expand Down Expand Up @@ -4217,6 +4341,69 @@
"Data Field"
],
"Journal Entry": "2026-09-26 -- aligned with Egeria types 0580/0581 (DataField/DataStructure and their relationships)."
},
"Create Measurement Specification": {
"alternate_names": [],
"upsert": true,
"attach": false,
"level": "Basic",
"find_method": "DataDesigner.find_data_value_specifications",
"find_constraints": "{\"metadata_element_type\": \"MeasurementSpecification\"}",
"extra_find": "",
"extra_constraints": "",
"custom_attributes": [],
"Journal Entry": "2026-11-07 -- Egeria 6.3 report specs / measurements / dashboards (odpi/egeria#9432).",
"display_name": "Measurement Specification",
"qn_prefix": "MeasurementSpecification",
"family": "Data Designer",
"description": "Creates or updates a measurement specification -- how a measured value is read (units, completeness, confidence and uncertainty form, absence sentences). Link it to its fields with Link Basis Data Field / Link As Of Data Field, and to a field it defines with Link Data Value Definition.",
"verb": "Create",
"OM_TYPE": "MeasurementSpecification",
"bundle": "Measurement Specification Base"
},
"Link Basis Data Field": {
"alternate_names": [],
"upsert": false,
"attach": true,
"level": "Basic",
"find_method": "",
"find_constraints": "",
"extra_find": "",
"extra_constraints": "",
"custom_attributes": [
"Measurement Specification",
"Data Field"
],
"Journal Entry": "2026-11-07 -- Egeria 6.3 report specs / measurements / dashboards (odpi/egeria#9432).",
"display_name": "Basis Data Field",
"qn_prefix": "",
"family": "Data Designer",
"description": "Link a measurement specification to the data field that gives the basis for the measurement, for example the denominator of a percentage (BasisDataField relationship).",
"verb": "Link",
"OM_TYPE": "BasisDataField",
"bundle": "Link Command Base"
},
"Link As Of Data Field": {
"alternate_names": [],
"upsert": false,
"attach": true,
"level": "Basic",
"find_method": "",
"find_constraints": "",
"extra_find": "",
"extra_constraints": "",
"custom_attributes": [
"Measurement Specification",
"Data Field"
],
"Journal Entry": "2026-11-07 -- Egeria 6.3 report specs / measurements / dashboards (odpi/egeria#9432).",
"display_name": "As Of Data Field",
"qn_prefix": "",
"family": "Data Designer",
"description": "Link a measurement specification to the data field that gives the time of the measurement (AsOfDataField relationship).",
"verb": "Link",
"OM_TYPE": "AsOfDataField",
"bundle": "Link Command Base"
}
}
}
Loading
Loading