Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

fybrik/egeria-connector-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Egeria Connector

All commands in this document should be executed from this directory unless explicitly stated otherwise.

Testing

make test

Build and push the connector image

Set the following environment variables to point to a container registry: DOCKER_USERNAME, DOCKER_PASSWORD, DOCKER_HOSTNAME (defaults to "ghcr.io"), DOCKER_NAMESPACE (defaults to "fybrik"), DOCKER_TAGNAME (defaults to "latest"). and environment variables PROTOSDIR to contain the path to the protos directory in Fybrik repository. Then run:

make docker-build docker-push

Cleanup with make clean docker-rmi

Running in a cluster

To run you need to set some environment variables:

  1. EGERIA_SERVER_URL: A URL to a running egeria server
  2. KUBE_NAMESPACE: target namespace (defaults to "fybrik-system")
  3. PROTOSDIR: path to the protos directory in Fybrik repository

We recommend to create a file named .env in the root directory of the project and set all variables there. For example:

EGERIA_SERVER_URL="https://egeria-platform.egeria-catalog:9443"
KUBE_NAMESPACE="fybrik-system"
PROTOSDIR="/tmp/fybrik/pkg/connectors/protos"

Deploy the connector:

make deploy

Cleanup with make undeploy

Running locally

Build the connector

make build

Cleanup with make clean

Run the connector

Set environment variables:

  1. EGERIA_SERVER_URL: a URL to a running Egeria server
  2. PORT_EGERIA_CONNECTOR: port to bind to (defaults to 50084)

We recommend to create a file named .env in the root directory of the project and set all variables there. For example:

EGERIA_SERVER_URL="https://localhost:9443"
PORT_EGERIA_CONNECTOR=50084

Run the connector:

make run

Termnate with make terminate.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published