Skip to content

Instantly share code, notes, and snippets.

@dymurray
Created June 19, 2017 15:24
Show Gist options
  • Save dymurray/239a409b10d0bb19af635ff8545e7c61 to your computer and use it in GitHub Desktop.
Save dymurray/239a409b10d0bb19af635ff8545e7c61 to your computer and use it in GitHub Desktop.
{
"services": [
{
"name": "rhscl-postgresql-apb",
"id": "8a049637-8c70-4434-993c-a15c3d310513",
"description": "SCL PostgreSQL apb implementation",
"tags": [
"databases",
"postgresql"
],
"bindable": true,
"metadata": {
"console.openshift.io/iconClass": "icon-postgresql",
"displayName": "PostgreSQL (APB)",
"documentationUrl": "https://www.postgresql.org/docs/",
"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",
"default": "admin"
}
},
{
"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": {
"default": "admin",
"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": {
"default": "admin",
"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"
}
}
}
}
}
]
},
{
"name": "mediawiki123-apb",
"id": "55c53a5d-65a6-4c27-88fc-e027410b1337",
"description": "Mediawiki123 apb implementation",
"bindable": false,
"metadata": {
"console.openshift.io/iconClass": "icon-mediawiki",
"displayName": "Mediawiki (APB)",
"documentationUrl": "https://www.mediawiki.org/wiki/Documentation",
"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": "hello-world-apb",
"id": "55c53a5d-65a6-4c27-88fc-e027410b1882",
"description": "hello-world-apb description",
"bindable": false,
"metadata": {
"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": "pyzip-demo-db-apb",
"id": "64297e88-657c-46ab-bb50-2af7f84e5ec6",
"description": "Python Zip Demo PostgreSQL APB implementation",
"bindable": true,
"metadata": {
"displayName": "Pyzip Demo Database APB",
"documentationUrl": "https://www.postgresql.org/docs/",
"imageUrl": "https://s3.amazonaws.com/fusor/2017demo/64px-Postgresql_elephant.svg.png",
"longDescription": "A sample postgresql database with GIS support and seeded data for a demonstration python webapp, https://github.com/fusor/py-zip-demo",
"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",
"default": "admin"
}
},
{
"postgresql_user": {
"title": "PostgreSQL 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": {
"postgresql_database": {
"default": "admin",
"title": "PostgreSQL Database Name",
"type": "string"
},
"postgresql_password": {
"default": "admin",
"description": "A random alphanumeric string if left blank",
"title": "PostgreSQL Password",
"type": "string"
},
"postgresql_user": {
"default": "admin",
"maxLength": 63,
"title": "PostgreSQL User",
"type": "string"
}
},
"required": [
"postgresql_database",
"postgresql_user"
],
"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": {
"default": "admin",
"description": "A random alphanumeric string if left blank",
"title": "PostgreSQL Password",
"type": "string"
},
"postgresql_user": {
"default": "admin",
"maxLength": 63,
"title": "PostgreSQL User",
"type": "string"
}
},
"type": "object"
}
}
}
}
}
]
},
{
"name": "ethereum-console-apb",
"id": "1771ff2a-7f23-42e5-8d99-87538ab35366",
"description": "This is a sample application generated by apb init",
"bindable": true,
"metadata": {
"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"
}
}
}
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment