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`",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2014-05-07 20:27:33 +04:00
|
|
|
},
|
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` = ?",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-11-05 00:40:46 +04:00
|
|
|
},
|
|
|
|
"test_all_build_platforms":{
|
|
|
|
"sql": "SELECT `platform`, `os_name`, `architecture`, `active_status`
|
|
|
|
FROM `build_platform`",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-11-05 00:40:46 +04:00
|
|
|
},
|
|
|
|
"test_all_machine_platforms":{
|
|
|
|
"sql": "SELECT `platform`, `os_name`, `architecture`, `active_status`
|
|
|
|
FROM `machine_platform`",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-11-05 00:40:46 +04:00
|
|
|
},
|
|
|
|
"test_all_machines":{
|
|
|
|
"sql": "SELECT `name` FROM `machine`",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-11-05 00:40:46 +04:00
|
|
|
},
|
|
|
|
"test_all_options":{
|
|
|
|
"sql": "SELECT `name` FROM `option`",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-11-05 00:40:46 +04:00
|
|
|
},
|
|
|
|
"test_all_job_types":{
|
|
|
|
"sql": "SELECT `name` FROM `job_type`",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-11-05 00:40:46 +04:00
|
|
|
},
|
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",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-11-21 02:12:48 +04:00
|
|
|
},
|
2013-11-05 00:40:46 +04:00
|
|
|
"test_all_products":{
|
|
|
|
"sql": "SELECT `name` FROM `product`",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-04-17 20:13:24 +04:00
|
|
|
},
|
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` = ?",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"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` = ?",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-04-18 20:23:15 +04:00
|
|
|
},
|
|
|
|
"test_machine":{
|
|
|
|
"sql": "SELECT `name`, `first_timestamp`, `last_timestamp`, `active_status`
|
|
|
|
FROM `machine`
|
|
|
|
WHERE
|
|
|
|
`id` = ?",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-04-18 20:23:15 +04:00
|
|
|
},
|
|
|
|
"test_machine_platform":{
|
|
|
|
"sql": "SELECT `platform`, `os_name`, `architecture`, `active_status`
|
|
|
|
FROM `machine_platform`
|
|
|
|
WHERE
|
|
|
|
`id` = ?",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-04-18 20:23:15 +04:00
|
|
|
},
|
|
|
|
"test_option":{
|
|
|
|
"sql": "SELECT `name`, `description`, `active_status`
|
|
|
|
FROM `option`
|
|
|
|
WHERE
|
|
|
|
`id` = ?",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-04-18 20:23:15 +04:00
|
|
|
},
|
|
|
|
"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`",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-04-18 20:23:15 +04:00
|
|
|
},
|
|
|
|
"test_product":{
|
|
|
|
"sql": "SELECT `name`, `description`, `active_status`
|
|
|
|
FROM `product`
|
|
|
|
WHERE
|
|
|
|
`id` = ?",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-04-18 20:23:15 +04:00
|
|
|
},
|
2013-05-02 01:29:27 +04:00
|
|
|
"test_repository_group":{
|
|
|
|
"sql": "SELECT `name`, `description`, `active_status`
|
|
|
|
FROM `repository_group`
|
|
|
|
WHERE
|
|
|
|
`id` = ?",
|
2015-01-24 21:02:10 +03:00
|
|
|
"host_type":"read_host"
|
2013-05-02 01:29:27 +04:00
|
|
|
},
|
2013-11-07 16:19:54 +04:00
|
|
|
"test_bugscache": {
|
2015-01-25 00:38:37 +03:00
|
|
|
"sql": "SELECT * FROM `bugscache`",
|
|
|
|
"host_type": "read_host"
|
|
|
|
}
|
2013-04-17 20:13:24 +04:00
|
|
|
}
|
|
|
|
}
|