-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yml
68 lines (66 loc) · 2.56 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
encoding: utf8
openapidir: lib/Perl5/CoreSmokeDB/OpenAPI
plugins:
'RPC::JSONRPC':
'/system':
'Perl5::CoreSmokeDB::API::System':
methods: rpc_list_methods
ping: rpc_ping
status: rpc_status
version: rpc_version
# '/query':
# 'Perl5SmokeDB::API::Query':
# pverlist: rpc_get_pverlist
# list: rpc_get_attribute_list
# report: rpc_get_by_id
'/api':
'Perl5::CoreSmokeDB::API::Web':
version: rpc_version
latest: rpc_latest
full_report_data: rpc_full_report_data
outfile: rpc_outfile
logfile: rpc_logfile
matrix: rpc_failures_matrix
submatrix: rpc_failures_submatrix
searchparameters: rpc_get_search_parameters
searchresults: rpc_get_search_results
post_report: rpc_post_report
# We also want the old API functions
reports_from_id: rpc_reports_from_id
reports_from_date: rpc_reports_from_epoch
report_data: rpc_report_data
'RPC::RESTISH':
'/system':
'Perl5::CoreSmokeDB::API::System':
GET@methods: rpc_list_methods
GET@methods/:plugin: rpc_list_methods
GET@ping: rpc_ping
GET@status: rpc_status
GET@version: rpc_version
# '/query':
# 'Perl5SmokeDB::API::Query':
# GET@perl_version_list: rpc_get_pverlist
# GET@perl_version_list/:pversion: rpc_get_pverlist
# GET@list/:attribute: rpc_get_attribute_list
# GET@report/:rid: rpc_get_by_id
# '/smoquel':
# 'Perl5SmokeDB::API::Smoquel':
# GET@: doquery
# GET@:smql: doquery
'/api':
'Perl5::CoreSmokeDB::API::Web':
GET@version: rpc_version
GET@latest: rpc_latest
GET@full_report_data/:rid: rpc_full_report_data
GET@outfle/:rid: rpc_outfile
GET@logfile/:rid: rpc_logfile
GET@matrix: rpc_failures_matrix
GET@submatrix: rpc_failures_submatrix
GET@searchparameters: rpc_get_search_parameters
GET@searchresults: rpc_get_search_results
POST@report: rpc_post_report
# We also need the old API functions
GET@reports_from_id/:rid: rpc_reports_from_id
GET@reports_from_date/:epoch: rpc_reports_from_epoch
GET@report_data/:rid: rpc_report_data