Skip to content

Instantly share code, notes, and snippets.

@dymurray
Created July 13, 2017 18:47
Show Gist options
  • Save dymurray/9a2cb4ba7b1b235e908ca71129530528 to your computer and use it in GitHub Desktop.
Save dymurray/9a2cb4ba7b1b235e908ca71129530528 to your computer and use it in GitHub Desktop.
{
"services": [
{
"name": "etherpad-apb",
"id": "6f180cb4-30d4-4a8a-975e-e91ca7ed2ed9",
"description": "Note taking web application",
"bindable": true,
"metadata": {
"dependencies": [
"docker.io/mariadb:latest",
"docker.io/tvelocity/etherpad-lite:latest"
],
"displayName": "Etherpad (APB)",
"documentationUrl": "https://github.com/ether/etherpad-lite/wiki",
"imageUrl": "https://translatewiki.net/images/thumb/6/6f/Etherpad_lite.svg/200px-Etherpad_lite.svg.png",
"longDescription": "An apb that deploys Etherpad Lite",
"parameters": [
{
"mariadb_name": {
"title": "MariaDB Database Name",
"type": "string",
"default": "etherpad"
}
},
{
"mariadb_user": {
"title": "MariaDB User",
"type": "string",
"default": "etherpad",
"maxlength": 63
}
},
{
"mariadb_password": {
"title": "MariaDB Password",
"type": "string",
"description": "A random alphanumeric string if left blank",
"default": "admin"
}
},
{
"mariadb_root_password": {
"title": "Root Password",
"type": "string",
"description": "root password for mariadb",
"default": "admin"
}
}
]
},
"plans": [
{
"id": "4c10ff42-be89-420a-9bab-27a9bef9aed8",
"name": "default",
"description": "Default plan",
"free": true,
"schemas": {
"service_instance": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"mariadb_name": {
"default": "etherpad",
"title": "MariaDB Database Name",
"type": "string"
},
"mariadb_password": {
"default": "admin",
"description": "A random alphanumeric string if left blank",
"title": "MariaDB Password",
"type": "string"
},
"mariadb_root_password": {
"default": "admin",
"description": "root password for mariadb",
"title": "Root Password",
"type": "string"
},
"mariadb_user": {
"default": "etherpad",
"maxLength": 63,
"title": "MariaDB User",
"type": "string"
}
},
"required": [
"mariadb_name",
"mariadb_user"
],
"type": "object"
}
},
"update": {}
},
"service_binding": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"mariadb_name": {
"default": "etherpad",
"title": "MariaDB Database Name",
"type": "string"
},
"mariadb_password": {
"default": "admin",
"description": "A random alphanumeric string if left blank",
"title": "MariaDB Password",
"type": "string"
},
"mariadb_root_password": {
"default": "admin",
"description": "root password for mariadb",
"title": "Root Password",
"type": "string"
},
"mariadb_user": {
"default": "etherpad",
"maxLength": 63,
"title": "MariaDB User",
"type": "string"
}
},
"type": "object"
}
}
}
}
}
]
},
{
"name": "mediawiki123-apb",
"id": "55c53a5d-65a6-4c27-88fc-e027410b1337",
"description": "Mediawiki123 apb implementation",
"bindable": false,
"metadata": {
"dependencies": [
"docker.io/jmontleon/mediawiki123:latest"
],
"displayName": "Mediawiki (APB)",
"documentationUrl": "https://www.mediawiki.org/wiki/Documentation",
"imageUrl": null,
"longDescription": "An apb that deploys Mediawiki 1.23",
"parameters": [
{
"mediawiki_db_schema": {
"title": "Mediawiki DB Schema",
"type": "string",
"default": "mediawiki"
}
},
{
"mediawiki_site_name": {
"title": "Mediawiki Site Name",
"type": "string",
"default": "MediaWiki"
}
},
{
"mediawiki_site_lang": {
"title": "Mediawiki Site Language",
"type": "string",
"default": "en"
}
},
{
"mediawiki_admin_user": {
"title": "Mediawiki Admin User",
"type": "string",
"default": "admin"
}
},
{
"mediawiki_admin_pass": {
"title": "Mediawiki Admin User Password",
"type": "string"
}
}
]
},
"plans": [
{
"id": "4c10ff42-be89-420a-9bab-27a9bef9aed8",
"name": "default",
"description": "Default plan",
"free": true,
"schemas": {
"service_instance": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"mediawiki_admin_pass": {
"title": "Mediawiki Admin User Password",
"type": "string"
},
"mediawiki_admin_user": {
"default": "admin",
"title": "Mediawiki Admin User",
"type": "string"
},
"mediawiki_db_schema": {
"default": "mediawiki",
"title": "Mediawiki DB Schema",
"type": "string"
},
"mediawiki_site_lang": {
"default": "en",
"title": "Mediawiki Site Language",
"type": "string"
},
"mediawiki_site_name": {
"default": "MediaWiki",
"title": "Mediawiki Site Name",
"type": "string"
}
},
"required": [
"mediawiki_db_schema",
"mediawiki_site_name",
"mediawiki_site_lang",
"mediawiki_admin_user",
"mediawiki_admin_pass"
],
"type": "object"
}
},
"update": {}
},
"service_binding": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"mediawiki_admin_pass": {
"title": "Mediawiki Admin User Password",
"type": "string"
},
"mediawiki_admin_user": {
"default": "admin",
"title": "Mediawiki Admin User",
"type": "string"
},
"mediawiki_db_schema": {
"default": "mediawiki",
"title": "Mediawiki DB Schema",
"type": "string"
},
"mediawiki_site_lang": {
"default": "en",
"title": "Mediawiki Site Language",
"type": "string"
},
"mediawiki_site_name": {
"default": "MediaWiki",
"title": "Mediawiki Site Name",
"type": "string"
}
},
"type": "object"
}
}
}
}
}
]
},
{
"name": "rocketchat-apb",
"id": "dc2189ac-0e42-4523-a8c2-0a9b9ba51d05",
"description": "This APB deploys RocketChat backed by MongoDB",
"bindable": false,
"metadata": {
"dependencies": [
"rocket.chat:latest",
"mongo:3.2"
],
"displayName": "RocketChat (APB)",
"documentationUrl": "https://rocket.chat",
"imageUrl": "https://github.com/RocketChat/Rocket.Chat.Artwork/blob/master/Logos/rocketcat.png?raw=true",
"longDescription": "An APB that deploys RocketChat to OpenShift backed by MongoDB",
"parameters": [
{
"mongodb_user": {
"title": "MongoDB Username",
"type": "string",
"default": "rocketchat"
}
},
{
"mongodb_pass": {
"title": "MongoDB Password",
"type": "string",
"default": "changeme"
}
},
{
"mongodb_name": {
"title": "MongoDB Database Name",
"type": "string",
"default": "rocketchat"
}
},
{
"mongodb_admin_pass": {
"title": "MongoDB Admin Password",
"type": "string",
"default": "changeme"
}
},
{
"mongodb_version": {
"title": "MongoDB Version",
"type": "enum",
"default": 3.2,
"enum": [
"3.2",
"3.4",
"3.5"
]
}
},
{
"rocketchat_version": {
"title": "RocketChat Version",
"type": "enum",
"default": "latest",
"enum": [
"latest",
"0.56.0"
]
}
}
]
},
"plans": [
{
"id": "4c10ff42-be89-420a-9bab-27a9bef9aed8",
"name": "default",
"description": "Default plan",
"free": true,
"schemas": {
"service_instance": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"mongodb_admin_pass": {
"default": "changeme",
"title": "MongoDB Admin Password",
"type": "string"
},
"mongodb_name": {
"default": "rocketchat",
"title": "MongoDB Database Name",
"type": "string"
},
"mongodb_pass": {
"default": "changeme",
"title": "MongoDB Password",
"type": "string"
},
"mongodb_user": {
"default": "rocketchat",
"title": "MongoDB Username",
"type": "string"
},
"mongodb_version": {
"default": 3.2,
"enum": [
"3.2",
"3.4",
"3.5"
],
"title": "MongoDB Version",
"type": "string"
},
"rocketchat_version": {
"default": "latest",
"enum": [
"latest",
"0.56.0"
],
"title": "RocketChat Version",
"type": "string"
}
},
"required": [
"mongodb_user",
"mongodb_pass",
"mongodb_name",
"mongodb_admin_pass",
"mongodb_version",
"rocketchat_version"
],
"type": "object"
}
},
"update": {}
},
"service_binding": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"mongodb_admin_pass": {
"default": "changeme",
"title": "MongoDB Admin Password",
"type": "string"
},
"mongodb_name": {
"default": "rocketchat",
"title": "MongoDB Database Name",
"type": "string"
},
"mongodb_pass": {
"default": "changeme",
"title": "MongoDB Password",
"type": "string"
},
"mongodb_user": {
"default": "rocketchat",
"title": "MongoDB Username",
"type": "string"
},
"mongodb_version": {
"default": 3.2,
"enum": [
"3.2",
"3.4",
"3.5"
],
"title": "MongoDB Version",
"type": "string"
},
"rocketchat_version": {
"default": "latest",
"enum": [
"latest",
"0.56.0"
],
"title": "RocketChat Version",
"type": "string"
}
},
"type": "object"
}
}
}
}
}
]
},
{
"name": "manageiq-apb",
"id": "b4325aea-0479-4f8d-b502-1922bbaee13e",
"description": "ManageIQ is an open source management platform for Hybrid IT.",
"bindable": false,
"metadata": {
"displayName": "ManageIQ (APB)",
"documentationUrl": "https://manageiq.org/docs/",
"imageUrl": "https://s3.amazonaws.com/fusor/2017demo/ManageIQ.png",
"longDescription": "ManageIQ is an open source management platform for Hybrid IT. It can manage small and large environments, and supports multiple technologies such as virtual machines, public clouds and containers.",
"parameters": [
{
"application_init_delay": {
"title": "web app time delay",
"type": "int",
"description": "Time to delay web app startup",
"default": 60
}
},
{
"database_region": {
"title": "database region",
"type": "int",
"description": "MIQ Instance Region",
"default": 1
}
},
{
"database_service_name": {
"title": "database service name",
"type": "string",
"description": "Service Name for the database",
"default": "manageiq-postgresql"
}
},
{
"memcached_max_connections": {
"title": "max connections",
"type": "int",
"description": "Maximum number of connections memcached will accept",
"default": 1024
}
},
{
"memcached_max_memory": {
"title": "max memory",
"type": "int",
"description": "Maximum memory memcached will use in MB",
"default": 64
}
},
{
"memcached_slab_page_size": {
"title": "slab page size",
"type": "string",
"description": "Memcached Slab Size in bytes",
"default": "1M"
}
},
{
"memcached_service_name": {
"title": "memcached service name",
"type": "string",
"description": "Service name of the memcached instance to use",
"default": "manageiq-memcached"
}
},
{
"namespace": {
"title": "namespace",
"type": "string",
"description": "Namespace/Project to deploy to",
"default": "manageiq-apb"
}
},
{
"postgresql_database": {
"title": "database name",
"type": "string",
"description": "postgresql database name",
"default": "vmdb_production"
}
},
{
"postgresql_password": {
"title": "database password",
"type": "string",
"description": "postgresql database password",
"default": "admin"
}
},
{
"postgresql_user": {
"title": "database username",
"type": "string",
"description": "postgresql database username",
"default": "admin"
}
}
]
},
"plans": [
{
"id": "4c10ff42-be89-420a-9bab-27a9bef9aed8",
"name": "default",
"description": "Default plan",
"free": true,
"schemas": {
"service_instance": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"application_init_delay": {
"default": 60,
"description": "Time to delay web app startup",
"title": "web app time delay",
"type": "integer"
},
"database_region": {
"default": 1,
"description": "MIQ Instance Region",
"title": "database region",
"type": "integer"
},
"database_service_name": {
"default": "manageiq-postgresql",
"description": "Service Name for the database",
"title": "database service name",
"type": "string"
},
"memcached_max_connections": {
"default": 1024,
"description": "Maximum number of connections memcached will accept",
"title": "max connections",
"type": "integer"
},
"memcached_max_memory": {
"default": 64,
"description": "Maximum memory memcached will use in MB",
"title": "max memory",
"type": "integer"
},
"memcached_service_name": {
"default": "manageiq-memcached",
"description": "Service name of the memcached instance to use",
"title": "memcached service name",
"type": "string"
},
"memcached_slab_page_size": {
"default": "1M",
"description": "Memcached Slab Size in bytes",
"title": "slab page size",
"type": "string"
},
"namespace": {
"default": "manageiq-apb",
"description": "Namespace/Project to deploy to",
"title": "namespace",
"type": "string"
},
"postgresql_database": {
"default": "vmdb_production",
"description": "postgresql database name",
"title": "database name",
"type": "string"
},
"postgresql_password": {
"default": "admin",
"description": "postgresql database password",
"title": "database password",
"type": "string"
},
"postgresql_user": {
"default": "admin",
"description": "postgresql database username",
"title": "database username",
"type": "string"
}
},
"type": "object"
}
},
"update": {}
},
"service_binding": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"application_init_delay": {
"default": 60,
"description": "Time to delay web app startup",
"title": "web app time delay",
"type": "integer"
},
"database_region": {
"default": 1,
"description": "MIQ Instance Region",
"title": "database region",
"type": "integer"
},
"database_service_name": {
"default": "manageiq-postgresql",
"description": "Service Name for the database",
"title": "database service name",
"type": "string"
},
"memcached_max_connections": {
"default": 1024,
"description": "Maximum number of connections memcached will accept",
"title": "max connections",
"type": "integer"
},
"memcached_max_memory": {
"default": 64,
"description": "Maximum memory memcached will use in MB",
"title": "max memory",
"type": "integer"
},
"memcached_service_name": {
"default": "manageiq-memcached",
"description": "Service name of the memcached instance to use",
"title": "memcached service name",
"type": "string"
},
"memcached_slab_page_size": {
"default": "1M",
"description": "Memcached Slab Size in bytes",
"title": "slab page size",
"type": "string"
},
"namespace": {
"default": "manageiq-apb",
"description": "Namespace/Project to deploy to",
"title": "namespace",
"type": "string"
},
"postgresql_database": {
"default": "vmdb_production",
"description": "postgresql database name",
"title": "database name",
"type": "string"
},
"postgresql_password": {
"default": "admin",
"description": "postgresql database password",
"title": "database password",
"type": "string"
},
"postgresql_user": {
"default": "admin",
"description": "postgresql database username",
"title": "database username",
"type": "string"
}
},
"type": "object"
}
}
}
}
}
]
},
{
"name": "pyzip-demo-db-apb",
"id": "64297e88-657c-46ab-bb50-2af7f84e5ec6",
"description": "Python Zip Demo Database APB Implementation",
"bindable": true,
"metadata": {
"dependencies": [
"docker.io/fabianvf/postgresql:postgis"
],
"displayName": "Pyzip Demo Database (APB)",
"documentationUrl": "https://github.com/fusor/apb-examples/tree/master/pyzip-demo-db-apb",
"imageUrl": null,
"longDescription": "A database with GIS support and seeded data for a demonstration python webapp, https://github.com/fusor/py-zip-demo",
"parameters": [
{
"database_name": {
"title": "Database Name",
"type": "string",
"default": "admin"
}
},
{
"database_password": {
"title": "Database Password",
"type": "string",
"description": "A random alphanumeric string if left blank",
"default": "admin"
}
},
{
"database_user": {
"title": "Database User",
"type": "string",
"default": "admin",
"maxlength": 63
}
}
]
},
"plans": [
{
"id": "4c10ff42-be89-420a-9bab-27a9bef9aed8",
"name": "default",
"description": "Default plan",
"free": true,
"schemas": {
"service_instance": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"database_name": {
"default": "admin",
"title": "Database Name",
"type": "string"
},
"database_password": {
"default": "admin",
"description": "A random alphanumeric string if left blank",
"title": "Database Password",
"type": "string"
},
"database_user": {
"default": "admin",
"maxLength": 63,
"title": "Database User",
"type": "string"
}
},
"required": [
"database_name",
"database_user"
],
"type": "object"
}
},
"update": {}
},
"service_binding": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"database_name": {
"default": "admin",
"title": "Database Name",
"type": "string"
},
"database_password": {
"default": "admin",
"description": "A random alphanumeric string if left blank",
"title": "Database Password",
"type": "string"
},
"database_user": {
"default": "admin",
"maxLength": 63,
"title": "Database User",
"type": "string"
}
},
"type": "object"
}
}
}
}
}
]
},
{
"name": "wordpress-ha-apb",
"id": "9b70e6bf-26f8-4c1f-a57f-07501388c1e8",
"description": "High Availability Wordpress APB",
"bindable": true,
"metadata": {
"dependencies": [
"quay.io/coreos/etcd:latest",
"perconalab/percona-xtradb-cluster:5.6",
"wordpress"
],
"displayName": "Wordpress-HA (APB)",
"documentationUrl": "https://wordpress.org/",
"imageUrl": null,
"longDescription": "An apb that deploys High Availability Wordpress",
"parameters": [
{
"root_password": {
"title": "database root password",
"type": "string",
"default": "k8spassword"
}
},
{
"xtrabackup_password": {
"title": "backup password",
"type": "string",
"default": "k8spassword"
}
},
{
"cluster_name": {
"title": "percona cluster name",
"type": "string",
"default": "percona"
}
},
{
"database_user": {
"title": "database user name",
"type": "string",
"default": "root"
}
},
{
"database_password": {
"title": "database user password",
"type": "string",
"default": "k8spassword"
}
},
{
"database_replicas": {
"title": "number of database nodes",
"type": "int",
"default": 3
}
},
{
"min_wordpress_replicas": {
"title": "minimum wordpress replicas",
"type": "int",
"default": 5
}
},
{
"max_wordpress_replicas": {
"title": "maximum wordpress replicas",
"type": "int",
"default": 10
}
}
]
},
"plans": [
{
"id": "4c10ff42-be89-420a-9bab-27a9bef9aed8",
"name": "default",
"description": "Default plan",
"free": true,
"schemas": {
"service_instance": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"cluster_name": {
"default": "percona",
"title": "percona cluster name",
"type": "string"
},
"database_password": {
"default": "k8spassword",
"title": "database user password",
"type": "string"
},
"database_replicas": {
"default": 3,
"title": "number of database nodes",
"type": "integer"
},
"database_user": {
"default": "root",
"title": "database user name",
"type": "string"
},
"max_wordpress_replicas": {
"default": 10,
"title": "maximum wordpress replicas",
"type": "integer"
},
"min_wordpress_replicas": {
"default": 5,
"title": "minimum wordpress replicas",
"type": "integer"
},
"root_password": {
"default": "k8spassword",
"title": "database root password",
"type": "string"
},
"xtrabackup_password": {
"default": "k8spassword",
"title": "backup password",
"type": "string"
}
},
"required": [
"cluster_name",
"database_user",
"database_replicas",
"min_wordpress_replicas",
"max_wordpress_replicas"
],
"type": "object"
}
},
"update": {}
},
"service_binding": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"cluster_name": {
"default": "percona",
"title": "percona cluster name",
"type": "string"
},
"database_password": {
"default": "k8spassword",
"title": "database user password",
"type": "string"
},
"database_replicas": {
"default": 3,
"title": "number of database nodes",
"type": "integer"
},
"database_user": {
"default": "root",
"title": "database user name",
"type": "string"
},
"max_wordpress_replicas": {
"default": 10,
"title": "maximum wordpress replicas",
"type": "integer"
},
"min_wordpress_replicas": {
"default": 5,
"title": "minimum wordpress replicas",
"type": "integer"
},
"root_password": {
"default": "k8spassword",
"title": "database root password",
"type": "string"
},
"xtrabackup_password": {
"default": "k8spassword",
"title": "backup password",
"type": "string"
}
},
"type": "object"
}
}
}
}
}
]
},
{
"name": "pyzip-demo-apb",
"id": "43f0bf0b-438c-495c-8127-11b1246ddea4",
"description": "Python Zip Demo APB Implementation",
"bindable": false,
"metadata": {
"dependencies": [
"docker.io/ansibleplaybookbundle/py-zip-demo:latest"
],
"displayName": "Pyzip Demo (APB)",
"documentationUrl": "https://github.com/fusor/apb-examples/tree/master/pyzip-demo-apb",
"imageUrl": null,
"longDescription": "APB Implementation of the Python webapp, https://github.com/fusor/py-zip-demo",
"parameters": []
},
"plans": [
{
"id": "4c10ff42-be89-420a-9bab-27a9bef9aed8",
"name": "default",
"description": "Default plan",
"free": true,
"schemas": {
"service_instance": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"type": "object"
}
},
"update": {}
},
"service_binding": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"type": "object"
}
}
}
}
}
]
},
{
"name": "hello-world-apb",
"id": "55c53a5d-65a6-4c27-88fc-e027410b1882",
"description": "hello-world-apb description",
"bindable": false,
"metadata": {
"dependencies": [
"docker.io/ansibleplaybookbundle/hello-world:latest"
],
"displayName": null,
"documentationUrl": null,
"imageUrl": null,
"longDescription": null,
"parameters": []
},
"plans": [
{
"id": "4c10ff42-be89-420a-9bab-27a9bef9aed8",
"name": "default",
"description": "Default plan",
"free": true,
"schemas": {
"service_instance": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"type": "object"
}
},
"update": {}
},
"service_binding": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"type": "object"
}
}
}
}
}
]
},
{
"name": "rhscl-mariadb-apb",
"id": "a8e652c1-11e0-4202-b6df-09517f75ef9a",
"description": "Mariadb apb implementation",
"tags": [
"databases",
"mariadb"
],
"bindable": true,
"metadata": {
"console.openshift.io/iconClass": "icon-mariadb",
"displayName": "RHSCL MariaDB (APB)",
"documentationUrl": "https://mariadb.com/kb/en/mariadb/documentation/",
"longDescription": "Deploys a bindable mariadb instance",
"parameters": [
{
"mysql_database": {
"title": "MariaDB Database name",
"type": "string",
"description": "MariaDB default database name",
"default": "admin"
}
},
{
"mysql_root_password": {
"title": "",
"type": "string",
"description": "A random alphanumeric string if left blank",
"default": "admin"
}
},
{
"mysql_user": {
"title": "",
"type": "string",
"description": "MariaDB User",
"default": "admin"
}
},
{
"mysql_password": {
"title": "",
"type": "string",
"description": "A random alphanumeric string if left blank",
"default": "admin"
}
},
{
"mariadb_version": {
"title": "MariaDB Version",
"type": "enum",
"default": 10,
"enum": [
"10.0",
"10.1"
]
}
}
]
},
"plans": [
{
"id": "4c10ff42-be89-420a-9bab-27a9bef9aed8",
"name": "default",
"description": "Default plan",
"free": true,
"schemas": {
"service_instance": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"mariadb_version": {
"default": 10,
"enum": [
"10.0",
"10.1"
],
"title": "MariaDB Version",
"type": "string"
},
"mysql_database": {
"default": "admin",
"description": "MariaDB default database name",
"title": "MariaDB Database name",
"type": "string"
},
"mysql_password": {
"default": "admin",
"description": "A random alphanumeric string if left blank",
"type": "string"
},
"mysql_root_password": {
"default": "admin",
"description": "A random alphanumeric string if left blank",
"type": "string"
},
"mysql_user": {
"default": "admin",
"description": "MariaDB User",
"type": "string"
}
},
"required": [
"mariadb_version",
"mysql_database",
"mysql_user"
],
"type": "object"
}
},
"update": {}
},
"service_binding": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"mariadb_version": {
"default": 10,
"enum": [
"10.0",
"10.1"
],
"title": "MariaDB Version",
"type": "string"
},
"mysql_database": {
"default": "admin",
"description": "MariaDB default database name",
"title": "MariaDB Database name",
"type": "string"
},
"mysql_password": {
"default": "admin",
"description": "A random alphanumeric string if left blank",
"type": "string"
},
"mysql_root_password": {
"default": "admin",
"description": "A random alphanumeric string if left blank",
"type": "string"
},
"mysql_user": {
"default": "admin",
"description": "MariaDB User",
"type": "string"
}
},
"type": "object"
}
}
}
}
}
]
},
{
"name": "rhscl-postgresql-apb",
"id": "8a049637-8c70-4434-993c-a15c3d310513",
"description": "SCL PostgreSQL apb implementation",
"bindable": true,
"metadata": {
"dependencies": [
"registry.access.redhat.com/rhscl/postgresql-95-rhel7"
],
"displayName": "PostgreSQL (APB)",
"documentationUrl": "https://www.postgresql.org/docs/",
"imageUrl": "None",
"longDescription": "An apb that deploys postgresql 9.4 or 9.5.",
"parameters": [
{
"postgresql_database": {
"title": "PostgreSQL Database Name",
"type": "string",
"default": "admin"
}
},
{
"postgresql_password": {
"title": "PostgreSQL Password",
"type": "string",
"description": "A random alphanumeric string if left blank"
}
},
{
"postgresql_user": {
"title": "PostgreSQL User",
"type": "string",
"default": "admin",
"maxlength": 63
}
},
{
"postgresql_version": {
"title": "PostgreSQL Version",
"type": "enum",
"default": 9.5,
"enum": [
"9.5",
"9.4"
]
}
}
]
},
"plans": [
{
"id": "4c10ff42-be89-420a-9bab-27a9bef9aed8",
"name": "default",
"description": "Default plan",
"free": true,
"schemas": {
"service_instance": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"postgresql_database": {
"default": "admin",
"title": "PostgreSQL Database Name",
"type": "string"
},
"postgresql_password": {
"description": "A random alphanumeric string if left blank",
"title": "PostgreSQL Password",
"type": "string"
},
"postgresql_user": {
"default": "admin",
"maxLength": 63,
"title": "PostgreSQL User",
"type": "string"
},
"postgresql_version": {
"default": 9.5,
"enum": [
"9.5",
"9.4"
],
"title": "PostgreSQL Version",
"type": "string"
}
},
"required": [
"postgresql_database",
"postgresql_user",
"postgresql_version"
],
"type": "object"
}
},
"update": {}
},
"service_binding": {
"create": {
"parameters": {
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
"properties": {
"postgresql_database": {
"default": "admin",
"title": "PostgreSQL Database Name",
"type": "string"
},
"postgresql_password": {
"description": "A random alphanumeric string if left blank",
"title": "PostgreSQL Password",
"type": "string"
},
"postgresql_user": {
"default": "admin",
"maxLength": 63,
"title": "PostgreSQL User",
"type": "string"
},
"postgresql_version": {
"default": 9.5,
"enum": [
"9.5",
"9.4"
],
"title": "PostgreSQL Version",
"type": "string"
}
},
"type": "object"
}
}
}
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment