Dynatrace Service Broker
This project is a self-hostable application that provides a service broker that proxies Dynatrace SaaS/Managed credentials to applications. This is typically useful for on-premise deployments of Cloud Foundry that wish to easily bind to Dynatrace SaaS or Managed clusters. In order to facilitate self-hosting, the application is designed to work in Cloud Foundry.
The application is written in Java and packaged as a self executable JAR file. This enables it to run in anywhere that Java is available. Building the application (required for deployment) requires Maven.
The following instructions assume that you have an account on a Cloud Foundry cluster and installed the
cf command line tool.
In order to automate the deployment process as much as possible, the project contains a Cloud Foundry manifest. To deploy run the following commands:
$ mvn -Dmaven.test.skip=true clean install $ cf push
Since the application is designed to work in a PaaS environment, all configuration is done with environment variables.
DYNATRACE_SERVICE_PLANS value contains the JSON payload to connect to Dynatrace SaaS/Managed.
This payload consists of
skiperrors values to connect to Dynatrace SaaS/Managed.
||Your Dynatrace environment ID is the unique identifier of your Dynatrace environment. You can find it in the deploy Dynatrace section within your environment.|
||The token for integrating your Dynatrace environment with Cloud Foundry. You can find it in the deploy Dynatrace section within your environment.|
||(Optional) The base URL of the Dynatrace API. If you are using Dynatrace Managed you will need to set this property to
||(Optional) Skips errors during download of the OneAgent.|
||The JSON payload for connecting to Dynatrace SaaS/Managed.|
||The username that the Cloud Foundry Cloud Controller should use to authenticate. This can be any value.|
||The password that the Cloud Foundry Cloud Controller should use to authenticate. This can be any value|
Sample JSON payload
The project is set up as a Maven project and doesn't have any special requirements beyond that.
The project is released under version 2.0 of the Apache License.