{
"api_version": 1.6,
"data": {
"activation_time": "2014-04-29T21:01:40Z",
"added_time": "2014-04-30T03:59:33Z",
"additional_gear_storage": 0,
"automatic_updates": true,
"base_gear_storage": 1,
"collocated_with": [
],
"creation_time": "2014-04-29T21:01:40Z",
"current_scale": 1,
"description": "MySQL is a multi-user, multi-threaded SQL database server.",
"display_name": "MySQL 5.1",
"gear_profile": "small",
"help_topics": {
"Building with MySQL": "https://www.openshift.com/developers/mysql"
},
"license": "GPL",
"license_url": "",
"links": {
"GET": {
"href": "https://openshift.redhat.com/broker/rest/application/536074f0194e4cdfd100000c/cartridge/mysql-5.1",
"method": "GET",
"optional_params": [
],
"rel": "Get cartridge",
"required_params": [
]
},
"UPDATE": {
"href": "https://openshift.redhat.com/broker/rest/application/536074f0194e4cdfd100000c/cartridge/mysql-5.1",
"method": "PUT",
"optional_params": [
{
"default_value": null,
"description": "Additional filesystem storage in gigabytes on each gear having cartridge mysql-5.1",
"name": "additional_gear_storage",
"type": "integer",
"valid_options": [
]
},
{
"default_value": null,
"description": "Minimum number of gears having cartridge mysql-5.1",
"name": "scales_from",
"type": "integer",
"valid_options": [
]
},
{
"default_value": null,
"description": "Maximum number of gears having cartridge mysql-5.1",
"name": "scales_to",
"type": "integer",
"valid_options": [
]
}
],
"rel": "Update cartridge configuration",
"required_params": [
]
},
"STOP": {
"href": "https://openshift.redhat.com/broker/rest/application/536074f0194e4cdfd100000c/cartridge/mysql-5.1/events",
"method": "POST",
"optional_params": [
],
"rel": "Stop cartridge",
"required_params": [
{
"description": "event",
"invalid_options": [
],
"name": "event",
"type": "string",
"valid_options": [
"stop"
]
}
]
},
"START": {
"href": "https://openshift.redhat.com/broker/rest/application/536074f0194e4cdfd100000c/cartridge/mysql-5.1/events",
"method": "POST",
"optional_params": [
],
"rel": "Start cartridge",
"required_params": [
{
"description": "event",
"invalid_options": [
],
"name": "event",
"type": "string",
"valid_options": [
"start"
]
}
]
},
"RESTART": {
"href": "https://openshift.redhat.com/broker/rest/application/536074f0194e4cdfd100000c/cartridge/mysql-5.1/events",
"method": "POST",
"optional_params": [
],
"rel": "Restart cartridge",
"required_params": [
{
"description": "event",
"invalid_options": [
],
"name": "event",
"type": "string",
"valid_options": [
"restart"
]
}
]
},
"RELOAD": {
"href": "https://openshift.redhat.com/broker/rest/application/536074f0194e4cdfd100000c/cartridge/mysql-5.1/events",
"method": "POST",
"optional_params": [
],
"rel": "Reload cartridge",
"required_params": [
{
"description": "event",
"invalid_options": [
],
"name": "event",
"type": "string",
"valid_options": [
"reload"
]
}
]
},
"DELETE": {
"href": "https://openshift.redhat.com/broker/rest/application/536074f0194e4cdfd100000c/cartridge/mysql-5.1",
"method": "DELETE",
"optional_params": [
],
"rel": "Delete cartridge",
"required_params": [
]
}
},
"maintained_by": "redhat",
"name": "mysql-5.1",
"properties": [
{
"name": "username",
"type": "cart_data",
"description": "Root user on mysql database",
"value": "adminARVX63r"
},
{
"name": "password",
"type": "cart_data",
"description": "Password for root user on mysql database",
"value": "fprhFceMAcF8"
},
{
"name": "database_name",
"type": "cart_data",
"description": "MySQL DB name",
"value": "myapp"
},
{
"name": "connection_url",
"type": "cart_data",
"description": "MySQL DB connection URL",
"value": "mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/"
}
],
"scales_from": 1,
"scales_to": 1,
"scales_with": "haproxy-1.4",
"status_messages": [
{
"gear_id": "53607525194e4cdfd1000055",
"message": "MySQL is running\n"
}
],
"supported_scales_from": 1,
"supported_scales_to": 1,
"tags": [
"service",
"database",
"embedded"
],
"type": "embedded",
"usage_rates": [
],
"version": "5.1",
"website": "http://www.mysql.com"
},
"messages": [
{
"exit_code": 0,
"field": null,
"index": null,
"severity": "info",
"text": "Showing cartridge mysql-5.1 for application myapp under domain mydomain"
}
],
"status": "ok",
"supported_api_versions": [
1.0,
1.1,
1.2,
1.3,
1.4,
1.5,
1.6,
1.7
],
"type": "cartridge",
"version": "1.6"
}