This is the official Morpheus plugin for interacting with the Digital Ocean API. This plugin provides droplet provisioning, snapshot create, and snapshot restore.
This is a Morpheus plugin that leverages the morpheus-plugin-core
which can be referenced by visiting https://developer.morpheusdata.com. It is a groovy plugin designed to be uploaded into a Morpheus environment via the Administration -> Integrations -> Plugins
section. To build this product from scratch simply run the shadowJar gradle task on java 11:
./gradlew shadowJar
A jar will be produced in the build/lib
folder that can be uploaded into a Morpheus environment.
Once the plugin is loaded in the environment. DigitalOcean becomes available as an option when creating a new cloud in Infrastructure -> Clouds
.
The following information is required when adding a DigitalOcean cloud:
- Username: Your DigitalOcean username.
- API Key: A personal access token generated on the DigitalOcean portal.
- Datacenter: A list of available datacenters is provided.