2013-04-17 20:13:24 +04:00
|
|
|
{
|
|
|
|
"inserts":{},
|
|
|
|
"selects":{
|
2014-05-07 20:27:33 +04:00
|
|
|
"test_reference_data_signatures":{
|
|
|
|
"sql": "SELECT * FROM `reference_data_signatures`",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
2013-04-18 20:23:15 +04:00
|
|
|
"test_build_platform":{
|
|
|
|
"sql": "SELECT `platform`, `os_name`, `architecture`, `active_status`
|
2013-04-17 20:13:24 +04:00
|
|
|
FROM `build_platform`
|
2013-11-05 00:40:46 +04:00
|
|
|
WHERE `id` = ?",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
|
|
|
"test_all_build_platforms":{
|
|
|
|
"sql": "SELECT `platform`, `os_name`, `architecture`, `active_status`
|
|
|
|
FROM `build_platform`",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
|
|
|
"test_all_machine_platforms":{
|
|
|
|
"sql": "SELECT `platform`, `os_name`, `architecture`, `active_status`
|
|
|
|
FROM `machine_platform`",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
|
|
|
"test_all_machines":{
|
|
|
|
"sql": "SELECT `name` FROM `machine`",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
|
|
|
"test_all_options":{
|
|
|
|
"sql": "SELECT `name` FROM `option`",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
|
|
|
"test_all_job_types":{
|
|
|
|
"sql": "SELECT `name` FROM `job_type`",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
2013-11-21 02:12:48 +04:00
|
|
|
"test_all_job_group_ids":{
|
|
|
|
"sql": "SELECT `name`, `symbol`, `job_group_id` FROM `job_type` ORDER BY `id` ASC",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
2013-11-05 00:40:46 +04:00
|
|
|
"test_all_products":{
|
|
|
|
"sql": "SELECT `name` FROM `product`",
|
2013-04-17 20:13:24 +04:00
|
|
|
"host":"read_host"
|
|
|
|
},
|
2013-04-18 20:23:15 +04:00
|
|
|
"test_job_group":{
|
2013-04-17 21:43:14 +04:00
|
|
|
"sql": "SELECT `symbol`, `name`, `description`, `active_status`
|
|
|
|
FROM `job_group`
|
2013-11-05 00:40:46 +04:00
|
|
|
WHERE `id` = ?",
|
2013-04-17 20:13:24 +04:00
|
|
|
"host":"read_host"
|
2013-04-18 20:23:15 +04:00
|
|
|
},
|
|
|
|
"test_job_type":{
|
|
|
|
"sql": "SELECT
|
|
|
|
jg.name AS 'group',
|
|
|
|
jt.`symbol`,
|
|
|
|
jt.`name`,
|
|
|
|
jt.`description`,
|
|
|
|
jt.`active_status`
|
|
|
|
FROM `job_type` jt
|
|
|
|
INNER JOIN `job_group` jg
|
|
|
|
on jg.id = jt.job_group_id
|
2013-11-05 00:40:46 +04:00
|
|
|
WHERE jt.`id` = ?",
|
2013-04-18 20:23:15 +04:00
|
|
|
"host":"read_host"
|
|
|
|
},
|
|
|
|
"test_machine":{
|
|
|
|
"sql": "SELECT `name`, `first_timestamp`, `last_timestamp`, `active_status`
|
|
|
|
FROM `machine`
|
|
|
|
WHERE
|
|
|
|
`id` = ?",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
|
|
|
"test_machine_platform":{
|
|
|
|
"sql": "SELECT `platform`, `os_name`, `architecture`, `active_status`
|
|
|
|
FROM `machine_platform`
|
|
|
|
WHERE
|
|
|
|
`id` = ?",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
|
|
|
"test_option":{
|
|
|
|
"sql": "SELECT `name`, `description`, `active_status`
|
|
|
|
FROM `option`
|
|
|
|
WHERE
|
|
|
|
`id` = ?",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
|
|
|
"test_option_collection":{
|
|
|
|
"sql": "SELECT o.`name`
|
|
|
|
FROM `option` o
|
|
|
|
INNER JOIN `option_collection` oc
|
|
|
|
ON o.`id` = oc.`option_id`
|
|
|
|
WHERE
|
2013-04-29 15:56:08 +04:00
|
|
|
oc.`option_collection_hash` = ?
|
2013-04-18 20:23:15 +04:00
|
|
|
ORDER BY o.`name`",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
|
|
|
"test_product":{
|
|
|
|
"sql": "SELECT `name`, `description`, `active_status`
|
|
|
|
FROM `product`
|
|
|
|
WHERE
|
|
|
|
`id` = ?",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
2013-05-02 01:29:27 +04:00
|
|
|
"test_repository_group":{
|
|
|
|
"sql": "SELECT `name`, `description`, `active_status`
|
|
|
|
FROM `repository_group`
|
|
|
|
WHERE
|
|
|
|
`id` = ?",
|
|
|
|
"host":"read_host"
|
|
|
|
},
|
2013-04-18 20:23:15 +04:00
|
|
|
"test_repository_version":{
|
|
|
|
"sql": "SELECT `repository_id`, `version`, `version_timestamp`, `active_status`
|
|
|
|
FROM `repository_version`
|
|
|
|
WHERE
|
|
|
|
`id` = ?",
|
|
|
|
"host":"read_host"
|
2013-11-07 16:19:54 +04:00
|
|
|
},
|
|
|
|
"test_bugscache": {
|
|
|
|
"sql": "SELECT * FROM `bugscache`"
|
|
|
|
},
|
|
|
|
"host": "read_host"
|
2013-04-17 20:13:24 +04:00
|
|
|
}
|
|
|
|
}
|