All commands in this document should be executed from this directory unless explicitly stated otherwise.
make test
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
To run you need to set some environment variables:
EGERIA_SERVER_URL
: A URL to a running egeria serverKUBE_NAMESPACE
: target namespace (defaults to "fybrik-system")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
make build
Cleanup with make clean
Set environment variables:
EGERIA_SERVER_URL
: a URL to a running Egeria serverPORT_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
.