Bootstrapping the API definition for a new AppCat service
The repository contains a bootstrap tool to generate a basic API definition for a new AppCat service.
You need a simple json file with all relevant information and pass this to the make target as an environment variable.
Example
mariadb.json:
{
"name": "VSHNMariaDB",
"backup": true,
"restore": true,
"maintenance": true,
"tls": true,
"settingsKey": "mariadbSettings"
}
Generating the API definition:
make API_FILE=mariadb.json bootstrap
This will create the new API definition for the VSHNMariaDB
and save it in apis/vshn/v1/dbaas_vshn_mariadb.go