Apache Atlas Content Pack¶
The ApacheAtlasContentPack contains the reference data, templates, connector definitions and governance services for working with Apache Atlas. It lets you describe an Apache Atlas server in open metadata, survey the types and instances it holds, and exchange metadata - glossaries, classifications, data sets and lineage - between Apache Atlas and the open metadata ecosystem. The connectors it configures are supplied in the omag-server-platform distribution.
The content pack is found in the ApacheAtlasContentPack.omarchive file in the content-packs directory of the distribution. Unlike most of the technology content packs, it is not loaded into the quickstart's active-metadata-store, so load it yourself when you want to work with Apache Atlas. It depends on the Core Content Pack, which supplies the base technology types and the generic governance services. It is built by the core-content-pack module, and the connectors are in the apache-atlas-connectors module.
How the pieces fit together¶
Working with an Apache Atlas server starts with its technology type. The Apache Atlas Server technology type points to a template for creating the server's open metadata, and to the services and governance action processes that act on it. Running ApacheAtlasServer::CreateAsCatalogTarget creates the server's asset from its template and attaches it as a catalog target of the ApacheAtlasExchange integration connector. From then on, the connector exchanges metadata with the server. Which metadata is exchanged, and in which direction, is controlled by the configuration properties of the connector's connection: it can publish glossaries, categories and active terms from the open metadata ecosystem into Apache Atlas, bring Apache Atlas glossaries into open metadata, share the data sets that Apache Atlas has catalogued, and extract the lineage it has captured.
The survey engine gives a one-off view of the server, recorded as a survey report rather than as catalog entries. The survey measures the server's overall metrics, extracts the types it defines, and profiles the numbers of instances, classifications, labels, business metadata and relationships attached to each type. The ApacheAtlasServer:CreateAndSurvey process creates the asset, runs the survey and prints out the report in one step.
Technology types and templates¶
| Technology type | Template creates | Governance action processes |
|---|---|---|
| Apache Atlas Server | A SoftwareServer (Apache Atlas Server::~{serverName}~) with its Metadata Catalog (InventoryCatalog) capability, endpoint and connection |
ApacheAtlasServer::CreateAsCatalogTarget, ApacheAtlasServer:CreateAndSurvey, ApacheAtlasServer:DeleteAsset |
The pack also defines the twelve annotation types used in the survey report. One, Apache Atlas Server Metrics, holds the server's metrics; one, Apache Atlas Type Analysis, holds the types extracted from the server; and ten profile the instances of each type, such as Apache Atlas Attached Classification Types, Apache Atlas Attached Labels and Apache Atlas End 1 Attached Relationship Types. The templates are described further in the Template Catalog.
Integration connectors¶
The pack defines the ApacheAtlasIntegrationGroup (Egeria:IntegrationGroup:ApacheAtlas), a dynamic integration group that runs in an integration daemon.
| Connector | Runs as | Purpose |
|---|---|---|
| ApacheAtlasServerIntegrationConnector | ApacheAtlasExchange (user atlascatnpa, refreshes every 60 minutes) |
Exchanges metadata with the Apache Atlas servers attached as catalog targets. |
Governance engines¶
| Governance engine | Request type | Governance service | Purpose |
|---|---|---|---|
| ApacheAtlasSurvey - Apache Atlas Survey Engine | survey-apache-atlas-server |
Apache Atlas Survey Service | Discovers the types, and the number of instances of each, in an Apache Atlas server. |
| ApacheAtlasGovernance - Apache Atlas Governance Engine | create-apache-atlas-server |
Create Asset Governance Service | Creates the server's asset from its template. |
catalog-apache-atlas-server |
Add Catalog Target to Asset Governance Service | Attaches the server's asset to the Apache Atlas integration connector. | |
delete-apache-atlas-server |
Delete Asset Governance Service | Deletes the server's asset using the template properties used to create it. |
The governance engines run in an engine host.
Solution blueprint¶
The graph below shows the solution blueprint shipped in the content pack. It was generated from an earlier load of the pack, since the quickstart does not load it.
---
title: Components and Roles for Solution Blueprint - Apache Atlas Content Pack [819a7239-f1dc-43af-8501-c7a551655373]
---
flowchart TD
%%{init: {"flowchart": {"htmlLabels": false}} }%%
subgraph 1 [Components and Actors]
2@{ shape: subproc, label: "*Solution Component*
**Configure Apache Atlas Server Cataloguer**"}
3@{ shape: rect, label: "*Solution Component*
**Apache Atlas Server**"}
4@{ shape: subproc, label: "*Solution Component*
**Print Survey Report**"}
5@{ shape: subproc, label: "*Solution Component*
**Create Apache Atlas Server in Open Metadata**"}
6@{ shape: processes, label: "*Solution Component*
**Create and catalog Governance Action Process for Apache Atlas Server**"}
7@{ shape: processes, label: "*Solution Component*
**Delete with Template Governance Action Process for Apache Atlas Server**"}
8@{ shape: subproc, label: "*Solution Component*
**Delete Apache Atlas Server from Open Metadata**"}
9@{ shape: processes, label: "*Solution Component*
**Create and Survey Governance Action Process for Apache Atlas Server**"}
10@{ shape: div-rect, label: "*Solution Component*
**Apache Atlas Exchange**"}
11@{ shape: subproc, label: "*Solution Component*
**Survey an Apache Atlas Server**"}
2==>|"configures,
[Solution Linking Wire]"|10
6==>|"step 2,
[Solution Linking Wire]"|2
11==>|"works with,
[Solution Linking Wire]"|3
10==>|"Catalog Resource,
[Solution Linking Wire]"|3
9==>|"step 3,
[Solution Linking Wire]"|4
6==>|"step 1,
[Solution Linking Wire]"|5
9==>|"step 1,
[Solution Linking Wire]"|5
12@{ shape: trap-t, label: "*Solution Actor Role*
**Open Metadata User**"}
12==>|"requests catalog,
[Solution Component Actor]"|6
12==>|"delete Apache Atlas Server,
[Solution Component Actor]"|7
7==>|"step 1,
[Solution Linking Wire]"|8
12==>|"requests survey,
[Solution Component Actor]"|9
9==>|"step 2,
[Solution Linking Wire]"|11
end
style 11 color:#000000, fill:#DDA0DD, stroke:#000000
style 1 color:#FFFFFF, fill:#3079ab, stroke:#000000
style 12 color:#000000, fill:#FFE599, 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
style 7 color:#000000, fill:#DDA0DD, stroke:#000000
style 8 color:#000000, fill:#DDA0DD, stroke:#000000
style 9 color:#000000, fill:#DDA0DD, stroke:#000000
style 10 color:#000000, fill:#DDA0DD, stroke:#000000
click 11 "https://egeria-project.org/concepts/governance-action-type/" "Click for more documentation" _blank
click 2 "https://egeria-project.org/concepts/governance-action-type/" "Click for more documentation" _blank
click 3 "https://atlas.apache.org/" "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/governance-action-type/" "Click for more documentation" _blank
click 6 "https://egeria-project.org/egeria-solutions/leveraging-apache-atlas/overview/" "Click for more documentation" _blank
click 7 "https://egeria-project.org/egeria-solutions/leveraging-apache-atlas/overview/" "Click for more documentation" _blank
click 8 "https://egeria-project.org/concepts/governance-action-type/" "Click for more documentation" _blank
click 9 "https://egeria-project.org/egeria-solutions/leveraging-apache-atlas/overview/" "Click for more documentation" _blank
click 10 "https://egeria-project.org/concepts/integration-connector/" "Click for more documentation" _blank
Apache Atlas Content Pack: Solution blueprint supporting integration connectors connecting to Apache Atlas. (Extracted from 6.0-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. Make sure an integration daemon is running the ApacheAtlasIntegrationGroup and an engine host is running the ApacheAtlasSurvey and ApacheAtlasGovernance engines. Then run ApacheAtlasServer::CreateAsCatalogTarget with the server's name and connection details to start exchanging metadata with it, or ApacheAtlasServer:CreateAndSurvey to survey it.
Leveraging Apache Atlas describes how Egeria works with Apache Atlas.
Raise an issue or comment below