Organization Insight Content Pack¶
The OrganizationInsightContentPack supplies the Lovelace insight services that analyze what the open metadata ecosystem holds and record what they find as metadata. At present it supplies one service, the zone membership profiler, which counts the elements of each type in each governance zone. The services are supplied in the omag-server-platform distribution.
The content pack is found in the OrganizationInsightContentPack.omarchive file in the content-packs directory of the distribution. It depends on the Core Content Pack, which supplies the Babbage Analytical Engine integration connector, the EgeriaGovernance governance engine that the services are registered with, and the content pack's folders. It is built by the core-content-pack module.
How the pieces fit together¶
The services follow the Metadata Insight pattern, and are two of Egeria's nanny components - the components that look after the open metadata ecosystem itself:
- The Babbage Analytical Engine is named after Charles Babbage, who designed the Analytical Engine. It is an integration connector (
BabbageAnalyticalEngine, userbabbagenpa) in the BabbageIntegrationGroup (Egeria:IntegrationGroup:Babbage), and is defined in the Core Content Pack. Its catalog targets are governance action types. - The Lovelace services are named after Ada Lovelace, who wrote the first programs for Babbage's Analytical Engine. Each one is a governance service registered with a governance engine under its own request type, and a governance action type that calls it.
This content pack registers its service with the EgeriaGovernance engine, and attaches the service's governance action type to Babbage as a catalog target. On each refresh (once a day by default), Babbage checks each of its catalog targets in turn. If there is already an engine action for the governance action type that is requested, waiting or running, Babbage moves on; otherwise it initiates the governance action type. So a short-running governance action service, such as the zone membership profiler, runs once per Babbage refresh, while a long-running watchdog action service would be started once and restarted if it ever stopped. The governance engine runs in an engine host.
A Lovelace service can also be run on its own by initiating its governance action type. Other content packs add their own Lovelace services in the same way: the Core Content Pack adds Build Member Popularity Profile, and the Open Lineage Content Pack adds three services that analyze OpenLineage logs.
Lovelace services¶
| Governance action type | Babbage catalog target | Request type (engine) | Governance service | What it does |
|---|---|---|---|---|
EgeriaGovernance::build-zone-membership-profile |
Build Zone Membership Profile | build-zone-membership-profile (EgeriaGovernance) |
Lovelace Zone Membership Profiler Governance Action Service (zone-membership-profile-governance-service) |
Counts the elements that are members of each governance zone, by type, and stores the counts in the zone's ZoneMembershipProfile classification (see model 0424). |
The zone membership profiler keeps three views of each zone: the anchor elements whose ZoneMembership classification names the zone (totalMembership, typeMembership), the elements that are members because their anchor is in the zone (anchoredTotalMembership, anchoredTypeMembership), and the two combined (allTotalMembership, allTypeMembership). The time of the analysis is recorded in analysisTime. The service has no request parameters or action targets, and produces the service-completed or service-failed guard.
Karma points
Karma points used to be awarded by a Lovelace watchdog action service supplied in this content pack. From release 6.3 they are awarded by the Simon Contribution Recorder integration connector, which is supplied in the Core Content Pack and described in Organization Insight.
Solution blueprint¶
The solution blueprint for the content pack, taken from Egeria's quickstart, shows Babbage scheduling the Lovelace service.
---
title: Components and Roles for Solution Blueprint - Organization Insight Content Pack [b36c6cc7-26f2-4b9b-b3e3-496f738c8927]
---
flowchart TD
%%{init: {"flowchart": {"htmlLabels": false}} }%%
subgraph 1 [Components and Actors]
2@{ shape: div-rect, label: "*Solution Component*
**Babbage Analytical Engine**"}
3@{ shape: subproc, label: "*Solution Component*
**Build Zone Membership Profile**"}
2==>|"schedules,
[Solution Linking Wire]"|3
end
style 1 color:#FFFFFF, fill:#3079ab, stroke:#000000
style 2 color:#000000, fill:#DDA0DD, stroke:#000000
style 3 color:#000000, fill:#DDA0DD, stroke:#000000
click 2 "https://egeria-project.org/concepts/integration-connector/" "Click for more documentation" _blank
click 3 "https://egeria-project.org/concepts/governance-action-type/" "Click for more documentation" _blank
Organization Insight Content Pack: Solution blueprint describing the components that deliver organization insight to the open metadata ecosystem. (Extracted from 6.3-SNAPSHOT)
Usage
Load this content pack into a metadata access store with the Runtime Manager, or add it to the server's start-up archives, alongside the Core Content Pack. The zone membership profile of each governance zone is then refreshed each time Babbage runs.
Organization Insight describes how contribution and activity in the open metadata ecosystem are observed, and Metadata Observability describes Babbage and all of the Lovelace services.
Raise an issue or comment below