event-bus/

directory
v0.0.0-...-affaa53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2019 License: Apache-2.0

README

Event Bus

Overview

The Event Bus enables Kyma to integrate with various other external solutions. The integration uses the publish-subscribe messaging pattern that allows Kyma to receive business Events from different solutions, enrich the events, and trigger business flows using lambdas or services defined in Kyma. See the Event Bus documentation.

Docker Images

Currently, Event Bus makes the following three Docker images available to the kyma core Helm chart:

  • event-bus-publish-knative
  • event-bus-subscription-controller-knative

There are also end-to-end test Docker images to use as helm tests. See the tests in the event-bus directory for more details.

Development

The two binaries of Event Bus reside under cmd/event-bus-XXXX "e.g. cmd/event-bus-publish-knative". They each have a Makefile to build and test the component as well as to create and push a Docker image. The following table explains the various make targets.

Command Description
make This is the default target for building the Docker image. It tests, compiles, creates, and appropriately tags a Docker image.
make build Runs all the tests and the linter. It compiles the binary in the bin directory.
make push-image Pushes the Docker image to the registry specified in the REGISTRY variable of the Makefile.
make build-image Creates a Docker image.
make test Run all the tests.

Directories

Path Synopsis
api
push/eventing.kyma-project.io/v1alpha1
Package v1alpha1 is v1alpha1 version of the API.
Package v1alpha1 is v1alpha1 version of the API.
cmd
generated
ea/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
ea/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
ea/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
ea/clientset/versioned/typed/applicationconnector.kyma-project.io/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
ea/clientset/versioned/typed/applicationconnector.kyma-project.io/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
push/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
push/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
push/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
push/clientset/versioned/typed/eventing.kyma-project.io/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
push/clientset/versioned/typed/eventing.kyma-project.io/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
internal
ea/apis/applicationconnector.kyma-project.io/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
pkg
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL