Egeria Content Pack¶
The EgeriaContentPack lets Egeria catalog and monitor its own infrastructure. It supplies templates for describing OMAG Server Platforms and the OMAG Servers they host, technology types for each of Egeria's services, and an integration connector that keeps the catalog entries for running platforms and their servers up to date. This gives a good starting point for understanding the structure and status of an Egeria deployment. The connectors it configures are supplied in the omag-server-platform distribution.
The content pack is found in the EgeriaContentPack.omarchive file in the content-packs directory of the distribution. It depends on the Core Content Pack, which supplies the base technology types, the EgeriaGovernance engine and the generic create, catalog and delete governance services. It is built by the core-content-pack module.
How the pieces fit together¶
An OMAG Server Platform is described by a SoftwareServerPlatform asset created from the OMAG Server Platform template. The create-omag-server-platform request type creates it, and catalog-omag-server-platform attaches it as a catalog target of the OMAGServerPlatformCataloguer integration connector. The cataloguer also catalogs, without being asked, the platform that it is calling to retrieve metadata. On each refresh it asks each platform for the servers it is running, and maintains a SoftwareServer asset for each one using the server templates in this pack. The services configured in each server are recorded as SoftwareService elements, typed with the technology types listed below and linked to the server with SupportedSoftwareCapability, and the connectors the services use are recorded as DeployedConnector elements. The connector is described in the egeria-system-connectors module. While it works, the cataloguer can raise the exceptions defined in the Core Content Pack, such as Clear Text Password Exception when a platform user account has a clear text password, or Missing User Identity Exception when an account has no matching UserIdentity.
Technology types and templates¶
The base technology types for Egeria's runtime - OMAG Server Platform, Metadata Access Store, View Server, Integration Daemon, Engine Host and so on - are defined in the Core Content Pack. This pack links them to their templates:
| Technology type | Template creates | Qualified name |
|---|---|---|
| OMAG Server Platform | A SoftwareServerPlatform with its User Token Manager (UserAuthenticationManager) capability, endpoint and connection | OMAG Server Platform::~{platformURLRoot}~::~{platformName}~ |
| Metadata Access Server | A SoftwareServer with its Open Metadata Repository Access APIs capability, endpoint and connection | Metadata Access Server::~{platformURLRoot}~::~{serverName}~ |
| View Server | A SoftwareServer with its Open Metadata and Governance End User APIs capability | View Server::~{platformURLRoot}~::~{serverName}~ |
| Integration Daemon | A SoftwareServer with its Integration Connector Status APIs capability | Integration Daemon::~{platformURLRoot}~::~{serverName}~ |
| Engine Host | A SoftwareServer with its Governance Engine Status APIs capability | Engine Host::~{platformURLRoot}~::~{serverName}~ |
The templates are described further in the Template Catalog.
The pack also adds 55 technology types of the form SoftwareService, one for each of Egeria's services. They cover the platform services (Administration Services, Platform Operational Services, Server Operations), the framework and repository services (Open Metadata Repository Services (OMRS), Open Metadata Store Services, Open Governance Framework Services, Connected Asset Services, Open Metadata Security Services, Conformance Suite Services), the server services (Integration Daemon Services, Engine Host Services and the Governance Action, Survey Action, Watchdog Action and Repository Governance OMES), and the view services, from Action Author API to Valid Metadata API.
Integration connectors¶
The pack defines the EgeriaIntegrationGroup (Egeria:IntegrationGroup:Egeria), a dynamic integration group that runs in an integration daemon.
| Connector | Runs as | Purpose |
|---|---|---|
| OMAGServerPlatformIntegrationConnector | OMAGServerPlatformCataloguer (user omagspcatnpa, refreshes every 60 minutes) |
Catalogs the OMAG Servers known to the OMAG Server Platforms attached as catalog targets. |
Governance engines¶
The request types for OMAG Server Platforms are added to the EgeriaGovernance engine defined in the Core Content Pack.
| Governance engine | Request type | Governance service | Purpose |
|---|---|---|---|
| EgeriaGovernance - Egeria Governance Engine | create-omag-server-platform |
Create Asset Governance Service | Creates an asset for the platform from its template. |
catalog-omag-server-platform |
Add Catalog Target to Asset Governance Service | Attaches the platform's asset to the OMAG Server Platform cataloguer. | |
delete-omag-server-platform |
Delete Asset Governance Service | Deletes the platform's asset using the template properties used to create it. | |
| EgeriaSurvey - Egeria Survey Engine | (none) | Defined for specialist surveys of Egeria's platforms and servers, but no survey services are registered with it in this release. |
The governance engines run in an engine host.
Graphs¶
The solution blueprint for the content pack shows the OMAG Server Platform cataloguer and the governance action types that set it up.
---
title: Components and Roles for Solution Blueprint - Egeria Content Pack [4d033711-0449-4d67-bf98-c7bfcae86b8c]
---
flowchart TD
%%{init: {"flowchart": {"htmlLabels": false}} }%%
subgraph 1 [Components and Actors]
2@{ shape: subproc, label: "*Solution Component*
**Configure the OMAG Server Platform Cataloguer**"}
3@{ shape: rect, label: "*Solution Component*
**OMAG Server Platform**"}
4@{ shape: subproc, label: "*Solution Component*
**Delete OMAG Server Platform from Open Metadata**"}
5@{ shape: div-rect, label: "*Solution Component*
**OMAG Server Platform Cataloguer**"}
6@{ shape: subproc, label: "*Solution Component*
**Create OMAG Server Platform in Open Metadata**"}
2==>|"configures,
[Solution Linking Wire]"|5
5==>|"Catalog Resource,
[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
style 4 color:#000000, fill:#DDA0DD, stroke:#000000
style 5 color:#000000, fill:#DDA0DD, stroke:#000000
style 6 color:#000000, fill:#DDA0DD, stroke:#000000
click 2 "https://egeria-project.org/concepts/governance-action-type/" "Click for more documentation" _blank
click 3 "https://egeria-project.org/concepts/omag-server-platform/" "Click for more documentation" _blank
click 4 "https://egeria-project.org/concepts/governance-action-type/" "Click for more documentation" _blank
click 5 "https://egeria-project.org/concepts/integration-connector/" "Click for more documentation" _blank
click 6 "https://egeria-project.org/concepts/governance-action-type/" "Click for more documentation" _blank
Egeria Content Pack: Solution blueprint containing integration connectors for working with Egeria's infrastructure. (Extracted from 6.3-SNAPSHOT)
The technology type report for OMAG Server Platform, taken from Egeria's quickstart, shows how the template, integration connector and governance action types are linked to the technology type.
Technology type report for OMAG Server Platform
---
title: Technology Report for - OMAG Server Platform [e76e450d-9533-4e98-b83d-c3ea7f8b0a08]
---
flowchart LR
%%{init: {"flowchart": {"htmlLabels": false}} }%%
1@{ shape: hex, label: "*Technology Type*
**OMAG Server Platform**"}
2@{ shape: hex, label: "*Technology Type*
**Catalog Templates**"}
1==>2
3@{ shape: card, label: "*Software Server Platform*
**OMAG Server Platform template**"}
2==>|"catalog templates"|3
4@{ shape: hex, label: "*Property Type*
**placeholderProperty**"}
3==>|"SpecificationPropertyAssignment"|4
5@{ shape: hex, label: "*placeholder Property*
**organizationName**"}
4==>|"SpecificationPropertyAssignment"|5
6@{ shape: hex, label: "*placeholder Property*
**resourceName**"}
4==>|"SpecificationPropertyAssignment"|6
7@{ shape: hex, label: "*placeholder Property*
**versionIdentifier**"}
4==>|"SpecificationPropertyAssignment"|7
8@{ shape: hex, label: "*placeholder Property*
**platformUserId**"}
4==>|"SpecificationPropertyAssignment"|8
9@{ shape: hex, label: "*placeholder Property*
**platformURLRoot**"}
4==>|"SpecificationPropertyAssignment"|9
10@{ shape: hex, label: "*placeholder Property*
**secretsStorePathName**"}
4==>|"SpecificationPropertyAssignment"|10
11@{ shape: hex, label: "*placeholder Property*
**identifier**"}
4==>|"SpecificationPropertyAssignment"|11
12@{ shape: hex, label: "*placeholder Property*
**platformName**"}
4==>|"SpecificationPropertyAssignment"|12
13@{ shape: hex, label: "*placeholder Property*
**secretsCollectionName**"}
4==>|"SpecificationPropertyAssignment"|13
14@{ shape: hex, label: "*placeholder Property*
**platformDescription**"}
4==>|"SpecificationPropertyAssignment"|14
15@{ shape: hex, label: "*Technology Type*
**Resource List**"}
1==>15
16@{ shape: tag-rect, label: "*Governance Action Type*
**Uncatalog Resource**"}
15==>|"resource [Uncatalog Resource]"|16
17@{ shape: hex, label: "*Property Type*
**supportedRequestParameter**"}
16==>|"SpecificationPropertyAssignment"|17
18@{ shape: hex, label: "*supported Request Parameter*
**templateGUID**"}
17==>|"SpecificationPropertyAssignment"|18
19@{ shape: hex, label: "*Property Type*
**producedGuard**"}
16==>|"SpecificationPropertyAssignment"|19
20@{ shape: hex, label: "*produced Guard*
**service-failed**"}
19==>|"SpecificationPropertyAssignment"|20
21@{ shape: hex, label: "*produced Guard*
**delete-complete**"}
19==>|"SpecificationPropertyAssignment"|21
22@{ shape: hex, label: "*produced Guard*
**missing-template**"}
19==>|"SpecificationPropertyAssignment"|22
23@{ shape: hex, label: "*produced Guard*
**set-up-complete**"}
19==>|"SpecificationPropertyAssignment"|23
24@{ shape: hex, label: "*Property Type*
**producedActionTarget**"}
16==>|"SpecificationPropertyAssignment"|24
25@{ shape: hex, label: "*produced Action Target*
**deletedAsset**"}
24==>|"SpecificationPropertyAssignment"|25
26@{ shape: stadium, label: "*Integration Connector*
**Catalog Resource**"}
15==>|"resource [Catalog Resource]"|26
27@{ shape: tag-rect, label: "*Governance Action Type*
**Catalog Resource**"}
15==>|"resource [Catalog Resource]"|27
28@{ shape: hex, label: "*Property Type*
**supportedRequestParameter**"}
27==>|"SpecificationPropertyAssignment"|28
29@{ shape: hex, label: "*supported Request Parameter*
**templateGUID**"}
28==>|"SpecificationPropertyAssignment"|29
30@{ shape: hex, label: "*Property Type*
**producedGuard**"}
27==>|"SpecificationPropertyAssignment"|30
31@{ shape: hex, label: "*produced Guard*
**delete-complete**"}
30==>|"SpecificationPropertyAssignment"|31
32@{ shape: hex, label: "*produced Guard*
**set-up-complete**"}
30==>|"SpecificationPropertyAssignment"|32
33@{ shape: hex, label: "*produced Guard*
**service-failed**"}
30==>|"SpecificationPropertyAssignment"|33
34@{ shape: hex, label: "*produced Guard*
**missing-template**"}
30==>|"SpecificationPropertyAssignment"|34
35@{ shape: hex, label: "*Property Type*
**producedActionTarget**"}
27==>|"SpecificationPropertyAssignment"|35
36@{ shape: hex, label: "*produced Action Target*
**newAsset**"}
35==>|"SpecificationPropertyAssignment"|36
37@{ shape: tag-rect, label: "*Governance Action Type*
**Catalog Resource**"}
15==>|"resource [Catalog Resource]"|37
38@{ shape: hex, label: "*Property Type*
**supportedRequestParameter**"}
37==>|"SpecificationPropertyAssignment"|38
39@{ shape: hex, label: "*supported Request Parameter*
**templateGUID**"}
38==>|"SpecificationPropertyAssignment"|39
40@{ shape: hex, label: "*Property Type*
**producedGuard**"}
37==>|"SpecificationPropertyAssignment"|40
41@{ shape: hex, label: "*produced Guard*
**service-failed**"}
40==>|"SpecificationPropertyAssignment"|41
42@{ shape: hex, label: "*produced Guard*
**missing-asset**"}
40==>|"SpecificationPropertyAssignment"|42
43@{ shape: hex, label: "*produced Guard*
**missing-connector**"}
40==>|"SpecificationPropertyAssignment"|43
44@{ shape: hex, label: "*produced Guard*
**set-up-complete**"}
40==>|"SpecificationPropertyAssignment"|44
45@{ shape: hex, label: "*Property Type*
**producedActionTarget**"}
37==>|"SpecificationPropertyAssignment"|45
46@{ shape: hex, label: "*produced Action Target*
**newAsset**"}
45==>|"SpecificationPropertyAssignment"|46
47@{ shape: hex, label: "*Property Type*
**supportedActionTarget**"}
37==>|"SpecificationPropertyAssignment"|47
48@{ shape: hex, label: "*supported Action Target*
**integrationConnector**"}
47==>|"SpecificationPropertyAssignment"|48
49@{ shape: stadium, label: "*Integration Connector*
**Catalog Resource**"}
15==>|"resource [Catalog Resource]"|49
50@{ shape: hex, label: "*Property Type*
**supportedConfigurationProperty**"}
49==>|"SpecificationPropertyAssignment"|50
51@{ shape: hex, label: "*supported Configuration Property*
**friendshipGUID**"}
50==>|"SpecificationPropertyAssignment"|51
style 44 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 45 color:#f2d9e7, fill:#260d1b, stroke:#f2d9e7
style 46 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 47 color:#f2d9e7, fill:#260d1b, stroke:#f2d9e7
style 48 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 49 color:#000000, fill:#BDB76B, stroke:#004563
style 50 color:#f2d9e7, fill:#260d1b, stroke:#f2d9e7
style 51 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 10 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 11 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 12 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 13 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 14 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 15 color:#f2d9e7, fill:#732650, stroke:#f2d9e7
style 16 color:#000000, fill:#40E0D0, stroke:#000000
style 17 color:#f2d9e7, fill:#260d1b, stroke:#f2d9e7
style 18 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 19 color:#f2d9e7, fill:#260d1b, stroke:#f2d9e7
style 1 color:#f2d9e7, fill:#732650, stroke:#f2d9e7
style 2 color:#f2d9e7, fill:#732650, stroke:#f2d9e7
style 3 color:#004563, fill:#b0e0e6, stroke:#004563
style 4 color:#f2d9e7, fill:#260d1b, stroke:#f2d9e7
style 5 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 6 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 7 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 8 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 9 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 20 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 21 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 22 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 23 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 24 color:#f2d9e7, fill:#260d1b, stroke:#f2d9e7
style 25 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 26 color:#000000, fill:#BDB76B, stroke:#004563
style 27 color:#000000, fill:#40E0D0, stroke:#000000
style 28 color:#f2d9e7, fill:#260d1b, stroke:#f2d9e7
style 29 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 30 color:#f2d9e7, fill:#260d1b, stroke:#f2d9e7
style 31 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 32 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 33 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 34 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 35 color:#f2d9e7, fill:#260d1b, stroke:#f2d9e7
style 36 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 37 color:#000000, fill:#40E0D0, stroke:#000000
style 38 color:#f2d9e7, fill:#260d1b, stroke:#f2d9e7
style 39 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 40 color:#f2d9e7, fill:#260d1b, stroke:#f2d9e7
style 41 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 42 color:#260d1b, fill:#d98cb6, stroke:#260d1b
style 43 color:#260d1b, fill:#d98cb6, stroke:#260d1b
Usage
The Egeria Content Pack is loaded automatically into the active-metadata-store of Egeria's quickstart. For other deployments, load it into a metadata access store with the Runtime Manager, or add it to the server's start-up archives. Then run the create-omag-server-platform and catalog-omag-server-platform governance action types with the platform's URL root and name to start cataloguing it.
Leveraging Egeria shows how to use this content to catalog your Egeria deployment.
Raise an issue or comment below