line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MixedEndpoints; |
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
40
|
|
3
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
82
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 DESCRIPTION |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Package with calls for diffent endpoints. |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head2 call_for_system |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=for xmlrpc system.call call_for_system /system |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=for jsonrpc system_call call_for_system /system |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=for restrpc call call_for_system /system |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=cut |
18
|
|
|
|
|
|
|
|
19
|
0
|
|
|
0
|
1
|
|
sub call_for_system { return {endpoint => '/system'} } |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head2 call_for_testing |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=for xmlrpc testing.call call_for_testing /testing |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=for jsonrpc testing_call call_for_testing /testing |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=for restrpc call call_for_testing /testing |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=cut |
30
|
|
|
|
|
|
|
|
31
|
0
|
|
|
0
|
1
|
|
sub call_for_testing { return {endpoint => '/testing'} } |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head2 call_for_all_endpoints |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=for xmlrpc any.call call_for_all_endpoints |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=for jsonrpc any_call call_for_all_endpoints |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=for restrpc any-call call_for_all_endpoints |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |
43
|
|
|
|
|
|
|
|
44
|
0
|
|
|
0
|
1
|
|
sub call_for_all_endpoints { return {endpoint => '*'} } |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |