line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tapper::Reports::Web::Controller::Tapper::Preconditions::Id; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TAPPER'; |
3
|
|
|
|
|
|
|
$Tapper::Reports::Web::Controller::Tapper::Preconditions::Id::VERSION = '5.0.14'; |
4
|
10
|
|
|
10
|
|
6168
|
use strict; |
|
10
|
|
|
|
|
35
|
|
|
10
|
|
|
|
|
384
|
|
5
|
10
|
|
|
10
|
|
65
|
use warnings; |
|
10
|
|
|
|
|
25
|
|
|
10
|
|
|
|
|
337
|
|
6
|
|
|
|
|
|
|
|
7
|
10
|
|
|
10
|
|
67
|
use parent 'Tapper::Reports::Web::Controller::Base'; |
|
10
|
|
|
|
|
23
|
|
|
10
|
|
|
|
|
78
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub index :Path :Args(1) |
10
|
|
|
|
|
|
|
{ |
11
|
0
|
|
|
0
|
|
|
my ( $self, $c, $id ) = @_; |
12
|
|
|
|
|
|
|
|
13
|
0
|
|
|
|
|
|
my $precond_search = $c->model('TestrunDB')->resultset('Precondition')->find($id); |
14
|
0
|
0
|
|
|
|
|
if (not $precond_search) { |
15
|
0
|
|
|
|
|
|
$c->response->body(qq(No precondition with id "$id" found in the database!)); |
16
|
0
|
|
|
|
|
|
return; |
17
|
|
|
|
|
|
|
} |
18
|
0
|
|
|
|
|
|
$c->stash->{precondition} = $precond_search->precondition_as_hash; |
19
|
0
|
|
|
|
|
|
$c->stash->{precondition}{id} = $precond_search->id; |
20
|
0
|
|
|
|
|
|
return; |
21
|
10
|
|
|
10
|
|
1955
|
} |
|
10
|
|
|
|
|
33
|
|
|
10
|
|
|
|
|
78
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=pod |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=encoding UTF-8 |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 NAME |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Tapper::Reports::Web::Controller::Tapper::Preconditions::Id |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 AUTHORS |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=over 4 |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item * |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
AMD OSRC Tapper Team <tapper@amd64.org> |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=item * |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Tapper Team <tapper-ops@amazon.com> |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=back |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
This software is Copyright (c) 2019 by Advanced Micro Devices, Inc.. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
This is free software, licensed under: |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
The (two-clause) FreeBSD License |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=cut |