alphagov / paas-aiven-broker

A service broker to provide Aiven Elasticsearch and InfluxDB services to Cloud Foundry users

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aiven Service Broker

⚠️ When merging pull requests, please use the gds-cli or github_merge_sign ⚠️

This is an Open Service Broker API compliant service broker for services offered by https://aiven.io/.

Running

Provide a configuration file, such as the example configuration, and run main:

go run main.go -config examples/config.json

Testing

Unit Testing

make unit

Integration Testing

Integration testing requires environment variables to be set (see provider/config.go for details).

There is a make target which creates a .env file with these credentials and runs with these:

make local_integration

Alternatively, export these manually and run:

make integration

Note: integration testing uses the real Aiven API and therefore incurs a cost.

About

A service broker to provide Aiven Elasticsearch and InfluxDB services to Cloud Foundry users

License:MIT License


Languages

Language:Go 98.6%Language:Makefile 0.8%Language:Shell 0.5%