Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #297 from cmgrote/master
Browse files Browse the repository at this point in the history
Updated docs with architectural view and getting started guide
  • Loading branch information
cmgrote authored May 28, 2021
2 parents 5308e2c + 8a7a94d commit 19c4815
Show file tree
Hide file tree
Showing 120 changed files with 23,904 additions and 89 deletions.
104 changes: 15 additions & 89 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,102 +15,28 @@ This repository houses the ODPi Egeria connectors for various Hadoop ecosystem c
- [Apache Ranger](https://ranger.apache.org) is a framework to enable, monitor and manage comprehensive data security
across the Hadoop platform. (Coming soon.)

## Getting started
## Quick links

### TL;DR
- See our [Getting Started](https://odpi.github.io/egeria-connector-hadoop-ecosystem/getting-started/index.html) guide for
step-by-step instructions on using these connectors to integrate Apache Atlas with Egeria.
- See the [CTS Results](cts/README.md) for details on its conformance.

The quick version:
## How it works

1. Download the latest connectors from: https://odpi.jfrog.io/odpi/egeria-snapshot-local/org/odpi/egeria/egeria-connector-hadoop-ecosystem-package/2.7-SNAPSHOT/egeria-connector-hadoop-ecosystem-package-2.7-SNAPSHOT-jar-with-dependencies.jar
1. Download the latest Egeria core from: https://odpi.jfrog.io/odpi/egeria-snapshot-local/org/odpi/egeria/server-chassis-spring/2.7-SNAPSHOT/server-chassis-spring-2.7-SNAPSHOT.jar
1. Rename the downloaded Egeria core file to `egeria-server-chassis-spring.jar`.
1. Download the `truststore.p12` file from: https://github.com/odpi/egeria/blob/master/truststore.p12
1. Run the following command to start Egeria from the command-line, waiting for the final line of output indicating the
server is running and ready for configuration:
```bash
$ export STRICT_SSL=false
$ java -Dloader.path=. -jar egeria-server-chassis-spring.jar
ODPi Egeria
____ __ ___ ___ ______ _____ ____ _ _ ___
/ __ \ / |/ // | / ____/ / ___/ ___ ____ _ __ ___ ____ / _ \ / / __ / / / _ /__ ____ _ _
/ / / // /|_/ // /| | / / __ \__ \ / _ \ / __/| | / // _ \ / __/ / /_/ // // | / _\ / /_ / | / _// || |
/ /_/ // / / // ___ |/ /_/ / ___/ // __// / | |/ // __// / / __ // // / \ / /_ / _// / // / / / / /
\____//_/ /_//_/ |_|\____/ /____/ \___//_/ |___/ \___//_/ /_/ /_/ \__/\//___//_/ \__//_/ /_/ /_/
There is currently only an Apache Atlas connector. This connector integrates into the Open Connector Framework (OCF) and
implements certain methods that adhere to the interfaces required by a repository proxy. These then communicate with
Apache Atlas via Apache Atlas's Java client (in turn communicating via Apache Atlas's REST API) to read information
from an Apache Atlas environment.

:: Powered by Spring Boot (v2.2.2.RELEASE) ::
This requires an existing Apache Atlas environment to already be running elsewhere: the connector simply connects to
this existing environment and "proxies" any requests from Egeria into a series of native API calls against the environment.

![Overview](docs/overview.png)

No OMAG servers listed in startup configuration
Thu Jan 02 11:30:10 GMT 2020 OMAG server platform ready for more configuration
```
1. Follow the detailed instructions for configuring the connector(s) you want to use, either [Apache Atlas](apache-atlas-adapter)
or Apache Ranger (coming soon).
> Overview of the connector implementation
### Obtain the connector

You can either download the latest released or snapshot version of the connector directly from ODPi, or build the
connector yourself. In both cases, once you have the jar file for the connector
(`egeria-connector-hadoop-ecosystem-package-VERSION-jar-with-dependencies.jar`) this needs to be copied to a
location where it can be run alongside the OMAG Server Platform from Egeria core itself. For example, this could be
placing the file into the `/lib` directory as `/lib/egeria-connector-hadoop-ecosystem-package-VERSION-jar-with-dependencies.jar`.

#### Download from ODPi

To download a pre-built version of the connector, use either of the following URLs (depending on whether you want an
officially-released version or the latest snapshot):

- Release: https://odpi.jfrog.io/odpi/egeria-release-local/org/odpi/egeria/egeria-connector-hadoop-ecosystem-package/2.5/egeria-connector-hadoop-ecosystem-package-2.5-jar-with-dependencies.jar
- Snapshot: https://odpi.jfrog.io/odpi/egeria-snapshot-local/org/odpi/egeria/egeria-connector-hadoop-ecosystem-package/2.7-SNAPSHOT/egeria-connector-hadoop-ecosystem-package-2.7-SNAPSHOT-jar-with-dependencies.jar

#### Building the connector yourself

Alternatively, you can build the connector yourself. To do this, you'll need to first clone this repository and then
build through Maven using `mvn clean install`. After building, the connector is available as:
```text
distribution/target/egeria-connector-hadoop-ecosystem-package-VERSION-jar-with-dependencies.jar
```
### Configure security
There are [multiple options to configure the security of your environment](docs/security/README.md) for this connector,
but this must be done prior to starting up the connector itself (step below).
For simple tests, if you can run your Apache Atlas environment with only its most basic security and without HTTPS, then
there is nothing additional you need to configure for the connector.
Alternatively, if you can still use basic authentication (username and password) but must run Apache Atlas via HTTPS,
and you simply want to test things out, the simplest (but most insecure) option is to set the environment variable
`STRICT_SSL` to `false` using something like the following prior to starting up the OMAG Server Platform:
```bash
export STRICT_SSL=false
```
Note that this will disable all certificate validation for SSL connections made between Egeria and your Apache Atlas
environment, so is inherently insecure.
Note that in any case, having a `truststore.p12` file available to the server chassis is required -- the simplest is to
ensure that Egeria's own (https://github.com/odpi/egeria/blob/master/truststore.p12) is placed in the directory in which
you are running the server chassis.

### Startup the OMAG Server Platform

You can startup the OMAG Server Platform with this connector ready-to-be-configured by running:

```bash
$ java -Dloader.path=/lib -jar server-chassis-spring-VERSION.jar
```

(This command will startup the OMAG Server Platform, including all libraries
in the `/lib` directory as part of the classpath of the OMAG Server Platform.)

### Configure the connector(s) you want to use

See the detailed instructions for configuring the connector(s) you want to use:

- [Apache Atlas](apache-atlas-adapter)
- Apache Ranger (coming soon)
Note that the connector operates only in a read-only manner: no write operations (creates or updates) are implemented
against Apache Atlas. Furthermore, [only a subset of the open metadata types are currently mapped](docs/mappings/README.md).

----
License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
Expand Down
1 change: 1 addition & 0 deletions docs/HadoopEcosystemConnectors.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mxfile host="Electron" modified="2021-05-28T08:35:57.783Z" agent="5.0 (Macintosh; Intel Mac OS X 11_3_1) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/14.6.13 Chrome/89.0.4389.128 Electron/12.0.7 Safari/537.36" etag="qJ8bglCjCmmn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1Er3/Ly4MyTtXOx1EFReSwqKZ/sj3ol72V7Rb3qt6sVHSOSMskTy249I9uRbMW+7iAw5NJWrpVQlpCYpABPK6t0CNHuBe7AN5Js6BLuJwUDNIZs3xHY6l59vqGW4zdcrG/pLuYZPKywUci1D9o212lyOzmLGUF8B8opqPHf9Z0zy/aaw+TbIXvWpbUyWDAMzrwmYVQi5DumDTWmFDzWmq1Fg6x92o4a7XzvyZmp7d1BI0nghXwG5t5Ws3MJUTFbEkUZZD2V2yXgL6e7/wK6t1D3d5lbRkKNvP7uYwi3nvh7PnnFTGrD5B9uD0GWlAHlNxm+l7nuPuZa/POaTLUUaWAPFS88lKWF71fc8c9Uxh+JpuqcFZq20a57XgU6r6bzP0WGMfskEgzxhTzNwAjK9Z1MkCaEol+cEABLnnaldTztSDVkgiblGXSldYYaSDcZ1FO+LAFrUdys8HiXE1Zn1xVYQDwjGdop1Fo2bZYlNdTIhmGUckSK2zix9U3c2zFrQ7nKITRJ0xWqvqJgXYO8cA2oqofL0UAdaaBOKAQMlqxTM8ObdfjU43OI4e7xARGxrBwnIrZo2b1u8Mxw2PSaQs0Xkj1fiqN8nhb3vMLzbcQBFVcStVOlO8E8PDDs7hXMlu8HTTVmuOjoMAxrhFIV7sFhWI2NQTcxWJuwe5D07T4GFyfRSY6CGvtvG+T/Nx4FZTJfLuW/yf1TJ8uBq0hw9dLtUO5rWqsr7qu3+03u62fS8Mn2bzZNtvRXRN/hghtuPr0h9d6lznOVzS8vXuo3lSahZ3cl9Pg5qWKivcf5DLagzLPeDlBdplmOSjFDmmW64O9MkFv6Bf+Mwv5ig7DgNmc4jCkQCZRA7N2lOD7tiQgYbPn+pJid+l2NowirwEA5ywBlZ69qLP3twHS1gKEAxB58AdEd+H+SzDW8tzkSyXi1+ulLHs+qHxA5038A</diagram></mxfile>
Binary file added docs/getting-started/img/overview1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/getting-started/img/overview2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 19c4815

Please sign in to comment.